Library Disappears After Upgrade
New install of Windows 7. I upgraded to Zotero 2, (re)started Firefox, got the notice that the DB had to be upgraded, when it finished, the library is empty.
I renamed the .bak file to zotero.sqlite, and the same thing happened.
I have a zotero.sqlite.36.bak and a zoter.sqlite.1.bak file, both of which are the right size for my library (the zotero.sqlite-journal file is also that size). But the .new and the .sqlite files are both 232 KB and empty.
How can I get my library back? Yoikes!
I renamed the .bak file to zotero.sqlite, and the same thing happened.
I have a zotero.sqlite.36.bak and a zoter.sqlite.1.bak file, both of which are the right size for my library (the zotero.sqlite-journal file is also that size). But the .new and the .sqlite files are both 232 KB and empty.
How can I get my library back? Yoikes!
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.
Carefully read the link he provides.
About half way down it says: If you still have problems, please post back.
I followed the instructions for the data restore. It works to some degree, because Zotero recognizes that it needs to update the DB. But, after running the update, the library remains empty.
Report ID?
What's the size of the zotero.sqlite.36.bak file?
There's a zotero.sqlite.new file? I don't think Zotero creates such a file, so SQLite may be having trouble writing a new file.
If you reinstall 1.0, switch back to the zotero.sqlite.36.bak file, and then go to Check Database Integrity in the Advanced pane of the Zotero prefs, does your database pass? (The next release will automatically check the database for errors before upgrade.) If not, use the DB Repair Tool.
The .new file was one that I created as a backup copy, sorry.
I reinstalled 1.0 and went back to a backup, and--oddly--still had no library. Am doing it again, with the .36.bak file explicitly. How completely weird. The collection still shows as empty, although the zotero.sqlite file remains 1,627 KB.
Preferences ... Advanced shows the custom file, and clicking SHOW DATA DIRECTORY confirms that it is showing the folder I'm looking at. CHECK DATABASE INTEGRITY says no errors.
I ran the DB REPAIR TOOL, and replaced the .sqlite file with the result. It is no 1,622 KB, but still shows as empty.
I must be missing something somewhere here, but I'm really not sure what.
OK, if so, then I assume the RDF import is the only way to go?
If that's the case, and you don't have another backup, then, yes, it sounds like you would have to go with RDF import. Note that, if you were using the word processor plugins, any links to references in existing documents would be lost.
What else will be lost through the RDF? Will links to existing files remain, or are those toast as well? Tags?
I can't recall the exact behavior of the RDF export, but if you selected Export Files when exporting to RDF, you might have a 'files' directory along with the .rdf file in the backup folder, and those files would be imported into the 'storage' directory. RDF is meant for data exchange, not backup, so it doesn't preserve links to files on your computer.