Could not open connection to zotero.sqlite
This discussion was created from comments split from: Data directory could not be found error after installation.
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Error: Could not open connection to H:\FDrive\Nancy\Google Drive\Gough Scientific Communication Services\BioSerendipity\Articles\Zotero\zotero.sqlite: 2153971714
openConnection/</<@resource://gre/modules/Sqlite.jsm:945:16
From previous event:
ZoteroService@file:///C:/Program%20Files%20(x86)/Zotero/components/zotero-service.js:346:4
@chrome://zotero/content/include.js:4:14
But, beyond that, you absolutely should not store your Zotero data directory in a Google Drive folder. That will certainly lead to database corruption and possibly data loss eventually. You should move your Zotero data directory somewhere else on your computer.
Error: Could not open connection to C:\Users\Valentina\Desktop\ZOTERO storage\zotero.sqlite: 2153971714
openConnection/</<@resource://gre/modules/Sqlite.jsm:945:16
From previous event:
ZoteroService@file:///C:/Program%20Files%20(x86)/Zotero/components/zotero-service.js:346:4
@chrome://zotero/content/include.js:4:14
Can you help me, please?
Error: Could not open connection to H:\FDrive\Nancy\Google Drive\Gough Scientific Communication Services\BioSerendipity\Articles\Zotero\zotero.sqlite: 2153971714
openConnection/</<@resource://gre/modules/Sqlite.jsm:945:16
From previous event:
ZoteroService@file:///C:/Users/ngough/Zotero/components/zotero-service.js:346:4
@chrome://zotero/content/include.js:4:14
Zotero is still looking on your network drive. You'll need to point it to your local hard drive. Does H:\FDrive\Nancy\Google Drive\Gough Scientific Communication Services\BioSerendipity\Articles\Zotero still exist? If so, the easiest option would be to simply move the Zotero directory to C:\Users\:username:\Zotero, and then Zotero should prompt whether you want to use that when you next start it up (assuming it can access the network drive enough to determine that the folder is no longer there).
If that doesn't work we can tell you how to reset the preferences so it looks in another location.
What's the current data directory location in the Advanced → Files and Folders pane of the Zotero preferences?
Did you move your Zotero data directory somewhere else on your computer?
zotero.sqlite 1/5/2018
zotero.sqlite.77.bak 11/16/2017
zotero.sqlite.1.bak 12/7/2017
zotero.sqlite.bak 12/20.2017
zotero(1).sqlite 10/24/2017
Yes the storage folder with the subfolders and files is there and the folders are all dated 1/4/2018. Content inside is older.
This is the data directory — the folder with zotero.sqlite and 'storage'. Make sure you're actually checking C:\Users\ngough\Zotero itself and you didn't accidentally copy "Zotero" into C:\Users\ngough\Zotero (to make C:\Users\ngough\Zotero\Zotero).
file size zotero.sqlite 904 KB
sqlite.1.bak 30,088 KB
sqlite.uu.bak 30,348 KB
sqlite.bak 30,296 KB
sqlite-journal 89 KB
Note that that's a backup from December 20th — I'm not sure if you've used Zotero since then, and if so what happened to your main database, but given that you had this both on a network drive and in Google Drive, all sorts of problems can easily arise.
If you're missing data after restarting and it's not available when you sync (e.g., if you didn't sync after December 20th), you can check Google Drive's version history (if there is such a thing) for a more recent 30 MB copy of your zotero.sqlite.
There was an error starting Zotero.
Error: Could not open connection to \\...\home\a\user\Documents\Zotero\zotero.sqlite: 2153971714
openConnection/</<@resource://gre/modules/Sqlite.jsm:945:16
From previous event:
Zotero.DBConnection.prototype._getConnectionAsync@chrome://zotero/content/xpcom/db.js:1152:30
I checked my zotero.sqlite and it´s not empty and has a recent date, and the file path should be fine for finding it, so I don´t know what could be the problem. I did have a Windows 10 update before this occurred, though, so maybe it has something to do with that?
Anyone have suggestions on how to solve this?