I’m trying to handle a “21 items need to be uploaded” message in my log. When I rebuilt the database, I got 21 missing files. I’m not concerned about them (nice to have, but not essential files). Devonthink is still trying to upload them. How can I get the local database to “drop” them?
When I rebuilt the database, I got 21 missing files. I’m not concerned about them (nice to have, but not essential files).
You should be concerned about missing files and endeavor to keep your databases clean and healthy. They’re not going to magically disappear and it’s not a good idea to propragate problems between syncing devices.
PS: Rebuilding a database would remove references to missing files. You are looking at pending files, not missing ones.
Do a toolbar search for item:pending.
If none, are found, try emptying the trash in DEVONthink.
If any pending files found and you don’t need them, move them to the databases’ Trash and empty the trash.
If there are pending files you need, are you indexing content?
If so, are you indexing from a mounted volume, e.g., a networked drive or external hard drive?
I searched and moved the files to the trash as directed and emptied the trash. And everything was fine. This was about 10 am EST in the States.
Unfortunately, at about 7 am this morning, 21 items left to be uploaded started reappearing in my log. It tries every two minutes. I’m running the same database on an iPad and my iPhone. Could that be influencing the situation?
I’m not indexing iCloud or anything else. I am syncing using CloudKit. I use Devonthink to back up my work email, but that is a separate database.
I did a Verify and Repair on the mobile databases. I was having problems with my phone and visited the Apple Store last night. Apple first told me to reinstall ios. When I did that late last night, the battery came back flagged that it needed service. They just replaced the battery on the phone, and I’m reinstalling everything one app at a time.
If you have any suggestions, I would appreciate them. I will wait to reinstall Devonthink to Go on the phone until I hear back.
A CKError is a CloudKit error. A CKError 6 is a throttling error from Apple’s servers. If you are doing the initial upload, you should only be uploading one database at a time to try and reduce potential throttling.
Also, do you actually need to use a remote sync option, like CloudKit?
21 files are missing, and two are orphaned.
This is not a sync issue. It’s showing your database is unhealthy. You need to tend to the missing files as there’s no point in syncing problems to other devices.
Missing files are reported in DEVONthink’s Window > Log. You can right-click entries in this window and choose Reveal to show the file, or Move to Trash to send the file to the database’s Trash. Then empty the trash by right-clicking the Trash and choosing Empty Trash, since the Trash is still a location in a database.
This is also covered in the Troubleshooting > Repairing a defective database > Missing Files section of the Help and manual.
The sync automatically avoids concurrent usage of the same database and/or the same sync location, meaning that one database is uploaded after another.