ID: 286616783 Can't upgrade database after update to current version
Hello,
I recently updated my Zotero from 2.0b5 to 2.0b6 -- when the installation tried to update my database, it returned the following:
[Exception... "Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsIFile.remove]" nsresult: "0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)" location: "JS frame :: chrome://zotero/content/xpcom/schema.js :: anonymous :: line 373" data: no]
Now zotero shows a yellow exclamation mark and 'database upgrade error'.
The files are on a server and I've checked if the .journal file is in the directory, but it isn't.
Error Console shows:
Error: requestOrigin is null
Source File: file:///D:/Documents%20and%20Settings/220117B/Application%20Data/Mozilla/Firefox/Profiles/idjod3tp.default/extensions/%7Bb2509cd4-17cd-45ed-8146-a82af038f493%7D/components/contentPolicy.js
Line: 20
Error: requestOrigin is null
Source File: file:///D:/Documents%20and%20Settings/220117B/Application%20Data/Mozilla/Firefox/Profiles/idjod3tp.default/extensions/%7Bb2509cd4-17cd-45ed-8146-a82af038f493%7D/components/contentPolicy.js
Line: 20
Error: Overwriting translator with same filename 'Cambridge Scientific Abstracts.js' in Zotero.Schema.updateBundledFiles()
Source File: chrome://zotero/content/xpcom/schema.js
Line: 372
Error: [Exception... "Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsIFile.remove]" nsresult: "0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)" location: "JS frame :: chrome://zotero/content/xpcom/schema.js :: anonymous :: line 373" data: no]
Source File: chrome://zotero/content/xpcom/zotero.js
Line: 332
Error: requestOrigin is null
Source File: file:///D:/Documents%20and%20Settings/220117B/Application%20Data/Mozilla/Firefox/Profiles/idjod3tp.default/extensions/%7Bb2509cd4-17cd-45ed-8146-a82af038f493%7D/components/contentPolicy.js
Line: 20
Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIObserverService.removeObserver]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStartup.js :: sss_onWindowOpened :: line 154" data: no]
Source File: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStartup.js
Line: 154
I recently updated my Zotero from 2.0b5 to 2.0b6 -- when the installation tried to update my database, it returned the following:
[Exception... "Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsIFile.remove]" nsresult: "0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)" location: "JS frame :: chrome://zotero/content/xpcom/schema.js :: anonymous :: line 373" data: no]
Now zotero shows a yellow exclamation mark and 'database upgrade error'.
The files are on a server and I've checked if the .journal file is in the directory, but it isn't.
Error Console shows:
Error: requestOrigin is null
Source File: file:///D:/Documents%20and%20Settings/220117B/Application%20Data/Mozilla/Firefox/Profiles/idjod3tp.default/extensions/%7Bb2509cd4-17cd-45ed-8146-a82af038f493%7D/components/contentPolicy.js
Line: 20
Error: requestOrigin is null
Source File: file:///D:/Documents%20and%20Settings/220117B/Application%20Data/Mozilla/Firefox/Profiles/idjod3tp.default/extensions/%7Bb2509cd4-17cd-45ed-8146-a82af038f493%7D/components/contentPolicy.js
Line: 20
Error: Overwriting translator with same filename 'Cambridge Scientific Abstracts.js' in Zotero.Schema.updateBundledFiles()
Source File: chrome://zotero/content/xpcom/schema.js
Line: 372
Error: [Exception... "Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsIFile.remove]" nsresult: "0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)" location: "JS frame :: chrome://zotero/content/xpcom/schema.js :: anonymous :: line 373" data: no]
Source File: chrome://zotero/content/xpcom/zotero.js
Line: 332
Error: requestOrigin is null
Source File: file:///D:/Documents%20and%20Settings/220117B/Application%20Data/Mozilla/Firefox/Profiles/idjod3tp.default/extensions/%7Bb2509cd4-17cd-45ed-8146-a82af038f493%7D/components/contentPolicy.js
Line: 20
Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIObserverService.removeObserver]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStartup.js :: sss_onWindowOpened :: line 154" data: no]
Source File: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStartup.js
Line: 154
This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
You might want to try upgrading to Firefox 3.5, in case fixes this bug.
Also, if you receive a startup error after restarting Zotero, you may need to uninstall and reinstall Zotero to trigger the upgrade again.