Thank you for your donation!


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


Connection to MPD failed
#11
Apologies for the delay

Code:
20190512 163148 worker: - Start
20190512 163148 worker: Successfully daemonized
20190512 163148 worker: Integrity check (warning: rc.local)
20190512 163148 worker: Integrity check (passed with warnings)
20190512 163148 worker: ALSA volume set to (0%)
20190512 163148 worker: Session loaded
20190512 163148 worker: Debug logging (off)
20190512 163148 worker: - Platform
20190512 163150 worker: Rel  (Moode 5.1 2019-04-22)
20190512 163150 worker: Upd  (None)
20190512 163150 worker: Rasp (9.6)
20190512 163150 worker: Kern (4.19.30-v7+)
20190512 163150 worker: MPD  (0.21.6)
20190512 163150 worker: Host (moode)
20190512 163150 worker: Hdwr (Pi-3B 1GB v1.2)
20190512 163150 worker: Arch (armv7l)
20190512 163150 worker: Gov  (performance)
20190512 163150 worker: USB boot not enabled yet
20190512 163150 worker: File system expanded
20190512 163150 worker: HDMI port off
20190512 163150 worker: File check ok
20190512 163150 worker: - Network
20190512 163150 worker: eth0 exists
20190512 163150 worker: eth0 (192.168.1.133)
20190512 163150 worker: wlan0 exists
20190512 163150 worker: wifi country (GB)
20190512 163150 worker: wlan0 trying SSID (PD_Network)
20190512 163150 worker: wlan0 (192.168.1.134)
20190512 163151 worker: - Audio
20190512 163151 worker: IQaudIO Pi-DigiAMP+ unmuted
20190512 163151 worker: ALSA card number (0)
20190512 163151 worker: Audio output (I2S audio device)
20190512 163151 worker: Audio device (IQaudIO Pi-DigiAMP+)
20190512 163151 worker: ALSA mixer name (Digital)
20190512 163151 worker: MPD volume control (software)
20190512 163151 worker: Hdwr volume controller exists
20190512 163151 worker: Chip options (Burr Brown TAS5756)
20190512 163151 worker: - Services
20190512 163151 worker: Reset renderer active state
20190512 163151 worker: MPD conf updated
20190512 163151 worker: MPD started
20190512 163152 worker: MPD accepting connections
20190512 163152 worker: Configure MPD outputs
20190512 163152 worker: MPD output 1 ALSA default (off)
20190512 163152 worker: MPD output 2 ALSA crossfeed (off)
20190512 163152 worker: MPD output 3 ALSA parametric eq (off)
20190512 163152 worker: MPD output 4 ALSA graphic eq (on)
20190512 163152 worker: MPD output 5 ALSA polarity inversion (off)
20190512 163152 worker: MPD output 6 ALSA bluetooth (off)
20190512 163152 worker: MPD output 7 HTTP stream (off)
20190512 163152 worker: MPD crossfade (off)
20190512 163152 worker: Audio source (Local)
20190512 163152 worker: Output device (Local)
20190512 163152 worker: GPIO button handler started
20190512 163152 worker: - Music sources
20190512 163152 worker: USB sources (none attached)
20190512 163152 worker: NAS sources (none configured)
20190512 163152 worker: - Miscellaneous
20190512 163152 worker: MPD volume level (20) restored
20190512 163152 worker: ALSA volume level (100%)
20190512 163152 worker: Auto-play is off
20190512 163152 worker: Maintenance interval (21600)
20190512 163152 worker: Screen saver activation (Never)
20190512 163152 worker: Watchdog started
20190512 163152 worker: Ready
20190512 163304 worker: Job gpio_svc
20190512 163814 worker: Job gpio_svc
20190512 163832 worker: Job gpio_svc
20190512 164041 worker: Job gpio_svc
20190512 164059 worker: Job gpio_svc
20190512 164212 worker: Job gpio_svc
20190512 170129 worker: Job gpio_svc
20190512 170147 worker: Job installupd
20190512 170147 updater: Downloading update package r51
20190512 170151 updater: Start 2019-05-07 update for moOde 5.1
20190512 170151 updater: ** Version check
20190512 170151 updater: ** Step 1-5: SQL updates
20190512 170152 updater: ** Step 2-5: Binary updates
20190512 170152 updater: ** Step 3-5: Code and Config updates
20190512 170153 updater: ** Step 4-5: Linux kernel update
20190512 170230 updater: ** Step 5-5: Syncing changes to disk
20190512 170230 updater: Update installed, REBOOT required
20190512 175537 watchdog: MPD restarted (check syslog for errors)
20190512 175543 watchdog: MPD restarted (check syslog for errors)
20190512 175549 watchdog: MPD restarted (check syslog for errors)
20190512 175555 watchdog: MPD restarted (check syslog for errors)
20190512 175602 watchdog: MPD restarted (check syslog for errors)
20190512 175608 watchdog: MPD restarted (check syslog for errors)
20190512 175614 watchdog: MPD restarted (check syslog for errors)
20190512 175620 watchdog: MPD restarted (check syslog for errors)
20190512 175626 watchdog: MPD restarted (check syslog for errors)
20190512 175628 command/moode: Connection to MPD failed
20190512 175631 command/moode: Connection to MPD failed
20190512 175632 watchdog: MPD restarted (check syslog for errors)
Reply
#12
You need to reboot after the update is installed.

20190512 170230 updater: Update installed, REBOOT required
20190512 175537 watchdog: MPD restarted (check syslog for errors)
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#13
ok, the restart button didn't actually reboot the raspberry, I had to disconnect and reconnect power. All working now, thanks.
Reply
#14
It would be interesting to find out why reboot didn't work but in any case glad to hear it's working :-)
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#15
I've also run into this problem.
Reboot or power cycle don't seem to work.

Moode.log
Code:
20191023 095632 worker: - Start
20191023 095633 worker: Successfully daemonized
20191023 095633 worker: Integrity check (failed)
20191023 095633 worker: Exited
20191023 100544 moode.php: MPD connect failed: cmd=(lsinfo)
20191023 100544 moode.php: MPD connect failed: cmd=(lsinfo)
20191023 100545 moode.php: MPD connect failed: cmd=(loadlib)
20191023 100745 moode.php: MPD connect failed: cmd=(lsinfo)
20191023 100745 moode.php: MPD connect failed: cmd=(lsinfo)
20191023 100746 moode.php: MPD connect failed: cmd=(loadlib)

Service mpd status
Code:
mpd.service - Music Player Daemon
  Loaded: loaded (/lib/systemd/system/mpd.service; disabled; vendor preset: enabled)
  Active: inactive (dead)

Oct 23 10:08:11 moode systemd[1]: /lib/systemd/system/mpd.service:8: CPU scheduling priority is out of range, ignoring: 43
Oct 23 10:11:01 moode systemd[1]: /lib/systemd/system/mpd.service:8: CPU scheduling priority is out of range, ignoring: 43
Oct 23 10:17:03 moode systemd[1]: /lib/systemd/system/mpd.service:8: CPU scheduling priority is out of range, ignoring: 43

Any ideas on how to fix this?

Thanks
JB
Reply
#16
It looks like your configuration is broken due to modified core files. The log should show "Integrity check (passed)"

20191023 095633 worker: Integrity check (failed)
20191023 095633 worker: Exited
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#17
That's interesting, i just got the Allo USBridge signature which came with Moode pre-installed (version 6.1.0)
All I did was expand the file system, then rebooted and ran apt-get update && apt-get upgrade from the command line.
There were a whole bunch of updates, which apparently also broke things...

I'll start from scratch with a new image.

JB
Reply
#18
For sure apt-get update && apt-get upgrade from the 6.1.0 release will cause a lot of breakage. IIRC it installs updates to PHP and its configuration files which overwrite the configs that moOde uses thus causing the Integrity check to fail.

Just use the current 6.3.0 image from moodeaudio.org. It has full support for the SIG including the enhanced driver and is built using the latest release of Raspbian Buster Lite (2019-09-26).
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#19
Yep, did a fresh install of Moode 6.3.0 and everything works fine.

Thanks!
JB
Reply
#20
What's the way to fix this breakage? Certainly I can't reinstall the OS everytime I want to update things.
Reply


Forum Jump: