Problems at startup


#1

When I try to start seafile on docker I run into following problem:

*** Running /etc/my_init.d/01_create_data_links.sh...
*** Running /etc/my_init.d/10_syslog-ng.init...
[2019-05-05T20:36:23.066505] Error opening control socket, bind() failed; socket='/var/lib/syslog-ng/syslog-ng.ctl', error='Permission denied (13)'
Error parsing source, source plugin unix-dgram not found in /etc/syslog-ng/syslog-ng.conf at line 20, column 8:

   unix-dgram("/dev/log");

the command I used to start it:
docker run -d --name seafile -e SEAFILE_SERVER_HOSTNAME=seafile.example.com -p 80:80 seafileltd/seafile:latest

Any ideas?


#2

No one with the same problem?


#3

Looks like you’re using Docker on windows.
I executed the docker command on a fresh Ubuntu 18.04 with docker. The seafile container starts without problems.
I suspect a permission problem on the host system because docker cannot bind the socket due to a missing permission.


#4

I use it on Solus, so Linux.
That’s strange that it’s unable to write, because I don’t mount anything into the container.


#5

But it seems like a problem with Solus. When I try it on Ubuntu it works fine. Thanks for the hint.