LMS inactive status

Creating a bug report/issue

Required Information

  • DietPi version | cat /boot/dietpi/.version
    G_DIETPI_VERSION_CORE=8
    G_DIETPI_VERSION_SUB=19
    G_DIETPI_VERSION_RC=1
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’
    G_LIVE_PATCH_STATUS[0]=‘applied’
    G_LIVE_PATCH_STATUS[1]=‘applied’
    G_LIVE_PATCH_STATUS[2]=‘not applicable’

  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
    bookworm 0

  • Kernel version | uname -a
    Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux

  • Architecture | dpkg --print-architecture
    arm64

  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
    RPi 4 Model B (aarch64)

  • Power supply used | (EG: 5V 1A RAVpower)
    5V / 2.4A

  • SD card used | (EG: SanDisk ultra)
    SanDisk Ultra 32G

Additional Information (if applicable)

  • Software title | (EG: Nextcloud)
    LMS (logitechmediaserver)

  • Was the software title installed freshly or updated/migrated?
    installed freshly

  • Can this issue be replicated on a fresh installation of DietPi?
    Yes

← If you sent a “dietpi-bugreport”, please paste the ID here →

  • Bug report ID | echo $G_HW_UUID
    d118c24c-f026-42ac-a5dc-c4ab473197f8

Steps to reproduce

Expected behaviour

Actual behaviour

Extra details

Hi, @Joulinar
I just installed Dietpi on my RPi4 (RAM 1Gb) and I can’t start LMS either. In dietpi-servisec i see LMS has be status “inactive”. I am an inexperienced Linux user, tell me, is there a simple solution to this problem? Here is my log:

Спойлер
root@DietPi:~# journalctl -u logitechmediaserver
systemctl status logitechmediaserver
Jul 28 14:34:51 DietPi systemd[1]: Started logitechmediaserver.service - Logitech Media Server.
Jul 28 14:34:52 DietPi squeezeboxserver[559]: The following modules failed to load: DBI EV XML::Parser::Expat HTML::Parser JSON::XS Digest::SHA1 YAML::XS Sub::Name
Jul 28 14:34:52 DietPi squeezeboxserver[559]: This is perl 5, version 36, subversion 0 (v5.36.0) built for aarch64-linux-gnu-thread-multi
Jul 28 14:34:52 DietPi squeezeboxserver[559]: (with 52 registered patches, see perl -V for more detail)
Jul 28 14:34:52 DietPi squeezeboxserver[559]: Copyright 1987-2022, Larry Wall
Jul 28 14:34:52 DietPi squeezeboxserver[559]: Perl may be copied only under the terms of either the Artistic License or the
Jul 28 14:34:52 DietPi squeezeboxserver[559]: GNU General Public License, which may be found in the Perl 5 source kit.
Jul 28 14:34:52 DietPi squeezeboxserver[559]: Complete documentation for Perl, including FAQ lists, should be found on
Jul 28 14:34:52 DietPi squeezeboxserver[559]: this system using "man perl" or "perldoc perl".  If you have access to the
Jul 28 14:34:52 DietPi squeezeboxserver[559]: Internet, point your browser at https://www.perl.org/, the Perl Home Page.
Jul 28 14:34:52 DietPi squeezeboxserver[559]: *******
Jul 28 14:34:52 DietPi squeezeboxserver[559]: NOTE:
Jul 28 14:34:52 DietPi squeezeboxserver[559]: If you're running some unsupported Linux/Unix platform, please use the buildme.sh
Jul 28 14:34:52 DietPi squeezeboxserver[559]: script located here:
Jul 28 14:34:52 DietPi squeezeboxserver[559]: https://github.com/Logitech/slimserver-vendor/tree/public/8.3/CPAN
Jul 28 14:34:52 DietPi squeezeboxserver[559]: If 8.3 is outdated by the time you read this, Replace "8.3" with the major version
Jul 28 14:34:52 DietPi squeezeboxserver[559]: You should never need to do this if you're on Windows or Mac OSX. If the installers
Jul 28 14:34:52 DietPi squeezeboxserver[559]: don't work for you, ask for help and/or report a bug.
Jul 28 14:34:52 DietPi squeezeboxserver[559]: *******
Jul 28 14:34:52 DietPi squeezeboxserver[559]:
Jul 28 14:34:52 DietPi squeezeboxserver[559]: Exiting..
Jul 28 14:34:52 DietPi systemd[1]: logitechmediaserver.service: Deactivated successfully.
○ logitechmediaserver.service - Logitech Media Server
     Loaded: loaded (/lib/systemd/system/logitechmediaserver.service; enabled; preset: enabled)
     Active: inactive (dead) since Fri 2023-07-28 14:34:52 BST; 1h 10min ago
   Duration: 816ms
    Process: 559 ExecStart=/usr/sbin/squeezeboxserver --prefsdir $PREFSDIR --logdir $LOGDIR --cachedir $CACHEDIR --charset $CHARSET $SLIMOPTIONS (code=exited, status=0/SUCCESS)
   Main PID: 559 (code=exited, status=0/SUCCESS)
        CPU: 283ms

Jul 28 14:34:52 DietPi squeezeboxserver[559]: If you're running some unsupported Linux/Unix platform, please use the buildme.sh
Jul 28 14:34:52 DietPi squeezeboxserver[559]: script located here:
Jul 28 14:34:52 DietPi squeezeboxserver[559]: https://github.com/Logitech/slimserver-vendor/tree/public/8.3/CPAN
Jul 28 14:34:52 DietPi squeezeboxserver[559]: If 8.3 is outdated by the time you read this, Replace "8.3" with the major version
Jul 28 14:34:52 DietPi squeezeboxserver[559]: You should never need to do this if you're on Windows or Mac OSX. If the installers
Jul 28 14:34:52 DietPi squeezeboxserver[559]: don't work for you, ask for help and/or report a bug.
Jul 28 14:34:52 DietPi squeezeboxserver[559]: *******
Jul 28 14:34:52 DietPi squeezeboxserver[559]:
Jul 28 14:34:52 DietPi squeezeboxserver[559]: Exiting..
Jul 28 14:34:52 DietPi systemd[1]: logitechmediaserver.service: Deactivated successfully.

At the moment LMS is not supported at Debian Bookworm. Debian Bookworm testing · MichaIng/DietPi Wiki · GitHub

Probably we will disable LMS on Bookworm systems for time being. If you like to run LMS, you should look into our Bullseye images.

Done for next release DietPi v8.20: 368aa13

Thanks, I’ll be waiting for v8.20 release.

Probably a misunderstanding. We will disable LMS on next release for Debian Bookworm. If you like to use LMS, you would need to use our Debian Bullseye image.

Really, sorry for my bad English.

I’m just not sure which of the many to choose, this one?

DietPi_RPi-ARMv8-Bullseye.7z

Yes that’s the correct image

Nothing to be sorry about. Feel free to use translation tools like DeepL

1 Like

Would be also good if someone asked Logitech to provide an updated build which supports perl 5.36 :slightly_smiling_face:. Actually on their GitHub repo a new version is visible already, but no deb package is available for it yet: GitHub - Logitech/slimserver: Server for Logitech Squeezebox players. This server is also called Logitech Media Server

Looks like it will be supported on LMS 8.4

Whatever this means on timing :smiley:

I think it’s time to bring back Logitech Media Server to Armv7 running Bookworm. Seems that Perl was added to their 8.3.2 build (Stable Nightly).
https://htmlpreview.github.io/?https://github.com/Logitech/slimserver/blob/public/8.3/Changelog8.html
https://github.com/Logitech/slimserver/issues/891
They added support for Perl 5.36.

Looks like, 8.4 is still in development and has not been released as stable

Technically we don’t need 8.4, the required Perl has been added to the Nightly Stable 8.3.2 on Dec 18. However, if Dietpi requires the release to be in the Github releases, then I understand.

What’s the best way to install this manually? ( is it just follow the lms install guide?)

https://htmlpreview.github.io/?https://github.com/Logitech/slimserver/blob/public/8.3/Changelog8.html

Version 8.3.2

  • Platform Support:
    • #891 - Add Perl 5.36 support for Linux aarch64, armv7.

ok good to know, however we try to get version from My Media - Welcome to mysqueezebox.com! where it is 8.3.1 still. We can enable it as soon as 8.3.2 become available.

Manual install should not be that difficult as we don’t do much steps. Theoretically you can follow it as follows

1 Like

I think since Logitech Media Server is now in the public domain and no longer maintained by Logitech themselves, it makes more sense to watch the community page at

And although I give Logitech credit for keeping mysqueezebox.com alive till now; it is under the mercy of Logitech and since they are not reaping any financial benefits from LMS, it can be shutdown by corporate decree any minute.

Just my thoughts.

let us know if your test succussed using 8.3.2 on Debian Bookworm.

So far so good. Installed easy and after the usermod, I am able to reindex my nas connected music library.
Since I had an older version of LMS installed, I did have to delete the cache db files before I could get a successful reindex of the the Music Library. Warning: This will delete all metadata for existing library!

systemctl stop squeezeboxserver.service
rm -f /var/lib/squeezeboxserver/cache/*db