Zotero library gone
I've worked with Zotero for the last two weeks but when I opened the program today, the library was gone. It looks as if I've opened the program for the first time. I've installed zotero-snap, the version is Zotero 5.0.84.
But in general, see Locating Missing Zotero Data.
Prior to the latest released version on stable(revision 12), the snap will assume XDG_HOME inside it's own $SNAP_NAME/VERSION/HOME directory, which will get forgotten after version updates, I've include the instruction to avoid this before on the landing page. That is to put the project folder in a more persistent location where snaps can always see between version upgrades.
The newest version will point that path automatically to SNAP_NAME/COMMON/Zotero which is the preferred location for a snap to find version agnostic data.
Can you help me by, backing up your data ~/snap/zotero-snap/$some_version/Zotero, remove the snap/zotero-snap folder and start it again?
If successfully, there will be a ~/snap/zotero-snap/common/Zotero where will last between versions.
After that, you can put your data backup into that folder. Hope this solve your problem.
I've mapped the config and home folder to a common place, so it will persist across updates.