Announcement

Collapse
No announcement yet.

Forbidden: settings/index.html

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Forbidden: settings/index.html

    I upgraded to logitechmediaserver_7.9.1~1516346293_all.deb on my ReadyNAS, and I no longer can get into my LMS settings. Neither from my PC (which is - like my ReadyNAS wired to the router), nor from my iPad (which is connected wirelessly).

    Since I only have one router, I would assume all devices are on the same network.

    One thing to note is that when I installed the later version yesterday, I was able to access the settings. When I booted both my ReadyNAS and PC this morning, I no longer could access the settings.

    I reverted back to an older build (logitechmediaserver_7.9.1~1515216179_all.deb) and all works perfectly fine again.

    Thank you in advance for any guidance on this.
    Last edited by Supertramp; 2018-01-21, 08:23.

  • #2
    Forbidden: settings/index.html

    > I upgraded to logitechmediaserver_7.9.1~1516346293_all.deb on my
    > ReadyNAS, and I no longer can get into my LMS settings. Neither from my
    > PC (which is - like my ReadyNAS wired to the router), nor from my iPad
    > (which is connected wirelessly).
    >
    > Since I only have one router, I would assume all devices are on the same
    > network.


    Uh... oh... that doesn't sound good. Could you please give some more
    information:

    - IP of your router
    - IP of your LMS server
    - IP of your client trying to access LMS
    - what exact error message do you get trying to access the settings?


    --

    Michael
    Michael

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

    Comment


    • #3
      Thanks Michael for your prompt reply. Good to see we are in the same time zone, eh even the same country :-)

      Pls find the requested info below:

      - IP of your router: 192.168.1.1
      - IP of your LMS server: (ReadyNAS wired) 192.168.1.4
      - IP of your client trying to access LMS: (PC wired) 192.168.1.3
      - IP of your client trying to access LMS: (iPad wifi) 192.168.1.12
      - what exact error message do you get trying to access the settings? Forbidden: settings/index.html

      Thank you for your support.

      Comment


      • #4
        I am sure Michael is already thinking this way, but it seems likely your router is configured to "route" all packets even internally on the 192.168.1 network. You may have a setting in the router that says "allow lan clients to talk to each other". Tick it.


        Transcoded from Matt's brain by Tapatalk
        --
        Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with Debian+LMS 7.9.0
        Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k albums..

        Comment


        • #5
          I'm using a Netgear Orbi RBK50, checked the admin pages but could not find a setting that looks like that. Please also bear in mind that when I installed the latest version yesterday (with the PC and ReadyNAS running since then) it worked fine. Only after booting the PC and ReadyNAS this morning, I no longer can get into the settings.
          Last edited by Supertramp; 2018-01-21, 09:16.

          Comment


          • #6
            Forbidden: settings/index.html

            Try to restart just LMS. Oh, and please check server.log to see whether there‘s some information about this (http://yourserver:9000/server.log)
            Last edited by mherger; 2018-01-21, 09:51.
            Michael

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

            Comment


            • #7
              Ok. Let me install the latest build again and see if that works. Will get back to you in a few minutes.

              Comment


              • #8
                Just reinstalled logitechmediaserver_7.9.1~1516346293_all.deb and I can access the Settings page.

                Now I will shutdown and boot both my PC and ReadyNAS and see what happens.......

                Comment


                • #9
                  I just rebooted my PC and ReadyNAS and now I no longer can access the Settings: 403 Forbidden: settings/index.html

                  Comment


                  • #10
                    Server.log says:

                    (name, namesort, namesearch, musicbrainz_id)
                    VALUES
                    (?, ?, ?, ?)
                    "]
                    [18-01-21 10:52:37.2496] Slim::Schema::Storage::throw_exception (122) Backtrace:

                    frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/Slim/Schema/Storage.pm line 122)
                    frame 1: Slim::Schema::Storage::throw_exception (/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 1007)
                    frame 2: DBIx::Class::Storage:BI::__ANON__ (/usr/share/perl5/Slim/Schema/Contributor.pm line 159)
                    frame 3: Slim::Schema::Contributor::add (/usr/share/perl5/Slim/Schema.pm line 2911)
                    frame 4: Slim::Schema::_mergeAndCreateContributors (/usr/share/perl5/Slim/Schema.pm line 1603)
                    frame 5: Slim::Schema::_newTrack (/usr/share/perl5/Slim/Schema.pm line 1847)
                    frame 6: Slim::Schema::updateOrCreateBase (/usr/share/perl5/Slim/Schema.pm line 1711)
                    frame 7: Slim::Schema::updateOrCreate (/usr/share/perl5/Slim/Formats/Playlists/Base.pm line 54)
                    frame 8: Slim::Formats::Playlists::Base::_updateMetaData (/usr/share/perl5/Slim/Formats/Playlists/M3U.pm line 182)
                    frame 9: Slim::Formats::Playlists::M3U::_item (/usr/share/perl5/Slim/Formats/Playlists/M3U.pm line 145)
                    frame 10: Slim::Formats::Playlists::M3U::read (/usr/share/perl5/Slim/Player/Playlist.pm line 1102)
                    frame 11: Slim::Player::Playlist::loadClientPlaylist (/usr/share/perl5/Slim/Player/Client.pm line 571)
                    frame 12: Slim::Player::Client::startup (/usr/share/perl5/Slim/Player/Player.pm line 113)
                    frame 13: Slim::Player::Player::init (/usr/share/perl5/Slim/Player/SqueezePlay.pm line 128)
                    frame 14: Slim::Player::SqueezePlay::init (/usr/share/perl5/Slim/Networking/Slimproto.pm line 1152)
                    frame 15: Slim::Networking::Slimproto::_hello_handler (/usr/share/perl5/Slim/Networking/Slimproto.pm line 410)
                    frame 16: Slim::Networking::Slimproto::client_readable (/usr/share/perl5/Slim/Networking/IO/Select.pm line 123)
                    frame 17: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 119)
                    frame 18: Slim::Networking::IO::Select::__ANON__ (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
                    frame 19: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
                    frame 20: Slim::Networking::IO::Select::loop (/usr/sbin/squeezeboxserver line 721)
                    frame 21: main::idle (/usr/sbin/squeezeboxserver line 677)
                    frame 22: main::main (/usr/sbin/squeezeboxserver line 1213)

                    [18-01-21 10:52:37.3282] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Networking::Slimproto::client_readable: Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::st execute failed: database is locked [for Statement "
                    INSERT IGNORE INTO contributors
                    (name, namesort, namesearch, musicbrainz_id)
                    VALUES
                    (?, ?, ?, ?)
                    "] at /usr/share/perl5/Slim/Schema/Storage.pm line 126
                    ; fh=IO::Socket::INET=GLOB(0x70af378)
                    2018-01-21 10:56:06 squeezeboxserver_safe stopped.
                    2018-01-21 10:57:35 squeezeboxserver_safe started.
                    [18-01-21 10:57:38.7216] main::init (387) Starting Logitech Media Server (v7.9.1, 1516346293, Fri Jan 19 10:24:58 UTC 2018) perl 5.020002 - x86_64-linux-gnu-thread-multi
                    [18-01-21 10:57:38.9817] Slim::Utils::IPDetect::_init (130) Warning: Couldn't call connect() - falling back to 127.0.0.1
                    [18-01-21 10:57:39.3085] Slim::Utils::SQLiteHelper:ostConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
                    2018-01-21 10:57:40 squeezeboxserver_safe stopped.
                    2018-01-21 10:57:40 squeezeboxserver_safe started.
                    [18-01-21 10:57:40.8410] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
                    [18-01-21 10:57:41.7751] main::init (387) Starting Logitech Media Server (v7.9.1, 1516346293, Fri Jan 19 10:24:58 UTC 2018) perl 5.020002 - x86_64-linux-gnu-thread-multi
                    [18-01-21 10:57:41.9076] Slim::Utils::IPDetect::_init (130) Warning: Couldn't call connect() - falling back to 127.0.0.1
                    [18-01-21 10:57:45.9076] Slim::Web::Cometd::handler (422) errorNeedsClient: 00:04:20:23:ae:f3, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
                    [18-01-21 10:59:24.2119] Slim::Web::HTTP::generateHTTPResponse (975) Access to settings pages is restricted to the local network or localhost: 192.168.1.3 -> settings/index.html

                    Comment


                    • #11
                      I now toggled the LMS service on the ReadyNAS and I can access the Settings again.

                      Server.log says:

                      frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/Slim/Schema/Storage.pm line 122)
                      frame 1: Slim::Schema::Storage::throw_exception (/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 1007)
                      frame 2: DBIx::Class::Storage:BI::__ANON__ (/usr/share/perl5/Slim/Schema/Contributor.pm line 159)
                      frame 3: Slim::Schema::Contributor::add (/usr/share/perl5/Slim/Schema.pm line 2911)
                      frame 4: Slim::Schema::_mergeAndCreateContributors (/usr/share/perl5/Slim/Schema.pm line 1603)
                      frame 5: Slim::Schema::_newTrack (/usr/share/perl5/Slim/Schema.pm line 1847)
                      frame 6: Slim::Schema::updateOrCreateBase (/usr/share/perl5/Slim/Schema.pm line 1711)
                      frame 7: Slim::Schema::updateOrCreate (/usr/share/perl5/Slim/Formats/Playlists/Base.pm line 54)
                      frame 8: Slim::Formats::Playlists::Base::_updateMetaData (/usr/share/perl5/Slim/Formats/Playlists/M3U.pm line 182)
                      frame 9: Slim::Formats::Playlists::M3U::_item (/usr/share/perl5/Slim/Formats/Playlists/M3U.pm line 145)
                      frame 10: Slim::Formats::Playlists::M3U::read (/usr/share/perl5/Slim/Player/Playlist.pm line 1102)
                      frame 11: Slim::Player::Playlist::loadClientPlaylist (/usr/share/perl5/Slim/Player/Client.pm line 571)
                      frame 12: Slim::Player::Client::startup (/usr/share/perl5/Slim/Player/Player.pm line 113)
                      frame 13: Slim::Player::Player::init (/usr/share/perl5/Slim/Player/SqueezePlay.pm line 128)
                      frame 14: Slim::Player::SqueezePlay::init (/usr/share/perl5/Slim/Networking/Slimproto.pm line 1152)
                      frame 15: Slim::Networking::Slimproto::_hello_handler (/usr/share/perl5/Slim/Networking/Slimproto.pm line 410)
                      frame 16: Slim::Networking::Slimproto::client_readable (/usr/share/perl5/Slim/Networking/IO/Select.pm line 123)
                      frame 17: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 119)
                      frame 18: Slim::Networking::IO::Select::__ANON__ (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
                      frame 19: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 168)
                      frame 20: Slim::Networking::IO::Select::loop (/usr/sbin/squeezeboxserver line 721)
                      frame 21: main::idle (/usr/sbin/squeezeboxserver line 677)
                      frame 22: main::main (/usr/sbin/squeezeboxserver line 1213)

                      [18-01-21 10:52:37.3282] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Networking::Slimproto::client_readable: Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::st execute failed: database is locked [for Statement "
                      INSERT IGNORE INTO contributors
                      (name, namesort, namesearch, musicbrainz_id)
                      VALUES
                      (?, ?, ?, ?)
                      "] at /usr/share/perl5/Slim/Schema/Storage.pm line 126
                      ; fh=IO::Socket::INET=GLOB(0x70af378)
                      2018-01-21 10:56:06 squeezeboxserver_safe stopped.
                      2018-01-21 10:57:35 squeezeboxserver_safe started.
                      [18-01-21 10:57:38.7216] main::init (387) Starting Logitech Media Server (v7.9.1, 1516346293, Fri Jan 19 10:24:58 UTC 2018) perl 5.020002 - x86_64-linux-gnu-thread-multi
                      [18-01-21 10:57:38.9817] Slim::Utils::IPDetect::_init (130) Warning: Couldn't call connect() - falling back to 127.0.0.1
                      [18-01-21 10:57:39.3085] Slim::Utils::SQLiteHelper:ostConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
                      2018-01-21 10:57:40 squeezeboxserver_safe stopped.
                      2018-01-21 10:57:40 squeezeboxserver_safe started.
                      [18-01-21 10:57:40.8410] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
                      [18-01-21 10:57:41.7751] main::init (387) Starting Logitech Media Server (v7.9.1, 1516346293, Fri Jan 19 10:24:58 UTC 2018) perl 5.020002 - x86_64-linux-gnu-thread-multi
                      [18-01-21 10:57:41.9076] Slim::Utils::IPDetect::_init (130) Warning: Couldn't call connect() - falling back to 127.0.0.1
                      [18-01-21 10:57:45.9076] Slim::Web::Cometd::handler (422) errorNeedsClient: 00:04:20:23:ae:f3, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
                      [18-01-21 10:59:24.2119] Slim::Web::HTTP::generateHTTPResponse (975) Access to settings pages is restricted to the local network or localhost: 192.168.1.3 -> settings/index.html
                      2018-01-21 11:04:21 squeezeboxserver_safe stopped.
                      [18-01-21 11:04:21.3283] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
                      2018-01-21 11:04:34 squeezeboxserver_safe started.
                      [18-01-21 11:04:35.8039] main::init (387) Starting Logitech Media Server (v7.9.1, 1516346293, Fri Jan 19 10:24:58 UTC 2018) perl 5.020002 - x86_64-linux-gnu-thread-multi
                      [18-01-21 11:04:36.5716] Slim::Web::Cometd::handler (422) errorNeedsClient: 00:04:20:23:ae:f3, status, -, 10, menu:menu, useContextMenu:1, subscribe:600

                      Comment


                      • #12
                        _
                        [18-01-21 10:57:41.9076] Slim::Utils::IPDetect::_init (130) Warning: Couldn't call connect() - falling back to 127.0.0.1
                        [18-01-21 10:57:45.9076] Slim::Web::Cometd::handler (422) errorNeedsClient: 00:04:20:23:ae:f3, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
                        [18-01-21 10:59:24.2119] Slim::Web::HTTP::generateHTTPResponse (975) Access to settings pages is restricted to the local network or localhost: 192.168.1.3 -> settings/index.html
                        Perfect! Most likely the NAS‘ network isn’t fully up before LMS starts. It therefore falls back to assuming its ip address as 127.0.0.1. Which would always be a „different“ network. I’ll see what I can do.
                        Michael

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

                        Comment


                        • #13
                          Excellent. Many thanks Michael. Looking forward to your solution, which I will be happy to test.
                          For now, I know how to work around the issue.
                          Enjoy the rainy day!
                          Last edited by Supertramp; 2018-01-21, 11:20.

                          Comment


                          • #14
                            Hi Michael. I just installed the new logitechmediaserver_7.9.1~1516565589_all.deb on my ReadyNAS and I am pleased to let you know that I can access the Settings page.

                            For completeness I'm sharing my Server.log hoping that this is what you are expecting to see.

                            Many thanks for your great support, as always!!

                            Server.log says:

                            2018-01-22 17:30:16 squeezeboxserver_safe started.
                            [18-01-22 17:30:18.0502] main::init (387) Starting Logitech Media Server (v7.9.1, 1516565589, Mon Jan 22 10:21:20 UTC 2018) perl 5.020002 - x86_64-linux-gnu-thread-multi
                            [18-01-22 17:30:19.2816] Slim::Utils::SQLiteHelper:ostConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
                            [18-01-22 17:30:19.4225] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
                            [18-01-22 17:30:19.9896] Slim::Utils::SQLiteHelper:ostConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
                            [18-01-22 17:30:20.1268] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
                            [18-01-22 17:30:21.2424] main::checkDataSource (1110) Warning: Schema updated or no media found in the database, initiating scan.
                            [18-01-22 17:32:01.5628] Slim::Utils::SQLiteHelper:ostConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table
                            [18-01-22 17:32:01.8024] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
                            2018-01-22 17:33:28 squeezeboxserver_safe stopped.
                            [18-01-22 17:33:28.2698] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
                            2018-01-22 17:36:35 squeezeboxserver_safe started.
                            [18-01-22 17:36:39.1245] main::init (387) Starting Logitech Media Server (v7.9.1, 1516565589, Mon Jan 22 10:21:20 UTC 2018) perl 5.020002 - x86_64-linux-gnu-thread-multi
                            [18-01-22 17:36:39.3360] Slim::Utils::IPDetect::_init (140) Warning: Couldn't call connect() - falling back to 127.0.0.1
                            2018-01-22 17:36:40 squeezeboxserver_safe stopped.
                            2018-01-22 17:36:40 squeezeboxserver_safe started.
                            [18-01-22 17:36:42.0319] main::init (387) Starting Logitech Media Server (v7.9.1, 1516565589, Mon Jan 22 10:21:20 UTC 2018) perl 5.020002 - x86_64-linux-gnu-thread-multi
                            [18-01-22 17:36:42.1575] Slim::Utils::IPDetect::_init (140) Warning: Couldn't call connect() - falling back to 127.0.0.1

                            Comment


                            • #15
                              Forbidden: settings/index.html

                              > [18-01-22 17:36:42.0319] main::init (387) Starting Logitech Media Server
                              > (v7.9.1, 1516565589, Mon Jan 22 10:21:20 UTC 2018) perl 5.020002 -
                              > x86_64-linux-gnu-thread-multi
                              > [18-01-22 17:36:42.1575] Slim::Utils::IPDetect::_init (140) Warning:
                              > Couldn't call connect() - falling back to 127.0.0.1


                              Excellent! It seems at startup it was still not able to figure out the
                              host's IP address. But the change I applied would cause it to re-try
                              later. Which seems to have worked for you. Thanks for the feedback!

                              --

                              Michael
                              Michael

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

                              Comment

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