linuxserver / docker-daapd

GNU General Public License v3.0
103 stars 37 forks source link

Pretty sure this docker image is broken #66

Closed wesleyorama2 closed 1 year ago

wesleyorama2 commented 1 year ago

linuxserver.io

This image does not run properly. OwnTone does not start as expected.

Expected Behavior

Following the instructions in the readme would result in a working OwnTone container.

Current Behavior

The container starts and is stable, but OwnTone does not start. Errors in logs on startup:

text  error  warn  system  array  login  

/package/admin/s6-overlay/libexec/preinit: notice: /var/run is not a symlink to /run, fixing it
s6-linux-init: warning: unable to dump kernel environment to /run/s6/container_environment: No such file or directory
s6-envdir: fatal: unable to envdir: No such file or directory

PS -AUX after startup:

USER        PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root          1  0.0  0.0    208    72 ?        Ss   23:42   0:00 /package/admin/s6/command/s6-svscan -d4 -- /run/service
root         16  0.0  0.0    212    68 ?        S    23:42   0:00 s6-supervise s6-linux-init-shutdownd
root         18  0.0  0.0    204     4 ?        Ss   23:42   0:00 /package/admin/s6-linux-init/command/s6-linux-init-shutdownd -c /run/s6/basedir -g 3000 -C -B
root         41  0.0  0.0   1664  1120 pts/0    Ss   23:44   0:00 sh
root         90  0.0  0.0   1708   880 pts/0    R+   23:51   0:00 ps -aux

When attempting to run the OwnTone binary after exec'ing into the container:

[2022-08-20 23:48:38] [FATAL]   config: Could not open config file /etc/owntone.conf
[2022-08-20 23:48:38] [FATAL]     main: Config file errors; please fix your config

Steps to Reproduce

  1. Follow the instructions in the readme to start a new container.
  2. Check logs, and note OwnTone UI not working.

Environment

OS: UNRAID (freebsd, I think) CPU architecture: x86_64 How docker service was installed: UNRAID Provided

Command used to create docker container (run/create/compose/screenshot)

image

Docker logs

text  error  warn  system  array  login  

/package/admin/s6-overlay/libexec/preinit: notice: /var/run is not a symlink to /run, fixing it
s6-linux-init: warning: unable to dump kernel environment to /run/s6/container_environment: No such file or directory
s6-envdir: fatal: unable to envdir: No such file or directory
github-actions[bot] commented 1 year ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

wesleyorama2 commented 1 year ago

I dont know what the difference is, but I found the "application" in UNRAIDS UI under the name daapd. When I ran that it works fine. Its using the same image, but whatever...

The only diff I see is that its using PID 99, PGID 100, and sets UMASK 022. Which was not part of / different from the README.

Sorry if the issue.