Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25
  1. #11
    Senior Member
    Join Date
    May 2010
    Location
    London, UK
    Posts
    402
    Have you inadvertently mucked around with /usr/sbin/squeezeboxserver_safe or /etc/init.d/logitechmediaserver or something else ?

    This makes no sense to me:

    CGroup: /system.slice/logitechmediaserver.service
    ├─2885 /bin/bash /usr/sbin/squeezeboxserver_safe /usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir /var/log/squeezeboxserver/ --cachedir /var/lib/squeezeboxserver/cache --charset=utf8
    └─2887 /usr/bin/perl /usr/sbin/squeezeboxserver /usr/sbin/squeezeboxserver /usr/sbin/squeezeboxserver /usr/sbin/squeezeboxserver /usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir /var/log/squeezebox
    It should be looking like this:

    CGroup: /system.slice/logitechmediaserver.service
    ├─2885 /bin/bash /usr/sbin/squeezeboxserver_safe /usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir /var/log/squeezeboxserver/ --cachedir /var/lib/squeezeboxserver/cache --charset=utf8
    └─2887 /usr/bin/perl /usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir /var/log/squeezeboxserver/ --cachedir /var/lib/squeezeboxserver/cache --charset=utf8
    Well, it does on my debian box. Where do all those /usr/sbin/squeezeboxserver arguments come from ?

    All a bit muddling, really.

  2. #12
    Member
    Join Date
    Jan 2009
    Location
    Nuremberg, Germany
    Posts
    33
    Quote Originally Posted by mrw View Post
    Have you inadvertently mucked around with /usr/sbin/squeezeboxserver_safe or /etc/init.d/logitechmediaserver or something else ?

    This makes no sense to me:



    It should be looking like this:



    Well, it does on my debian box. Where do all those /usr/sbin/squeezeboxserver arguments come from ?

    All a bit muddling, really.
    I completely agree now that I see your output. No, I certainly didn't fiddle with those files. Looks like a pending clean install to me, to be honest ... Do you have any good resources on how to properly install LMS on Raspbian?
    I used these:
    1. http://downloads.slimdevices.com/nightly/?ver=7.9
    2. https://www.hagensieker.com/wordpress/2018/06/12/302/


    Now - I'm not sure that I installed the LMS service TWICE according to the last link (it has you dpkg -i the LMS package and then asks you to install LMS as a service via sudo systemctl enable squeezelite.service - whereas other tutorials skip the installation as service and simply suggest that it's already installed as a service per dpkg -i.

    Am I guessing right?

  3. #13
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    2,919
    Quote Originally Posted by mi6 View Post
    Looks like a pending clean install to me, to be honest ... Do you have any good resources on how to properly install LMS on Raspbian?

    This is my routine based on the Wiki for a debian install. I use it on Raspbian Buster Desktop and Lite.

    It is supposed to be a script but I have found that breaking it down into sections works well.

    You can copy and paste each section.

    atb

    ronnie




    1)

    Code:
    sudo apt -y install libio-socket-ssl-perl lame
    Press Enter

    2)

    Code:
    os=$(dpkg --print-architecture)
    
    if [ "$os" = "armhf" ]; then os=arm; fi
    
    url="http://www.mysqueezebox.com/update/?version=7.9.2&revision=1&geturl=1&os=deb$os"
    
    latest_lms=$(wget -q -O - "$url")
    Press Enter

    3)

    Code:
    mkdir sources
    
    cd sources
    Press Enter

    4)

    Code:
    wget $latest_lms
    
    lms_deb=${latest_lms##*/}
    
    sudo dpkg -i $lms_deb
    Press Enter

    5)

    Code:
    sudo apt -f install
    Press Enter

    6)

    Code:
    Sudo reboot
    Press Enter


    Edit:

    After discussion further down the thread $os is back in line
    Last edited by Man in a van; 2019-12-02 at 02:10.

  4. #14
    Senior Member
    Join Date
    May 2010
    Location
    London, UK
    Posts
    402
    Quote Originally Posted by mi6 View Post
    Do you have any good resources on how to properly install LMS on Raspbian?
    Here’s how I install a downloaded LogitechMediaServer Debian ‘deb’ package on a Debian-like system:

    https://forums.slimdevices.com/showt...ure&highlight=

    I imagine that you will want to download the ‘nightly’ arm package.

    The installation process will automatically ‘enable’ the LMS service. LMS has an init.d style start up script, systemd knows how to handle these, and it should just work.

    I don’t know about Squeezelite. That is entirely separate from LMS. Do not confuse the two.

    The second link you provided seems to finish up with how to download and install Squeezelite. I see that it has you create a squeezelite.service unit file, which you then ‘enable’ under systemd so that it starts up automatically. That sounds sensible to me. I’m sure there’s a Squeezelite / Raspbian ‘how to’ elsewhere in the forum. But, to re-iterate, this is Squeezelite, not LogitechMediaServer.

  5. #15
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,326

    LMS restart error: Found left-over process441 (squeezeboxserve)

    > url="http://www.mysqueezebox.com/update/?version=7.9.2&revision=1&geturl=1&os=deb$os"

    That $os at the end is unnecessary.


    --

    Michael

  6. #16
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    2,919
    Thanks Michael, I have removed it.


    Cheers


    ronnie

  7. #17
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    2,919
    @mi6

    This is a good "how to" for Squeezelite.

    You can change the download for a later one from Ralphy if you wish.

    http://www.gerrelt.nl/RaspberryPi/wordpress/tutorial-installing-squeezelite-player-on-raspbian/





    ronnie

  8. #18
    Member
    Join Date
    Jan 2009
    Location
    Nuremberg, Germany
    Posts
    33
    Hi @all,

    I'm feeling a little stupid to have kept you busy with this. A simple apt-get purge and dpkg -i did the trick. Everything works now. I don't know what was wrong - I guess I might have installed LMS via Raspbian GUI and a second time via dpkg/repo. Might have been a duplicate installation thus.

    However, the script for OS dependent installation works great - I tried it.

    Thank you for taking time for this issue.

  9. #19
    Senior Member
    Join Date
    Sep 2005
    Posts
    2,848
    Quote Originally Posted by mherger View Post
    > url="http://www.mysqueezebox.com/update/?version=7.9.2&revision=1&geturl=1&os=deb$os"

    That $os at the end is unnecessary.


    --

    Michael
    Really????

    it was there to only download THAT version you really need instead of downloading and installing the all.deb with ~140 mb it only downloads and installs something like a 43 mb Package if using a 64bit debian.

    http://wiki.slimdevices.com/index.ph...88&oldid=14087

  10. #20
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,326

    LMS restart error: Found left-over process441 (squeezeboxserve)

    >> url="http://www.mysqueezebox.com/update/?version=7.9.2&revision=1&geturl=1&os=deb$os"
    >>
    >> That $os at the end is unnecessary.

    >
    > Really????


    Yes. I guess it's a left-over from some copy/paste job: the URL as
    stored in the code would use the variable $os to add the os parameter.

    > it was there to only download THAT version you really need instead of
    > downloading and installing the all.deb with ~140 mb it only downloads
    > and installs something like a 43 mb Package if using a 64bit debian.


    That would be the architecture part, rather than the OS. And that would
    never be the literal $os.

    > http://wiki.slimdevices.com/index.ph...88&oldid=14087


    You should update that page.

    --

    Michael

Posting Permissions

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