Data Persistence Issue in Zotero: Deleted Files Reappear Upon Restart
Hi everyone,
I'm encountering an odd problem with my Zotero setup and I'm hoping someone here might have some insights. I've noticed that when I delete files from my Zotero library, they seem to reappear when I restart the program. This persistence of deleted files is both puzzling and inconvenient.
Has anyone else experienced a similar problem? If so, were you able to find a solution? Any suggestions or advice would be greatly appreciated.
Thanks in advance for your help!
I'm encountering an odd problem with my Zotero setup and I'm hoping someone here might have some insights. I've noticed that when I delete files from my Zotero library, they seem to reappear when I restart the program. This persistence of deleted files is both puzzling and inconvenient.
Has anyone else experienced a similar problem? If so, were you able to find a solution? Any suggestions or advice would be greatly appreciated.
Thanks in advance for your help!
Upgrade Storage
What do you mean by "files"? Do you mean items?
Do you have your Zotero data directory in the default location, or have you moved it somewhere else (e.g., a cloud storage folder)?
Can you make a screen recording of this happening, upload it somewhere, and email a link to support@zotero.org with a link to this thread?
https://s3.amazonaws.com/zotero.org/images/forums/u13110270/rdtl9xy1nwaswft6uwfs.png
Picture 1 is the total number of items in my library at 5pm (it still kept increasing now)
https://s3.amazonaws.com/zotero.org/images/forums/u13110270/3gzqz5g2bvagz7fovog5.jpg
Picture 2 is the total number of items in my library at 12.49pm, which is my actual number of items
Over the past few instances when I've restarted Zotero, I've noticed that several collections that I previously deleted have reappeared in my library. Initially, I deleted these collections using the "delete collection and items" option within Zotero. However, despite this deletion process, the collections persistently reappear upon restarting the application.
https://s3.amazonaws.com/zotero.org/images/forums/u13110270/6nr0t7p8iavpbheu6ukw.png
Now it becomes 33465 items...it kept increasing...
Last few times it reappeared as collections so I could directly delete the collections and items, but this time it doesn't reappeared as collections, which means I have to delete all of them one by one in my library, this significantly disrupts my workflow and efficiency.
https://s3.amazonaws.com/zotero.org/images/forums/u13110270/voixnss56f1v3tsumk5j.png
It's 42313 items in my library now, and it seems to have stopped loading, so sorry you've requested me to screen recording my issue but I'm not sure how should I screen record this, perhaps my explanation on my issue is clear for you.
You either added these items on another computer or you just deleted your local database after syncing without actually deleting the items in Zotero, causing the items to be pulled back down when it syncs. It looks like you've done a couple different imports, which is why you also have duplicates of all your items.
You should add the Date Added column and sort by it, and then you can delete entire batches of imported items at once.
Specifically, I've observed that after importing or deleting items, the syncing process often takes an extended period to complete. While Zotero indicates that all items have been successfully imported or deleted, the sync icon continues to spin indefinitely.
In these instances, I've assumed that the syncing process had completed and directly closed Zotero. Is this the reason that causes the sync may not have fully finalized, potentially leading to discrepancies in the library size.
Could this be a possible explanation for the increasing number of items in my library?
May I ask how can I implement this? But I think the main problem is that my Zotero is running extremely slow. I would like to know if there are any additional steps or best practices I should follow to optimize syncing performance?
https://www.zotero.org/support/sorting
You should definitely not delete everything and import again.
So in order to prevent this issue to happen again, after making changes to my library, such as adding or deleting items, I need to wait for the syncing icon to stop spinning before closing the Zotero program?
However, the issue arises upon restarting the program, which results in the total number of items increasing unexpectedly.
Nothing "increased" when you restarted Zotero. You just imported these duplicate items in separate imports on those days.
As I said in the other thread, you can add the Date Added column and see exactly which items were imported together.
I apologize for any confusion. It seems there might be a misunderstanding regarding this.
While I understand that there may indeed be duplicates, especially considering that I'm importing citations from multiple databases, I want to clarify that I only import each file once from my side. And each of the imported file consist items ranges from approximately 10 to 3000 items only. Consequently, even with potential duplicates, I would expect to have around 20,000 items in total rather than 40,000 items.
Regarding your suggestion to add the Date Added column to identify which items were imported together, I've attempted this before, thanks for your advice.