Copy settings and configuration from one Windows machine to another
Based on the documentation on this page: https://www.zotero.org/support/zotero_data, the "default location" for Zotero 5.0 is now C:\Users\\Zotero. However, I cannot reproduce my full configuration of Zotero by simply overwriting such "Default folder" with contents on an old machine that has been configured carefully.
Quick question: how to reproduce existing settings and configuration for Zotero 5.0 apps on a new computer? Both of my machines (old and new) are running Windows 10.
Previously (back in 2018 and 2019), I was reproducing all the settings along with add-ons and their configurations in a new machine by overwriting contents in the following directory of the new machine, with files from a corresponding folder on the old machine.
> Dir: C:\Users\\AppData\Roaming\Zotero\Zotero\Profiles\some_random_str.default\
However, the AppData folder approch is no longer working: it will reproduce the add-on entries, but will not copy over the add-on settings. Worse still, the add-ons only show up in the Add-ons manager. The setting dialog for Zotfile, for example, is missing from the Tools menu at the top of the window. (Thus, this copy-over-AppData-folder approach is not working anymore.) It also introduced a serious problem with the columns in the main pane of the new Zotero intsalltion onf the new machine: all columns were checked, including those in the "More Columns" category.
Quick question: how to reproduce existing settings and configuration for Zotero 5.0 apps on a new computer? Both of my machines (old and new) are running Windows 10.
Previously (back in 2018 and 2019), I was reproducing all the settings along with add-ons and their configurations in a new machine by overwriting contents in the following directory of the new machine, with files from a corresponding folder on the old machine.
> Dir: C:\Users\\AppData\Roaming\Zotero\Zotero\Profiles\some_random_str.default\
However, the AppData folder approch is no longer working: it will reproduce the add-on entries, but will not copy over the add-on settings. Worse still, the add-ons only show up in the Add-ons manager. The setting dialog for Zotfile, for example, is missing from the Tools menu at the top of the window. (Thus, this copy-over-AppData-folder approach is not working anymore.) It also introduced a serious problem with the columns in the main pane of the new Zotero intsalltion onf the new machine: all columns were checked, including those in the "More Columns" category.
Indeed, I was copying from a "full installation" of Zotero on an old machine. I have also removed the ~/Zotero folder before pasting into the "AppData\Roaming\Zotero" in full.
The product of the "migration", is:
1. Full batch of columns in the main pane, including those in the More Columns category, and
2. Partial add-on settings was migrated. (Only Zotilio's setting page shows under Tools menu-item).
3. Better BibTex configuration tab did not show up in the Zotero Preferences window as well.
I actually have 2 copies of "old Zotero", one on my laptop and one on the desktop machine in my office. All Add-ons were configured properly on these two old installations. Yet, sourcing from both has failed.
Now, my situation is that updating the local profile directory with contents from an "Old Installation" did not bring back the full configuration. It has repeated on both new installations of Zotero over a total of 5 attempts. I will do the reboot-magic and see if it helps.
Not sure if this speaks against the compatibility concern. I Will check through the compatibility issues.
I will look into reinstalling the needed plugins.
Where to find the "prefs.js" file? I did a global search and did not find a file as named.
0. Make sure that there are no leftover files from the previous attempt, if any. This includes deleting the Profile directory ("AppData\Roaming\Zotero" ) and the Data directory (~/Zotero).
1. Prepare the Profile directory content from an existing Zotero installation. Mine is from a working installation of Zotero 5.0.85, with Zotfile, Better BibTex, and Zutilo.
2. Install an **old** Zotero on the local machine. My installer for Zotero 5.0.56 is here: [external link removed — D.S.]
3. Delete the Profile directory on the local machine, and unzip the prepared working copy from Step 1.
4. Open the local installation of Zotero, and confirm to "sync" with the web-server. Patiently, wait for 5 minutes or so.
5. Once all the entries are in place, Better BibTeX won't be working quite yet. Updating the local installation of Zotero helps restore Better BibTeX in full.
I call it a day when all entries in the local installation are correctly linked to a PDF file and are "indexed" properly with a citation key. The citation keys were not populated before step #5, nor were there any content for Better BibTeX in the Preference configuration window.
----
Lastly, I found my old post from 2018 :) Glad to confirm that the old fomula still work in 2020.
https://forums.zotero.org/discussion/comment/320103
Your instructions work perfectly https://forums.zotero.org/discussion/82366/copy-settings-and-configuration-from-one-windows-machine-to-another#Comment_352785