Broken Zotero on Mac
I was trying to change the data storage folder that Mac Zotero uses from my internal hard disk to a shared directory to link it to the one I use on my PC. Using Settings I changed to the shared folder which was connected and showing in Finder. Zotero on Mac then refused to load giving the message:
"Error
There was an error starting Zotero.
You can report this problem in the Zotero Forums.
[Exception... "Could not open connection to Volumes/DataStore |Zotero/zotero.sqlite: 2153971714" nsresult: "0x80630002
(NS_ERROR_STORAGE_IOERR)" location: "JS frame::
resource://gre/modules/Sqlite.sys.mjs :: openConnection/<<:: line
1336" data: nol
openConnection/</<@resource://gre/modules
/Sqlite.sys.mjs:1336:23
From previous event:
Zotero.DBConnection.prototype._getConnectionAsync@chrome://zotero/content/xpcom/db.js:1197:45"
Since I can't load Zotero I can't get into Settings to change it back.
Any ideas? I have tried deleting the plist file and replacing Zotero settings to yesterday's using Time Machine but still get the same message on attempting to run. Anything else I can do apart from uninstalling and re-installing?
Thanks
John
"Error
There was an error starting Zotero.
You can report this problem in the Zotero Forums.
[Exception... "Could not open connection to Volumes/DataStore |Zotero/zotero.sqlite: 2153971714" nsresult: "0x80630002
(NS_ERROR_STORAGE_IOERR)" location: "JS frame::
resource://gre/modules/Sqlite.sys.mjs :: openConnection/<<:: line
1336" data: nol
openConnection/</<@resource://gre/modules
/Sqlite.sys.mjs:1336:23
From previous event:
Zotero.DBConnection.prototype._getConnectionAsync@chrome://zotero/content/xpcom/db.js:1197:45"
Since I can't load Zotero I can't get into Settings to change it back.
Any ideas? I have tried deleting the plist file and replacing Zotero settings to yesterday's using Time Machine but still get the same message on attempting to run. Anything else I can do apart from uninstalling and re-installing?
Thanks
John
dataDir
line.Network shares can work, but they don't always behave like standard disks, so if they don't work, all we can suggest is sticking to the local disk.
I'm not sure how what I describe wouldn't help? It would just keep new or recently opened files locally for a few days, and then they would be removed and would only be stored online until you tried to open them again from any device.
Again, if you want to use linked files, you can do that with a plugin. That's how you would save attachment files to an external disk or in a cloud storage folder without using Zotero file syncing. Stored files are stored within the data directory and managed by Zotero — that's what makes them stored files.
I'm still not clear on what exactly the device is that you were trying to move your data directory to. But if it's a NAS or something that can be accessed from multiple OSes at once, that's essentially equivalent to trying to store Zotero data in a cloud storage folder. You absolutely can't do that — you'll corrupt your database, and you'll likely run into all sorts of problems (like this one) even before you do. I have no idea what you're talking about — I'm certainly not suggesting anything like this. I'm saying that for standard use of Zotero with stored files and Zotero file syncing — which, based on your storage subscription, I was assuming you were using — there's an upcoming feature to reduce local disk usage in the data directory. That's it.
Not sure why you're so insistent on not using a plugin -- plugins have allowed folks to auto move and link files for many years, so it's not like this isn't possible. There's no need to do this manually (there's also good reasons to make storing in Zotero the default because it's much less likely to break in a whole range of ways).