Windows update rolled back a data directory nested inside the Zotero installation folder
On Windows 11, after Zotero updated from 9.0.6 to 10.0.8, my PDF sidebar conversations and local Usage records from llm-for-zotero 3.9.21 were missing. New conversations and Usage records saved normally after the update.
My data directory was E:\Zotero\ZoteroData, inside the E:\Zotero installation directory. I did not move it or change the setting. The updater logs show a staged update on Nov 29 at 15:44 and a replace request on Nov 30 at 12:31. The updater renamed E:\Zotero to E:\Zotero.bak, then moved the staged copy into E:\Zotero. The database in that copy was already missing the chat and usage records before the schema migration ran. The original directory was no longer available for comparison.
Could Zotero warn when a custom data directory is inside the installation directory, or detect this configuration before the updater replaces the directory? The path stayed the same, so there was no obvious indication that I was opening an older copy of my data.
My data directory was E:\Zotero\ZoteroData, inside the E:\Zotero installation directory. I did not move it or change the setting. The updater logs show a staged update on Nov 29 at 15:44 and a replace request on Nov 30 at 12:31. The updater renamed E:\Zotero to E:\Zotero.bak, then moved the staged copy into E:\Zotero. The database in that copy was already missing the chat and usage records before the schema migration ran. The original directory was no longer available for comparison.
Could Zotero warn when a custom data directory is inside the installation directory, or detect this configuration before the updater replaces the directory? The path stayed the same, so there was no obvious indication that I was opening an older copy of my data.
-
dstillman Zotero Teamedited yesterday at 3:26pmWe can add a warning for that when setting a custom data directory, but…don't put data inside an installation directory. That has always been wrong and dangerous, for any program.
-
dstillman Zotero Team(For Zotero 11, we've added a warning when trying to set a custom data dir within the installation directory, and it will refuse to start if you already have one set up that way.)
Upgrade Storage