I am also struggling with getting DT to reliably update its database with any changes in an indexed folder (and syncing it with DT on my phone, but that’s a different issue).
I understand from the manual that:
When you rename a file in DEVONthink, the file’s name changes in the Finder. If you rename in the Finder, the change should be automatically reflected in the database. DEVONthink tries to keep the group in the database and the folder in the Finder in the same state.
I also understand from the manual that there are two exceptions, where this may not work:
- Individually indexed files (I have note of those)
- Files synced by other applications
In the latter case, the manual advises
you may need to use the File > Update Indexed Items command to manually update the indexed group.
Fair enough. The problem is: even when I do this, it still doesn’t update the database. And to make things worse, it doesn’t tell me anything about what it is doing or whether it is doing anything at all.
My test case for this post is a markdown file that has been renamed from greenhouse.md
to my greenhouse.md
and which resides in /Users/<username>/Library/Containers/co.noteplan.NotePlan-setapp/Data/Library/Application Support/co.noteplan.NotePlan-setapp/Notes
(which is being synced with iCloud via Cloudkit).
I have clicked on File > Update Indexed Items which has led to the file greenhouse.md
(which DT reported as missing) to immediately disappear from the search results.
My expectation was that a few seconds later (even a few minutes would have been “ok”) the file would reappear under its new name my greenhouse.md
. But even 20 minutes later, it is nowhere to be found.
I can no longer click on File > Update Indexed Items (because it is greyed out). It also seems to have changed t’s name to Update Items - or was it called that all along? - in any case: DT is clearly not acting as it should and I have come to conclude that DT3 simply can’t handle indexed files reliably (if I need to start an investigation every other time I search for a file in DT, there is not much point in using DT for search in the first place) and I would like to ask whether this has been improved in DT4.
Just to be clear, I think there are two problems here: one is that DT3 doesn’t update indexed files, even when manually triggered to do so, and the other is that it doesn’t communicate about this failure (or some ongoing process, if that is what is causing the delay). DT3 is usually very verbose with its log window showing me what’s going on as well as progress messages in the bottom left corner, while it is syncing a database. But now there is nothing. The last entry in the log window is 2.5 hours old and states that 22 items are left to be uploaded to a database.
At the same time, DT on my phone is showing a tiny message at the bottom that it is “Synchronizing Items” with my Mac, but has been doing this for at least half an hour now. Earlier today, after I initialized that sync, I used other apps on my phone, assuming that DT would continue the sync in the background, but it didn’t (not sure if it itself wants to be in the foreground while syncing or whether iOS killed it) which is why I left DT in the foreground to make sure it finishes its sync. But it doesn’t. At least there is no indication of any progress, tapping on the cloud icon doesn’t do anything (this is the case most of the time, not just now. I have no idea how it is supposed to work, but the least I would expect is that it tells my why I can’t tap the icon when I’m tapping it. - Basic UI design principle: feedback on every user action.)
When I go to settings (in the iOS app), I see a spinner next to “Local network”, when I tap on “Local network”, I see a spinner next to my Mac. And when I tap on my Mac, I get an empty page with a spinner, which disappears after a few seconds.
When kill the iOS app and start it again, I can tap the cloud icon and ithe sync message will reappear and everything will be the same as above.
When I quite DT3 on my Mac, the iOS app (which claims to be syncing with that Mac) doesn’t even seem to notice. (I would expect it to complain about the host no longer being available or something, but no.)
When I restart DT on my Mac, everything is exactly like before I quite, except that the entry in the Log window has disappeared, which is probably expected.
What is going on here? Which of these behaviours are expected/ by design and which of these indicate a bug?
In case it matters: my phone is an iPhone 16 Pro with 256 GB of storage of whichDT uses 21.81 GB and 111.84 GB are free. Oh, and I just noticed that in the fast two hours or so, Devonthink has been eating 41% of my phones battery:
I also noticed that my phone was unusually warm this morning, after I left it to sync said database over night, and it is still very warm. I assume that this is related to the extreme battery usage of the app: