Tried to move storage to NAS - failed. Cant open Zotero

Error message below. Is there any way to change the storage location without having Zotero open?

Thanks

Jeremy


-----------------------------------------
There was an error starting Zotero.

You can report this problem in the Zotero Forums.

[Exception... "Could not open connection to /Volumes/homes/Zotero/zotero/zotero.sqlite: 2153971714" nsresult: "0x80630002 (NS_ERROR_STORAGE_IOERR)" location: "JS frame :: resource://gre/modules/Sqlite.sys.mjs :: openConnection/</< :: line 1336" data: no]
openConnection/</<@resource://gre/modules/Sqlite.sys.mjs:1336:23
From previous event:
Zotero.DBConnection.prototype._getConnectionAsync@chrome://zotero/content/xpcom/db.js:1228:45
  • edited yesterday at 6:58am
    Go to your Zotero profile folder, open prefs.js in a text editor, and delete the dataDir and useDataDir lines. The move the Zotero folder back to the default location.

    Storing the database on a network share may be less likely to work in Zotero 7.

    You can try the Zotero beta — which is based on an even newer Firefox version — to see if that's any different, but there's a good chance you'll need to keep the data directory on a local disk.
  • Thanks for the quick response. learned the hard way not to store the database on a NAS...

    for anyone else who finds this, in OSX the folder is
    /Users/[username]/Library/Application Support/Zotero/Profiles/[profilename]/prefs.js

    I just changed the path on line 38:
    user_pref("extensions.zotero.dataDir", “[path]”);

    all good now :)
Sign In or Register to comment.