Reinstalled Zotero 5.0 but sync wiped out my documents online!!!
I was having trouble getting my laptop to sync with my Zotero library yesterday (11/29/17). My group libraries weren't showing up and the collection folder configuration was different than what is on my office computer and Zotero.org. Since syncing wasn't correcting these issues, I deinstalled and reinstalled Zotero. This removed all of the items from the library, but the collection folders reappeared -not the current ones I see online or in my office library, but the ones from the deinstalled version of zotero. It is syncing now. Why would the old organizational structure persist? Is there any way to get the files on my laptop to match everything else?
If you want to clear your local data and replace it with the remote version, you can delete the Zotero data directory and sync. (There used to be Restore to Zotero Server and Restore from Zotero Server options in the Sync preferences, and those will be returning, but they're not necessary for normal usage.)
But if you're already missing data both on the laptop and in your online library, your only option would be to temporarily disable auto-sync and then restore from a version of your data directory that hasn't yet synced (e.g., a backup). If your office computer hasn't yet synced, you should make a backup of the Zotero data directory on that computer with Zotero closed, temporarily disable the computer's network connection, and then open Zotero and disable auto-sync in the Sync pane of the preferences. We can then walk you through getting that version of your database back up to zotero.org (which will require an upcoming beta version of Zotero that restores the Restore to Zotero Server function).
I do have a copy of the zotero files backed up on a hard drive, but when I tried (before this incident) to copy those files to my laptop, they did not show up. Trying to see if I can restore from there now.
There was then some additional (download-only) syncing with 5.0 today, followed by deletions of 14 collections about an hour later. No items were deleted today.