Upgrade Zotero under Linux
I'm using a beta version of Zotero (5.0.35-beta.22+e72da417) and I want to switch to the latest stable version 5.0.35.1.
I'm running elementary OS (a Linux distro) and I have a '/home/Zotero/' folder and a hidden './zotero' folder.
Should I delete everything inside the '/home/Zotero/' folder except the 'zotero.sqlite' file and paste here the contents of the .tar.bz2 file I downloaded with the 5.0.35.1 version?
Should I do that but *also* delete the sqlite file?
Should I keep another file in addition to the sqlite file?
Should I delete the './zotero' folder folder?
I'm running elementary OS (a Linux distro) and I have a '/home/Zotero/' folder and a hidden './zotero' folder.
Should I delete everything inside the '/home/Zotero/' folder except the 'zotero.sqlite' file and paste here the contents of the .tar.bz2 file I downloaded with the 5.0.35.1 version?
Should I do that but *also* delete the sqlite file?
Should I keep another file in addition to the sqlite file?
Should I delete the './zotero' folder folder?
Since I use Zotfile+Dropbopx to organize and sync my PDFs, what I did was:
1. Remove both ~/Zotero and ~/.zotero folders
2. Paste the extracted folder with the latest version in ~/Zotero
3. Launch (new) Zotero, log in and let it sync
4. Install Zotfile
5. Point the base folder to the Dropbox folder where all the PDFs are located
6. Change the options in Zotero and Zotfile to what they were in the old installation
Worked with no issues, now I have the stable version properly installed.
Second, what do you mean by "Paste the extracted folder with the latest version in ~/Zotero"? What folder? If you mean the tarball, you absolutely don't want to store that in either ~/Zotero or ~/.zotero. Those are program files and should go wherever you store your program files (e.g., /usr/local, /opt, ~/.local/share/applications). ~/Zotero is your data directory. ~/.zotero is the profile (settings) directory.
We're happy to help you here, but if you're going to post it's much better to let us actually help you before you just start trying things.
Yes, I mean the extracted tarball. The program files are indeed stored in the ~/Zotero folder. My installation steps are rather simple: extract the tarball, copy that folder to home using the name 'Zotero'. That's it.
As far as I am aware, there is no installation file in the downloaded tarball. What other installation steps would recommend I follow?
Instructions are here. We don't specify a location to put the files because distros and people have different conventions and preferences. It just shouldn't be in the data directory. Any of the other locations I mention above would be fine.
The instructions for Linux users are:
> Linux users may wish to use a package for their distro rather than using the tarball directly.
A package? What does this mean? A PPA? Is there one available? The default download option gives you the tarball, nothing else.
> If you download the tarball, unzip it and run zotero from that directory to start Zotero.
This is even more basic than what I do.
> Alternatively, on Ubuntu, move the directory to a location of your choice, run the bundled set_launcher_icon script (which will update the included desktop file with the full path to the bundled Zotero icon), and then double-click Zotero (which may display as zotero.desktop initially). You can also symlink zotero.desktop to ~/.local/share/applications/ to add it to your launcher.
This is precisely what I do.
I only resorted to delete+copy+sync because I was moving from beta to stable and I didn't want garbage left behind. As it is not very clear how this "downgrade" should be made, and the install instructions describe precisely what I do when installing a brand new Zotero, I just did that.
Cheers.
So what you'll want to do is delete everything from ~/Zotero except for the following: zotero.sqlite*, storage, styles, translators, pdfinfo*, pdftotext*, locate, pipes. Then download the tarball again and extract it somewhere else.
Or is there any important data stored in the old Zotero_linux-x86_64 folder? The new version didn't seem to download anything from the cloud, because it was in sync instantaneously. That leads me to the assumption that the actual library-data is locally stored in the "zotero" folder I have in my home folder (+ in the cloud) and that it should be no problem to delete the old Zotero_linux-x86_64 folder and replace the icon with the one from the new Zotero_linux-x86_64 folder. Is that correct?
The zotero folder in my home folder contains the files that are mentioned by @Gabriel_p above. I would leave this folder untouched.
Does that sound right?
Thanks alot!