a-marcel / hassio-addon-owntone

9 stars 13 forks source link

Addon crash while boot #8

Open saya6k opened 1 year ago

saya6k commented 1 year ago

Hi, I installed this addon and can't make it work.

I'm using HAOS baremetal and HA 2023.7.2.

Here's my log.

[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:    911
User gid:    911
-------------------------------------
[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] 90-custom-folders: executing... 
[cont-init.d] 90-custom-folders: exited 0.
[cont-init.d] 90-homeassistant: executing... 
[cont-init.d] 90-homeassistant: 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
[2023-07-15T04:21:38Z INFO  librespot] librespot 0.3.1 866c55ab88 (Built on 2021-11-03, Build ID: LYkZUkEY, Profile: release)
[2023-07-15T04:21:38Z WARN  libmdns] Failed to register IPv6 receiver: Os { code: 19, kind: Uncategorized, message: "No such device" }
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. ***
Joining mDNS multicast group on interface eth0.IPv4 with address 172.30.33.13.
New relevant interface eth0.IPv4 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 172.30.33.13 on eth0.IPv4.
Registering new address record for 127.0.0.1 on lo.IPv4.
[services.d] done.
Failed to set ownership on logfile: Operation not permitted
[2023-07-15 13:21:38] [  LOG]     main: OwnTone version 28.2 taking off
[2023-07-15 13:21:38] [  LOG]     main: Built with:
[2023-07-15 13:21:38] [  LOG]     main: - ffmpeg
[2023-07-15 13:21:38] [  LOG]     main: - Spotify
[2023-07-15 13:21:38] [  LOG]     main: - librespot-c
[2023-07-15 13:21:38] [  LOG]     main: - LastFM
[2023-07-15 13:21:38] [  LOG]     main: - Chromecast
[2023-07-15 13:21:38] [  LOG]     main: - MPD
[2023-07-15 13:21:38] [  LOG]     main: - Websockets
[2023-07-15 13:21:38] [  LOG]     main: - ALSA
[2023-07-15 13:21:38] [  LOG]     main: - Webinterface
[2023-07-15 13:21:38] [  LOG]     main: - Regex
[2023-07-15 13:21:38] [  LOG]     main: mDNS init
[2023-07-15 13:21:38] [  LOG]     mdns: Avahi state change: Client registering
[2023-07-15 13:21:38] [  LOG]       db: Configured to use database file '/share/owntone/dbase_and_logs/songs3.db'
[2023-07-15 13:21:38] [  LOG]       db: Now vacuuming database, this may take some time...
[2023-07-15 13:21:38] [  LOG]       db: Database OK with 0 active files and 6 active playlists
[2023-07-15 13:21:38] [  LOG]     scan: Bulk library scan completed in 0 sec
[2023-07-15 13:21:38] [  LOG]      web: LWS OOM allocating 1073741816 fds
[2023-07-15 13:21:38] [  LOG]      web: LWS ZERO RANDOM FD
[2023-07-15 13:21:38] [  LOG]      web: Failed to create websocket context
[2023-07-15 13:21:38] [FATAL]    httpd: Websocket init failed
[2023-07-15 13:21:38] [FATAL]     main: HTTPd thread failed to start
[2023-07-15 13:21:38] [  LOG]     main: Player deinit
[2023-07-15 13:21:38] [  LOG]  spotify: No spotify refresh token found
[2023-07-15 13:21:38] [  LOG]  spotify: Spotify webapi token refresh failed. In order to use Spotify, authorize the server to access your saved tracks by visiting http://owntone.local:3689
[2023-07-15 13:21:38] [  LOG]      lib: Library init scan completed in 0 sec (0 changes)
[2023-07-15 13:21:38] [  LOG]     main: Library scanner deinit
[2023-07-15 13:21:38] [  LOG]     main: Cache deinit
[2023-07-15 13:21:38] [  LOG]     main: Worker deinit
[2023-07-15 13:21:38] [  LOG]     main: Database deinit
[2023-07-15 13:21:38] [  LOG]     main: mDNS deinit
[2023-07-15 13:21:38] [  LOG]     main: Exiting.
sesardelaisla commented 10 months ago

Hi! I also get those FATAL errors stated in your log. Add-on start enters into a restart loop state. Did you manage to fix this?