DietPi & LMS dont work this morning

Hello,

I’m using DietPi & LMS which was upgraded to v9.5 a few days ago.

This morning I turned on my RPi5 and LMS was telling me that the player was not working (squeezelite links with my audio amplifier) ??

I tried everything to make it work without success ;-( I had to resoft my disk with a backup…

I saw that Sweezelite was in an old test version (2.0.0-1468) which is unstable ;-(

root@MusicPlayer:~# apt-cache policy squeezelite
squeezelite:
  Installed: 2.0.0-1468-dietpi1
  Candidate: 2.0.0-1468-dietpi1
  Version table:
 *** 2.0.0-1468-dietpi1 500
        500 https://dietpi.com/apt bookworm/main arm64 Packages
        100 /var/lib/dpkg/status
     1.9.9-1414+git20221121.dbe69eb-1 500
        500 https://deb.debian.org/debian bookworm/main arm64 Packages

To ensure stability, I would prefer to use a stable version from Debian (1.9.9-1414) or the recent version 2.0.0-1488 which provides a fix for certain web radios in Flac and their metadata in OggFlac format.

https://tracker.debian.org/pkg/squeezelite

Best regards.

What about

apt install squeezelite=1.9.9-1414

Yes right, It would also be necessary to change the priority of this package 1.9.9-1414 to more than 500 to avoid that in case of update the 2.0.0-1468 is reinstalled :wink:

For the moment I’m staying in version 2.0.0-1468 to see if the problem reoccurs or not. I’ll let you know if I have any problems again.

i also have to restart squeezelite frequently because it stops working with no reason
i tried the version 1.9.9-1414 but it doesn’t start.
so we are stuck with 2.0.0-1468 unless we have an update

1 Like

I hope DietPi will quickly upgrade to Sqeezelite version 2.0.0-1488 to solve this… :slight_smile:

Sqeezelite version 2.0.0-1468 is not a stable version ;-(

Do you listen to Flac radio stations like Sin Sing Bis, Sun Radio, or The Cheese ?

At the moment there is a bug with some radio stations, as soon as he changes music, the new metadata crashes LMS / Sqeezelite ;-(

you can download the new squeezelite from sourceforge and copy the file to the folder /bin

https://sourceforge.net/projects/lmsclients/files/squeezelite/linux/

here is the commands bellow,
notice that i use squeezelite armhf, for your system you need aarch64 i think

sudo systemctl stop squeezelite
sudo cp -p /bin/squeezelite /bin/squeezelite-backup
wget https://sourceforge.net/projects/lmsclients/files/squeezelite/linux/squeezelite-ffmpeg-2.0.0.1486-armhf.tar.gz
tar -xvzf squeezelite-ffmpeg-2.0.0.1486-armhf.tar.gz
sudo cp -p /root/squeezelite /bin/squeezelite
sudo systemctl start squeezelite

and if you want to revert :

sudo systemctl stop squeezelite
sudo cp -p /bin/squeezelite-backup /bin/squeezelite
sudo systemctl start squeezelite

A few days ago I enabled the testing repository on my RPi5 and then tried to install squeezelite 2.0.0-1488+git20240509.0e85ddf-1

apt update && apt install -t unstable squeezelite
Hit:1 https://deb.debian.org/debian bookworm InRelease
Hit:2 https://deb.debian.org/debian bookworm-updates InRelease

Hit:3 https://deb.debian.org/debian-security bookworm-security InRelease
Hit:4 https://deb.debian.org/debian bookworm-backports InRelease

Hit:5 https://deb.debian.org/debian unstable InRelease
Hit:6 https://dietpi.com/apt bookworm InRelease
Hit:7 https://archive.raspberrypi.com/debian bookworm InRelease
Hit:8 https://dietpi.com/apt all InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
471 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
squeezelite : Depends: libavcodec60 (>= 7:6.0)
 Depends: libavformat60 (>= 7:6.0)
E: Unable to correct problems, you have held broken packages.

After discussing with the package maintainer he advised me to go directly to download it from :

https://tracker.debian.org/pkg/squeezelite

The result this time was that squeezelite claims the dependency libopusfile0 (>= 0.5)

root@MusicPlayer:/var/lib/squeezeboxserver/cache/updates# dpkg -i squeezelite_2.0.0-1488+git20240509.0e85ddf-1_arm64.deb
(Reading database ... 39669 files and directories currently installed.)
Preparing to unpack squeezelite_2.0.0-1488+git20240509.0e85ddf-1_arm64.deb ...
Unpacking squeezelite (2.0.0-1488+git20240509.0e85ddf-1) over (2.0.0-1488+git20240509.0e85ddf-1) ...
dpkg: dependency problems prevent configuration of squeezelite:
 squeezelite depends on libopusfile0 (>= 0.5); however:
 Package libopusfile0 is not installed.

dpkg: error processing package squeezelite (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 squeezelite

In short it doesn’t work yet due to dependency issues.

Importing the binaries like you do is one thing, but after that you still have to compile them for your OS, don’t you think ?

Regards.

no you can download the squeezelite bin from sourceforge, it doesn’t need dependencies
all is already inside (look at the size, it is bigger)
just copy it in /bin

the package from the repo are lighter but need dedendencies

There is only the ARMel version available, no ARM64 version, I don’t know if it will work…

arm64 and aarch64 is the same
but no worries MichaIng said to me by email that he will update the package very soon

Is there a way to find latest “stable” versions? The source repository does not provide releases, but just a single master branch: GitHub - ralph-irving/squeezelite: Lightweight headless squeezebox player for Lyrion Media Server
Also at SourceForge, basically every patch-version increment leads to a new archive: LMS Clients - Browse /squeezelite/linux at SourceForge.net

So to me it seems that also Debian is just pulling latest sources every now and then, and it is hence coincidence which version makes it into Debian stable, unless one causes immediate obvious issues, of course.

I just triggered a rebuild: DietPi-Software build · MichaIng/DietPi@42aec57 · GitHub

If anyone faces issues with software from our APT repo (which have the -dietpiX version suffix), please ping me, or open an issue at GitHub, so I can check and trigger updates ASAP.

ok thank you

Theoretically the latest stable version is squeezelite-2.0.0.1488

The Debian maintainer is a volunteer. In his free time when asked, or when a new version of the OS comming, he takes care of performing upgrades.

Will we get a DietPi update ?

And how do you know that?

That is basically true for all Debian package maintainers, or >90% at least :wink:. No problem with that, I was just wondering whether, or basically doubt that he knows about/pulls “stable” versions, but just pulls the latest master branch when someone asks, or at some point before Debian testing enters freezing stages.

Just done. Please test:

apt update
apt upgrade
1 Like

You are best, thank you very much :slight_smile:

While discussing on the LMS forum, Ralph is one of them.

I did the update I’m sure everything will be fine thanks again !!

Can you share a link, or ask Ralph how distributors can know which version is stable and which version not?

The latest stable version is always the one at the top of this page :

The squeezelite metapackage 2.0.0.1488 proposed on this page is supposed to contain a fix independent of squeezelite for OGG-FLAC web radios whose metadata crashes squeezelite. The patch has been sent to the Flac maintainer who still has to integrate it which will take some time… In the meantime ralph-irving has merged this FLAC fix to the latest squeezelite metapackages he proposes for this page.

So I need to contact him to ask him to kindly create a meta-package squeezelite-2.0.0.1488-aarch64.tar.gz

Next, I think I should apply th2j’s solution.

Hmm, okay, hard to scrape the version string form there, and then another problem is that one cannot really select a version from the GitHub repository, since there are no tags. So it would be required to find the commit which matches the version and then download the source code for the commit. Not really practicable. I did now subscribe to this SourceForge page to get informed about updates. If they do not happen to often, I can trigger a Squeezelite update manually when SourceForge informs me about an update. Should work, if Ralph does not do another commit shortly after SourceForge releases.

The fix is contained in our build as well then, so no need to manually download binaries.

This is a patch for flac that is supposed to be in the squeezelite-2.0.0.1488 metapackage on source forge.

But he didn’t release an ARM64 (aarch64) version. So I asked him to do it.

After the DietPi update you just did, squeezelite should be more stable, thank you, but sadly the FLAC-OGG radio station bug is still there unfortunately.