HELP! Can't get Zotero to open Library!
I am a bit desperate about this one! I backed up Zotero using the backup advice given on this forum, (path slightly different because I am backing up on to a data stick) and lost the "storage" file in the Zotero folder while doing it. Fortunately I had a copy and copied it into the Zotero file, but now Zotero won't open it.
I think I lost the file originally because I had a misnamed .PDF file in it. It had seemed to work ok before I tried to back up though. Windows Explorer told me it was misnamed (had a colon in it) but gave me no way to fix it.
I went through the copy of "storage" one file at a time but the file was not misnamed when I found it
Everything is now, as far as I can see, in the right place - ie the Zotero folder is in G\System\Apps\Firefox Portable 2.0.0.11\ Firefox Portable\Data\profile\zotero which was where it was when it worked. It just won't open!
Help, what can I do??? WEEKS of work could get lost or corrupted! (its a PhD thesis)
I think I lost the file originally because I had a misnamed .PDF file in it. It had seemed to work ok before I tried to back up though. Windows Explorer told me it was misnamed (had a colon in it) but gave me no way to fix it.
I went through the copy of "storage" one file at a time but the file was not misnamed when I found it
Everything is now, as far as I can see, in the right place - ie the Zotero folder is in G\System\Apps\Firefox Portable 2.0.0.11\ Firefox Portable\Data\profile\zotero which was where it was when it worked. It just won't open!
Help, what can I do??? WEEKS of work could get lost or corrupted! (its a PhD thesis)
1. When you open Zotero are there any items there at all?
2. Is your zotero.sqlite file in the Zotero folder?
1. Yes, "My Library" (the only collection) has one file, a Zotero - Quick start guide
2. The zotero folder contains a "storage" folder, and 2 files; zotero .sqlite and zotero .sqlite.bak
Very grateful for your offer of assistance!
I don't know why the files with colons worked in the original location, but every time since, that I have tried to copy the folder containing them, Windows has stopped me. However it also seems to stop the whole copying process - ie nothing after that item gets copied. Therefore I think that the files I thought I had backed up, weren't. They must be a different version to the one that Zotero thought was there beforehand. Would this explain why the Zotero application can't read them? Is the backup corrupted? Does this mean it also thinks the original is corrupted?
I have tried using Zotero Preferences > Advanced > Storage location > Custom, to point to a backup copy with another name, but that didn't work either.
If I go hunting through 'storage' in what I think is the best version, I can find the files that are "colonised". Would replacing them in this folder work or would it just make it more unrecognisable to Zotero?
Hope this helps
You'll need to point Zotero to a folder with a valid zotero.sqlite file to see your records. The "storage" folder only contains attachment files, not your records.
There's a ticket to fix the issue of files getting saved with invalid characters on Windows (since, as you discovered, the OS seems to allow them to be saved and then do really weird things in Explorer). It won't fix existing files, though, so your best bet is to delete or rename those if you can.
I have hunted down and removed the .PDF's with colons that I know about, both from within Zotero and from their original directory. I'd love to have a way other than by causing heart attacks of finding any other files with odd things in them, as the funny file additions don't seem to show up in their names. Do you have any suggestions for how to do a really cautious backup?
Most importantly, you'd want to make sure the size of the zotero.sqlite file was the same in the backup folder as it was in the Zotero data directory.
But you'd have to use a real backup utility that offered data verification if you wanted to be sure.