I have a desktop and laptop, both running DTPO 2.6 and I want to use the same databases on both.
I have set both up to sync to a syncstore folder on the desktop. The desktop databases sync perfectly every time.
The laptop databases sync perfectly from the moment I set them up until the laptop sleeps. After that, I get “Could not verify the store structure (You don’t have permission to save the file “Documents” in the folder “david”. (The operation couldn’t be completed. Permission denied))”, every time. I delete the locations and reconnect to them again. This works until the laptop goes to sleep, after which I get the same error again.
Originally, I had the sync stores on a data drive in the desktop (i.e. not the main drive): I tried moving them to the main drive, but still get the same error. The user names on both desktop and laptop are the same (david).
There is nothing in the help files to suggest a solution as far as I can see.
Unfortunately, there’s little point in using the feature if you have to set it up every time! Am I missing a setting or is this a bug?
I would recommend to uncheck the option to sync when you open the database. I learned this the hard way. If Devonthink crashes your database might have problems and you should do a Verify & Repair. But if you set up sync on opening the database you will sync errors into the sync store, which might replicate into other DT installation.
One time I lost a few files, another time I got a few hundred deleted files back…
Sync is very finicky at best. From what I can see you’re sync’g via a local store. Would that be right? I’ve only tested sync via Dropbox. I’ve done extensive testing on sync using Dropbox. The behaviour your describing does not happen with Dropbox ever.
I would suggest trying Dropbox. The sync code has now been optimized and will not affect the Dropbox store. That is, it is now efficient and the store will not expand improperly. I would suggest, if you don’t have a Dropbox account, to get one and sync via Dropbox from your machines. This behaviour will not happen.
I use a Fusion Drive iMac and a MacBook Air and have tested this extensively and this is a behaviour you won’t experience. However, it is my advice to everyone to sync frequently. Sync anytime you leave one machine and go to another or you will invariably get sync conflicts and errors.
Unfortunately and I don’t know how this works with a local store sync db but sync is obtrusive and not transparent in DEVONthink as it currently stands with Dropbox. Further, sync should be much closer to real time but it’s not. It’s up to you as the user to compensate this and sync frequently and in a logical manner. Further if you sync IOS devices using DTTG be extra careful and watch for bad notes which are frequently generated from DTTG and can slip into you DEVONthink DB. Sync will inevitably fail as a result on Dropbox. Dropbox will identify these notes and will cease sync at this point till you clear the bad notes from DEVONthink.
However, using Dropbox you’ll have no trouble putting your laptop to sleep and waking it up with DEVONthink. I have added in a Keyboard Maestro Macro to sync DEVONthink everytime I wake up my MacBook Air. I find I can continue work even with the sync process underway; just ignore what it’s doing unless you get a sync error alert.
Once again, just to emhasise, sync frequently and logically.
TBH, I’ve given up with the idea of syncing via local store: I can’t get it to work easily and I don’t have time for extensive testing.
So, I’m now using the direct sync feature and that’s worked perfectly so far. I’ve not tried the Dropbox feature (I’m not sure I need it at the moment), but I will bear your post in mind if and when I do.
No problem. Yes, I can fully understand why you’d give up. You can spend hours on this stuff to get it running only to have it fail. Honestly, there are numerous advantages to using Dropbox or iCloud if it were provided or anyone’s cloud storage system like Omnipresence for Omnigroups products. DEVONthink uses Dropbox only. Although the implementation is not the way I’d like to see it (transparent and unobtrusive which is the way all products are that I use) plus more real time (that’s why I say with DEVONthink sync frequently otherwise you really will end up in trouble) keep Dropbox in mind as an option. A free 3 gig Dropbox account should give you plenty of storage for DEVONthink sync now that the code has been properly optimized. You won’t have any problems with it unless you don’t sync frequently and logically (if you’re at one machine, as soon as you leave it sync; I use a Keyboard Maestro macro to invoke sync) and when you go to your laptop and open the lid sync (I have a Keyboard Maestro macro that syncs up on wake). Do not set both machines to sync in preferences on the hour as you will get a sync conflict and that’s messy. One machine is fine. In prefs set sync for dropbox at DEVONthink open and close.
So if you do try the Dropbox route which i think you’d probably be pretty happy with just and I can’t repeat this enough sync frequently. Hopefully DEVON will hear this and get their product more in line with good sync practices - if not real time near real time like it just syncs every 5 minutes. Unless you have crazy low limitations on bandwidth this shouldn’t be an issue. I have unlimited bandwidth so it’s not a problem. I just have to monitor my cloud systems for capacity - that I’m not exceeding it.