# Indexed OneDrive folder: what removes a record whose file is missing?

**URL:** <https://discourse.devontechnologies.com/t/indexed-onedrive-folder-what-removes-a-record-whose-file-is-missing/87806>\
**Category:** DEVONthink\
**Created:** [October 8, 2026, 7:25pm UTC](https://discourse.devontechnologies.com/t/indexed-onedrive-folder-what-removes-a-record-whose-file-is-missing/87806 "2026-10-08T19:25:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mlw](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/m/8edcca/32.png) [@mlw](https://discourse.devontechnologies.com/u/mlw)\
**Post date:** [October 8, 2026, 7:25pm UTC](https://discourse.devontechnologies.com/t/indexed-onedrive-folder-what-removes-a-record-whose-file-is-missing/87806/1 "2026-10-08T19:25:05Z")

</div>

DEVONthink 4.4.1, macOS 15.7.5, OneDrive 26.168.0830 (File Provider, `~/Library/CloudStorage/OneDrive-Personal`). The folders are indexed and not synced via DEVONthink.

I understand from earlier threads that in cloud folders deletions are not applied automatically (Christian’s explanations in [Indexed files within DT not matching what is in DropBox](https://discourse.devontechnologies.com/t/indexed-files-within-dt-not-matching-what-is-in-dropbox/57531) and [DEVONthink always reports indexed files moved in Finder or Obsidian as missing](https://discourse.devontechnologies.com/t/devonthink-always-reports-indexed-files-moved-in-finder-or-obsidian-as-missing/76071)), and that _File \> Update Indexed Items_ removes missing items silently by design (["Update Indexed Items" removes missing files without reporting in logs](https://discourse.devontechnologies.com/t/update-indexed-items-removes-missing-files-without-reporting-in-logs/67115)). That matches what I see most of the time: when OneDrive loses a file, the record stays and is reported as missing.

That behaviour is valuable to me. As long as the record exists I can restore the file from OneDrive’s Recycle Bin, point the old record at it (Generic Info \> Path \> Select) and keep its UUID, so `x-devonthink-item://` links elsewhere keep working.

This week it didn’t work out that way:

1. OneDrive deleted an indexed file. The Log reported it as missing.
2. I Control-clicked the Log entry and chose **Reveal**. The record disappeared right away, UUID included. Nothing was in the database’s Trash.
3. I restored the file from OneDrive’s Recycle Bin. DEVONthink indexed it as a new record with a new UUID.

In two earlier cases, records reported as missing in the same kind of folder stayed put for over a day, and I selected and opened them many times. I don’t think I used Reveal in those cases. Another user described something similar, with items disappearing on click but one staying missing ([Some files become "missing files", some are quietly removed](https://discourse.devontechnologies.com/t/some-files-become-missing-files-some-are-quietly-removed/82251)).

Questions:

1. Apart from _Update Indexed Items_, which actions remove a record whose indexed file is missing in a cloud folder: **Reveal** from the Log, selecting the item, selecting or viewing its parent group, _Verify & Repair_, anything else?
2. If the file reappears at **exactly the original path** while the missing record still exists, does DEVONthink reattach it to the existing record (same UUID), or create a new one?
3. Is there a safe way to keep a missing record until the file is restored, so its UUID survives?
4. With the hidden preference `EnableFSEventLogging` on, where do the log lines go: Window \> Log, Console, or a file?

Thanks!

---

<div class="post-metadata">

**Author:** ![mlw](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/m/8edcca/32.png) [@mlw](https://discourse.devontechnologies.com/u/mlw)\
**Post date:** [October 8, 2026, 8:14pm UTC](https://discourse.devontechnologies.com/t/indexed-onedrive-folder-what-removes-a-record-whose-file-is-missing/87806/2 "2026-10-08T20:14:07Z")

</div>

Some test results, in case they help others (DEVONthink 4.4.1, scratch database, dummy files in an indexed folder inside OneDrive, deleted with `rm`):

- Missing **documents** (plain text) kept their records through selecting, opening, opening the group, Verify & Repair (Cancel) and Reveal from the Log. Only _Update Indexed Items_ removed them. That matches the cloud-folder behaviour described in earlier threads.
- Missing **bookmarks** (indexed `.webloc`, “Web internet location”) lost their records, UUID included, as soon as they were **selected**. That includes the automatic selection of a single search result and **Reveal** from the Log. Reveal took me to the root with nothing selected, so the record was gone before it could be selected. Merely listing them in an expanded group, or running Verify & Repair, didn’t remove them.
- A file restored to its exact original path reconnected to the existing record (same UUID), both for a document and for a bookmark.

So the record I lost this week was a `.webloc`, and my Reveal is what removed it. Is the different handling of missing bookmarks intended? For links, keeping the record until the file comes back, as with documents, would be much safer.

---

<div class="post-metadata">

**Author:** ![BLUEFROG](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/bluefrog/32/135_2.png) [@BLUEFROG](https://discourse.devontechnologies.com/u/BLUEFROG)\
**Post date:** [October 8, 2026, 8:44pm UTC](https://discourse.devontechnologies.com/t/indexed-onedrive-folder-what-removes-a-record-whose-file-is-missing/87806/3 "2026-10-08T20:44:02Z")

</div>

Development would have to comment on the bookmarks immediately disappearing. However, they are basically content-less files. They functionally only point somewhere else unlike say a rich text document.

> If the file reappears at **exactly the original path** while the missing record still exists, does DEVONthink reattach it to the existing record (same UUID)

Yes and it’s based on the absolute path so it doesn’t actually need to be the same document. It just needs the same name.

Here I added a bookmark to a completely different site but gave it the name of a different site. When viewed in DEVONthink, it retained the UUID.

 ![image](https://devontech-discourse.s3.dualstack.us-east-1.amazonaws.com/uploads/original/3X/8/b/8b90ca0238e2eddce01df3f35a32a3d4641aa884.png)

> For links, keeping the record until the file comes back, as with documents, would be much safer.

As I mentioned, development would have to comment or decide on this behavior.

---

<div class="post-metadata">

**Author:** ![cgrunenberg](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/cgrunenberg/32/7172_2.png) [@cgrunenberg](https://discourse.devontechnologies.com/u/cgrunenberg)\
**Post date:** [October 9, 2026, 8:53am UTC](https://discourse.devontechnologies.com/t/indexed-onedrive-folder-what-removes-a-record-whose-file-is-missing/87806/4 "2026-10-09T08:53:47Z")

</div>

> [@mlw](#):
>
> 1. I Control-clicked the Log entry and chose **Reveal**. The record disappeared right away, UUID included. Nothing was in the database’s Trash.

Viewing an indexed file automatically updates it, the next release will revise this.

---

<div class="post-metadata">

**Author:** ![mlw](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/m/8edcca/32.png) [@mlw](https://discourse.devontechnologies.com/u/mlw)\
**Post date:** [October 9, 2026, 4:48pm UTC](https://discourse.devontechnologies.com/t/indexed-onedrive-folder-what-removes-a-record-whose-file-is-missing/87806/5 "2026-10-09T16:48:02Z")

</div>

Can you confirm this is only with bookmarks right?

---

<div class="post-metadata">

**Author:** ![BLUEFROG](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/bluefrog/32/135_2.png) [@BLUEFROG](https://discourse.devontechnologies.com/u/BLUEFROG)\
**Post date:** [October 9, 2026, 5:09pm UTC](https://discourse.devontechnologies.com/t/indexed-onedrive-folder-what-removes-a-record-whose-file-is-missing/87806/6 "2026-10-09T17:09:12Z")

</div>

Clicking on a missing indexed file of any kind doesn’t make it disappear from the group in DEVONthink. It is shown with the registered file path and a note it’s missing.

---

<div class="post-metadata">

**Author:** ![mlw](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/m/8edcca/32.png) [@mlw](https://discourse.devontechnologies.com/u/mlw)\
**Post date:** [October 10, 2026, 9:16am UTC](https://discourse.devontechnologies.com/t/indexed-onedrive-folder-what-removes-a-record-whose-file-is-missing/87806/7 "2026-10-10T09:16:17Z")

</div>

That’s my experience with most filets types excep webloc
