# Database has renamed itself -once again

**URL:** https://discourse.devontechnologies.com/t/database-has-renamed-itself-once-again/63286
**Category:** DEVONthink
**Tags:** sync
**Created:** [March 26, 2021, 7:48pm UTC](https://discourse.devontechnologies.com/t/database-has-renamed-itself-once-again/63286 "2021-03-26T19:48:09Z")
**Posts on this page:** 17
**Page:** 3

<div class="post-metadata">

### Author: ![eboehnisch](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/eboehnisch/32/38699_2.png) [@eboehnisch](https://discourse.devontechnologies.com/u/eboehnisch)
#### Post date: [April 1, 2021, 9:20am UTC](https://discourse.devontechnologies.com/t/database-has-renamed-itself-once-again/63286/42 "2021-04-01T09:20:17Z")

</div>

Thank you!

---

<div class="post-metadata">

### Author: ![ebowman](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/e/dbc845/32.png) [@ebowman](https://discourse.devontechnologies.com/u/ebowman)
#### Post date: [April 1, 2021, 10:47pm UTC](https://discourse.devontechnologies.com/t/database-has-renamed-itself-once-again/63286/43 "2021-04-01T22:47:12Z")

</div>

I’m having this issue as well. Yes I am indexing files from a cloud-synced location, in this case OneDrive. And yes, files are getting renamed using Obsidian, sometimes locally, sometimes remotely. I have seen a few pathological situations … I have to regularly throw away the group of indexed files and recreate it because it does not recover from files going away. Annoying but not that big a deal. I have also noticed that my local database explodes in size by 4x-6x sometimes, and I tend to throw away the local copy and resync from webdav. Before I was noticing it only on DTtG and would delete on iPhone and resync. But now it has renamed the database in my webdav store, and so I’m restoring webdav from backup to recover.

---

<div class="post-metadata">

### Author: ![apoc527](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/apoc527/32/7548_2.png) [@apoc527](https://discourse.devontechnologies.com/u/apoc527)
#### Post date: [April 2, 2021, 12:57am UTC](https://discourse.devontechnologies.com/t/database-has-renamed-itself-once-again/63286/44 "2021-04-02T00:57:57Z")

</div>

I also have this issue fairly routinely with DTTG, but it usually comes with a bug that results in the database on DTTG being useless. I usually just delete and resync, sometimes after cleaning the sync store from DT3. Using CloudKit FYI.

---

<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: [April 2, 2021, 2:39am UTC](https://discourse.devontechnologies.com/t/database-has-renamed-itself-once-again/63286/45 "2021-04-02T02:39:58Z")

</div>

And you’re indexing files in a cloud-synced location or not?

---

<div class="post-metadata">

### Author: ![Lionashadow](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/l/3d9bf3/32.png) [@Lionashadow](https://discourse.devontechnologies.com/u/Lionashadow)
#### Post date: [April 2, 2021, 6:34am UTC](https://discourse.devontechnologies.com/t/database-has-renamed-itself-once-again/63286/46 "2021-04-02T06:34:28Z")

</div>

have had the same problem: suddenly database renamed itself and some of files got lost. i used restoration from backup to solve it.

tryed to reproduce this bug, but without succes so far

---

<div class="post-metadata">

### Author: ![Lionashadow](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/l/3d9bf3/32.png) [@Lionashadow](https://discourse.devontechnologies.com/u/Lionashadow)
#### Post date: [April 2, 2021, 6:43am UTC](https://discourse.devontechnologies.com/t/database-has-renamed-itself-once-again/63286/47 "2021-04-02T06:43:08Z")

</div>

in my case I use DTTG and DPro.

Database contains indexed folder and standartly (through inbox) introduced files.

Sometimes to redact .md files i used iAWriter, and when file was opened in different locations simultaneously it leaded to creating a copy - filename\_copy.md

So the databse changed it name from the original to filename\_copy.

And in this moment files that was not form the indexed folder disaapeared.

I opened a ticket, but the conversation has paused by me trying to repoduce the bug. No succes so far.

---

<div class="post-metadata">

### Author: ![apoc527](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/apoc527/32/7548_2.png) [@apoc527](https://discourse.devontechnologies.com/u/apoc527)
#### Post date: [April 2, 2021, 4:09pm UTC](https://discourse.devontechnologies.com/t/database-has-renamed-itself-once-again/63286/48 "2021-04-02T16:09:32Z")

</div>

Yes, though not the whole database. There are definitely components of each database that have indexed parts of my local OneDrive, Google Drive, etc.

---

<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: [April 2, 2021, 5:35pm UTC](https://discourse.devontechnologies.com/t/database-has-renamed-itself-once-again/63286/49 "2021-04-02T17:35:58Z")

</div>

> [@Lionashadow](#):
>
> when file was opened in different locations simultaneously it leaded to creating a copy - filename\_copy.md

This would be due to **Preferences \> Sync \> Conflicts** being set to **Duplicate documents** or DEVONthink To Go’s **Settings \> Sync: Conflicts** set to **Duplicate**.

@apoc527: Do you have similar conflict settings?

---

<div class="post-metadata">

### Author: ![apoc527](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/apoc527/32/7548_2.png) [@apoc527](https://discourse.devontechnologies.com/u/apoc527)
#### Post date: [April 2, 2021, 7:24pm UTC](https://discourse.devontechnologies.com/t/database-has-renamed-itself-once-again/63286/50 "2021-04-02T19:24:00Z")

</div>

Yes, and what’s more, I think it only happens when I have the same databases trying to sync via both Bonjour AND CloudKit. I’ve turned off Bonjour (which I only used because of speed) and we’ll see how it works. Next time, I may try using ONLY Bonjour and then turning it off before turning on CloudKit.

---

<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: [April 2, 2021, 7:58pm UTC](https://discourse.devontechnologies.com/t/database-has-renamed-itself-once-again/63286/51 "2021-04-02T19:58:46Z")

</div>

Thanks for the clarification and diligence!  
Let us know what you find and we’ll check here too.

---

<div class="post-metadata">

### Author: ![eboehnisch](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/eboehnisch/32/38699_2.png) [@eboehnisch](https://discourse.devontechnologies.com/u/eboehnisch)
#### Post date: [April 3, 2021, 9:13am UTC](https://discourse.devontechnologies.com/t/database-has-renamed-itself-once-again/63286/52 "2021-04-03T09:13:54Z")

</div>

Those of you with the spontaneous database renaming: please send us the `Console.log` files via ?⃝ _\> Contact us_ or downloaded from the device via the Finder. Thank you!

---

<div class="post-metadata">

### Author: ![ebowman](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/e/dbc845/32.png) [@ebowman](https://discourse.devontechnologies.com/u/ebowman)
#### Post date: [April 3, 2021, 11:12am UTC](https://discourse.devontechnologies.com/t/database-has-renamed-itself-once-again/63286/53 "2021-04-03T11:12:15Z")

</div>

One other weird thing I’m seeing, I’m not sure how to interpret it but figured I should share.

I have a Synology NAS system and I use WebDAV. It backs up every day. I’ve deleted the problematic database from all my DttG devices, and I now only sync to one MacBook. I’ve tried now several times disabling WebDAV and restoring backups to a couple of different dates that I know are before the time the database rename happened. I’ve deleted the database locally. But even going back several days before the rename happened, it still shows up in the list of remote databases via WebDAV with the new name.

Now, maybe backup/restore isn’t working … I haven’t fully tested it, but I see no errors, it takes many hours, and it seems like it’s working. So maybe something else is going on, unsure.

I am only restoring the directory ‘[database-name].dtCloud’ in WebDAV. That’s correct, right? Or do I need to restore some other file or directory? Really weird.

I will upload my Console.log files but it’s now been a few days, so it may not help.

Meanwhile I will try restoring my entire home directory on the NAS system.

---

<div class="post-metadata">

### Author: ![rmschne](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/r/8baadc/32.png) [@rmschne](https://discourse.devontechnologies.com/u/rmschne)
#### Post date: [April 3, 2021, 11:35am UTC](https://discourse.devontechnologies.com/t/database-has-renamed-itself-once-again/63286/54 "2021-04-03T11:35:54Z")

</div>

Please clarify… are you “backing up” or “synchronising” with your WebDAV on Synology?

Synchronising in DEVONthink is _not_ a backup and it has not “restore”.

Using TimeMachine to backup/restore?

---

<div class="post-metadata">

### Author: ![ebowman](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/e/dbc845/32.png) [@ebowman](https://discourse.devontechnologies.com/u/ebowman)
#### Post date: [April 3, 2021, 1:48pm UTC](https://discourse.devontechnologies.com/t/database-has-renamed-itself-once-again/63286/55 "2021-04-03T13:48:39Z")

</div>

I am syncing to WebDAV, and then backing up the filesystem that hosts the WebDAV storage. I’m not backing up my laptop (though I’m about to start… ;).

---

<div class="post-metadata">

### Author: ![rmschne](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/r/8baadc/32.png) [@rmschne](https://discourse.devontechnologies.com/u/rmschne)
#### Post date: [April 3, 2021, 2:03pm UTC](https://discourse.devontechnologies.com/t/database-has-renamed-itself-once-again/63286/56 "2021-04-03T14:03:26Z")

</div>

I can’t get my head around what you are doing. Sorry. Probably best if you start a new thread as this deals with synchronisation and restoration of the sync files to the server where they are located (?). I think (again, not yet sure what you are doing or what the problem is) .that you’d be better off “cleaning” the sync location and set up again from a working DEVONthink instance

A new thread properly titled will attract others who might better understand.

---

<div class="post-metadata">

### Author: ![eboehnisch](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/eboehnisch/32/38699_2.png) [@eboehnisch](https://discourse.devontechnologies.com/u/eboehnisch)
#### Post date: [April 30, 2021, 10:27am UTC](https://discourse.devontechnologies.com/t/database-has-renamed-itself-once-again/63286/57 "2021-04-30T10:27:23Z")

</div>

No single case of spontaneous database renaming yet?

---

<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: [April 30, 2021, 10:34am UTC](https://discourse.devontechnologies.com/t/database-has-renamed-itself-once-again/63286/58 "2021-04-30T10:34:35Z")

</div>

None here and no further reports I’ve seen.

[Previous page](https://discourse.devontechnologies.com/t/database-has-renamed-itself-once-again/63286.md?page=2)
