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

    Dashboard not accessible.

    General pfSense Questions
    2
    11
    1.0k
    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.
    • L
      lispeedyg
      last edited by

      I've been successfully running pfSense (for many years in a Hyper-V environment). Recently on one of my installs (v2.6.0) I'm able to log into the system but receive a 504 error. But this applies only to the front page. I seem to be able to get to all the other pages without issue.

      Note that all pfSense functionality is working as expected. I need some direction as to which logs I can reference to try and debug this issue.

      Thanks for any help.
      Gus

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        That implies a php issue of some kind. Probably one of the dashboard widgets doing something it shouldn't. Have you added any recently?

        First try to ssh in or connect to the console in hyper-v and restart php and then the webgui from the menu. Options 16 then 10.

        Steve

        1 Reply Last reply Reply Quote 0
        • L
          lispeedyg
          last edited by

          Thanks for the very quick response.

          1. I've not added or modified anything on the dashboard in quite a while.
          2. I've tried the PHP-FPM restart, no change
          3. I looked at the filter logs but, don't know what to look for.

          Again, I'm able to get to every other page. So, is there a log that I can view to debug?

          Thanks again.

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            I would check the main system log and nginx log after you see the 504.

            1 Reply Last reply Reply Quote 0
            • L
              lispeedyg
              last edited by

              Thanks for the hint. The following is what was raised on receiving a error:
              AnyDesk_9iFs0vrDf7.png

              Any ideas as to how I can try to fix this?

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Hmm, nothing specific.

                504 is almost always a php issue though, I expect there to be something in the system log.

                You might also check /var/log/nginx/error.log but I'm not sure that's used any longer.

                Otherwise you can try manually removing any widgets from the dashboard in the config file.

                Steve

                1 Reply Last reply Reply Quote 0
                • L
                  lispeedyg
                  last edited by lispeedyg

                  I'm trying to figure out how to delete some of the widgets. I exported the XML file and certainly could delete some widgets there. However, I don't see the possibility to restore ONLY the Widgets. I've had negative experiences when I try to restore the entire XML file.

                  Is there a way to edit the widgets on the Dashboard through the File editor?

                  Actually, I've found the config.xml file and can edit it. Can you give me some info on what can be deleted in the Widgets section:

                  <widgets>
                  	<sequence>system_information:col1:open:0,interfaces:col2:open:0,installed_packages:col2:open:0,traffic_graphs:col2:open:0,ntp_status:col3:open:0,interface_statistics:col3:open:0,log:col3:open:0,services_status:col3:open:0,pfblockerng:col2:open:0</sequence>
                  	<period>10</period>
                  </widgets>
                  

                  Thanks

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    The default widgets config looks like:

                    	<widgets>
                    		<sequence>system_information:col1:show,disks:col1:show,netgate_services_and_support:col2:show,interfaces:col2:show</sequence>
                    		<period>10</period>
                    	</widgets>
                    

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • L
                      lispeedyg
                      last edited by

                      Hi Steve,
                      Thank You. that worked. Using the standard config I was able to get to the get to the dashboard page. And, once there, I was able to re-install the widgets. Don't know what went wrong. But, at least there was a work-around.

                      Thanks again,
                      Gus

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Hmm, that's odd. The same widgets you had before? Configured the same way?

                        1 Reply Last reply Reply Quote 0
                        • L
                          lispeedyg
                          last edited by

                          Exactly. No difference.

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