haiwen / seahub

The web end of seafile server.

Home Page:seafile.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Error happened during creating seafile admin" after migration from sqlite to mysql

camlafit opened this issue · comments

commented

Hello

After a migration from Debian buster/Seafile 9.x/sqlite to Debian Bookworm/Seafile 11.x/mariadb

Migration to buster/Seafile 9.x/sqlite To Bookworm/Seafile 11.x/sqlite look ok.

But i can't migrate to mariabdb
I've udpated my configuration to use python venv (and get same trouble as #5896)
I've updated my init scrpt and seafile profile to load python exe from venv with a specific ~/.profile but when seahub is started
error "Error happened during creating seafile admin" is displayed and I can't login.
I've found also #5273, but migration script looks ok, I've convert data and import them without problem.

Thanks a lot

The two issues you mentioned has already be resolved.

It is better to migrate from buster/Seafile 9.x/sqlite to buster/Seafile 9.x/mariadb first. If it works, upgrade to a newer version.