Announcement

Collapse
No announcement yet.

Can't Access LMS Using Browser

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can't Access LMS Using Browser

    Hello there,

    I've been using LMS with Picore Player for a couple of years and have been blown away by how good it is. I've had the odd hiccup along the way but I've usually managed to get it sorted through using these forums.

    Today however my Chromecast audio stopped showing as an available player. I uninstalled the Castbridge plugin with a view to reinstalling it but after this I can't now access LMS using either Chrome or Firefox.

    I can see the Picore Player landing page using my usual IP address but as soon as I try the LMS page I can't connect.

    The Picore Player address is http://192.168.68.123/cgi-bin/main.cgi

    My usual LMS page is: http://192.168.68.123:9000/material/

    I can see my library using the Orange Squeeze and Squeezer Android apps bit I'm unable to get into the plugin settings.

    ​I've tried different browsers on different devices and reset my router but still get the same results.

    Any ideas before I reinstall LMS on my Raspberry Pi?

    Thanks in advance!

    #2
    From the pCP LMS page you can access the LMS logs ... there might be a clue in there.
    Does that page say that LMS is running?
    LMS is running though ... otherwise the mobile phone apps would not be able to see the library (unless they cache it - I don't know if they do).
    Paul Webster
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

    Comment


      #3
      You have rebooted pCP, right?
      Usually running latest beta LMS nightly on Raspberry Pi OS with virtual players (Squeezelite and Airplay bridge). Occasionally using SB Radio, Boom or Classic.

      Comment


        #4
        Hi Paul,

        First of all, I've just seen you're the author of many of the radio plugins I use, thank you so much for them!

        Secondly, yes LMS is running according to the pCP page.

        I don't seem to be able to see the logs from earlier today when the problem started. I did update to a newer version earlier this evening but that was after the problem started.

        Comment


          #5
          Originally posted by RobbH View Post
          You have rebooted pCP, right?
          I have.... Many times today unfortunately!

          Comment


            #6
            Originally posted by Saracen119 View Post
            The Picore Player address is http://192.168.68.123/cgi-bin/main.cgi
            My usual LMS page is: http://192.168.68.123:9000/material/
            Did you also try http://192.168.68.123:9000? You should then get LMS with default skin. Maybe the material plugin has been removed by accident.
            Or just click LMS at the very top line of the pCP landing page.
            Last edited by CJS; 2023-01-29, 22:38.
            | LMS 8.3.2 on Linux Mint | Squeezebox Boom | RPi0W + pCP 8.2.0 + HiFiBerry DAC Zero | ESP Muse Luxe |

            Comment


              #7
              Originally posted by CJS View Post
              Did you also try http://192.168.68.123:9000? You should then get LMS with default skin.
              Or just click LMS at the very top line of the pCP landing page.
              No, still getting the same result trying both of those methods unfortunately.

              Comment


                #8
                I'm essentially getting the following message in my browser window:

                This site can’t be reached192.168.68.123 refused to connect. Try:

                Checking the connection
                ERR_CONNECTION_REFUSED

                Comment


                  #9
                  Originally posted by Saracen119 View Post
                  I'm essentially getting the following message in my browser window:

                  This site can’t be reached192.168.68.123 refused to connect. Try:

                  Checking the connection
                  ERR_CONNECTION_REFUSED
                  make sure you enter http://192 etc your browser will default to https if you don’t specify it

                  Jim



                  VB2.4 storage QNAP TS419p (NFS)
                  Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
                  Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
                  Dining Room SB Radio
                  Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
                  Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
                  Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes

                  Comment


                    #10
                    Originally posted by d6jg View Post

                    make sure you enter http://192 etc your browser will default to https if you don’t specify it
                    Thank you Jim, I've tried that too.

                    I'm thinking a full reinstallation might be the only way forward... Unless anyone has any other ideas?

                    Comment


                      #11
                      Definitely the correct sequence of numbers in the address? I thought these were usually 192.168.1.nnn. not always of course. I'm an expert at reading what I think is there and not the actual characters
                      Nicholas

                      RPi4 / piCorePlayer v8.2.0 /Logitech Media Server Version: 8.3.1/ Hifiberry Digi+
                      3 Chromecast (2 mini x1 Chromecast Audio) 2 UPNP devices
                      also use a Gramofon off platform

                      Comment


                        #12
                        Originally posted by Saracen119 View Post
                        I'm thinking a full reinstallation might be the only way forward... Unless anyone has any other ideas?
                        The symptoms that you experience seem to indicate that the LMS part of pCP is corrupted. If I were you I would indeed consider a full reinstallation, including a reformat of your SD card.

                        Tip: When after a full reinstallation you have a working system again, make a backup of your SD card in the form of a disk image. For making a disk image I use a program called Win32 Disk Imager. To limit the size of the image use option "Read Only Allocated Partitions", see screenshot below.

                        Click image for larger version

Name:	W32DiskImager_Read_pCP_SDcard.png
Views:	157
Size:	24.1 KB
ID:	1628581

                        | LMS 8.3.2 on Linux Mint | Squeezebox Boom | RPi0W + pCP 8.2.0 + HiFiBerry DAC Zero | ESP Muse Luxe |

                        Comment


                          #13
                          Originally posted by CJS View Post
                          The symptoms that you experience seem to indicate that the LMS part of pCP is corrupted. If I were you I would indeed consider a full reinstallation, including a reformat of your SD card.

                          Tip: When after a full reinstallation you have a working system again, make a backup of your SD card in the form of a disk image. For making a disk image I use a program called Win32 Disk Imager. To limit the size of the image use option "Read Only Allocated Partitions", see screenshot below.

                          Click image for larger version

Name:	W32DiskImager_Read_pCP_SDcard.png
Views:	157
Size:	24.1 KB
ID:	1628581
                          Ah well, I was hoping it wouldn't come to it but a full reinstall is probably the best move but not the end of the world.

                          Would I be right in saying if I copy my Favourites file I can paste this into me fresh installation so I don't have to put them all in again?

                          Thank you all for the swift replies, really appreciate it. Looking forward to getting everything back up and running soon.

                          Comment


                            #14
                            Originally posted by Saracen119 View Post
                            Would I be right in saying if I copy my Favourites file I can paste this into me fresh installation so I don't have to put them all in again?
                            Yes, that should be possible. I do this occasionally for offline editing of the favorites.opml file. After overwriting the favorites.opml file LMS should be restarted to pick up the changes. I know how to do this for my LMS running on Linux Mint, but not for LMS running on pCP. So you need to figure this out first.

                            EDIT: I just had a look at the pCP help pages. You can start, stop and restart LMS from the pCP LMS page. The safest way for inserting your favorites.opml file would be to stop LMS, then copy your favorites.opml file to the correct location, and then restart LMS.
                            Last edited by CJS; 2023-01-30, 12:46.
                            | LMS 8.3.2 on Linux Mint | Squeezebox Boom | RPi0W + pCP 8.2.0 + HiFiBerry DAC Zero | ESP Muse Luxe |

                            Comment


                              #15
                              I have had to rebuild pcp and LMS a few times in the past. I also maintain 2 systems that I keep identical, but they are 250 miles away. I (as many do) use Samba to be able to create my mounted pcp drives as a network location. I regularly backup favorites.opml to my PC for this reason. Yes, you can replace the favorites file when the system is idle, and (I think) if you back out, then back in to favorites, they are updated.

                              There has been discussion in the past that you can copy the entire \slimserver\ folder, but Michael mherger has cautioned against copying cache. There is an old thread that it's ok if you change a couple entries in a couple files (I can dig it up if desired).

                              But, what I do before a rebuild (very old school) is take screen shots of my plugin page, and my podcasts list. I think I can save my podcast list but I haven't bothered.

                              Then I might look through the LMS settings to see if there is something I changed from default and note it (like persistent mode).

                              My system is very simple, this might not work for everyone.

                              Jim

                              Comment

                              Working...
                              X