[Zotero 6.0.13 macOS 11.6.6] database upgrade error
I get a database upgrade error after updating to Zotero 6.0.13
The exact error message is:
Datenbank-Upgrade-Fehler
Error: Error(s) encountered during statement execution: unable to open database file [QUERY: DELETE FROM itemTypesCombined] [PARAMS: ] [ERROR: unable to open database file]
Zotero.DBConnection.prototype.queryAsync@chrome://zotero/content/xpcom/db.js:680:13
From previous event:
ZoteroService@file:///Applications/Zotero.app/Contents/Resources/components/zotero-service.js:346:7
@chrome://zotero/content/include.js:4:14
What are the steps to get the database up and running again?
The exact error message is:
Datenbank-Upgrade-Fehler
Error: Error(s) encountered during statement execution: unable to open database file [QUERY: DELETE FROM itemTypesCombined] [PARAMS: ] [ERROR: unable to open database file]
Zotero.DBConnection.prototype.queryAsync@chrome://zotero/content/xpcom/db.js:680:13
From previous event:
ZoteroService@file:///Applications/Zotero.app/Contents/Resources/components/zotero-service.js:346:7
@chrome://zotero/content/include.js:4:14
What are the steps to get the database up and running again?
Generally this would indicate a problem with file permissions with your data directory and/or the zotero.sqlite file within it. If you don't think it's that, try restarting your computer.
I have been able to solve the problem. But as always, thanks for your rapid response.
Here's what cause my problem, and the solution:
The problem was caused, because my main drive was running out of space.
After freeing up a few gigabytes, Zotero opened up just fine.
It was not a file permissions problem, and I hadn't moved the data directory (it's in the default location).