When I try to install the docker image for seafile using their instructions, it fails giving this error:
I copy and paste their instructions word for word.
I also followed these instructions with the same problems:
Have you read this doc ? What do you want to know ?
You will find my working configuration in attachments. Just replace Host IP and Host Path.
The docker creates the mysql directory and files, the logs directory and files, and the seafile directory which remains empty. The shared directory I created has read/write/execute permissions for everyone. Am I doing something wrong? Do I need to install another docker before the seafile docker?
This is the log output:
Code
*** Running /etc/my_init.d/01_create_data_links.sh...
*** Running /etc/my_init.d/10_syslog-ng.init...
Apr 19 13:06:28 a74bca9ed5ea syslog-ng[19]: syslog-ng starting up; version='3.13.2'
*** Running /etc/my_init.d/99_mysql_setup.sh...
*** Booting runit daemon...
*** Runit started as PID 26
*** Running /scripts/start.py...
Apr 19 13:06:28 a74bca9ed5ea cron[36]: (CRON) INFO (pidfile fd = 3)
Apr 19 13:06:28 a74bca9ed5ea cron[36]: (CRON) INFO (Running @reboot jobs)
[2019-04-19 13:06:30] Now running setup-seafile-mysql.py in auto mode.
Traceback (most recent call last):
File "/scripts/start.py", line 86, in <module>
main()
File "/scripts/start.py", line 56, in main
init_seafile_server()
File "/scripts/bootstrap.py", line 130, in init_seafile_server
with open(join(topdir, 'conf', 'seahub_settings.py'), 'a+') as fp:
IOError: [Errno 2] No such file or directory: '/opt/seafile/conf/seahub_settings.py'
*** /scripts/start.py exited with status 1.
*** Shutting down runit daemon (PID 26)...
*** Running /etc/my_init.post_shutdown.d/10_syslog-ng.shutdown...
Apr 19 13:06:32 a74bca9ed5ea syslog-ng[19]: syslog-ng shutting down; version='3.13.2'
*** Killing all processes...
*** Running /etc/my_init.d/01_create_data_links.sh...
*** Running /etc/my_init.d/10_syslog-ng.init...
Apr 19 13:08:42 a74bca9ed5ea syslog-ng[18]: syslog-ng starting up; version='3.13.2'
*** Running /etc/my_init.d/99_mysql_setup.sh...
*** Booting runit daemon...
*** Runit started as PID 25
*** Running /scripts/start.py...
Apr 19 13:08:42 a74bca9ed5ea cron[32]: (CRON) INFO (pidfile fd = 3)
Apr 19 13:08:42 a74bca9ed5ea cron[32]: (CRON) INFO (Skipping @reboot jobs -- not system startup)
[2019-04-19 13:08:45] Now running setup-seafile-mysql.py in auto mode.
Traceback (most recent call last):
File "/scripts/start.py", line 86, in <module>
main()
File "/scripts/start.py", line 56, in main
init_seafile_server()
File "/scripts/bootstrap.py", line 130, in init_seafile_server
with open(join(topdir, 'conf', 'seahub_settings.py'), 'a+') as fp:
IOError: [Errno 2] No such file or directory: '/opt/seafile/conf/seahub_settings.py'
*** /scripts/start.py exited with status 1.
*** Shutting down runit daemon (PID 25)...
*** Running /etc/my_init.post_shutdown.d/10_syslog-ng.shutdown...
Apr 19 13:08:48 a74bca9ed5ea syslog-ng[18]: syslog-ng shutting down; version='3.13.2'
*** Killing all processes...
*** Running /etc/my_init.d/01_create_data_links.sh...
*** Running /etc/my_init.d/10_syslog-ng.init...
/bin/chown: cannot dereference '/var/log': Too many levels of symbolic links
*** /etc/my_init.d/10_syslog-ng.init failed with status 1
*** Killing all processes...
Alles anzeigen
Thanks.