DEVONthink always reports indexed files moved in Finder or Obsidian as missing

My sync between DT3 and Obsidian is via Bonjour – and I have no problems. I don’t sync Obsidian to DTTG on either my iPad or iPhone, however. For my pdf collection, I have them in a DT indexed folder, but that folder is what I use for my bibliographic / citation manager which is a program much like Zotero: Nota Bene Ibidem. Like Zotero except it is fully integrated into a suite of academic research tools plus word processor. Why do I have this folder indexed in DT3? Obviously because I can search for terms and words in those documents and simultaneously in everything else I have in DT3. Obsidian and Ibidem are both great, but without DT3 keeping track of my various collections of pdf’s documents, webpages, presentations, notes and so on would require an exhausting among of effort.

No concern as long as you don’t move indexed cloud items into the database (see e.g. Data > Move into database).

No concern as long as you don’t move indexed cloud items into the database (see e.g. Data > Move into database ).

Got it. Thank you!

I am curious how an alias would work in the situation, e.g., move the vault into its own folder in the root of your home directory, like a Vaults folder. Then alias that to the iCloud Drive folder.

Just a thought.

Interesting idea! I’ll test this with a mock vault and see how it goes.

1 Like

And let us know how it goes, if you would.

I experimented with this, unsuccessfully. The results:

  • With my actual vault in ~/Library/Mobile Documents/iCloud~md~obsidian/Documents/Some Vault/ and an alias to that folder in ~/Vaults/:
    • iCloud synced my files as expected, and Obsidian was able to work with the files regardless of whether I opened the actual vault or the alias.
    • DEVONthink, however, still didn’t get the right signals from the system on deletions and reported deleted files as missing.
    • Verify and Repair failed at first. As with my current setup, updating indexed files first resolved the issue.
    • TL;DR: No worse than my current situation, but no better, either.
  • With my actual vault in ~/Vaults/Some Vault/ and an alias to that folder in ~/Library/Mobile Documents/iCloud~md~obsidian/Documents/:
    • iCloud literally just synced the .alias file. It didn’t sync the files from my vault.
    • That made the vault unusable in the Obsidian mobile app, defeating the purpose of having iCloud in the mix.
    • TL;DR: Worse than my current situation.

Thanks for testing that.

1 Like

I’m probably not helping matters at all, but…

I have this issue with an indexed iCloud folder that I manage via a different app. HOWEVER, I had assumed this was expected behaviour and I liked it :joy: I want DevonThink to notice when I’ve deleted a file via my other app in the indexed folder. I need it to notice that a file it expected to find there has gone walkabout. What if it’s an error? What if I linked to a file that’s now missing and I’ve broken something in my database? I don’t want DT to merrily accept changes to my indexed folder without warning me of changes.

Once I’ve made changes in my other app, I update the indexed folder in DT and that usually works. Sometimes I have to delete a missing file that I’d deleted outside DT. I can see it would be annoying if you have to do this a lot. I batch process in the other app so I only tend to have to do this once a week or so.

2 Likes

Yes I got myself in serious trouble once on this point! I accidentally (or without thinking) chose the other option and files I had on iCloud were deleted. When I figured out what had happened, I thought no sweat, I can get them from the iCloud.com file recovery — but it didn’t work and actually gave me an error on icloud.com.

Called Apple and eventually figured out what happened and indicated this was a known problem they were working (I assume about deleting iCloud files from 3rd party apps regarding their file recovery capability). I went on to recover from my Backup files and Apple eventually restored ‘everything’ from my deleted folder, but it reinforces #1 always have a backup, and #2 heed all the warnings the DT team makes about indexing, cloud syncing, etc. in the manual and on discourse!

I’m on here now looking to see whether I ‘should dare’ to index my Obsdian vault which is on iCloud at all. I see Korm’s method, perhaps that will work. I see others indexing their Zotero which I hadn’t thought of before, maybe I’ll try that too. Perhaps I’ll try now that I’m getting pretty good at recovering from backups and experiment before committing….

2 Likes