Problems with older versions of library structure in group library
We are a large group from different organizations, who are experiencing some problems with securing the corrections in our group library structure (names, former deletions etc.).
There is no problems with the bibliographic information (5200 in number), but again and again older deleted structures pop up again in spite of rigorous backup procedure
(one at a time, at a specific time, no automatic synchronization); seemingly overwriting later versions.
Is there any way where we can check what the library structure looks like directly from the zotero.sqlite, in order to avoid other more labourous procedures?
Thank you very much
Erik Schwägermann
There is no problems with the bibliographic information (5200 in number), but again and again older deleted structures pop up again in spite of rigorous backup procedure
(one at a time, at a specific time, no automatic synchronization); seemingly overwriting later versions.
Is there any way where we can check what the library structure looks like directly from the zotero.sqlite, in order to avoid other more labourous procedures?
Thank you very much
Erik Schwägermann
(To your question directly, what you're seeing in Zotero is the structure in the sqlite. The problem are sync conflicts--the library structure is different in different places).
Automatic sync is on, and I'm using Zotero 5 with the new connector.
I have been moving items and deleting unwanted collections for two days without any problems. Then, yesterday, the last two collections I deleted before syncing and closing Zotero returned the next time I opened Zotero. It’s like the last changes I made have been undone. One of the collections contained items that I had removed one at a time after copying them to other collections. These items are now only in the collection that I deleted and not in any of the collections I copied them to.
I would like to make a Debug ID next time deleted items/collections reappear, but that is difficult since I don’t know when it will happen.
Question 1:
Maybe the following is a clue as to what is wrong: After the deleted collections returned, I tried deleting the other (empty) collection again, clicked on the sync button and went to the group library on zotero.com. The collection I had just deleted was still there, which I find surprising. It did, however, disappear after about 15-30 minutes. I am not sure whether this delay is normal or perhaps a clue as to what could be causing the problems?
Question 2:
What is the best way to restore my Library using my latest backup? I'm thinking that the (unwanted) changes that happened since the backup will be applied to my restored database when I sync.
I've read "Restoring your Zotero library from a backup and overwriting synced changes" (https://www.zotero.org/support/zotero_data), but this seems to be meant for situations where specific items or collections have been deleted. In this situation, however, many items are now missing from many different collections (and are back where they came from).
@danstillman (or anyone)?
So if changes — including additions — appear to have been rolled back (and assuming you're not misremembering), it seems more likely that 1) those changes never synced and 2) you somehow ended up on an earlier version of your database than the one you were using previously. Have you checked to see if your backup actually has the data you think it has? If not, I would temporarily disable auto-sync, make two empty folders, copy your current zotero.sqlite into one and your backup zotero.sqlite into the other, and then point Zotero at each one from the Advanced → Files and Folders pane of the Zotero preferences and inspect the data in each. If you do see the data you expect in the backup, it'd be helpful if you could send screenshots of the data (or lack thereof) in your current DB, backup DB, and online library to support@zotero.org with a link to this thread. Not currently, but again, that doesn't really make sense here, because these wouldn't be server-side changes. So let's start with the above.
I'll just have to do the work again (luckily it’s not that much), and keep making backups often in case something like this should happen again.