I just updated Zotero and got the following error - see below
I just updated Zotero and got the following error - see below. Can anyone help. The Zotero program now runs but shows no library
Peter
"Database upgrade error
Error: Error(s) encountered during statement execution: disk I/O error [QUERY: PRAGMA foreign_key_check] [PARAMS: ] [ERROR: disk I/O error]
Zotero.DBConnection.prototype.queryAsync<@chrome://zotero/content/xpcom/db.js:669:13
From previous event:
Zotero.Schema</this.updateSchema/updated<@chrome://zotero/content/xpcom/schema.js:206:17
Peter
"Database upgrade error
Error: Error(s) encountered during statement execution: disk I/O error [QUERY: PRAGMA foreign_key_check] [PARAMS: ] [ERROR: disk I/O error]
Zotero.DBConnection.prototype.queryAsync<@chrome://zotero/content/xpcom/db.js:669:13
From previous event:
Zotero.Schema</this.updateSchema/updated<@chrome://zotero/content/xpcom/schema.js:206:17
1. Turned off security software temporarily - no effect
2. The data directory and data file are in the standard place i.e. C:\Users\PAWat\Zotero\zotero.sqlite (size 214,564kb, date 12 March 2020)
3. Your suggestion that there is a problem with zotero.sqlite is correct in the sense that when copy the file and then try to paste into another folder I get can't read from the source file or disk
I have a big storage area on the cloud rented from Zotero so I am hoping I can recover my data from that if my current zotero.sqlite is destroyed. I can't see how to do that if Zotero won't run. Zotero.sqlite.bak is 210,852kb and dated 13 June 2018 so not much good.
Failing that, if you're sure your online library is up to date, you can try to delete zotero.sqlite from your data directory (if Windows lets you) and then sync Zotero to pull down your online library data.
There were some problems found by SFC which were fixed and then DISM confirmed files were OK. However zotero.sqlite remained a problem, so I renamed it oldzotero.sqlite and logged Zotero into my Zotero cloud store and synced. That seems to have totally fixed the problem.
Many thanks.
By the way, am I foolish to rely on my Zotero cloud storage and not do backups of zotero.sqlite??
Cloud data can certainly help you restore in the case of a disaster, as it did here, but you never want to solely rely on it. If something wasn't syncing properly, or you delete something accidentally and that deletion syncs to the cloud, or there was a problem with some cloud service that wipes out your local data, you want to have a local backup.