mpd broken in Volumio 2.5.26

Get help for Volumio here!

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.

mpd broken in Volumio 2.5.26

Postby prof » Sun Jan 13 2019 05:07

At least on the Raspberry Pi, mpd fails to launch with the latest Volumio. A little digging reveals

Code: Select all
$ sudo systemctl status mpd.service -l
● mpd.service - Music Player Daemon
   Loaded: loaded (/lib/systemd/system/mpd.service; enabled)
   Active: failed (Result: exit-code) since Sun 2019-01-13 04:51:30 UTC; 42s ago
     Docs: man:mpd(1)
           man:mpd.conf(5)
  Process: 1501 ExecStart=/usr/bin/mpd --no-daemon (code=exited, status=127)
 Main PID: 1501 (code=exited, status=127)

Jan 13 04:51:30 living-room mpd[1501]: /usr/bin/mpd: error while loading shared libraries: libbcm_host.so: cannot open shared object file: No such file or directory
Jan 13 04:51:30 living-room systemd[1]: mpd.service: main process exited, code=exited, status=127/n/a
Jan 13 04:51:30 living-room systemd[1]: Failed to start Music Player Daemon.
Jan 13 04:51:30 living-room systemd[1]: Unit mpd.service entered failed state.


The solution turns out to be

Code: Select all
$ sudo ln -s /opt/vc/lib/libbcm_host.so  /usr/lib/
$ sudo reboot


I guess it's time for another update?
Random avatar
prof
Serious Listener
Serious Listener
 
Posts: 72
Joined: Thu Feb 09 2017 16:06

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.


mpd broken in Volumio 2.5.26

Postby michelangelo » Sun Jan 13 2019 11:28

Hi prof,
could you please share some more info on your system:
- PI model
- Plugin installed
- Did you update or flash from new?
- Did you install\upgrade stuff manually from SSH?

From our tests it works just fine, so must be something else that we need to find out

addendum: we had a similar issue, but just because he manually upgraded mpd:
tidal-with-myvolumio-playing-wrong-track-t11453.html#p59433

thanks
User avatar
michelangelo
Founder
 
Posts: 4214
Joined: Sun Dec 15 2013 23:18


mpd broken in Volumio 2.5.26

Postby prof » Sun Jan 13 2019 19:08

could you please share some more info on your system:
- PI model


Pi3 B

- Plugin installed


None.

- Did you update or flash from new?


This was an update from the previous release (2.5.22 ?).

- Did you install\upgrade stuff manually from SSH?


Yes, but not mpd and certainly nothing that would have touched /usr/lib/libbcm_host.so .

Can you confirm that that shared library is actually present in a vanilla installation of 2.5.26?
Random avatar
prof
Serious Listener
Serious Listener
 
Posts: 72
Joined: Thu Feb 09 2017 16:06


mpd broken in Volumio 2.5.26

Postby prof » Sun Jan 13 2019 21:13

Hmmm. Actually, now I'm a little puzzled. On two different Pi3 B's, both running Volumio 2.5.26, I get two different responses to

Code: Select all
$ apt list |grep mpd\/now


What response should I get?
Random avatar
prof
Serious Listener
Serious Listener
 
Posts: 72
Joined: Thu Feb 09 2017 16:06


mpd broken in Volumio 2.5.26

Postby michelangelo » Sun Jan 13 2019 22:26

0.20.18
User avatar
michelangelo
Founder
 
Posts: 4214
Joined: Sun Dec 15 2013 23:18


mpd broken in Volumio 2.5.26

Postby prof » Mon Jan 14 2019 05:53

0.20.18


Well, that's not literally the response. When I do it, I get

mpd/now 0.20.6-1 armhf [installed,local]


apt update says

Code: Select all
...
112 packages can be upgraded. Run 'apt list --upgradable' to see them.


But mpd is not one of them:

Code: Select all
$ apt list --upgradable |grep mpd


yields nothing (indicating that apt thinks that 0.20.6-1 is the latest available). Indeed, that's confirmed by looking at /var/lib/apt/lists/archive.volumio.org_raspbian_dists_jessie_main_binary-armhf_Packages which says

Code: Select all
Package: mpd
Version: 0.19.1-1.1
Architecture: armhf
Maintainer: mpd maintainers <pkg-mpd-maintainers@lists.alioth.debian.org>
Installed-Size: 838
Depends: ...


Note the keyword "local" in the response to apt list. If I understand correctly, that means that mpd was not downloaded from your apt repositories, but was a "locally-installed" package.

Note that mine is an upgrade, not a new install. Is it possible that mpd is not getting upgraded by the upgrader? That seems to be the case: the older my Volumio installation, the older the version of mpd that is installed, even though both have been "upgraded" to Volumio 2.5.26.
Random avatar
prof
Serious Listener
Serious Listener
 
Posts: 72
Joined: Thu Feb 09 2017 16:06


mpd broken in Volumio 2.5.26

Postby michelangelo » Mon Jan 14 2019 09:57

dist-upgrade is known to break volumio.

And yes, if you accidentaly overwrote mpd, this manually updated version will stick even with updates ;)

How to fix it: system -> delete user data
User avatar
michelangelo
Founder
 
Posts: 4214
Joined: Sun Dec 15 2013 23:18


mpd broken in Volumio 2.5.26

Postby hunsra » Mon Jan 14 2019 14:28

Hi,

I had the same MPD issue with the latest Volumio (2.526) on Raspberry Pi. It turned out to be due to me having previously upgraded the entire set of packages using "sudo apt-get upgrade". This somehow broke compatibility with the newer version of MPD included in the new Volumio release. I resolved the issue by recreating my Volumio install with the official image from the Volumio website. Everything is working well now, including Tidal playback, which I was previously having issues with.

Thanks,
Randy
User avatar
hunsra
Fresh off the boat
Fresh off the boat
 
Posts: 8
Joined: Wed Jan 02 2019 00:35


mpd broken in Volumio 2.5.26

Postby prof » Tue Jan 15 2019 07:48

The output of

Code: Select all
$ apt list --installed |grep "mpd\/now"


turns out to be a complete red-herring. It does reflect the orginal version of mpd installed with the initial installation of Volumio 2.x (and differs between my RPi's which were commissioned at different times).

But it has nothing to do with the actual version of mpd currently on the machine:
Code: Select all
$ mpd --version
Music Player Daemon 0.20.18 (128d910-dirty)
...


My original bug report stands, though (before I got confused about what version of mpd I had). mpd 0.20.18 failed to start because of the aforementioned missing shared library. After adding an appropriate soft-link, it works fine.
Random avatar
prof
Serious Listener
Serious Listener
 
Posts: 72
Joined: Thu Feb 09 2017 16:06


mpd broken in Volumio 2.5.26

Postby Fosphatic Duke » Wed Jan 23 2019 17:06

prof wrote:The output of

Code: Select all
$ apt list --installed |grep "mpd\/now"


turns out to be a complete red-herring. It does reflect the orginal version of mpd installed with the initial installation of Volumio 2.x (and differs between my RPi's which were commissioned at different times).

But it has nothing to do with the actual version of mpd currently on the machine:
Code: Select all
$ mpd --version
Music Player Daemon 0.20.18 (128d910-dirty)
...


My original bug report stands, though (before I got confused about what version of mpd I had). mpd 0.20.18 failed to start because of the aforementioned missing shared library. After adding an appropriate soft-link, it works fine.


Same happened to me, thanks for the solution. Updated all of my 3 devces, PI zero update to latest version went fine, but on Pi3 B+ same thing as you mentioned. No errors due updating were shown.

Regards,

Fossy
User avatar
Fosphatic Duke
Fresh off the boat
Fresh off the boat
 
Posts: 6
Joined: Fri Aug 31 2018 16:25

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 8 guests