database disk image is malformed
Hey there, I get the following error message under Zotero 5 in Ubuntu:
Es gab einen Fehler beim Start von Zotero.
Error: Error(s) encountered during statement execution: database disk image is malformed [QUERY: SELECT COALESCE(MAX(valueID) + 1, 1) FROM itemDataValues] [PARAMS: ] [ERROR: database disk image is malformed]
Zotero.DBConnection.prototype.valueQueryAsync<@chrome://zotero/content/xpcom/db.js:742:10
From previous event:
ZoteroService@file:///home/sm5/Software/Zotero/Zotero_linux-x86_64/components/zotero-service.js:346:4
@chrome://zotero/content/include.js:4:14
Can anybody help? Thanks in advance!
Es gab einen Fehler beim Start von Zotero.
Error: Error(s) encountered during statement execution: database disk image is malformed [QUERY: SELECT COALESCE(MAX(valueID) + 1, 1) FROM itemDataValues] [PARAMS: ] [ERROR: database disk image is malformed]
Zotero.DBConnection.prototype.valueQueryAsync<@chrome://zotero/content/xpcom/db.js:742:10
From previous event:
ZoteroService@file:///home/sm5/Software/Zotero/Zotero_linux-x86_64/components/zotero-service.js:346:4
@chrome://zotero/content/include.js:4:14
Can anybody help? Thanks in advance!
You also likely will want to re-think how you set up your data directory -- it's pretty tricky to have that working well with the same data directory accessible from linux and Windows on a dual boot.
indeed I was using a virtual machine. In fact I could have recovered most of my database from a different computer otherwise.
Cheers!
in case you (recently) synced your library with the zotero server, you can simply close Zotero and move 'zotero.sqlite' and 'storage' from the Zotero data directory to somewhere safe, and then sync. This will download the last edition of your library and the world is in order again. Good luck!