Synching to Dropbox
I had problems synching via a webDAV to a cloud university, so I relocated my zotero directory to my Dropbox folder. Now, when I try to synch Zotero, I get an error message:
"Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsIFile.normalize]"
This is the full log:
"
Could not read 'file:///Applications/Zotero.app/Contents/MacOS/../Resources/extensions/zoteroMacWordIntegration@zotero.org/components/zoteroIntegrationInstaller.xpt'.
PAC file installed from http://proxy.lib.berkeley.edu/proxy.pac
[JavaScript Error: "Translator with ID 411f9a8b-64f3-4465-b7df-a3c988b602f3 already loaded from "RePEc - Econpapers.js"" {file: "file:///Users/aroehrkasse/Dropbox/zotero/translators/RePEc.js" line: 0}]
[JavaScript Error: "[Exception... "Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsIFile.normalize]" nsresult: "0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)" location: "JS frame :: chrome://zotero/content/xpcom/storage.js :: _processZipDownload :: line 1257" data: no]" {file: "chrome://zotero/content/xpcom/storage.js" line: 1257}]
[JavaScript Error: "[Exception... "Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsIFile.normalize]" nsresult: "0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)" location: "JS frame :: chrome://zotero/content/xpcom/storage.js :: _processZipDownload :: line 1257" data: no]" {file: "chrome://zotero/content/xpcom/storage.js" line: 1257}]
"
Report ID: 652653120
"Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsIFile.normalize]"
This is the full log:
"
Could not read 'file:///Applications/Zotero.app/Contents/MacOS/../Resources/extensions/zoteroMacWordIntegration@zotero.org/components/zoteroIntegrationInstaller.xpt'.
PAC file installed from http://proxy.lib.berkeley.edu/proxy.pac
[JavaScript Error: "Translator with ID 411f9a8b-64f3-4465-b7df-a3c988b602f3 already loaded from "RePEc - Econpapers.js"" {file: "file:///Users/aroehrkasse/Dropbox/zotero/translators/RePEc.js" line: 0}]
[JavaScript Error: "[Exception... "Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsIFile.normalize]" nsresult: "0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)" location: "JS frame :: chrome://zotero/content/xpcom/storage.js :: _processZipDownload :: line 1257" data: no]" {file: "chrome://zotero/content/xpcom/storage.js" line: 1257}]
[JavaScript Error: "[Exception... "Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsIFile.normalize]" nsresult: "0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)" location: "JS frame :: chrome://zotero/content/xpcom/storage.js :: _processZipDownload :: line 1257" data: no]" {file: "chrome://zotero/content/xpcom/storage.js" line: 1257}]
"
Report ID: 652653120
Find a WebDav that works or use Zotero Storage.
Moving the file to Dropbox would have obvious benefits such as the ability to restore to an earlier version in case something went wrong. Let me also add that I used OneDrive for my *entire* Zotero folder (as set in the preferences) for about a year now without any problems. I now need to switch to Dropbox for some other reason and wonder why Dropbox should give me more trouble (at least in the case of OneDrive I think I did not get a pop-up warning me of the "dangers" of using a cloud drive when chancing the directory).
I have today also tried using Dropbox for my entire Zotero file and the only thing that I noticed was that the file "zotero.sqlite-journal" (along with a folder called TMP, I think) was deleted on Dropbox at some point. But since everything works fine I reckon this is just a regular Zotero operation (perhaps because I have added new items to the database and this is some temporary file created in the process that can be deleted by Zotero once over). Anyway, if that raises any alarm bells and I should *really* stop using Dropbox, I'd appreciate a short warning from someone more knowledgeable in this forum.
Finally, I have actually been thinking of how else I could get what I want, which is basically an option to restore my library to an earlier version (in case I someday really make a mistake and delete *everything* by accident). Why wouldn't Zotero offer this kind of service? I, for one, would be happy to pay for this functionality...
The PDFs are actually the only part that is _safe_ to store in Dropbox. It's zotero.sqlite that you will corrupt, potentially irretrievably so.
Local versioned back-ups are the easiest way to be able to go back to older. You can, of course, place those in Dropbox et al.
edit: there is no difference between Dropbox and OneDrive; the warning is for Dropbox because that's easy to recognize and widely used.
Secondly, my Zotero folder actually has around 30 sqlite files named after my home and work computers and with ascending numbers. Is that something I should worry about? I think I may have also lost some "folders" along the way, now that you mention it. I never really used them, but now I noticed that there are none when I think only a few weeks ago I still had a couple (leftovers from when I started out and thought the feature might be useful). Should I make a "clean install" of Zotero and try to export and re-import my library from scratch? Would that get my sqlite back to 100? Do you have any experience whether a corrupted sqlite makes adding references in a Word document slower? (Not that I noticed anything yet, but I thought I try to see how big my problem may become...)
Not an expert on the matter (@adamsmith will know better) but it's important to stop syncing the Zotero DB using cloud drives right now if you have not already. It's probably best to run your DB through https://www.zotero.org/utils/dbfix/ but for this I'd wait for expert advice. The sync conflict files are going to be useless.
edit: No need to reinstall Zotero; in principle an export-datawipe-import should get you a 100% clean DB but you will lose:
1. Any saved searches
2. Depending on what you use for export, your collections
3. Again depending on what you use for export, some data from your references
as there is not currently a 100% round-trip export-import format. I would advice waiting for @adamsmith or others commenting on the use of the BD fixer.
I'd very much advise against using export/import.
Can I delete the 30 sqlite files named after my home and work computers now? They do take up over 700 MB of space.
Feel free to retain my suggestion to display a permanent warning message in the "Files and Folders" tab (or a pop-up) for non-Dropbox users. I think that would be useful.