Migrate from zotero 5 windows to zotero 7 linux

edited March 4, 2025
Hi.
I'm trying to upgrade my zotero 5 version with an existing library to zotero 7.
I get the error of corrupted database after making zotero point to the folder containing the library.
I also tired to use zotero 6 to see if I there is something that needs like an incremental update, but zotero 6 also says the DB is corrupted even if I can access the DB in the windows machine without problems.


Step by step explanation:

Zotero 5 is installed in a windows machine and zotero 7 in a ubuntu 20.04 machine. Zotero 7 seems to work fine with the clean install.

I copied the folder database from the windows machine to a custom location in the linux machine (e.g. ~/test/zotero).

I opened zotero 7 and change the settings to point as data directory the folder containing the library.

After restarting, the corrupted database error message appears. Using backups doesn't solve any issue.

I tried to install zotero 6. Deleted the folder and restarted. Make it point to the default folder.
Everything seems fine.
Again I copied the library, made zotero point to it and after restart, again I get corrupted DB messages.

Any way to do the migration? I'm doing something wrong?


  • In Zotero 5, check your database integrity from the Advanced → Files and Folders pane of the Zotero settings. Does it pass?
  • Thanks for the help dstillman, you put me on the right track.

    The database integrity button at first doesn't look like to do anything. The button goes like not clickable and then it goes back to normal without any information appearing. In the filesystem looks like some files have been modified though.

    Anyways, kind of embarrassing but I solved the issue.
    I should write 100 times the sentence "I will completely read all the error messages".
    The minimum I can do now is to try to describe the solution as best as I can to help if someone else has the same issue.

    https://s3.amazonaws.com/zotero.org/images/forums/u16584937/kqd5vrrvdl1pn8w1zka6.png

    The error clearly says to visit the website: https://www.zotero.org/support/kb/corrupted_database

    In there I could find it exist the Zotero Database Repair Tool: https://www.zotero.org/utils/dbfix/

    I uploaded the zipped database file there, and it gave me a link to download a sane database file.

    Now I'm happy user of zotero 7 and looks like without having lost any data.

    Hope this helps other people.
Sign In or Register to comment.