Having Issues starting seafile container

Hi. Does anyone know why this is happening? All other containers start and are running fine. It’s just the actual seafile container that doesnt want to start.

[09/29/21 23:49:49] user-mgr.c(138): The number of users exceeds limit, max 3, current 7

[2021-09-29 23:49:45] 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 71, in main

call('{} start'.format(get_script('seafile.sh')))

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-pro-server-7.1.14/seafile.sh start’ returned non-zero exit status 1.

*** /scripts/start.py exited with status 1.

*** Shutting down runit daemon (PID 26)…

*** Running /etc/my_init.post_shutdown.d/10_syslog-ng.shutdown…

*** Killing all processes…

Thank you so much!

Can you share the controller.log file?

Is this it?


migrating avatars …

DONE


Moving the elasticsearch’s configuration file …

/bin/cp: ‘/opt/seafile/seafile-server-latest/pro/elasticsearch/config/jvm.options’ and ‘/opt/seafile/seafile-pro-server-7.1.14/pro/elasticsearch/config/jvm.options’ are the same file

updating seafile-server-latest symbolic link to /opt/seafile/seafile-pro-server-7.1.14 …

DONE


** Message: 22:43:16.837: seafile-controller.c(1009): loading seafdav config from /opt/seafile/conf/seafdav.conf

failed to run “ccnet-server -t”

[09/29/21 22:43:16] …/common/session.c(162): using config file /opt/seafile/conf/ccnet.conf

[09/29/21 22:43:16] …/common/license.c(437): Loading license file /opt/seafile/seafile-license.txt …

[09/29/21 22:43:16] …/common/license.c(440): License file /opt/seafile/seafile-license.txt does not exist, allow at most 3 trial users

License file /opt/seafile/seafile-license.txt does not exist, allow at most 3 trial users

[09/29/21 22:43:16] user-mgr.c(138): The number of users exceeds limit, max 3, current 7

[2021-09-29 22:43:16] 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 71, in main

call('{} start'.format(get_script('seafile.sh')))

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-pro-server-7.1.14/seafile.sh start’ returned non-zero exit status 1.

*** /scripts/start.py exited with status 1.

*** Shutting down runit daemon (PID 26)…

*** 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 26

*** Running /scripts/start.py…

[09/29/2021 23:49:45][upgrade]: The container was recreated, running minor-upgrade.sh to fix the media symlinks

[09/29/2021 23:49:45][upgrade]: Running script /opt/seafile/seafile-pro-server-7.1.14/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 …

Done


migrating avatars …

DONE


Moving the elasticsearch’s configuration file …

/bin/cp: ‘/opt/seafile/seafile-server-latest/pro/elasticsearch/config/jvm.options’ and ‘/opt/seafile/seafile-pro-server-7.1.14/pro/elasticsearch/config/jvm.options’ are the same file

updating seafile-server-latest symbolic link to /opt/seafile/seafile-pro-server-7.1.14 …

DONE


** Message: 23:49:48.893: seafile-controller.c(1009): loading seafdav config from /opt/seafile/conf/seafdav.conf

failed to run “ccnet-server -t”

[09/29/21 23:49:49] …/common/session.c(162): using config file /opt/seafile/conf/ccnet.conf

[09/29/21 23:49:49] …/common/license.c(437): Loading license file /opt/seafile/seafile-license.txt …

[09/29/21 23:49:49] …/common/license.c(440): License file /opt/seafile/seafile-license.txt does not exist, allow at most 3 trial users

License file /opt/seafile/seafile-license.txt does not exist, allow at most 3 trial users

[09/29/21 23:49:49] user-mgr.c(138): The number of users exceeds limit, max 3, current 7

[2021-09-29 23:49:45] 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 71, in main

call('{} start'.format(get_script('seafile.sh')))

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-pro-server-7.1.14/seafile.sh start’ returned non-zero exit status 1.

*** /scripts/start.py exited with status 1.

*** Shutting down runit daemon (PID 26)…

*** Running /etc/my_init.post_shutdown.d/10_syslog-ng.shutdown…

*** Killing all processes…

No, the file is located in the seafile/logs/ directory and is called controller.log

Found it.

[03/03/21 20:38:12] seafile-controller.c(205): starting ccnet-server …
[03/03/21 20:38:12] seafile-controller.c(96): spawn_process: ccnet-server -F /opt/seafile/conf -c /opt/seafile/ccnet -f /opt/seafile/logs/ccnet.log -d -L /opt/seafile -P /opt/seafile/pids/ccnet.pid
[03/03/21 20:38:12] seafile-controller.c(130): spawned ccnet-server, pid 124
[03/03/21 20:38:12] seafile-controller.c(239): starting seaf-server …
[03/03/21 20:38:12] seafile-controller.c(96): spawn_process: seaf-server -F /opt/seafile/conf -c /opt/seafile/ccnet -d /opt/seafile/seafile-data -l /opt/seafile/logs/seafile.log -P /opt/seafile/pids/seaf-server.pid -p /opt/seafile/seafile-pro-server-7.1.14/runtime -f -L /opt/seafile
[03/03/21 20:38:12] seafile-controller.c(130): spawned seaf-server, pid 125
[03/03/21 20:38:22] seafile-controller.c(585): pid file /opt/seafile/pids/seafevents.pid does not exist
[03/03/21 20:38:22] seafile-controller.c(621): seafevents need restart…
[03/03/21 20:38:22] seafile-controller.c(96): spawn_process: /usr/bin/python3 -m seafevents.main --config-file /opt/seafile/conf/seafevents.conf --logfile /opt/seafile/logs/seafevents.log -P /opt/seafile/pids/seafevents.pid
[03/03/21 20:38:22] seafile-controller.c(130): spawned /usr/bin/python3, pid 182
[03/03/21 20:38:23] seafile-controller.c(503): local elasticserach server will not be started
[03/03/21 20:39:20] seafile-controller.c(655): shutting down all services …
[03/03/21 20:39:22] seafile-controller.c(205): starting ccnet-server …
[03/03/21 20:39:22] seafile-controller.c(96): spawn_process: ccnet-server -F /opt/seafile/conf -c /opt/seafile/ccnet -f /opt/seafile/logs/ccnet.log -d -L /opt/seafile -P /opt/seafile/pids/ccnet.pid
[03/03/21 20:39:22] seafile-controller.c(130): spawned ccnet-server, pid 124
[03/03/21 20:39:22] seafile-controller.c(239): starting seaf-server …
[03/03/21 20:39:22] seafile-controller.c(96): spawn_process: seaf-server -F /opt/seafile/conf -c /opt/seafile/ccnet -d /opt/seafile/seafile-data -l /opt/seafile/logs/seafile.log -P /opt/seafile/pids/seaf-server.pid -p /opt/seafile/seafile-pro-server-7.1.14/runtime -f -L /opt/seafile
[03/03/21 20:39:22] seafile-controller.c(130): spawned seaf-server, pid 125
[03/03/21 20:39:32] seafile-controller.c(585): pid file /opt/seafile/pids/seafevents.pid does not exist
[03/03/21 20:39:32] seafile-controller.c(621): seafevents need restart…
[03/03/21 20:39:32] seafile-controller.c(96): spawn_process: /usr/bin/python3 -m seafevents.main --config-file /opt/seafile/conf/seafevents.conf --logfile /opt/seafile/logs/seafevents.log -P /opt/seafile/pids/seafevents.pid
[03/03/21 20:39:32] seafile-controller.c(130): spawned /usr/bin/python3, pid 182
[03/03/21 20:39:33] seafile-controller.c(503): local elasticserach server will not be started
[09/24/21 16:56:42] seafile-controller.c(655): shutting down all services …