在群晖中使用docker部署seafile社区版,数据库运行正常,但是seafile容器始终报错。错误信息如下,请大佬指教:
[2024-10-04 20:33:44] Now running setup-seafile-mysql.py in auto mode.
20:33:44 Checking python on this machine …
20:33:44 verifying password of user root … done
20:33:44 verifying password of user seafile …
20:33:44 Failed to connect to mysql server using user “seafile” and password “***”: Access denied for user ‘seafile’@‘172.20.0.1’ (using password: YES)
20:33:44 Traceback (most recent call last):
20:33:44 File “/scripts/start.py”, line 94, in
20:33:44 main()
20:33:44 File “/scripts/start.py”, line 59, in main
20:33:44 init_seafile_server()
20:33:44 File “/scripts/bootstrap.py”, line 166, in init_seafile_server
20:33:44 call(‘{} auto -n seafile’.format(setup_script), env=env)
20:33:44 File “/scripts/utils.py”, line 70, in call
20:33:44 return subprocess.check_call(*a, **kw)
20:33:44 File “/usr/lib/python3.10/subprocess.py”, line 369, in check_call
20:33:44 raise CalledProcessError(retcode, cmd)
20:33:44 subprocess.CalledProcessError: Command ‘/opt/seafile/seafile-server-11.0.12/setup-seafile-mysql.sh auto -n seafile’ returned non-zero exit status 255
docker compose logs -f看下详细的报错信息