Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Moode hangs(?) after ~24h
#1
I'm having a blast with Moode! I have 5 rpi 5s with the hifiberry attachment throughout my house. Unfortunately, each one seems to only last about a day (though occasionally up to 4 days) before it becomes unreachable and requires a hardware restart to work again. This has been happening since 9.1.6, all the way through the 9.2 updates, and I just confirmed is still happening in 9.3.0. I'd love any suggestions you can provide. Thanks!

moode.log attached (zipped, I can't attach log files directly in this forum?). Let me know if anything else would be helpful for diagnosis.

Code:
20250317 174305 worker: --
20250317 174306 worker: -- Start moOde 9 series
20250317 174306 worker: --
20250317 174306 worker: Daemonize:     complete
20250317 174312 worker: Linux startup: complete
20250317 174312 worker: Boot config:   ok
20250317 174312 worker: Boot folder:   ok
20250317 174312 worker: Radio table:   ok
20250317 174312 worker: PHP session:   cleaned
20250317 174312 worker: PHP session:   loaded
20250317 174313 worker: Package locks: applied
20250317 174313 worker: File check:    complete
20250317 174313 worker: Log to RAM:    on
20250317 174313 worker: Debug logging: off
20250317 174313 worker: --
20250317 174313 worker: -- System
20250317 174313 worker: --
20250317 174348 worker: Host name:     moodeDen
20250317 174348 worker: RPi model:     Pi-5B 1.0 4GB
20250317 174348 worker: moOde release: 9.2.6 2025-03-07
20250317 174348 worker: RaspiOS:       12.8 Bookworm 64-bit
20250317 174348 worker: Linux Kernel:  6.6.74 64-bit
20250317 174348 worker: MPD version:   0.23.14
20250317 174348 worker: User id:       taynaron
20250317 174348 worker: Home folder:   /home/taynaron
20250317 174348 worker: Time zone:     America/New_York
20250317 174348 worker: Kbd layout:    us
20250317 174348 worker: HDMI ports(s): on
20250317 174348 worker: HDMI-CEC:      off
20250317 174348 worker: Sys LED0:      on
20250317 174348 worker: Sys LED1:      on
20250317 174348 worker: Reduce power:  on
20250317 174348 worker: Fan control:   50C, 45C, 75
20250317 174348 worker: CPU governor:  ondemand
20250317 174348 worker: --
20250317 174348 worker: -- Network
20250317 174348 worker: --
20250317 174348 worker: Eth0
20250317 174348 worker: Ethernet: adapter exists
20250317 174348 worker: Ethernet: timeout off
20250317 174348 worker: Ethernet: address not assigned
20250317 174348 worker: Wlan0
20250317 174348 worker: Wireless: adapter exists
20250317 174348 worker: Wireless: country US
20250317 174348 worker: Wireless: SSID    Thermosphere
20250317 174348 worker: Wireless: other   None
20250317 174348 worker: Wireless: timeout up to 90 secs
20250317 174348 worker: Wireless: connect to Thermosphere
20250317 174348 worker: Wireless: method  dhcp
20250317 174348 worker: Wireless: address 192.168.9.21
20250317 174348 worker: Wireless: netmask 255.255.255.0
20250317 174348 worker: Wireless: gateway 192.168.9.1
20250317 174348 worker: Wireless: pri DNS 192.168.9.1
20250317 174348 worker: Wireless: domain  lan
20250317 174348 worker: mDNS
20250317 174348 worker: Discover: IPv4 and IPv6
20250317 174348 worker: --
20250317 174348 worker: -- File sharing
20250317 174348 worker: --
20250317 174348 worker: SMB file sharing:  off
20250317 174348 worker: SMB password:      none
20250317 174348 worker: NFS file sharing:  off
20250317 174348 worker: DLNA file sharing: off
20250317 174348 worker: --
20250317 174348 worker: -- Special configs
20250317 174348 worker: --
20250317 174348 worker: Plexamp:          not installed
20250317 174348 worker: RoonBridge:       not installed
20250317 174348 worker: Allo Boss 2:      not detected, OLED script ok
20250317 174348 worker: Allo Piano 2.1:   not detected
20250317 174348 worker: IQaudIO DigiAMP+: not detected
20250317 174348 worker: RPi DigiAMP+:     not detected
20250317 174348 worker: Bluetooth:        session vars ok
20250317 174348 worker: --
20250317 174348 worker: -- ALSA debug
20250317 174348 worker: --
20250317 174348 worker: Cards:  0:vc4hdmi0        1:vc4hdmi1        2:sndrpihifiberry 3:empty          
20250317 174348 worker:         4:empty           5:empty           6:empty           7:empty          
20250317 174348 worker: Mixers: 0:none            1:none            2:(Digital)       3:none            
20250317 174348 worker:         4:none            5:none            6:none            7:none            
20250317 174348 worker: --
20250317 174348 worker: -- Audio configuration
20250317 174348 worker: --
20250317 174348 worker: Audio device:  0:snd_rpi_hifiberry_dacplus
20250317 174348 worker: ALSA card:     has been reassigned to 2 from 0
20250317 174349 worker: MPD config:    updated
20250317 174349 worker: ALSA output:   USB
20250317 174349 worker: ALSA mode:     Default (plughw)
20250317 174349 worker: ALSA mixer:    Analogue
20250317 174349 worker: ALSA volume:   0% (-6.00dB)
20250317 174349 worker: ALSA maxvol:   40%
20250317 174349 worker: ALSA loopback: off
20250317 174349 worker: MPD mixer      Software
20250317 174349 worker: Integ audio:   vc4-kms-v3d
20250317 174349 worker: Audio formats: S16_LE, S24_LE, S32_LE
20250317 174349 worker: CamillaDSP:    off
20250317 174349 worker: CDSP volume:   0dB
20250317 174349 worker: CDSP volrange: 60dB
20250317 174349 worker: --
20250317 174349 worker: -- MPD startup
20250317 174349 worker: --
20250317 174349 worker: MPD service:        started
20250317 174349 worker: MPD port 6600:      accepting connections
20250317 174349 worker: MPD ALSA Default:   on
20250317 174349 worker: MPD ALSA Bluetooth: off
20250317 174349 worker: MPD HTTP Server:    off
20250317 174349 worker: MPD volume:         12
20250317 174349 worker: Saved MPD vol:      -1
20250317 174349 worker: Saved SRC vol:      0
20250317 174349 worker: MPD crossfade:      off
20250317 174349 worker: MPD ignore CUE:     no
20250317 174349 worker: MPD CDSP volsync:   off
20250317 174349 worker: --
20250317 174349 worker: -- Music sources
20250317 174349 worker: --
20250317 174349 worker: USB drives:     none
20250317 174349 worker: NVMe drives:    none
20250317 174349 worker: SATA drives:    none
20250317 174349 worker: NAS source:     QNAS (smb)
20250317 174409 worker: --
20250317 174409 worker: -- Feature availability
20250317 174409 worker: --
20250317 174409 worker: Input select:    available, Source: MPD, Output: snd_rpi_hifiberry_dacplus
20250317 174410 worker: Bluetooth:       started, PIN: None, ALSA/CDSP maxvol: 100%/0dB, ALSA outmode: Standard
20250317 174410 worker: AirPlay:         started
20250317 174410 worker: Spotify Connect: available
20250317 174410 worker: Deezer Connect:  available
20250317 174410 worker: Squeezelite:     available
20250317 174410 worker: UPnP client:     available
20250317 174410 worker: Plexamp:         not installed, ALSA maxvol: 100%
20250317 174410 worker: RoonBridge:      not installed
20250317 174410 worker: Multiroom:       available
20250317 174410 worker: GPIO buttons:    available
20250317 174410 worker: Stream recorder: n/a
20250317 174410 worker: --
20250317 174410 worker: -- Security
20250317 174410 worker: --
20250317 174410 worker: Web SSH server:    off
20250317 174410 worker: XSS detection:     off
20250317 174410 worker: HTTPS mode:        available
20250317 174410 worker: --
20250317 174410 worker: -- Peripherals
20250317 174410 worker: --
20250317 174411 worker: Local display:   off
20250317 174411 worker: Chromium ver:    126.0.6478.164-rpt1
20250317 174411 worker: Chromium cfg:    directory ok
20250317 174411 worker: Screen blank     600
20250317 174411 worker: On-screen kbd:   off
20250317 174411 worker: Disable GPU:     off
20250317 174411 worker: HDMI orient:     landscape
20250317 174411 worker: HDMI 4K 60Hz:    off
20250317 174411 worker: DSI scn type:    none
20250317 174411 worker: DSI port:        1
20250317 174411 worker: DSI brightness:  255
20250317 174411 worker: DSI rotate:      0
20250317 174411 worker: Rotary encoder:  off
20250317 174411 worker: Triggerhappy:    off
20250317 174411 worker: LCD updater:     off
20250317 174411 worker: --
20250317 174411 worker: -- Miscellaneous
20250317 174411 worker: --
20250317 174411 worker: Software update:   Automatic check off
20250317 174411 worker: Auto-CoverView:    off
20250317 174411 worker: CoverView timeout: Never
20250317 174411 worker: Auto-shuffle:      off
20250317 174411 worker: Auto-play:         off
20250317 174411 worker: Maintenance task:  360 mins
20250317 174411 worker: Current view:      reset to Playback
20250317 174411 worker: Active flags:      all false
20250317 174411 worker: Reset flags:       skipped
20250317 174411 worker: Session check:     ok
20250317 174411 worker: --
20250317 174411 worker: -- Startup complete
20250317 174411 worker: --
20250317 174411 worker: Mount monitor:    started
20250317 174411 worker: Radio monitor:    off
20250317 174411 worker: Watchdog monitor: started
20250317 174411 worker: Responsiveness:   Default
20250317 174411 worker: Ready


Attached Files
.zip   moode.log.zip (Size: 2.74 KB / Downloads: 3)
Reply
#2
For logs the best is to copy/paste into a code box when you create or edit the post. The button is on the right side of the toolbar. To get the toolbar when creating a new thread or post click Preview.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
What model DAC is it?

The symptom "Unfortunately, each one seems to only last about a day (though occasionally up to 4 days) before it becomes unreachable and requires a hardware restart to work again." suggests a network issue.

The way to troubleshoot this is to connect an Ethernet cable to one of the Pi's that becomes unreachable and see if that allows you to connect via the WebUI. If you can connect over Ethernet then maybe examining some logs via SSH will reveal some clues as to what might have happened.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#4
It looks like a DHCP lease time to me...
Reply
#5
By default

- Before a DHCP lease expires, the client sends a request to the DHCP server to renew the lease
- If DHCP server is not available the client keeps trying until the lease expires and then it either keeps the IP address or it reverts to requesting a new IP address. It does this until the DHCP server comes back online and can service the request.

Typically the DHCP server is a service running on a residential Router and so no DHCP prolly means the Router has crashed or was turned off.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#6
DAC is a HiFiBerry AMP4.

Tim, can you provide more information on connecting an ethernet cable? If you mean "connect it to the router" I'll have to think on how to do so; the equipment is a bit stuck in place. If you mean "connect a laptop to the pi directly" then I don't get an IP from the pi.

One other option I'm considering is overheating. It's a pi5 + the amp4 in a case with decent airflow but it's still noticeably warm (not hot) to the touch after a couple of hours, and the pi has no heat sync on it. What are the odds that's it?
Reply
#7
Yes, run an Ethernet cable from Router to Pi.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#8
@taynaron

Quote:I'll have to think on how to do so; the equipment is a bit stuck in place


I've used Powerline Networking several times to deal with situations where I couldn't simply run an Ethernet cable from point A to point B.

TP-Link and Netgear both make great products but there may be others. You need a minimum of two adapters' depending on the product you may be able to interconnect more. Try your favorite search engine.

Regards,
Kent
Reply


Forum Jump: