Using Zotero 5.0 with no access to local drive

I'm a librarian at an educational institution, and about a year ago I brought in Zotero and had it installed on all the student computers. The way our IT department has set up these computers, students have no access to the local drive - they can only save files onto their virtual drive (this is so they can log in to any computer and have all their files available). I understand that Zotero works best when the Zotero library is saved on a local drive, but so far this has been working fine, with only the occasional hiccup.

When I asked the IT team to update all the computers to Zotero 5.0, they said the new version produces an error because it tries to save the library to the local drive by default.

Can anyone confirm that this is a change in 5.0? And if so, is there any way to use Zotero 5.0 with no access to the local drive?

Thanks!
  • These are Windows machines I assume?
  • Yes, Windows 7 Enterprise.
  • Yes, this did change. You can custom set the direction of the data directory using the extensions.zotero.dataDir preference -- I'm pretty sure it's possible to adjust the install accordingly, but I don't know how.
  • edited July 20, 2017
    So this depends exactly how you have things set up. It sounds like there might be a distinction here between the home (a.k.a. user) directory and the virtual drive, with the home directory still on the local drive but the virtual drive separate?

    Both the Zotero profile directory and the Zotero data directory are within the home directory (%userprofile%) by default. If the entire home directory were on a separate drive and writable, it would work out of the box. But if the home directory isn't writeable, it won't.

    The profile flags are the same as Firefox's, meaning you can pass -profile /path/to/profile to the executable to specify a different profile directory.

    In prefs.js in the profile directory you can change extensions.zotero.dataDir to point to a different path and set extensions.zotero.useDataDir to true. If you need to use -profile, though, you might run into trouble, because Zotero would create a new profile directory on the virtual drive in the specified location but then try to use %userprofile%\Zotero. It's possible we can add a command-line flag to allow either using a 'zotero' directory within the profile directory or specifying an explicit data directory — people who want to run Zotero from a USB drive have a similar need here.
  • Thanks for the feedback. I shared it with the IT department, and I'm pasting their response below. If anyone has further thoughts, they would be much appreciated - but it sounds like we will sadly have to switch to another citation manager.

    "It appears this would require us to make a change to the Firefox profile of every single student, to point them to a different Zotero profile directory.
    This post provides no instructions on how to even achieve this, just a general idea of what to do. Easy to figure out for one user, but pushing it to 1000+ will be a far greater endeavour that I'm honestly not even sure how to achieve. Firefox isn't a Windows component so it's far more difficult to manage with Group Policy.
    The reality is that for us to deploy software that widely, it needs to be fully compatible with roaming profiles. It's a part of any IM software review. You may need to submit a feature request to the company to fully support network locations out-of-the-box, stay with Zotero 4, or look for another software solution that is more compatible with our network. Manually altering 1000s of Firefox profiles via a script that we would have to write, test, and deploy ourselves to allow for a configuration that is considered both legacy and unsupported by the vendor is unfortunately not an acceptable workaround."
  • It appears this would require us to make a change to the Firefox profile of every single student, to point them to a different Zotero profile directory.
    It would be a change to the Zotero profile directory to point to a different Zotero data directory. You would just need a template Zotero profile directory in the roaming profile that included the two prefs I mention above.

    But in the next version, we're going to add a command-line flag to allow use of the profile directory (which is within the roaming profile) for storing data. I'll post here when that's available.

    (For what it's worth, storing data in a subdirectory of the home directory is done by lots of cloud-synced software — Dropbox, Creative Cloud, etc. — so I would think those would all have the same problem.)
  • Thanks so much for this info. Could you give me a ballpark estimate as to when the command-line flag will be available? Are we talking about within the next 6 months, or will it likely be more than a year away?
  • The command-line flag is available in the latest 5.0 Beta, and it'll be included in 5.0.18, which should be out in a day or two. You can pass -datadir profile to the Zotero executable to have it use a 'zotero' directory within the Zotero profile directory, the same as Zotero 4.0 did. (It also takes an absolute path, but that's probably not what you want.)
  • 5.0.18 is available now with this flag.
  • Sounds great. Thanks again!
Sign In or Register to comment.