Changing Zotero Folder to a NAS fails - Error: database is locked
Using netrunner (ubuntu based linux). I mounted a hard drive on a nas via samba - but when pointing the zotero directory to that new path i get:
Datenbank-Upgrade-Fehler (Database Upgrade Error)
[Exception... "Component returned failure code: 0x80630001 (NS_ERROR_STORAGE_BUSY) [mozIStorageConnection.commitTransaction]" nsresult: "0x80630001 (NS_ERROR_STORAGE_BUSY)" location: "JS frame :: chrome://zotero/content/xpcom/db.js :: Zotero.DBConnection.prototype.commitTransaction :: line 497" data: no] [ERROR: database is locked]
The only thing i found about this error is here:
https://forums.zotero.org/discussion/31031/storage-buy-database-locked/
but simply restarting does not help. Same error message occurs with Zotero Firefox Extension and also when i try it with standalone.
When i rename the folder on the nas and and by that force zotero to ask me for the not-found directory location and i point back to the local disk - it works again.
Datenbank-Upgrade-Fehler (Database Upgrade Error)
[Exception... "Component returned failure code: 0x80630001 (NS_ERROR_STORAGE_BUSY) [mozIStorageConnection.commitTransaction]" nsresult: "0x80630001 (NS_ERROR_STORAGE_BUSY)" location: "JS frame :: chrome://zotero/content/xpcom/db.js :: Zotero.DBConnection.prototype.commitTransaction :: line 497" data: no] [ERROR: database is locked]
The only thing i found about this error is here:
https://forums.zotero.org/discussion/31031/storage-buy-database-locked/
but simply restarting does not help. Same error message occurs with Zotero Firefox Extension and also when i try it with standalone.
When i rename the folder on the nas and and by that force zotero to ask me for the not-found directory location and i point back to the local disk - it works again.
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.
You may be able to experiment and make adjustments to fix this, but for Zotero's part it just expects standard filesystem behavior.
I searched some more and found some entries who are trying something quite similar to my approach:
https://forums.zotero.org/discussion/30851/best-way-to-setup-zotero-for-a-group/
Is basically the same what we want to do- store the pdfs locally - if possible in a defined folder structure we already have establisehd on the nas (by the way - we will soon switch from the nas to a zentyal server - don't know if this information helps) - which we mimic with zotero. If thats not possible a single folder on the network drive where everything new is saved to will also be ok.
What we want now is to find a way for zotero to do so - without having to have the whole zotero + files on each users pc. Hosting on zotero is out of data privacy reasons not an option as the server is located in the us (as far as i know).
If you don't want to transfer files to each computer, one option would be to transfer just the data directory (e.g., via a roaming home directory — again, as long as it's exclusive) and then use linked files (and ZotFile, perhaps) and an attachment base directory to store PDFs on the NAS.