linuxserver / docker-daapd

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

Spotify not working in ARM 32 bit version #38

Closed CaseyRo closed 3 years ago

CaseyRo commented 4 years ago

linuxserver.io


Expected Behavior

Using spotify should work in ARM 32 bit version

Current Behavior

"online services" menu shows:

forked-daapd was either built without support for Spotify or libspotify is not installed.

Steps to Reproduce

  1. Saw the dockerfile.armhf missed the 'enable-spotify' flag, so added that
  2. That failed the build, so I added the exports LIBSPOTIFY_CFLAGS and LIBSPOTIFY_LIBS to the dockerfile
  3. Now at least it builds (pastebin with dockerfile used for building)
  4. Trying to start the container gives no weird errors, it just stops immediately. (I've asked around in discord for more logs, but /var/log in the container also doesn't give anything)

Environment

OS: Debian Buster CPU architecture: arm32 How docker service was installed: Using raspi to run docker, build as stated above.

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

Used docker compose to start (pastebin link)


---
version: "2.1"
services:
  daapd:
    image: keesromkes/daapd
    container_name: daapd
    network_mode: host
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
    volumes:
      - ./config:/config
      - ./music:/music
      - ./backuplogs:/var/log
    restart: unless-stopped

## Docker logs
<!--- Provide a full docker log, output of "docker logs daapd" -->

Attaching to daapd
daapd    | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
daapd    | [s6-init] ensuring user provided files have correct perms...exited 0.
daapd    | [fix-attrs.d] applying ownership & permissions fixes...
daapd    | [fix-attrs.d] done.
daapd    | [cont-init.d] executing container initialization scripts...
daapd    | [cont-init.d] 01-envfile: executing... 
daapd    | [cont-init.d] 01-envfile: exited 0.
daapd    | [cont-init.d] 10-adduser: executing... 
daapd    | 
daapd    | -------------------------------------
daapd    |           _         ()
daapd    |          | |  ___   _    __
daapd    |          | | / __| | |  /  \ 
daapd    |          | | \__ \ | | | () |
daapd    |          |_| |___/ |_|  \__/
daapd    | 
daapd    | 
daapd    | Brought to you by linuxserver.io
daapd    | -------------------------------------
daapd    | 
daapd    | To support LSIO projects visit:
daapd    | https://www.linuxserver.io/donate/
daapd    | -------------------------------------
daapd    | GID/UID
daapd    | -------------------------------------
daapd    | 
daapd    | User uid:    1000
daapd    | User gid:    1000
daapd    | -------------------------------------
daapd    | 
daapd    | [cont-init.d] 10-adduser: exited 0.
daapd    | [cont-init.d] 30-dbus: executing... 
daapd    | [cont-init.d] 30-dbus: exited 0.
daapd    | [cont-init.d] 40-config: executing... 
daapd    | [cont-init.d] 40-config: exited 0.
daapd    | [cont-init.d] 99-custom-files: executing... 
daapd    | [custom-init] no custom files found exiting...
daapd    | [cont-init.d] 99-custom-files: exited 0.
daapd    | [cont-init.d] done.
daapd    | [services.d] starting services
daapd    | [services.d] done.
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client connecting
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Found user 'avahi' (UID 86) and group 'avahi' (GID 86).
daapd    | Successfully dropped root privileges.
daapd    | avahi-daemon 0.8 starting up.
daapd    | WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
daapd    | Loading service file /etc/avahi/services/sftp-ssh.service.
daapd    | Loading service file /etc/avahi/services/ssh.service.
daapd    | *** WARNING: Detected another IPv4 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***
daapd    | *** WARNING: Detected another IPv6 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***
daapd    | Joining mDNS multicast group on interface vethb916c33.IPv6 with address fe80::2c8c:5ff:fec3:7490.
daapd    | New relevant interface vethb916c33.IPv6 for mDNS.
daapd    | Joining mDNS multicast group on interface vethb916c33.IPv4 with address 169.254.70.3.
daapd    | New relevant interface vethb916c33.IPv4 for mDNS.
daapd    | Joining mDNS multicast group on interface br-774e1e619e0b.IPv6 with address fe80::42:9dff:fe58:c616.
daapd    | New relevant interface br-774e1e619e0b.IPv6 for mDNS.
daapd    | Joining mDNS multicast group on interface br-774e1e619e0b.IPv4 with address 172.18.0.1.
daapd    | New relevant interface br-774e1e619e0b.IPv4 for mDNS.
daapd    | Joining mDNS multicast group on interface vethf9f0e68.IPv6 with address fe80::ac86:15ff:fe61:f893.
daapd    | New relevant interface vethf9f0e68.IPv6 for mDNS.
daapd    | Joining mDNS multicast group on interface vethf9f0e68.IPv4 with address 169.254.99.106.
daapd    | New relevant interface vethf9f0e68.IPv4 for mDNS.
daapd    | Joining mDNS multicast group on interface veth38a4dc8.IPv6 with address fe80::d85f:f4ff:feb7:9aca.
daapd    | New relevant interface veth38a4dc8.IPv6 for mDNS.
daapd    | Joining mDNS multicast group on interface veth38a4dc8.IPv4 with address 169.254.18.217.
daapd    | New relevant interface veth38a4dc8.IPv4 for mDNS.
daapd    | Joining mDNS multicast group on interface veth987acdc.IPv6 with address fe80::b801:5aff:fe2e:2be2.
daapd    | New relevant interface veth987acdc.IPv6 for mDNS.
daapd    | Joining mDNS multicast group on interface veth987acdc.IPv4 with address 169.254.117.27.
daapd    | New relevant interface veth987acdc.IPv4 for mDNS.
daapd    | Joining mDNS multicast group on interface vethb8634a5.IPv6 with address fe80::2c71:5dff:fe16:1ff6.
daapd    | New relevant interface vethb8634a5.IPv6 for mDNS.
daapd    | Joining mDNS multicast group on interface vethb8634a5.IPv4 with address 169.254.212.163.
daapd    | New relevant interface vethb8634a5.IPv4 for mDNS.
daapd    | Joining mDNS multicast group on interface br-c7d27385e621.IPv6 with address fe80::42:feff:fefb:3d53.
daapd    | New relevant interface br-c7d27385e621.IPv6 for mDNS.
daapd    | Joining mDNS multicast group on interface br-c7d27385e621.IPv4 with address 172.20.0.1.
daapd    | New relevant interface br-c7d27385e621.IPv4 for mDNS.
daapd    | Joining mDNS multicast group on interface br-cb488a523c94.IPv4 with address 172.27.0.1.
daapd    | New relevant interface br-cb488a523c94.IPv4 for mDNS.
daapd    | Joining mDNS multicast group on interface docker0.IPv6 with address fe80::42:c5ff:feec:ab29.
daapd    | New relevant interface docker0.IPv6 for mDNS.
daapd    | Joining mDNS multicast group on interface docker0.IPv4 with address 172.17.0.1.
daapd    | New relevant interface docker0.IPv4 for mDNS.
daapd    | Joining mDNS multicast group on interface br-9283420b8d03.IPv4 with address 172.21.0.1.
daapd    | New relevant interface br-9283420b8d03.IPv4 for mDNS.
daapd    | Joining mDNS multicast group on interface br-11123182a8f1.IPv4 with address 172.23.0.1.
daapd    | New relevant interface br-11123182a8f1.IPv4 for mDNS.
daapd    | Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::8e31:2798:7dca:7657.
daapd    | New relevant interface wlan0.IPv6 for mDNS.
daapd    | Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.86.224.
daapd    | New relevant interface wlan0.IPv4 for mDNS.
daapd    | Joining mDNS multicast group on interface eth0.IPv6 with address fe80::d2f5:6e88:eb14:1244.
daapd    | New relevant interface eth0.IPv6 for mDNS.
daapd    | Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.86.224.
daapd    | New relevant interface eth0.IPv4 for mDNS.
daapd    | Joining mDNS multicast group on interface lo.IPv6 with address ::1.
daapd    | New relevant interface lo.IPv6 for mDNS.
daapd    | Joining mDNS multicast group on interface lo.IPv4 with address 127.0.0.1.
daapd    | New relevant interface lo.IPv4 for mDNS.
daapd    | Network interface enumeration completed.
daapd    | Registering new address record for fe80::2c8c:5ff:fec3:7490 on vethb916c33.*.
daapd    | Registering new address record for fe80::ddfe:8daa:51a6:d059 on vethb916c33.*.
daapd    | Registering new address record for 169.254.70.3 on vethb916c33.IPv4.
daapd    | Registering new address record for fe80::42:9dff:fe58:c616 on br-774e1e619e0b.*.
daapd    | Registering new address record for 172.18.0.1 on br-774e1e619e0b.IPv4.
daapd    | Registering new address record for fe80::ac86:15ff:fe61:f893 on vethf9f0e68.*.
daapd    | Registering new address record for 169.254.99.106 on vethf9f0e68.IPv4.
daapd    | Registering new address record for fe80::d85f:f4ff:feb7:9aca on veth38a4dc8.*.
daapd    | Registering new address record for 169.254.18.217 on veth38a4dc8.IPv4.
daapd    | Registering new address record for fe80::b801:5aff:fe2e:2be2 on veth987acdc.*.
daapd    | Registering new address record for 169.254.117.27 on veth987acdc.IPv4.
daapd    | Registering new address record for fe80::2c71:5dff:fe16:1ff6 on vethb8634a5.*.
daapd    | Registering new address record for 169.254.212.163 on vethb8634a5.IPv4.
daapd    | Registering new address record for fe80::42:feff:fefb:3d53 on br-c7d27385e621.*.
daapd    | Registering new address record for 172.20.0.1 on br-c7d27385e621.IPv4.
daapd    | Registering new address record for 172.27.0.1 on br-cb488a523c94.IPv4.
daapd    | Registering new address record for fe80::42:c5ff:feec:ab29 on docker0.*.
daapd    | Registering new address record for 172.17.0.1 on docker0.IPv4.
daapd    | Registering new address record for 172.21.0.1 on br-9283420b8d03.IPv4.
daapd    | Registering new address record for 172.23.0.1 on br-11123182a8f1.IPv4.
daapd    | Registering new address record for fe80::8e31:2798:7dca:7657 on wlan0.*.
daapd    | Registering new address record for 192.168.86.224 on wlan0.IPv4.
daapd    | Registering new address record for fe80::d2f5:6e88:eb14:1244 on eth0.*.
daapd    | Registering new address record for 192.168.86.224 on eth0.IPv4.
daapd    | Registering new address record for ::1 on lo.*.
daapd    | Registering new address record for 127.0.0.1 on lo.IPv4.
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client registering
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Server startup complete. Host name is applePie.local. Local service cookie is 996232621.
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Service "applePie" (/etc/avahi/services/ssh.service) successfully established.
daapd    | Service "applePie" (/etc/avahi/services/sftp-ssh.service) successfully established.
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
daapd    | Failed to set ownership on logfile: Operation not permitted
daapd    | [  LOG]     main: Forked Media Server Version 27.2 taking off
daapd    | [  LOG]     main: Built with:
daapd    | [  LOG]     main: - ffmpeg
daapd    | [  LOG]     main: - Spotify
daapd    | [  LOG]     main: - MPD
daapd    | [  LOG]     main: - Device verification
daapd    | [  LOG]     main: - Websockets
daapd    | [  LOG]     main: - ALSA
daapd    | [  LOG]     main: - Webinterface
daapd    | [  LOG]     main: mDNS init
daapd    | [  LOG]     mdns: Avahi state change: Client running
daapd    | [  LOG]       db: Configured to use database file '/config/dbase_and_logs/songs3.db'
daapd    | [  LOG]       db: Now vacuuming database, this may take some time...
daapd    | [  LOG]       db: Database OK with 9 active files and 7 active playlists
Gracefully stopping... (press Ctrl+C again to force)
bverhagen commented 4 years ago

I can reproduce this on a raspberry pi 4. It seems forked-daapd crashes when it tries to initialize a Spotify session. The architecture of libspotify.so appears to be correct. I was not able to retrieve much more information. It might be an incompatibility between the glibc it was built against and the musl libc it is actually getting from Alpine.

I currently have no useful workaround suggestions. Perhaps it works by rewriting the Dockerfile to use baseimage-ubuntu:arm32v7-focal.

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

alex-voigt commented 3 years ago

I am hijacking this one because I also can't get Spotify to work in the latest version. There is not even a "Spotify" integration in the logs for me.

> cat /sys/firmware/devicetree/base/model
Raspberry Pi 3 Model B Rev 1.2

> uname -srm
Linux 5.4.51-v7+ armv7l

> docker inspect ghcr.io/linuxserver/daapd | grep -iE ".*(architecture|variant|version).*"
"linuxserver/daapd:version-27.2",
"build_version": "Linuxserver.io version:- 27.2-ls32 Build-date:- 2020-12-16T17:33:40+00:00",
"DockerVersion": "19.03.13",
"build_version": "Linuxserver.io version:- 27.2-ls32 Build-date:- 2020-12-16T17:33:40+00:00",
"Architecture": "arm",

> docker logs daapd
[  LOG]     main: Forked Media Server Version 27.2 taking off
[  LOG]     main: Built with:
[  LOG]     main: - ffmpeg
[  LOG]     main: - iTunes XML
[  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 running

I have seen that the arm64 image seems to be broken but I don't use it. What I am doing wrong?

EDIT: OK. still broken... you should definitely update the "Versions" section in the Readme to not confuse people :-)

bverhagen commented 3 years ago

Currently, I do not see a way to fix libspotify for ARM in Alpine Linux. To get a more 'durable' solution, I extended this container with librespot in #44 .

As a temporary workaround, you can build https://github.com/bverhagen/docker-daapd-librespot yourself.

snizzleorg commented 3 years ago

Has there been any progress on this? I would love to be able to use forked-daapd but I do need Spotify as all my music is there....

ejurgensen commented 3 years ago

fyi I am currently working on a version of forked-daapd (now called owntone) that doesn't require libspotify. Instead, Spotify support is built in.

tobbenb commented 3 years ago

This repo already builds from the owntone repo, so I guess spotify should work on arm32 then? @ejurgensen

ejurgensen commented 3 years ago

I wouldn't think so, this change is in an unmerged development branch. It needs more testing and fixing up before going into master - as you can see it is also a draft PR.

tobbenb commented 3 years ago

Sorry, I misread what you wrote and didn't get that it was a different branch. Would we have to do anything before it's merged or is it good to go when it's merged?

ejurgensen commented 3 years ago

I am not sure exactly how the Docker image is built, so can't say. I also haven't decided yet whether it should be enabled by default or if it will require a --enable-spotify configure flag.

tobbenb commented 3 years ago

We build it from source, so then we'll have to enable it if it's not enabled by default. And add dependencies, if needed.

bverhagen commented 3 years ago

@snizzleorg : Did you consider the docker-daapd-librespot solution? It is not perfect (the pipe interface is sensitive to the order in which you start/stop things), but does get you started with forked-daapd + Spotify. As mentioned above, forked-daapd + libspotify works on Debian-based distro's. You can install them natively or build the Docker image yourself.

snizzleorg commented 3 years ago

@bverhagen thanks for the suggestion. I have librespot running on a raspberry Pi. and it works ok with forked-daapd. BUT my use case is different I want to actually use forked-daapd to play the library. That works much more reliable... I actually have all I want working on a rapsberry-pi but I want to move it onto my home-assistant installation and use docker for that. basically to get rid of one too many devices...

bverhagen commented 3 years ago

@ejurgensen : Thank you for the work on the new Spotify client. I am currently tracking owntone/owntone-server#1230 (only for ARM64) here: https://github.com/bverhagen/docker-daapd/tree/spotify1c. I am currently testing this on my aarch64 setup.

You are invited to build the Docker yourself - although keep in mind it is still a feature in development.

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.