Thank you for your donation!


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


Problem: [7.6.1] Cannot play from SMB anymore
#1
Hi, suddenly I'm unable to play anything from my Library (Synology via SMB). I'm getting endless loop of these:

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 ()
20220126 173956 waitWorker(): Start (sys-config, w_active=0)
20220126 173956 waitWorker(): End   (sys-config, w_active=0
20220126 180054 enhanceMetadata(): error: currentsong file is NULL
20220126 180119 enhanceMetadata(): error: currentsong file is NULL)

The same files play fine when accessed by my Mac. They also play fine when accessed via Moode's own SMB share (which exposes the original SMB share on the Synology). The files are not newly added nor did permissions change. They did play just fine from Moode a few days ago. This is not after Moode update, SMB access hasn't changed.

What can I do? Rebooting didn't help, mounts are correctly mounted and there's no update. Thanks.
Reply
#2
Symptoms that develop suddenly typically indicate a media or hardware issue. Write a fresh 761 image to a known good SDCard and see if issue reoccurs.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
Looks like that so far, yeah. Thanks!
Reply
#4
Sadly, the issue comes back even with new card. I'm not able to play anything from the moode web UI - it loads but nor SMB fiiles nor radio streams (that play just fine otherwise) ever play. Spotify and Airplay are fine.

Same thing in log as before

Code:
20220128 154806 moode.php: MPD connect failed: cmd=(play_item)
20220128 154833 command/index: Connection to MPD failed
20220128 154943 moode.php: MPD connect failed: cmd=(loadlib)
20220128 154944 moode.php: MPD connect failed: cmd=(lsinfo)
20220128 154949 moode.php: MPD connect failed: cmd=(play_item)
20220128 155038 moode.php: MPD connect failed: cmd=(loadlib)
20220128 155038 moode.php: MPD connect failed: cmd=(lsinfo)
20220128 155041 moode.php: MPD connect failed: cmd=(play_item)
20220128 155045 moode.php: MPD connect failed: cmd=(play_item)
20220128 155153 command/index: Connection to MPD failed
20220128 155245 worker: Job spotifysvc
20220128 155318 worker: Job spotifysvc
20220128 155544 command/index: Connection to MPD failed
20220128 161132 command/index: Connection to MPD failed
20220128 161134 command/index: Connection to MPD failed
All fine after reboot.

Please advise. Thanks.
Reply
#5
it's not obvious to me what might be happening on your end.

Fresh 761 images work just fine for me on all my pi's.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#6
Those "MPD connect failed" messages basically mean the seemingly trivial "telnet localhost 6600" command is failing.

If I try that command from the moOde command line I get

Code:
pi@CM4:~ $ telnet localhost 6600
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
OK MPD 0.23.4

Note that the IPv6 loopback address is tried first. [the localhost addresses are defined in the file /etc/hosts

This has never failed for me either on pure IPv4 networks or on my new, mixed IPv4/IPv6 network, not that I ever expected otherwise.

@Stooovie, I suggest you try this same telnet command to see what response you get.

Regards,
Kent
Reply


Forum Jump: