Thank you for your donation!


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


Problem: Web interface won't play anything
#1
Hey all,

Since yesterday the web interface suddenly stops working. It loads perfectly fine, everything looks normal. But I can't play anything. Yesterday I fixed it by updating from 7.2.0 to 7.3.0 and reboot. But today it's happening again. 

I've enabled debug logging and I see the following:
 
Code:
20210707 075148 worker: -- Start
20210707 075149 worker: Successfully daemonized
20210707 075149 worker: Integrity check (passed)
20210707 075149 worker: File check (OK)
20210707 075150 worker: Session vacuumed
20210707 075150 worker: Session loaded
20210707 075150 worker: Debug logging (OFF)
20210707 075150 worker: -- Audio debug
20210707 075150 worker: ALSA cards: (0:sndrpihifiberry | 1:empty | 2:empty | 3:empty
20210707 075150 worker: MPD config: (0:HiFiBerry Digi+ Pro | mixer:(none) | card:0)
20210707 075150 worker: ALSA mixer actual (none)
20210707 075150 worker: ALSA volume (none)
20210707 075150 worker: -- System
20210707 075151 worker: Host     (woonkamer)
20210707 075151 worker: moOde    (7.3.0 2021-06-25)
20210707 075151 worker: RaspiOS  (10.6)
20210707 075151 worker: Kernel   (5.4.77-v7l+ #1371)
20210707 075151 worker: Platform (Pi-4B 1.4 2GB)
20210707 075151 worker: ARM arch (armv7l, 32-bit kernel)
20210707 075151 worker: MPD ver  (0.22.8_p0x3)
20210707 075151 worker: CPU gov  (ondemand)
20210707 075151 worker: USB boot not available
20210707 075151 worker: File system expanded
20210707 075151 worker: HDMI port off
20210707 075151 worker: -- Network
20210707 075151 worker: eth0 exists
20210707 075151 worker: IP addr (192.168.1.151)
20210707 075151 worker: Netmask (255.255.255.0)
20210707 075151 worker: Gateway (192.168.1.1)
20210707 075151 worker: Pri DNS (192.168.1.1)
20210707 075151 worker: Domain  (qube-r.local)
20210707 075152 worker: wlan0 exists
20210707 075152 worker: wifi country (US)
20210707 075152 worker: wlan0 SSID is blank
20210707 075152 worker: eth0 addr exists, AP mode not started
20210707 075152 worker: wlan0 address not assigned
20210707 075152 worker: Pi integrated wlan0 power save disabled
20210707 075152 worker: -- Audio config
20210707 075152 worker: MPD conf updated
20210707 075152 worker: ALSA card number (0)
20210707 075152 worker: MPD audio output (HiFiBerry Digi+ Pro)
20210707 075152 worker: Audio formats (S16_LE, S24_LE)
20210707 075152 worker: ALSA mixer name (none)
20210707 075152 worker: MPD volume control (none)
20210707 075152 worker: Hdwr volume controller not detected
20210707 075152 worker: ALSA output mode (Default: plughw)
20210707 075152 worker: ALSA loopback (Off)
20210707 075152 worker: Reset renderer active flags
20210707 075152 worker: CamillaDSP (off)
20210707 075152 worker: -- MPD startup
20210707 075152 worker: MPD started
20210707 075153 worker: MPD accepting connections
20210707 075153 worker: MPD output 1 ALSA Default (on)
20210707 075153 worker: MPD output 2 ALSA Bluetooth (off)
20210707 075153 worker: MPD output 3 HTTP Server (off)
20210707 075153 worker: MPD crossfade (off)
20210707 075153 worker: MPD ignore CUE files (yes)
20210707 075153 worker: -- Feature availability
20210707 075153 worker: Source select (available)
20210707 075153 worker: Source select (source: MPD)
20210707 075153 worker: Source select (output: HiFiBerry Digi+ Pro)
20210707 075153 worker: Bluetooth (available)
20210707 075153 worker: Airplay renderer (available)
20210707 075153 worker: Spotify renderer (available: started)
20210707 075153 worker: Squeezelite (available)
20210707 075153 worker: RoonBridge renderer (not installed)
20210707 075153 worker: UPnP renderer (available)
20210707 075153 worker: DLNA server (available)
20210707 075153 worker: UPnP browser (available)
20210707 075153 worker: GPIO button handler (available)
20210707 075153 worker: Stream recorder (n/a)
20210707 075153 worker: -- Music sources
20210707 075153 worker: USB sources (none attached)
20210707 075153 worker: NAS and UPnP sources (none configured)
20210707 075153 worker: -- Other
20210707 075153 worker: USB volume knob (Off)
20210707 075153 worker: USB auto-mounter (udisks-glue)
20210707 075153 worker: LED0 (On)
20210707 075153 worker: LED1 (On)
20210707 075153 worker: Saved MPD vol level (0)
20210707 075153 worker: Preamp volume level (0)
20210707 075153 worker: MPD volume level (0) restored
20210707 075153 worker: ALSA volume level (None)
20210707 075153 worker: Auto-play (On)
20210707 075153 worker: Auto-playing id (1)
20210707 075153 worker: Maintenance interval (3 hours)
20210707 075153 worker: Screen saver activation (Never)
20210707 075153 worker: Session permissions (OK)
20210707 075153 worker: Watchdog started
20210707 075153 worker: Ready
20210708 073648 waitWorker(): Start (sys-config, w_active=0)
20210708 073648 waitWorker(): End   (sys-config, w_active=0)
20210708 073721 openMpdSocket(): error: connection failed (1) 110, Connection timed out
20210708 073722 openMpdSocket(): error: connection failed (1) 110, Connection timed out
20210708 073726 openMpdSocket(): error: connection failed (1) 110, Connection timed out
20210708 073752 openMpdSocket(): error: connection failed (2) 110, Connection timed out
20210708 073753 openMpdSocket(): error: connection failed (2) 110, Connection timed out
20210708 073756 openMpdSocket(): error: connection failed (2) 110, Connection timed out
20210708 073815 moode.php: MPD connect failed: cmd=(lsinfo)
20210708 073815 moode.php: MPD connect failed: cmd=(loadlib)
20210708 073821 moode.php: MPD connect failed: cmd=(play_item)
20210708 073823 openMpdSocket(): error: connection failed (3) 110, Connection timed out
20210708 073823 openMpdSocket(): error: connection failed (3) 110, Connection timed out
20210708 073827 openMpdSocket(): error: connection failed (3) 110, Connection timed out
20210708 073832 openMpdSocket(): error: connection failed (1) 110, Connection timed out
20210708 073853 openMpdSocket(): error: connection failed (4) 110, Connection timed out
20210708 073854 openMpdSocket(): error: connection failed (4) 110, Connection timed out
20210708 073857 openMpdSocket(): error: connection failed (4) 110, Connection timed out
20210708 073902 openMpdSocket(): error: connection failed (2) 110, Connection timed out
20210708 073908 command/index: Connection to MPD failed
20210708 073924 openMpdSocket(): error: connection failed (5) 110, Connection timed out
20210708 073924 openMpdSocket(): error: connection failed (5) 110, Connection timed out
20210708 073928 openMpdSocket(): error: connection failed (5) 110, Connection timed out
20210708 073933 openMpdSocket(): error: connection failed (3) 110, Connection timed out
20210708 073954 openMpdSocket(): error: connection failed (6) 110, Connection timed out
20210708 073955 moode.php: MPD connect failed: cmd=(loadlib)
20210708 073955 openMpdSocket(): error: connection failed (6) 110, Connection timed out
20210708 073955 moode.php: MPD connect failed: cmd=(lsinfo)
20210708 073958 openMpdSocket(): error: connection failed (6) 110, Connection timed out
20210708 073959 moode.php: MPD connect failed: cmd=(play_item)
20210708 074003 openMpdSocket(): error: connection failed (4) 110, Connection timed out
20210708 074034 openMpdSocket(): error: connection failed (5) 110, Connection timed ou

Could the MPD have crashed? How can I check this?
Thanks!
Reply
#2
MPD crash is highly abnormal.

This command will return a number if it's running.
Code:
pgrep mpd

This command will print some status info on MPD
Code:
systemctl status mpd
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
Yep, it has been running without any issues for months, but then it seems to have crashed twice within 48 hours, without any changes (except for the update, but I performed it after the first crash).

Anyway, thanks for the info. If it happens again (hopefully not ?) I'll check & post the logs!
Reply
#4
Same. I'm unable to play anything other than Spotify anymore. There has not been an update. All I'm getting is 



Code:
20220126 173648 moode.php: MPD connect failed: cmd=(loadlib)
20220126 173648 moode.php: MPD connect failed: cmd=(lsinfo)
20220126 173649 openMpdSocket(): error: connection failed (6) 110, Connection timed out
20220126 173649 readMpdResponse(): error: fgets failure ()

Moode 7.6.1 on Rpi2
Reply
#5
Reboot and post the entire Moode startup log

Code:
moodeutl -l
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: