Shut down Zotero not releasing database

Shutting down Zotero doesn't release the database. When restarting in the same session Zotero doesn't have necessary permissions. Warning also states it is preferred to have the database on a local machine, while mine is on a network share (unraid nfs). I prefer it that way because I work from multiple clients accessing the same Zotero database. Yes, other machine are shutdown and thus not accessing the database. I
Is there / will there be a solution to this issue?
info:
-Kubuntu 24.04
-Zotero 7.0.8
  • Zotero isn't design to work on a networks share, so doing that I'm afraid you are on your own. When running it locally, obviously the database is released, so this is an effect of how your network setup interacts with the database.
  • Hi Adam, thanks for your quick reply.
    Honestly, I never had issues running it on an unraid server (years back also on a qnap server), until 7.0.7.
    It still runs perfect on a server, apart from my mentioned issue.
    Maybe I was lucky?
    It's still amazing software, 7 is yet again a step forward. Chapeau!

    thanks
    Maurice
  • There's no change here in any particular version of Zotero, and certainly not in some 7.0 point release. Network shares just don't work reliably with SQLite databases (used by countless programs).

    https://sqlite.org/useovernet.html
    SQLite is designed for situations where the data and application coexist on the same machine.
    https://www.sqlite.org/howtocorrupt.html#_filesystems_with_broken_or_missing_lock_implementations
  • Thanks for the links. I understand the issues with sqlite over the network.
    Question: Because I had the network drive mounted as a local drive (fstab) may I have "fooled" sqlite in assuming it was a local drive?
    Thanks
    Maurice
  • No, mounting a network drive on a Unix-like system doesn't change the fact that it's a network drive. You've just been lucky so far - which happens quite often, actually... that's why many people believe that it is safe. Until it breaks.
  • I guessed so... :-(
    Anyhow, I also found out that the mounted Unraid share turned stale after closing Zotero. Apparently an Unraid share can turn stale because of the mover setting (https://www.reddit.com/r/unRAID/comments/11swke7/unraid_nfs_stale_file_handle_what_causes_it_and/).
    I'll look for an alternative. There is the Zotero sync option, but I prefer self-hosting :-)
Sign In or Register to comment.