Home of the Squeezebox™ & Transporter® network music players.
Page 3 of 3 FirstFirst 123
Results 21 to 30 of 30
  1. #21
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    4,056
    Quote Originally Posted by mherger View Post
    What's the roundup here? Is LMS broken on Ubuntu 20.04? If so, would
    anybody know the details about how to fix this?

    An issue has been raised on
    https://github.com/Logitech/slimserver/issues/436.

    --

    Michael
    I run ubuntu 20.04, but always from git and my manually installed systemd service. I also run a custom perl. This is the best way to avoid OS updates from breaking things. Anyway.

    It looks like there are 2 issues in this thread.
    1) Install broken on some systems.
    2) LMS starts before the internet is reachable.

    #2 is a problem we run into on pCP, as network routers are very slow to startup, and pCP is booting in 15-30 seconds. We deal with that by waiting for the time to get set to start LMS. The concern here is there is not a site that is "reachable from everywhere" We use google with pCP, and that fails quite a bit from some parts of the world. So how would we "choose" a common site for a standard install script?

    As for fixing #1 would there be a reason to not convert everything to normal systemd?
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  2. #22
    Senior Member
    Join Date
    May 2010
    Location
    London, UK
    Posts
    802
    Quote Originally Posted by zordaz View Post
    Do you mean that it works fine on your Debian system by default?
    Yes. I've never become aware of a problem in the years that I've run LMS on Debian. Currently running Buster (Debian 10).

  3. #23
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,536

    Logitech Media Server on Ubuntu20.04

    >> I totally am not aware of any scan issues related to that Ubuntu
    >> version. Would you have a link to a related discussion?
    >> Michael

    >
    > This issue is probably not that general and might be related to my own
    > configuration. On the other hand, I tend to use defaults and are having
    > this scan issues on more than one Xubuntu 18.04 (and later)
    > installations.
    > https://forums.slimdevices.com/showt...ems&highlight=


    That discussion is two years old. Are you saying that you've lived with
    a broken scanner for all this time?!?

    If that was a general issue, it would have come up more often and been
    fixed. I'm convinced this is a problem in your configuration or with a
    file of yours. As I said: please provide a scanner.log with more
    information if that's an ongoing issue. But that's probably better dealt
    with in its own thread, as it's different from what was posted initially
    in this one.

    --

    Michael

  4. #24
    Senior Member
    Join Date
    Oct 2013
    Posts
    143
    Quote Originally Posted by mherger View Post
    That discussion is two years old. Are you saying that you've lived with
    a broken scanner for all this time?!?
    Michael
    I did, because the incremental scan is my workaround.
    I will continue in the other thread and post new logfiles (already did that two years ago btw).
    Living Room: HifiBerry DAC+ Pro & piCorePlayer
    Attic: HifiBerry DAC+ RCA & piCorePlayer
    Other rooms: 6x SB Radio
    LMS: Version 8.1.x on Xubuntu 20.04LTS

  5. #25
    Senior Member
    Join Date
    May 2010
    Location
    London, UK
    Posts
    802
    Quote Originally Posted by alex.h View Post
    I Installed it with:

    Code:
    dpkg -i logitechmediaserver_8.0.0_1588799628_all.deb
    I would suggest using a (modern) version of apt to install the package, rather than dpkg. It deals with dependencies, but dpkg doesn't.

    See thread: Debian packages update - Possible dpkg failure https://forums.slimdevices.com/showt...e-dpkg-failure

    Quote Originally Posted by alex.h View Post
    The problem comes with the startup script in /etc/init.d. It simply does not work, as Ubuntu 20.04 does not have the start-stop-daemon any more. It is simply linked to /bin/true which might work for some scripts but does not work for the logitechmediaserver. I tried a C implementation for this program, but it had it hinges so I dropped the start-stop-daemon and modified the startup program arcordingly.
    That's rather curious. start-stop-daemon is provided by package dpkg, which is an 'essential' package in both Debian and Ubuntu. Is Ubuntu 20.04 the same as 'focal' ? If so, it does seem to be included in Ubuntu's dpkg. Refer: https://packages.ubuntu.com/focal/dpkg.

    Which raises a question: how did your system end up with a link to /bin/true ? Is this a known Ubuntu behaviour that is, perhaps, caused by something else ?

    I may be missing something.

  6. #26
    Senior Member
    Join Date
    May 2010
    Location
    London, UK
    Posts
    802
    Quote Originally Posted by mherger View Post
    > 1) Since Upstart and Systemd are used in Debian/Ubuntu, LMS by default
    > is started before the network is up, which causes issues with thinks
    > like online radio stations, Spotify etc. My /etc/rc.local workaround is
    > fine, but not very nice. A structural solution would be better.


    Anybody willing and able to come up with a solution?...
    I think I've tracked this down to the use of the stanza Required-Start: $all in the init script.

    This is a no-op under systemd, but would have the effect of starting LMS as late as possible on the "SysV-style init" used on Debian/Ubuntu. It's never adversely impacted my usage of LMS, but clearly some systems do suffer.

    I've started a thread sytemd service file for LMS, https://forums.slimdevices.com/showt...e-file-for-LMS, with the intention of taking matters forward, if there's any interest.

  7. #27
    Junior Member
    Join Date
    Feb 2020
    Posts
    13
    Quote Originally Posted by TonioRoffo View Post
    With this file, and the one before it, I can start logitechmediaserver but it shuts down every 5 seconds and spawns a new process.

    service logitechmediaserver stop -> stops and disables the web interface
    service logitechmediaserver start -> web interface runs

    However, due to the constant restarts, nothing works, not a single player (all upnp players) are found.

    px aux | grep logitechmediaserver or ps aux | grep squeeze doesn't show any other instances running

    Can't seem to fix this at all.

    Can anyone help me out?

    PS. This behavior is exactly what @alex.h tried to fix.

    thanks
    Did you find a solution to this? I have the same issue. What I find odd is that I had no issues on Ubuntu 12.04 desktop on x86 or pi4 but I have the issue with Arm64 Server on Pi.

  8. #28
    Senior Member kappclark's Avatar
    Join Date
    Apr 2009
    Location
    Southern VT, USA
    Posts
    195
    Quote Originally Posted by Shart View Post
    Did you find a solution to this? I have the same issue. What I find odd is that I had no issues on Ubuntu 12.04 desktop on x86 or pi4 but I have the issue with Arm64 Server on Pi.
    I can confirm that version Logitech Media Server Version: 8.0.0 - 1605892076 @ Fri Nov 20 21:27:07 CET 2020 works in Ubuntu 20.04 (focal)

    (FWIW - Ubuntu is running as a VM with music files on a Freenas box)

    with SSH, I did an in place upgrade from 16.04 -> 18.04 Then I did same for an upgrade to 20.04..

    after reboot, went to /var/lib/squeezeboxserver/cache and did a wget

    wget http://downloads.slimdevices.com/Log....0.0_amd64.deb

    Finally using duo remote I did factory restore, setup wireless and voila ! Shortcuts etc still there ..

    Thanks to this awesome forum for the help ...
    ----------------------------------------------
    Bill Clark, Windham, VT
    Logitech Media Server Version: 8.1.1 - 1610364019 @ Thu Jan 14 06:22:21 CET 2021
    Hostname: ubuntu-lms - ProxMox Virtual Environment 5.4-3 | Ubuntu 20.04 focal
    piCorePlayer v6.0.0 | piCore v10.3pCP | Squeezelite v1.9.6-1206-pCP
    -----------------------------------------------

  9. #29
    Junior Member
    Join Date
    Oct 2014
    Posts
    11
    Same here. I have a headless ubuntu server, starting like 2009 and since then upgrading from LTS to LTS, now its 20.04.

    Similar, i run squeezeboxserver on it, also since like 2009, which now was upgraded from 7.9.1 to the nightly build v8.0.1, 1608617100 in 64bit, installed with dpkg -i and the all-debian file. Giving that "dpkg"-command in a SSH-shell was the only thing I had to do after upgrading ubuntu itself with the usual do-release-upgrade. I even had that guide with the init.d-script already ready in my browser but didn't need it after all.

    So far, it works perfekt and feels almost like the 7.9.1 I ran before. Since I use radios, the server showed me that mini how-to regarding installing the "version fix patch" on them, which also worked withouth issues.

    Thx for your work!
    Norfolk

  10. #30
    Senior Member kappclark's Avatar
    Join Date
    Apr 2009
    Location
    Southern VT, USA
    Posts
    195
    Merry Christmas - I just did the latest 8.1 update without any 'issues'....
    Many Thanks, as always

    Name:  natkingcole.png
Views: 264
Size:  186.4 KB
    ----------------------------------------------
    Bill Clark, Windham, VT
    Logitech Media Server Version: 8.1.1 - 1610364019 @ Thu Jan 14 06:22:21 CET 2021
    Hostname: ubuntu-lms - ProxMox Virtual Environment 5.4-3 | Ubuntu 20.04 focal
    piCorePlayer v6.0.0 | piCore v10.3pCP | Squeezelite v1.9.6-1206-pCP
    -----------------------------------------------

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •