Bonjour Simplified

To help clarify the conditions under which Bonjour can be used, as well as show the simple steps to setting up such a sync, here are notes and steps to follow.

Requirements

Bonjour can be used to Sync between devices, IF:

  1. The devices are on the same network, noting it will not work over VPN.
  2. The network is private or one that allows Bonjour connections or non-standard ports. (Public and corporate WiFi sometimes disallow these.)
  3. Your firewall or an application like Little Snitch is Off or has exceptions added for DEVONthink’s traffic.
  4. Our applications must have local network access, mandated by Apple.
    • On macOS Sequoia, you must enable DEVONthink in System Settings > Privacy & Security > Local Network.
    • On iOS/iPadOS, enable DEVONthink in Settings > Privacy & Security > Local Network.
  5. Both devices are On and running DEVONthink / DEVONthink To Go (and DEVONthink To Go must be active, regardless of the Sync method).

Note: In situations where Bonjour traffic may be disallowed, you can connect an iOS device to your Mac via a standard Lightning cable to create an ad-hoc network for Bonjour syncing.

If you are going to be using the Mac as the Bonjour server…

On the server Mac…

In DEVONthink……

  1. Preferences > Sync > Bonjour Options…
    • Check Enable Incoming Connections.
    • Leave the Port blank unless you have a known port to assign.
    • Enter a mandatory Password to be used to authenticate connecting devices.
  2. Leave DEVONthink running.

On a client Mac…

In DEVONthink…

  1. In Preferences > Sync you should see the server Mac available.
  2. Check the checkbox to enable the connection and enter the Bonjour password you specified on the server Mac.
  3. Databases that are open on both Mac will be shown in the Local section. Enable ones you want to merge and sync.
    Databases that aren’t open or are importable are shown in the Remote section. Double-click databases to import them, saving them to the ~/Databases folder in your Home directory.

On mobile…

In DEVONthink To Go…

  1. Go into Settings > Sync: Locations and press the Edit link if you already have a sync location enabled.
  2. You should see a sync location for the Mac. Click the green plus button next to it.
  3. Set the options per your choice and touch Save.
  4. Enter the Bonjour password you entered on the Mac.
  5. When it has connected, touch the sync location to show the databases list and flip the switch next to database(s) you want to import.

The scenario above is the most common when using Mac and mobile.

If you are iOS-only or are going to be using DEVONthink To Go as the Bonjour server…

In DEVONthink To Go…

  1. Go into Settings > Bonjour.
  2. Enter the mandatory password to be used to authenticate connecting devices.
  3. Leave the Port blank and let DEVONthink To Go self-assign one.
  4. Flip the switch on Enable incoming connections.

Then follow the appropriate steps above for the type of client you’re using, Mac or mobile.


NOTE: While it is possible to enable both DEVONthink and DEVONthink To Go as Bonjour servers, you should not set up both as the server for the same database(s).

Troubleshooting

If you run into an issue with a Bonjour sync, check these things in this order…

  • Check Window > Log in DEVONthink and look for a triangle on the sync icon in the bottom toolbar of DEVONthink To Go. These indicate a warning or error.
  • If no issues are being reported, re-examine the Requirements at the beginning of this post. Do not take for granted that ”nothing has changed”.
  • If those things are verified, try quitting and relaunching the application on the client and server devices.
  • If that doesn’t resolve the issue, trying changing the Bonjour password on the device acting as the Bonjour server. Then tap the sync location on the client device to see if you’re prompted for the new password.
  • If that doesn’t resolve the issue, remove the sync location from the client. Then quit and relaunch our application on both the server and client devices. Finally, add the sync location again on the client device.
15 Likes
Syncing issue CloudKit
What to Do With Two Databases on Different Computers
Getting DEVONthink and DEVONthink to go to work together with Dropbox
Sync between ipad iphone
Sync seems to be stuck on `not yet synchronized, upload database`
Local Sync from Mac to iOS device
Bonjour location offline
iPhone as Bonjour server? Files only on iPhone not in Finder on Mac?
Bonjour available on iPhone, not on iPad
Sync woes again
General CFsocket error / AsyncSocketErrorDomain -1
Devonthink to go neue iPhone/iPad Sync
Getting Set Up Right the First Time
Edit on Bonjour Setup Documents Recommended
Lost in Bonjour!
Troubles with Bonjour Sync
How to sync between devonthink pro and to go
DTTG: Bonjour-Sync lässt sich nicht hinzufügen
Can I Sync DT to go with my Desktop Macbook pro using bluetooth only?
DT sync - various issues with remote syncing, switch to local sync
Invalid Encryption Key iCloud (Cloudkit)
Invalid encryption key - CloudKit (newbie)
Purchased DTTG 3 on iPad - can I sync with my iPhone that uses a different AppleID?
Unable to pair via Bonjour
Global inbox not syncing properly
Dropbox sync approach to avoid duplicates
Syncing a mobile library with my desktop
Sync isn't working properly
Hi there, are there anyone with ADHD that is using DT3?
Best way to move from iCloud Kit sync to Bonjour?
CloudKit: Missing Manifest & Broken Database Structure
.manifest missing of database error
Sync isn't working properly
Bonjour Sync fails regularly
DEVONThin versus FileCenter Pro and Kofax PaperPort
Bonjour sync with three macs (and iDevices)
DT3P (kind of) crashes when opening an encrypted DB
Problems with sync?
Trouble syncing Mac OS to iPad
Why aren't all the Mac Databases showing up in DTG?
Need some help getting file errors to stop
Sync seems stuck
Synch an Indexed Database to All Devices - suddenly, I can't
DTtG 3: Broken Global Inbox
Problems with DTTG
DevonSync taking forever to synchronize (on Dropbox)
Error Message in log window
Need some help getting file errors to stop
Syncing on the local network: How do I add a Local Sync Store on the iPad?
Slow Bonjour sync
Resetting iCloud based sync
Unable to complete Bonjour sync between iPad and iPhone
Devonthink Pro 3 - Icloud (CloudKit) sync does not work at all (Macbook, Mac-Mini, iPhone)
"File not yet available" and apparent file loss
Server "offline"
iCloud Drive DT3 Sync Location
iCloud Drive DT3 Sync Location
Problem syncing after restructuring databases
Problem syncing after restructuring databases
Storm of "CKErrorDomain" errors
Syncs always fail
Switch from iCloud sync to bonjour
Sync problems with DT
A few databases are not appearing on my iPad
Change name of Bonjour sync Location to iPhone and iPad
Sync Error to iCloud (CKErrorDomain 15)
A Newbie here, having trouble saving a Group Template
Mystery error CKERRORDOMAIN
Looking for the best of all possible worlds to integrate DTTG with DTPro and multiple databases
How do you enable sync-by-wire?
CKerror domain 15
Getting iPad to sync to MacOS after long lapse of syncing
How do I resolve this error
Setting up DT & DTTG with items already saved in DTTG
Transition from WebDAV sync to something else
The wonders of DEVOnthink and DEVONthink To Go
The wonders of DEVOnthink and DEVONthink To Go
I cannot get Bonjour sync to work
WebDAV iPhone and iPad Data Access
Sync Issues Using Bonjour
Please help, I just bought the devonthink to go (Yes, I already had devonthink 3 on my Mac), and I can't find any databases in my "Sync Location" but inboxes which can sync
Please help, I just bought the devonthink to go (Yes, I already had devonthink 3 on my Mac), and I can't find any databases in my "Sync Location" but inboxes which can sync
Syncing between devices
Bonjour sync problem: iPad as "server" iPhone as client
Dropbox question from new user
Cannot get DT and DTTG to sync!
I need a license plan for me
kCFErrorDomainCFNetwork 301 on Strato HiDrive -WebDAV
Synching blues again?
Switching sync method to Bonjour
Unable to get a Bonjour sync to work
Sync issues between Macs
Weird sync between DTP and DTTG: any fix?
Weird sync between DTP and DTTG: any fix?
New to Devonthink to Go
DT3:Pro Sync mit DT:TG via iCloud Kit (ungĂĽltiger SchlĂĽssel)
I put databases all over, and now I want to centralize,
Download individual docs from sync store
How to sync between devonthink pro and to go
DTPO access for user working in different continents
Syncing on the local network: How do I add a Local Sync Store on the iPad?