Trying to get back some lost files in my local collection
Hello,
After a bad manipulation from my part when I synchronized a new zotero account without having saved the files that were associated with the previous account I lost some part of my local library (even though I made a backup last June which makes the loss a little bit less damageable). I started to search for a program to recover deleted files and I found some zotero.sqlite and zotero.sqlite.bak files (being around 13 MB) that are from the end of last month and it seemed to me they could be the files I was searching for. I followed different advices and guide on how to proceed to recover a lost collection with other sqlite files or .bak (basically to put them in the place of the actual sqlite file in the Zotero folder) and it hasn't been sucessful, when launching Zotero I got this message making the new file I just put in place to be damaged :
"[Exception... "Could not convert JavaScript argument arg 0 [mozIStorageService.openDatabase]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: chrome://zotero/content/xpcom/db.js :: Zotero.DBConnection.prototype._handleCorruptionMarker :: line 1324" data: no]
Zotero.DBConnection.prototype._handleCorruptionMarker@chrome://zotero/content/xpcom/db.js:1324:24
From previous event:
ZoteroService@file:///C:/Program%20Files%20(x86)/Zotero/components/zotero-service.js:346:7
@chrome://zotero/content/include.js:4:14"
What I can add is when trying to rename the .bak files I have a message from windows saying that to modify the file extension could make it unusable, I made sure I made the hidden extensions to appear to,
If someone could help me,
Thanks a lot,
Flo.
After a bad manipulation from my part when I synchronized a new zotero account without having saved the files that were associated with the previous account I lost some part of my local library (even though I made a backup last June which makes the loss a little bit less damageable). I started to search for a program to recover deleted files and I found some zotero.sqlite and zotero.sqlite.bak files (being around 13 MB) that are from the end of last month and it seemed to me they could be the files I was searching for. I followed different advices and guide on how to proceed to recover a lost collection with other sqlite files or .bak (basically to put them in the place of the actual sqlite file in the Zotero folder) and it hasn't been sucessful, when launching Zotero I got this message making the new file I just put in place to be damaged :
"[Exception... "Could not convert JavaScript argument arg 0 [mozIStorageService.openDatabase]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: chrome://zotero/content/xpcom/db.js :: Zotero.DBConnection.prototype._handleCorruptionMarker :: line 1324" data: no]
Zotero.DBConnection.prototype._handleCorruptionMarker@chrome://zotero/content/xpcom/db.js:1324:24
From previous event:
ZoteroService@file:///C:/Program%20Files%20(x86)/Zotero/components/zotero-service.js:346:7
@chrome://zotero/content/include.js:4:14"
What I can add is when trying to rename the .bak files I have a message from windows saying that to modify the file extension could make it unusable, I made sure I made the hidden extensions to appear to,
If someone could help me,
Thanks a lot,
Flo.
Also, what are the names and sizes of all the files starting with 'zotero' at the root of your Zotero data directory
"Can you provide a Debug ID for Zotero startup through this error, using the "Restart with Logging Enabled…" option?"
For the Debug ID "through this error" I don't know if it's possible, the fact is that this error message is preventing me from opening Zotero.
So normally I do have a file that is zotero.sqlite that is 1020 Ko which correspond to my empty library, I try do to the manipulation replacing it with the file I got with my program to recover lost files and it's a zotero.sqlite that is 13 588 Ko. After putting that file in the data directory I boot Zotero I do have the error message posted above "[Exception...etc" and Zotero is closing after I try to "Search for updates". Then I can boot anew Zotero but to an empty library with my data directory being composed of two files a new zotero.sqlite (1020 Ko) and the one I try to put in place that is damaged : zotero.sqlite.damaged (13 588 Ko).
(And I asked about all files in the folder.)
(And I asked about all files in the folder.)"
I do have the two zotero.sqlite files mentioned above with one being damaged plus four folders "locate, storage, styles, translators", that's it.
For Debug ID I submitted the output here is the number D395008934. Or do you want me to save it as a text file ? It's like 300 hundred lines long so I can't post it here.
(P.S. : Just asking wouldn't getting back my old account I deleted a possibility or not ?)
I'm not sure what the debug output is meant to show — that doesn't appear to be for starting up with a damaged file.
The phase I'm in is the "Restoring Your Zotero Data From a Backup" in the documentation but it doesn't turn out to give the same results as explained in this tutorial.
Eeach time I try to put a sqlite file that seems to be like an automatic backup (a file I recovered with a program to get back lost or deleted files) in place of the new one I got an error message and I'm unable to boot Zotero. That's why it seems I can't do a debug ID too. With the files I recovered wouldn't I normally be able to do something ? I do have a zotero.sqlite (13 876 Ko), a zotero.sqlite.bak (13 584 Ko), a zotero.sqlite.1.bak (12 964 Ko) ; it's a little bit frustating cause it seems that these files could be the deal (with the recovering program indicating that there are dating from the end of last month).
If it's not possible I will be satisfied with that manual bckup I did back in June, be more careful with my Zotero use and will be doing a lot more regularly backups though.
Most likely, though, the database you restored is just corrupted — that's pretty normal when using undelete programs — and you're just hitting a secondary error as Zotero tries to deal with the corrupted file. You can try running the restored file through the DB Repair Tool (and you can post the Upload ID here if you want us to take a look), but there's a good chance this file just won't work.
"Immediately perform the relevant action (syncing, saving, importing, etc.) and reproduce the problem you're experiencing."
With what I said would I be able to reproduce the problem immediately ? With a normal startup automatically following a failed attempt ? But maybe that's just me missing the point, in this case : sorry.
For the corrupted file : Thanks for the advice I'm going to try it.
Do you have a recommendation for a good program that could get me back some files that aren't corrupted or would there be a solution without the DB Repair Tool (I'm really a novice but I saw that there is some "manual instructions" that can be another solution) ?
Just a last thing : isn't it technically possible to undelete my old account that was associated with my local library ?
You can just log into the account on this site and look at the web library to see what's there.
Thanks for you help !