Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
camlafit opened this issue Feb 6, 2024 · 1 comment

Comments

@camlafit
Copy link

camlafit commented Feb 6, 2024

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

@freeplant
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants