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 #2855

Open
MrCharry opened this issue Dec 2, 2024 · 4 comments
Open

Error happened during creating seafile admin #2855

MrCharry opened this issue Dec 2, 2024 · 4 comments

Comments

@MrCharry
Copy link

MrCharry commented Dec 2, 2024

I used docker deploy, and the issue occurred. The screenshot of the docker logs is below:
image
And the log in seafile.log is below:
image
How do I resolve it, really appreciate the help.

@MrCharry
Copy link
Author

MrCharry commented Dec 2, 2024

The version: seafileltd/seafile-mc:12.0-latest

@krona12
Copy link

krona12 commented Dec 6, 2024

I have the similar bug but my log differs

@sifekeme
Copy link

sifekeme commented Dec 8, 2024

As a workaround, I have just added the following two lines to .env:
SEAFILE_MYSQL_DB_SEAFILE_DB_NAME=seafile-db
SEAFILE_MYSQL_DB_CCNET_DB_NAME=ccnet-db

@SkywalkerSpace
Copy link

Since version 12.0, we have set the default mysql configurations in the environment variables.
If your mysql configuration is different from the default, please add the custom mysql configurations in the .env file.

e.g.

SEAFILE_MYSQL_DB_CCNET_DB_NAME=ccnet-db
SEAFILE_MYSQL_DB_SEAFILE_DB_NAME=seafile-db
SEAFILE_MYSQL_DB_SEAHUB_DB_NAME=seahub-db

Refer to : https://manual.seafile.com/12.0/docker/ce/seafile-server.yml

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

No branches or pull requests

4 participants