linuxserver / docker-daapd

GNU General Public License v3.0
108 stars 36 forks source link

ERR_CONNECTION_TIMED_OUT when trying to open web interface #42

Closed roberkules closed 4 years ago

roberkules commented 4 years ago

linuxserver.io


Expected Behavior

after adding the service to docker-compose I would expect the web interface to work on port 3689

Current Behavior

empty screen, times out after some time... with ERR_CONNECTION_TIMED_OUT

Steps to Reproduce

1.

Environment

OS: Ubuntu 20.04.1 LTS CPU architecture: x86_64 How docker service was installed: docker repo

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

  daapd:
    image: linuxserver/daapd
    container_name: daapd
    network_mode: host
    environment:
      - PUID=${PUID}
      - PGID=${PGID}
      - TZ=${TZ}
    volumes:
      - ${USERDIR}/docker/daapd:/config
      - /mnt/raid/music:/music
    restart: unless-stopped

with .env:

PUID=1000
PGID=141
TZ="Europe/Vienna"
USERDIR="/home/myuser"

Docker logs

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...
usermod: no changes

-------------------------------------
          _         ()
         | |  ___   _    __
         | | / __| | |  /  \
         | | \__ \ | | | () |
         |_| |___/ |_|  \__/

Brought to you by linuxserver.io
-------------------------------------

To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid:    1000
User gid:    141
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-dbus: executing...
[cont-init.d] 30-dbus: exited 0.
[cont-init.d] 40-config: executing...
[cont-init.d] 40-config: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Found user 'avahi' (UID 86) and group 'avahi' (GID 86).
Successfully dropped root privileges.
avahi-daemon 0.8 starting up.
WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Loading service file /etc/avahi/services/sftp-ssh.service.
Loading service file /etc/avahi/services/ssh.service.
*** WARNING: Detected another IPv4 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***
*** WARNING: Detected another IPv6 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***
Joining mDNS multicast group on interface veth3cec26a.IPv6 with address fe80::40f0:81ff:fee1:b2bd.
New relevant interface veth3cec26a.IPv6 for mDNS.
Joining mDNS multicast group on interface docker0.IPv4 with address 172.17.0.1.
New relevant interface docker0.IPv4 for mDNS.
Joining mDNS multicast group on interface br-7a1e3d3a1389.IPv6 with address fe80::42:92ff:fe79:2ea8.
New relevant interface br-7a1e3d3a1389.IPv6 for mDNS.
Joining mDNS multicast group on interface br-7a1e3d3a1389.IPv4 with address 172.22.0.1.
New relevant interface br-7a1e3d3a1389.IPv4 for mDNS.
Joining mDNS multicast group on interface enp2s0.IPv6 with address fe80::2e76:8aff:fead:ee4a.
New relevant interface enp2s0.IPv6 for mDNS.
Joining mDNS multicast group on interface enp2s0.IPv4 with address 10.10.10.185.
New relevant interface enp2s0.IPv4 for mDNS.
Joining mDNS multicast group on interface lo.IPv6 with address ::1.
New relevant interface lo.IPv6 for mDNS.
Joining mDNS multicast group on interface lo.IPv4 with address 127.0.0.1.
New relevant interface lo.IPv4 for mDNS.
Network interface enumeration completed.
Registering new address record for fe80::40f0:81ff:fee1:b2bd on veth3cec26a.*.
Registering new address record for 172.17.0.1 on docker0.IPv4.
Registering new address record for fe80::42:92ff:fe79:2ea8 on br-7a1e3d3a1389.*.
Registering new address record for 172.22.0.1 on br-7a1e3d3a1389.IPv4.
Registering new address record for fe80::2e76:8aff:fead:ee4a on enp2s0.*.
Registering new address record for 10.10.10.185 on enp2s0.IPv4.
Registering new address record for ::1 on lo.*.
Registering new address record for 127.0.0.1 on lo.IPv4.
Failed to set ownership on logfile: Operation not permitted
[  LOG]     main: Forked Media Server Version 27.2 taking off
[  LOG]     main: Built with:
[  LOG]     main: - ffmpeg
[  LOG]     main: - iTunes XML
[  LOG]     main: - Spotify
[  LOG]     main: - LastFM
[  LOG]     main: - Chromecast
[  LOG]     main: - MPD
[  LOG]     main: - Device verification
[  LOG]     main: - Websockets
[  LOG]     main: - ALSA
[  LOG]     main: - Webinterface
[  LOG]     main: mDNS init
[  LOG]     mdns: Avahi state change: Client registering
[  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
[  LOG]       db: Now vacuuming database, this may take some time...
[  LOG]       db: Database OK with 17 active files and 6 active playlists
[  LOG]     scan: Skipping library directory /music/compilations, could not dereference: No such file or directory
[  LOG]     scan: Bulk library scan completed in 0 sec
[  LOG]  spotify: No spotify refresh token found
[  LOG]  spotify: Spotify webapi token refresh failed. In order to use the web api, authorize forked-daapd to access your saved tracks by visiting http://forked-daapd.local:3689
[  LOG]      lib: Library init scan completed in 1 sec (0 changes)
Server startup complete. Host name is mini-store.local. Local service cookie is 830163368.
[  LOG]     mdns: Avahi state change: Client running
Service "mini-store" (/etc/avahi/services/ssh.service) successfully established.
Service "mini-store" (/etc/avahi/services/sftp-ssh.service) successfully established.
Joining mDNS multicast group on interface veth1a8906b.IPv6 with address fe80::8859:7aff:fe4d:1715.
New relevant interface veth1a8906b.IPv6 for mDNS.
Registering new address record for fe80::8859:7aff:fe4d:1715 on veth1a8906b.*.
Joining mDNS multicast group on interface veth3a6eae7.IPv6 with address fe80::b8b2:93ff:fee5:3dd1.
New relevant interface veth3a6eae7.IPv6 for mDNS.
Registering new address record for fe80::b8b2:93ff:fee5:3dd1 on veth3a6eae7.*.
Joining mDNS multicast group on interface veth3f27aaa.IPv6 with address fe80::a085:8aff:fee8:58cb.
New relevant interface veth3f27aaa.IPv6 for mDNS.
Registering new address record for fe80::a085:8aff:fee8:58cb on veth3f27aaa.*.
Joining mDNS multicast group on interface vethb8a3bbb.IPv6 with address fe80::3cb6:9dff:fe40:77d0.
New relevant interface vethb8a3bbb.IPv6 for mDNS.
Registering new address record for fe80::3cb6:9dff:fe40:77d0 on vethb8a3bbb.*.
Joining mDNS multicast group on interface veth48a4f17.IPv6 with address fe80::d437:52ff:fe64:556f.
New relevant interface veth48a4f17.IPv6 for mDNS.
Registering new address record for fe80::d437:52ff:fe64:556f on veth48a4f17.*.
Joining mDNS multicast group on interface veth894234e.IPv6 with address fe80::202d:5cff:fe56:9ee7.
New relevant interface veth894234e.IPv6 for mDNS.
Registering new address record for fe80::202d:5cff:fe56:9ee7 on veth894234e.*.
Joining mDNS multicast group on interface vethe96c5d8.IPv6 with address fe80::d49b:fdff:feb6:8603.
New relevant interface vethe96c5d8.IPv6 for mDNS.
Registering new address record for fe80::d49b:fdff:feb6:8603 on vethe96c5d8.*.
Joining mDNS multicast group on interface veth9a94033.IPv6 with address fe80::7874:26ff:fe98:1a07.
New relevant interface veth9a94033.IPv6 for mDNS.
Registering new address record for fe80::7874:26ff:fe98:1a07 on veth9a94033.*.
Joining mDNS multicast group on interface veth459f0bf.IPv6 with address fe80::f8f0:e3ff:fe7d:4db6.
New relevant interface veth459f0bf.IPv6 for mDNS.
Registering new address record for fe80::f8f0:e3ff:fe7d:4db6 on veth459f0bf.*.
Joining mDNS multicast group on interface veth0f81f68.IPv6 with address fe80::74dc:efff:fe2f:3b01.
New relevant interface veth0f81f68.IPv6 for mDNS.
Registering new address record for fe80::74dc:efff:fe2f:3b01 on veth0f81f68.*.
Joining mDNS multicast group on interface vethfc467d1.IPv6 with address fe80::384f:ebff:fe11:b686.
New relevant interface vethfc467d1.IPv6 for mDNS.
Registering new address record for fe80::384f:ebff:fe11:b686 on vethfc467d1.*.
Joining mDNS multicast group on interface vethceba4ce.IPv6 with address fe80::203d:fcff:fe99:e977.
New relevant interface vethceba4ce.IPv6 for mDNS.
Registering new address record for fe80::203d:fcff:fe99:e977 on vethceba4ce.*.
[  LOG]     mdns: Avahi Resolver failure: service '745E1C21C719@Office Speakers' type '_raop._tcp' proto 0: Timeout reached
[  LOG]     mdns: Avahi Resolver failure: service '745E1C21C719@Office Speakers' type '_raop._tcp' proto 0: Timeout reached
roberkules commented 4 years ago

issue was ubuntu's firewall 🤦