官网下载的文件改了参数后,成功抽取并创建容器成功,但是启动后,无法访问,日志如下:
01_create_data_links.sh…
*** Booting runit daemon…
*** Runit started as PID 21
*** Running /scripts/enterpoint.sh…
2024-12-08 12:36:19 Nginx ready
2024-12-08 12:36:19 This is an idle script (infinite loop) to keep container running.
/scripts/bootstrap.py:159: SyntaxWarning: invalid escape sequence '\ ’
call(‘’‘sed -i -e ‘/def validate_mysql_user_host(self, host)/a \ \ \ \ \ \ \ \ return host’ {}’‘’
/scripts/bootstrap.py:162: SyntaxWarning: invalid escape sequence '\ ’
call(‘’‘sed -i -e ‘/def validate_mysql_host(self, host)/a \ \ \ \ \ \ \ \ return host’ {}’‘’
[2024-12-08 12:36:19] Skip running setup-seafile-mysql.py because there is existing seafile-data folder.
[12/08/2024 12:36:19][upgrade]: The container was recreated, start fix the media symlinks
mv: not replacing ‘/shared/seafile/seahub-data/avatars/default-non-register.jpg’
mv: not replacing ‘/shared/seafile/seahub-data/avatars/default.png’
mv: not replacing ‘/shared/seafile/seahub-data/avatars/groups’
[12/08/2024 12:36:19][upgrade]: Done
Error: .env file not found.
Please follow the upgrade manual to set the .env file.
Traceback (most recent call last):
File “/scripts/start.py”, line 94, in
main()
File “/scripts/start.py”, line 79, in main
call('{} start'.format(get_script('seafile.sh')))
File “/scripts/utils.py”, line 70, in call
return subprocess.check_call(*a, **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.12/subprocess.py”, line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ’
请大神赐教