Error Message during Manual Zotero Database Repair
Hi,
I tried to manually repair Zotero database file following the instruction on the webpage. In the last step, i get the following error message:
Zotero % sqlite3 zotero.sqlite < dump.sql
Runtime error near line 1396100: UNIQUE constraint failed: translatorCache.fileName (19)
Runtime error near line 1396102: UNIQUE constraint failed: translatorCache.fileName (19)
Runtime error near line 1396105: UNIQUE constraint failed: translatorCache.fileName (19)
Any suggestions how i can fix this problem. Thank you.
I tried to manually repair Zotero database file following the instruction on the webpage. In the last step, i get the following error message:
Zotero % sqlite3 zotero.sqlite < dump.sql
Runtime error near line 1396100: UNIQUE constraint failed: translatorCache.fileName (19)
Runtime error near line 1396102: UNIQUE constraint failed: translatorCache.fileName (19)
Runtime error near line 1396105: UNIQUE constraint failed: translatorCache.fileName (19)
Any suggestions how i can fix this problem. Thank you.
When i start zotero again, it gives me the same error message as before (corrupted database). I suspect that no repaired databased file has been created.
sqlite3 zotero.sqlite < dump.sql
, you'll either end up with a zotero.sqlite file or not, and if a file is created it will be structurally valid (even if the data may still be wrong). You can test withPRAGMA integrity_check;
.If there's a zotero.sqlite.is.corrupt file in the folder, you can try deleting that before starting Zotero.
If it's still not working, see Reporting Startup Errors.