Your Zotero profile cannot be loaded. It may be missing or inaccessible (Windows)

I've been a long-term Zotero user via the firefox plugin. Having now been forced to change to the stand-alone version, I cannot get it to run. I've tried installing both version and 5.0.29 and for both the only thing Zotero produces is a dialogue box with "Your Zotero profile cannot be loaded. It may be missing or inaccessible." Really anoying!

I'm on Windows 7, and yes Zotero will happily create a "Zotero" subdirectory in both my AppData/Local and AppData/Roaming directories - but it leaves these empty except for a further Zotero subdirectory. I've tried all the things suggested on various forums including -ZoteroDebug or -profile flags on the command-line, deleting the directories and letting it recreate them, putting in a dummy profiles.ini file, all to no avail.

Any ideas on how I can at least get a sensible error message (or preferably a fix to make Zotero start)?

  • Have you tried temporarily disabling any security software you're running?
  • This is a Mozilla message, by the way, so any troubleshooting advice you find for that message pertaining to Firefox would apply here as well. But really it just means something is preventing Zotero from accessing that directory properly.
  • Not running any special security software. However, given that Zotero can create the directories, surely it can put stuff into them. Whether it's the Firefox part of the code or something else, there must be some way to figure out what it can't do or to manually create whatever it is looking for. I've tried all of the firefox flags from the command line but none of them have allowed me to get past this first error box. As it is, Zotero is completely unusable for me :-(
    only option I have is to go back to an earlier version Firefox to run the old zotero within the browser. Not really an ideal solution.
  • I'm afraid there's not really much else we can tell you. This obviously works fine for the vast majority of people, so it's something particular to your system that you'll need to debug. Bear in mind that people have been using Zotero Standalone for the last 6 years, so if this were a standard problem with a standard solution, we'd know about it.

    If you have a Firefox installation, you can try copying its Profiles folder to C:\Users\:username:\AppData\Roaming\Zotero\Zotero\Profiles and seeing if that works. (If so, you can clean it up a bit after.)

    Failing that, you might be able to monitor disk access with a separate tool (e.g., DiskMon, though I'm not sure if that shows the actual files that a process tries to access).

    (There are also some low-level logging options for Mozilla code that you could use if you have Cygwin installed, but if you don't know what that is, it's not worth worrying about, since it's pretty complicated and unlikely to actually show anything useful.)
  • For anyone else struggling with this: the solution turned out to be manually editing permission flags for directories that Zotero created. Not sure how it happens that Zotero can create a directory but not able to create any files within them, but turning on "FullControl" within the "Security" tab of the AppData/Local/Zotero folder properties and running Zotero in administrator mode seemed to do the trick (not sure which of these was the crucial step).
  • edited December 14, 2017
    Just to note for others who come across this, you definitely shouldn't need to run Zotero in administrator mode, and we strongly discourage it (both for security reasons and because, once you do, it becomes much more likely that you'll need to do so in the future to fix other problems, unless you correct a lot of file permissions). The fix here would just be figuring out what's preventing your current user account or Zotero from being able to write to the profile directory (within C:\Users\username\AppData\Roaming\Zotero\Zotero\Profiles) or the cache directory (within C:\Users\username\AppData\Local\Zotero\Zotero\Profiles). That could be permissions, the Windows Read-Only attribute, or security software.

    Again, the code here is from the underlying Firefox components that Zotero uses — Zotero's own code isn't even running at this point. It's possible that some security software could flag Zotero as being part of Firefox and prevent it from writing outside of expected Firefox locations, but that's purely speculation.

    Also note that this error is entirely unrelated to the Zotero data directory at C:\Users\username\Zotero.
Sign In or Register to comment.