Hi forum!
Being completely new to Seafile and trying to deploy it to Docker using the seafileltd/seafile-mc:latest image under jwilders nginx as reverse proxy, the installation gets stuck in an endless loop with the following log message below.
I use the approach as described by “thatsME” on Stackoverflow when searching for topic “docker-seafile-behind-jwilder-nginx-proxy” (seriously, one can not even post a link-alike text here?).
Here is the log and the endless loop occurs over and over with the part of “press ENTER”-statement;
*** Running /etc/my_init.d/01_create_data_links.sh…
*** Booting runit daemon…
*** Runit started as PID 23
*** Running /scripts/start.py…
[12/10/2020 20:57:13][upgrade]: The container was recreated, running minor-upgrade.sh to fix the media symlinks
[12/10/2020 20:57:13][upgrade]: Running script /opt/seafile/seafile-server-7.1.5/upgrade/minor-upgrade.sh
This script would do the minor upgrade for you.
Press [ENTER] to contiune
renaming the gunicorn.conf to gunicorn.conf.py …
Failed to renamed the gunicorn.conf to gunicorn.conf.py.
[2020-12-10 20:57:13] Skip running setup-seafile-mysql.py because there is existing seafile-data folder.
Traceback (most recent call last):
File “/scripts/start.py”, line 86, in
main()
File “/scripts/start.py”, line 58, in main
check_upgrade()
File “/scripts/upgrade.py”, line 169, in check_upgrade
fix_media_symlinks(current_version)
File “/scripts/upgrade.py”, line 80, in fix_media_symlinks
run_minor_upgrade(current_version)
File “/scripts/upgrade.py”, line 84, in run_minor_upgrade
run_script_and_update_version_stamp(minor_upgrade_script, current_version)
File “/scripts/upgrade.py”, line 61, in run_script_and_update_version_stamp
call(script)
File “/scripts/utils/init.py”, line 70, in call
return subprocess.check_call(*a, **kw)
File “/usr/lib/python3.6/subprocess.py”, line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘/opt/seafile/seafile-server-7.1.5/upgrade/minor-upgrade.sh’ returned non-zero exit status 1.
*** /scripts/start.py exited with status 1.
*** Shutting down runit daemon (PID 23)…
*** Running /etc/my_init.post_shutdown.d/10_syslog-ng.shutdown…
*** Killing all processes…
*** Running /etc/my_init.d/01_create_data_links.sh…
*** Booting runit daemon…
*** Runit started as PID 24
*** Running /scripts/start.py…
[12/10/2020 20:57:16][upgrade]: The container was recreated, running minor-upgrade.sh to fix the media symlinks
[12/10/2020 20:57:16][upgrade]: Running script /opt/seafile/seafile-server-7.1.5/upgrade/minor-upgrade.sh