Zotero doesn't start

Hi,

I followed the guidelines and copied this from the browser console. Thanks for your help.

15:14:53.185 [Exception... "Component returned failure code: 0x80630002 (NS_ERROR_STORAGE_IOERR) [mozIStorageService.openDatabase]" nsresult: "0x80630002 (NS_ERROR_STORAGE_IOERR)" location: "JS frame :: chrome://zotero/content/xpcom/db.js :: Zotero.DBConnection.prototype._getDBConnection :: line 1119" data: no]1 zotero.js:824:0
  • See answer here https://forums.zotero.org/discussion/38643/firefox-310-zotero-extension-startup-error/
    This usually occurs when the Zotero data directory is on a network share or in a server-mirrored location on the hard drive (e.g., in a work environment). If that's the case for you, try copying your Zotero data directory to the local hard drive and pointing Zotero there instead.

    This could also be caused by security software on your system interfering with Zotero's ability to access the disk.
  • Ok, I'll try. Thanks a lot!
  • Hi,

    I moved the zotero folder from a shared network to my local disk (same computer). However, a tried to open Zotero for Firefox and I got the same message: 'there was an error starting zotero'. I also followed this steps:

    https://forums.zotero.org/discussion/48157/moving-zotero-storage-location-without-starting-zotero/

    The file prefs.js was deleted but the problem is there anyway. Just to be clear: by "moving" the Zotero folder I get the same folder in two locations.

    Any help will be welcomed.

    Best
  • Can you generate real-time debug output to confirm that it's starting up using the correct data directory? One of the first few lines should tell you the path in use.
  • Also, are you sure you deleted prefs.js when Firefox was closed? I can't remember, but if Firefox is open it might recreate it on close with the same prefs.
  • Hi Dan,

    Yes, Firefox was closed. Firefox started, I thought it was everything good again but not. The same message. Tomorrow I'll generate the real time debug output (I already left the office) and try again.

    Thanks for your help!
  • Hi Dan,

    I generated the real-time debug output and it told me that Zotero was starting using the incorrect data directory.

    Then I started the process again. I deleted the Zotero folder (moved yesterday) and I moved it again from the original Zotero Data Directory to the local hard disc. Then, I also deleted the file "prefs" (with Firefox closed), started Firefox and... again: "There was an error starting Zotero".

    I'm trying to figure out what next but don't find any way out of this...

    Best,





    There was an error starting Zotero.
  • As long as Zotero is starting up from that network share, you're going to get that error — so the path it says at startup is what's relevant here. Is it possible you're deleting the prefs.js file in the wrong Firefox profile directory?

    If you were using a custom Zotero data directory and you properly delete the prefs.js file in the right Firefox profile, there's no way for Zotero to start up using that custom data directory, because the data directory setting is stored in that file.
  • I'm sorry but I still cannot open Zotero. Until now, 1) I moved the Zotero folder (containing Storage and zotero.sqlite) from the shared network to the local disk. The Zotero folder was here:

    \\[my institution].local\dfs\home\[me]\AppData\Roaming\Mozilla\Firefox\Profiles\a8z0w4de.default-1457965865457\zotero

    2) I deleted the file prefs located in the right directory (shared network, the path copied) having Firefox closed.

    I copy what I got from the Borwser Console. Please see below.

    I don't know if it is important but after moving (drag/drop) the zotero folder to the local disc I have two folders, one in the shared network and one in the local disk. Should I delete the one in the shared network?

    Could not read chrome manifest 'file:///C:/Program%20Files%20(x86)/Mozilla%20Firefox/chrome.manifest'.
    Your AutoConfig file is ASCII. Please convert it to UTF-8. <unknown>
    While creating services from category 'profile-after-change', could not create service for entry 'Sapi Speech Synth', contract ID '@mozilla.org/synthsapi;1'
    [Exception... "Component returned failure code: 0x80004004 (NS_ERROR_ABORT) [nsIPrefBranch.getComplexValue]" nsresult: "0x80004004 (NS_ERROR_ABORT)" location: "JS frame :: resource://app/components/nsBrowserContentHandler.js :: nsBrowserContentHandler.prototype.startPage :: line 594" data: no] nsBrowserContentHandler.js:580:0
    mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create xregexp.js:109:17
    unreachable code after return statement zfs.js:1144:2
    [Exception... "Component returned failure code: 0x80630002 (NS_ERROR_STORAGE_IOERR) [mozIStorageService.openDatabase]" nsresult: "0x80630002 (NS_ERROR_STORAGE_IOERR)" location: "JS frame :: chrome://zotero/content/xpcom/db.js :: Zotero.DBConnection.prototype._getDBConnection :: line 1119" data: no] zotero.js:824:0
    [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getComplexValue]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: resource://app/components/nsBrowserContentHandler.js :: nsBrowserContentHandler.prototype.startPage :: line 594" data: no] nsBrowserContentHandler.js:580:0
    IndexedDB UnknownErr: ActorsParent.cpp:592 <unknown>
    UnknownError <unknown>
    Unable to import saved passwords because some data has already been imported or saved. LoginImport.jsm:76:0
    unreachable code after return statement sp.ribbon.js:2:165905
    mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create selfrepair-7575f6d27445b45bcffb.js:9825:4
    [Exception... "Component returned failure code: 0x80004004 (NS_ERROR_ABORT) [nsIPrefBranch.getComplexValue]" nsresult: "0x80004004 (NS_ERROR_ABORT)" location: "JS frame :: resource://app/components/nsBrowserContentHandler.js :: nsBrowserContentHandler.prototype.startPage :: line 594" data: no] nsBrowserContentHandler.js:580:0
    [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getComplexValue]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: resource://app/components/nsBrowserContentHandler.js :: nsBrowserContentHandler.prototype.startPage :: line 594" data: no] nsBrowserContentHandler.js:580:0
    Key event not available on some keyboard layouts: key="c" modifiers="accel,alt" browser.xul
    Key event not available on some keyboard layouts: key="i" modifiers="accel,alt,shift" browser.xul
    IndexedDB UnknownErr: ActorsParent.cpp:592 <unknown>
    undefined Promise-backend.js:936
    UnknownError <unknown>

    Again: Thanks for your help!
  • That doesn't include debug output from Zotero, which shows the data directory being used. Can you try again with the real-time debug output instructions, making sure to include the -ZoteroDebug flag? It should include the line "Using data directory […]".

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.

Sign In or Register to comment.