Announcement

Collapse
No announcement yet.

How do you uninstall a plugin without the web UI (Linux)?

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • How do you uninstall a plugin without the web UI (Linux)?

    > i downloaded this version : Logitech Media Server: Debian Installer
    > Package (i386, x86_64, ARM EABI,
    > PowerPC) logitechmediaserver_7.9.2~1573685519_all.deb
    > installed it and it works !!!!


    You could have chosen the ARM only build - it's much smaller and should
    have all you need.

    > I was previously on 7.9.1.


    Yeah, that wouldn't work.

    Have fun!

    --

    Michael

  • #2
    How do you uninstall a plugin without the web UI (Linux)?

    Hi all,

    I've asked this already in the ickStream termination thread, but it's gathered almost zero traction so I thought I'd try here. Basically, I'm pretty sure that the termination of the ickStream service is killing my LMS (7.9.1). However, as I can't connect via the web UI, I'm not sure exactly what I need to do to get rid of the suspect ickStream plugin. Before, I start randomly deleting anything named ickStream from my Ubuntu (17.10) server, It'd be nice to know how this should actually be done. Anyone done this?

    Thanks in advance,

    Loz

    Comment


    • #3
      How do you uninstall a pluginwithout the web UI (Linux)?

      > I've asked this already in the ickStream termination thread, but it's
      > gathered almost zero traction so I thought I'd try here. Basically, I'm
      > pretty sure that the termination of the ickStream service is killing my
      > LMS (7.9.1). However, as I can't connect via the web UI, I'm not sure
      > exactly what I need to do to get rid of the suspect ickStream plugin.


      Did you try to start LMS with --failsafe, which would disable the 3rd
      party plugins?

      --

      Michael
      Michael

      "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
      (LMS: Settings/Information)

      Comment


      • #4
        I hadn't. Is the syntax?:

        service logitechmediaserver restart --failsafe

        I just did this, no improvement, but server.log didn't say that it had started in failsafe mode, so I'm not sure it actually did anything.

        server.log output:

        2019-06-03 14:12:24 squeezeboxserver_safe stopped.
        [19-06-03 14:12:24.2889] Slim::Utils::Misc::msg (1250) Warning: [14:12:24.2880] Unable to read prefs from /var/lib/squeezeboxserver/prefs/plugin/audioscrobbler.prefs : Can't call method "savenow" on an undefined value at /usr/share/perl5/Slim/Utils/Prefs.pm line 626.

        [19-06-03 14:12:25.3182] Slim::Utils::PluginManager::load (393) Warning: Couldn't call Slim::Plugin::FullTextSearch::Plugin->initPlugin: Can't call method "func" on an undefined value at /usr/share/perl5/Slim/Utils/SQLiteHelper.pm line 356.
        [19-06-03 14:12:25.6992] Slim::Utils::PluginManager::load (393) Warning: Couldn't call Slim::Plugin::UPnP::Plugin->initPlugin: DBIx::Class::Storage:BI::__ANON__(): DBI Exception: DBD::SQLite::db selectall_arrayref failed: attempt to prepare on inactive database handle [for Statement "
        SELECT dlna_profile, content_type, samplerate, channels
        FROM tracks
        WHERE audio = 1
        "] at /usr/share/perl5/Slim/Plugin/UPnP/MediaServer/ConnectionManager.pm line 172
        [19-06-03 14:12:26.0835] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
        [19-06-03 14:12:26.0906] Slim::Utils::PluginManager::shutdownPlugins (418) Warning: error running Slim::Plugin::UPnP::Plugin->shutdownPlugin: Can't locate object method "shutdown" via package "Slim::Plugin::UPnP::MediaRenderer" at /usr/share/perl5/Slim/Plugin/UPnP/Plugin.pm line 58.
        2019-06-03 14:12:54 squeezeboxserver_safe started.
        [19-06-03 14:12:58.5696] main::init (387) Starting Logitech Media Server (v7.9.1, 1520781386, Sun Mar 11 18:29:15 CET 2018) perl 5.026000 - x86_64-linux-gnu-thread-multi
        Last edited by loz2103; 2019-06-03, 14:18.

        Comment


        • #5
          How do you uninstall a pluginwithout the web UI (Linux)?

          > I hadn't. Is the syntax?:
          >
          > service logitechmediaserver restart --failsafe


          No, you'd have to add it to the startup parameters (sometimes defined in
          something like /etc/defaults/logitechmediaserver or the like, or the
          startup script itself).

          --

          Michael
          Michael

          "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
          (LMS: Settings/Information)

          Comment


          • #6
            Success! Thanks Michael.

            So edited /etc/default/logitechmediaserver to look like this:

            SLIMUSER=squeezeboxserver

            SLIMOPTIONS="--failsafe"


            Restarted using:

            service logitechmediaserver restart

            Went to plugins uninstalled ickStream. Then put startup file back to SLIMOPTIONS="", restarted again and all is working again. Yay!

            Comment


            • #7
              How do you uninstall a pluginwithout the web UI (Linux)?

              > So edited /etc/default/logitechmediaserver to look like this:
              >
              > SLIMUSER=squeezeboxserver
              >
              > SLIMOPTIONS="--failsafe"
              >
              > Restarted using:
              >
              > service logitechmediaserver restart
              >
              > Went to plugins uninstalled ickStream. Then put startup file back to
              > SLIMOPTIONS="", restarted again and all is working again. Yay!


              Great summary - thanks a lot!

              --

              Michael
              Michael

              "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
              (LMS: Settings/Information)

              Comment


              • #8
                Had the exact same issue, but removed the plug-in directly on the server connected through SCP.
                Just took a little while actually locating the right folder under CACHE (Synology)

                Comment


                • #9
                  Tested on RPI

                  Originally posted by loz2103
                  Success! Thanks Michael.

                  So edited /etc/default/logitechmediaserver to look like this:

                  SLIMUSER=squeezeboxserver

                  SLIMOPTIONS="--failsafe"


                  Restarted using:

                  service logitechmediaserver restart

                  Went to plugins uninstalled ickStream. Then put startup file back to SLIMOPTIONS="", restarted again and all is working again. Yay!
                  The proposed solution works well on Raspberry too (raspbian)

                  Thanks

                  Comment


                  • #10
                    Originally posted by loz2103
                    Success! Thanks Michael.

                    So edited /etc/default/logitechmediaserver to look like this:

                    SLIMUSER=squeezeboxserver

                    SLIMOPTIONS="--failsafe"


                    Restarted using:

                    service logitechmediaserver restart

                    Went to plugins uninstalled ickStream. Then put startup file back to SLIMOPTIONS="", restarted again and all is working again. Yay!
                    Hi. Probably having the same problem with my vortexbox, but I’m not that familiar with SSH. I’m able to login to the VB with Putty, but which commands should I use to replicate your steps to put LmS in failsafe mode?

                    Comment


                    • #11
                      How do you uninstall a pluginwithout the web UI (Linux)?

                      > Hi. Probably having the same problem with my vortexbox, but I’m not that
                      > familiar with SSH. I’m able to login to the VB with Putty, but which
                      > commands should I use to replicate your steps to put LmS in failsafe
                      > mode?


                      Would you be able to install the latest nightly build from
                      http://downloads-origin.slimdevices....htly/?ver=7.9? Earlier this
                      week I did apply a change which might help with some connectivity
                      issues. I'm not sure whether the IckStream issue is the same, but it
                      might be worth a try (and easier than working on the command line).

                      --

                      Michael
                      Michael

                      "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
                      (LMS: Settings/Information)

                      Comment


                      • #12
                        Originally posted by mherger
                        > Hi. Probably having the same problem with my vortexbox, but I’m not that
                        > familiar with SSH. I’m able to login to the VB with Putty, but which
                        > commands should I use to replicate your steps to put LmS in failsafe
                        > mode?


                        Would you be able to install the latest nightly build from
                        http://downloads-origin.slimdevices....htly/?ver=7.9? Earlier this
                        week I did apply a change which might help with some connectivity
                        issues. I'm not sure whether the IckStream issue is the same, but it
                        might be worth a try (and easier than working on the command line).

                        --

                        Michael
                        Michael - thanks for your reply. Figured it out myself. Logged on via Putty and was able to find the plug-in folder and deleted it with some Linux commands, see my post here:https://forums.slimdevices.com/showt...166&highlight=

                        Comment


                        • #13
                          Hi,
                          i have the same issue but it doesn't work for me.
                          I installed the logitechmediaserver version 7.9.1 on a raspberry pi 4 Model B running with Raspbian Buster (version Raspbian Buster with desktop and recommended software).
                          I edited the file \etc\default\logitechmediaserver and added "--failsafe" but it didn't solve the issue.
                          I still have ERR_CONNECTION_REFUSED when i enter <ip address of raspberry>:9000 in my web brower on my PC.
                          I tried on the raspberry with the same result.
                          Do you have any idea ? I 'm turning around.
                          thanks for your help
                          Tout ce que vous avez voulu savoir sur les black sessions est sur http://www.blacksessions.fr.

                          Squeezebox Duet (3) / Squeezebox Radio (4) / LMS on Synology DS211j / Deezer

                          Comment


                          • #14
                            How do you uninstall a pluginwithout the web UI (Linux)?

                            > I edited the file \etc\default\logitechmediaserver and added
                            > "--failsafe" but it didn't solve the issue.
                            > I still have ERR_CONNECTION_REFUSED when i enter <ip address of
                            > raspberry>:9000 in my web brower on my PC.


                            Is LMS even running? Check server.log

                            --
                            --

                            Michael
                            Michael

                            "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
                            (LMS: Settings/Information)

                            Comment


                            • #15
                              Hello,
                              Thanks a lot for your answer.
                              I can see Squeezebox server running (by using top command line - if it's the right way...).
                              Could you please help me to find server.log on Raspbian ? I don't know where to find it. As you can see, I'm not very comfortable with Raspbian. I just installed it for the first time few days ago.
                              Tout ce que vous avez voulu savoir sur les black sessions est sur http://www.blacksessions.fr.

                              Squeezebox Duet (3) / Squeezebox Radio (4) / LMS on Synology DS211j / Deezer

                              Comment

                              Working...
                              X
                              😀
                              🥰
                              🤢
                              😎
                              😡
                              👍
                              👎