Connection to MPD failed - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: Connection to MPD failed (/showthread.php?tid=1357) |
Connection to MPD failed - christopherr - 05-08-2019 Problem: After a power outage, Moode Fails to load library with error Connection to MPD failed. Moode version 5.1 I thought this might be an issue because I was using MPD 0.21, however I reverted to 0.20 and the issue still occurs consistently after power outages. I think it might be related to the fact that my NAS is still booting when Moode starts. I cannot access the library config pages either. Rebooting the pi over ssh does not help either. This was not an issue with Moode 4.X. Any help for debugging? Update: Code: # service mpd status RE: Connection to MPD failed - Tim Curtis - 05-08-2019 What does log output show? cat /var/log/moode.log cat /var/log/mpd/log RE: Connection to MPD failed - TheOldPresbyope - 05-08-2019 @christopherr How long did you wait after rebooting? When I tried to repro your problem by turning off a NAS which was mounted in moOde r5.1 running on an RPi3B+ and rebooting moOde, I first saw what you report: unresponsive UI and identical service report but after some time more than 1 second and less than a minute (I wasn't watching the clock), the UI came alive and the service report showed mpd was active. Regards, Kent RE: Connection to MPD failed - christopherr - 05-08-2019 (05-08-2019, 02:37 PM)Tim Curtis Wrote: What does log output show? cat /var/log/moode.log Code: 20190508 091222 worker: - Start cat /var/log/mpd/log => empty RE: Connection to MPD failed - Tim Curtis - 05-08-2019 You got bit by the Integrity check :-0 Send me a PM and I'll explain how to deal with it. RE: Connection to MPD failed - Tenbagger - 05-12-2019 I have a similar problem after installing 5.2 (used 5.0). UI is sluggish. The Library tab gives error message "lib-config: Connection to MPD failed". Status on MPD is inactive (dead), with the message "CPU scheduling priority is out of range, ignoring: 43". This is the output from cat /var/log/moode.log: 20190512 171136 worker: - Start 20190512 171136 worker: Successfully daemonized 20190512 171324 lib-config: Connection to MPD failed 20190512 171954 command/moode: Connection to MPD failed 20190512 171957 command/moode: Connection to MPD failed 20190512 172003 command/moode: Connection to MPD failed 20190512 172006 command/moode: Connection to MPD failed 20190512 172011 command/moode: Connection to MPD failed 20190512 172014 command/moode: Connection to MPD failed 20190512 172136 command/moode: Connection to MPD failed 20190512 172139 command/moode: Connection to MPD failed RE: Connection to MPD failed - Tim Curtis - 05-12-2019 Log shows a 2 minute gap between the two records below. There is nothing in the code that would account for that so I'd suggest starting with a fresh SDCard and then boot up and examine the log before making any configuration changes. 20190512 171136 worker: Successfully daemonized 20190512 171324 lib-config: Connection to MPD failed RE: Connection to MPD failed - Paulnd - 05-12-2019 Hi, I have a similar problem after updating to 5.2 this error repeats every few seconds in the daemon log and syslog May 12 18:26:12 moode systemd[1]: Started Music Player Daemon. May 12 18:26:12 moode mpd[10931]: exception: unrecognized parameter in config file at line 27: replay_gain_handler May 12 18:26:12 moode systemd[1]: mpd.service: Main process exited, code=exited, status=1/FAILURE May 12 18:26:12 moode systemd[1]: mpd.service: Unit entered failed state. May 12 18:26:12 moode systemd[1]: mpd.service: Failed with result 'exit-code'. RE: Connection to MPD failed - Tenbagger - 05-12-2019 (05-12-2019, 05:24 PM)Tim Curtis Wrote: Log shows a 2 minute gap between the two records below. There is nothing in the code that would account for that so I'd suggest starting with a fresh SDCard and then boot up and examine the log before making any configuration changes. Thanks! Right away. RE: Connection to MPD failed - Tim Curtis - 05-12-2019 (05-12-2019, 05:31 PM)Paulnd Wrote: Hi, Post contents pf moode.log cat /var/log/moode.log |