Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Dashboard what's going on?

    Scheduled Pinned Locked Moved 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
    10 Posts 4 Posters 4.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fastcon68
      last edited by

      Everytime I upgrade lately I loose the dashboard.  I tinker with it and re-install or reload the part of it and it starts working.  Any ideas?

      RC  ???

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        When you do a firmware upgrade, it replaces index.php with a fresh copy.

        In order for the Dashboard to work, you need to reinstall the dashboard package so it can replace index.php with its own custom copy.

        pfSense used to automatically reinstall all packages after every update, but now the proper compatibility features are in the kernel so that is no longer needed (and it took quite a long time to happen, too, if you had squid or snort)

        There had been some issues with the dashboard package not reinstalling properly, but those should be sorted out now. Some people may have to reinstall the Dashboard package twice, but after that it will only need once. (The broken uninstaller was used from the cached copy of the package config on the hdd… it takes one update to get rid of that... then another for a proper install to happen)

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • F
          fastcon68
          last edited by

          re-installed half a more times and still not working.  any ideas?
          RC

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            Not sure. It's been working for me as I've been tracking snapshots.

            After it reboots from loading the new image, I go to the packages page and reinstall it, then it works fine.

            You might try to delete /usr/local/www/index.php and then reinstall the dashboard if all else fails.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • F
              fastcon68
              last edited by

              Removing that index file did the trick.
              RC

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                I'm not sure why that still happens now and then. It used to happen to me all the time, but lately with the changes I've made to the dashboard installer it has cleared up on my test systems.

                And as usual, if I can't reproduce the error, it's impossible to know if I've really found a fix.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • M
                  matrix200
                  last edited by

                  Hmm just a suggestion.
                  Why not simply remove index.php as a part of reinstall process?
                  If for some reason it can't be removed then you probably should abort the install and write something to log as to why the file deletion failed.
                  That way I think it will be easier to reproduce the problem and at least you will have some indication of the failure.

                  Current network "hardware" :
                  Running 2.2RC in Virtualbox 4.2.16.

                  Retired:
                  ALIX2C2 , 4 gigabyte disk cf card running 2.0 (official release).

                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    @matrix200:

                    Hmm just a suggestion.
                    Why not simply remove index.php as a part of reinstall process?
                    If for some reason it can't be removed then you probably should abort the install and write something to log as to why the file deletion failed.
                    That way I think it will be easier to reproduce the problem and at least you will have some indication of the failure.

                    At some point I had tried that and I don't recall why it didn't work. It does try it again now, as of the version I committed yesterday afternoon.

                    Part of the problem is that lately it no longer misbehaves on any of my systems…

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    1 Reply Last reply Reply Quote 0
                    • D
                      Darkk
                      last edited by

                      For months I'd have to re-install twice to get the 2.0 Dashboard back.  Now with the latest snapshots I just reinstall it and it comes back normally.  :)

                      Eventually when PfSense 2.0 goes gold it won't be an issue since Dashboard 2.0 will be part of it.

                      Darkk

                      1 Reply Last reply Reply Quote 0
                      • jimpJ
                        jimp Rebel Alliance Developer Netgate
                        last edited by

                        @Darkk:

                        For months I'd have to re-install twice to get the 2.0 Dashboard back.  Now with the latest snapshots I just reinstall it and it comes back normally.  :)

                        Yeah, I think I finally got it sorted out. PHP's APC cache was holding the old index.php in memory, and I was removing it with an exec call to rm, which didn't update the cache. I replaced that with a PHP unlink() call and that seems to make it handle the transition.

                        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                        Need help fast? Netgate Global Support!

                        Do not Chat/PM for help!

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.