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

    Dashboard does not save settings

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    30 Posts 7 Posters 14.6k 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.
    • Y
      yoda715
      last edited by

      Hmm. Ok, I'm not seeing the same results, but I'm looking into it.

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

        Tried the latest again "ALPHA-20080722-1722.tgz" but same.

        Just to be sure that it isn't any old cached data running I cleared the Cache in FF and IE
        and closed down the browsers and started fresh.  But as said, same problem.

        I also noticed in IE, the following exceptions:
        1_login.jpg

        This comes straight after you have logged in and done nothing.

        2_mousecursor_over__blank_Dashboard.jpg

        This comes continously when the cursor is hovering the dashboard.  Once every few seconds

        3_select_widget_carp.jpg

        This comes when you press the PLUS and selects a widget to show on dashboard (in this case the CARP)

        //Dan Lundqvist

        1_login.jpg
        1_login.jpg_thumb
        2_mousecursor_over__blank_Dashboard.jpg
        2_mousecursor_over__blank_Dashboard.jpg_thumb
        3_select_widget_carp.jpg
        3_select_widget_carp.jpg_thumb

        1 Reply Last reply Reply Quote 0
        • Y
          yoda715
          last edited by

          Ok I'm not able to duplicate this. Can you post the widget config entry in your config.xml? To view the config entry, go to Diagnostics > Edit File. Enter "/conf/config.xml" in the "Save/load" text box and click 'Load'. Now look for the section like this:

          <widgets><sequence>blah blah blah</sequence></widgets>

          Can you post this information to this thread? (include the <widget>tags)</widget>

          1 Reply Last reply Reply Quote 0
          • O
            oswazi
            last edited by

            Here is my config.xml, at the bottom widgets doesn't show anything.

            <pfsense><version>4.8</version>
            …........................

            <shaper></shaper></pfsense>

            1 Reply Last reply Reply Quote 0
            • Y
              yoda715
              last edited by

              Ahh, thats a problem. It should never be blank. Remove

              and save the config, then reboot. Tell me how that looks.

              1 Reply Last reply Reply Quote 0
              • O
                oswazi
                last edited by

                I am running off of Monday July21st snapshot, should i upgrade first to latest and then do as suggested? or try as is?

                1 Reply Last reply Reply Quote 0
                • Y
                  yoda715
                  last edited by

                  I'm committing a data check for this issue. You can either remove the config entries or wait for the next snapshot to be built. Either way will restore the dashboard. Thanks for your assistance!

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

                    Mine was:

                    <pfsense><version>4.8</version>
                    …........................
                    <dyndnses><dnsupdates></dnsupdates></dyndnses></pfsense>

                    Thumbs up!  I removed the section and rebooted and now it seems to work.
                    Got SystemInfo, Interfaces and Traffic Graphs as default when logging in
                    and was able to add additional and drag them around and place them where
                    I wanted...

                    If you have included a sanity check for this I have no problem to close
                    this topic.  Case closed... :-)

                    Best regards
                    Dan Lundqvist

                    Ps.  Thanks for quick response on this one ...  :D 
                    And thanks for a VERY good piece of software...

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

                      Have double-checked that the widget data is stored correctly in config = YES.

                      <widgets><sequence>system_information-container:col1:show,interfaces-container:col1:show,carp_status-container:col1:close,gateways-container:col1:close,installed_packages-container:col1:close,interface_statistics-container:col2:close,load_balancer_status-container:col2:close,log-container:col2:close,services_status-container:col2:close,cpu_graphs-container:col2:show,traffic_graphs-container:col2:show,ipsec-container:col2:show</sequence></widgets>

                      1 Reply Last reply Reply Quote 0
                      • Y
                        yoda715
                        last edited by

                        Good to hear, thanks for helping troubleshoot :)

                        1 Reply Last reply Reply Quote 0
                        • P
                          Perry
                          last edited by

                          Hmm mine gets overridden with the default setting everytime I logon. Did a pfSense reinstall with pfSense-Full-Update-1.3-ALPHA-ALPHA-20080723-0948.tgz
                          what i did (config.xml):

                          
                          After Logon
                          -------------------
                          	 <widgets><traffic_graphs-config>LAN_graph-config:show,WAN_graph-config:show,refreshInterval=1</traffic_graphs-config></widgets> 
                          -----------------------------------
                          After adding widgets and saving
                          ----------------------------------------
                          	 <widgets><sequence>system_information-container:col1:show,carp_status-container:col1:close,cpu_graphs-container:col1:close,gateways-container:col1:close,interface_statistics-container:col2:show,installed_packages-container:col2:show,interfaces-container:col2:show,ipsec-container:col2:close,load_balancer_status-container:col2:close,log-container:col2:close,services_status-container:col2:close,traffic_graphs-container:col2:show</sequence>
                          		<traffic_graphs-config>LAN_graph-config:show,WAN_graph-config:show,refreshInterval=1</traffic_graphs-config></widgets> 
                          --------------------------------------------------------
                          Close browser (FF3 and IE7) start browser and login:
                          -------------------------------------------------------
                          	 <widgets><traffic_graphs-config>LAN_graph-config:show,WAN_graph-config:show,refreshInterval=1</traffic_graphs-config></widgets> 
                          

                          /Perry
                          doc.pfsense.org

                          1 Reply Last reply Reply Quote 0
                          • Y
                            yoda715
                            last edited by

                            @Perry:

                            Hmm mine gets overridden with the default setting everytime I logon. Did a pfSense reinstall with pfSense-Full-Update-1.3-ALPHA-ALPHA-20080723-0948.tgz
                            what i did (config.xml):

                            
                            After Logon
                            -------------------
                            	 <widgets><traffic_graphs-config>LAN_graph-config:show,WAN_graph-config:show,refreshInterval=1</traffic_graphs-config></widgets> 
                            -----------------------------------
                            After adding widgets and saving
                            ----------------------------------------
                            	 <widgets><sequence>system_information-container:col1:show,carp_status-container:col1:close,cpu_graphs-container:col1:close,gateways-container:col1:close,interface_statistics-container:col2:show,installed_packages-container:col2:show,interfaces-container:col2:show,ipsec-container:col2:close,load_balancer_status-container:col2:close,log-container:col2:close,services_status-container:col2:close,traffic_graphs-container:col2:show</sequence>
                            		<traffic_graphs-config>LAN_graph-config:show,WAN_graph-config:show,refreshInterval=1</traffic_graphs-config></widgets> 
                            --------------------------------------------------------
                            Close browser (FF3 and IE7) start browser and login:
                            -------------------------------------------------------
                            	 <widgets><traffic_graphs-config>LAN_graph-config:show,WAN_graph-config:show,refreshInterval=1</traffic_graphs-config></widgets> 
                            

                            Now that is even stranger than before. The config is in no way session based. Once you save the dashboard its written to the config. I would remove the entire <widget>entry in your config and see how that works. Sounds like your config is really messed up somehow.</widget>

                            1 Reply Last reply Reply Quote 0
                            • P
                              Perry
                              last edited by

                              Now that is even stranger than before. The config is in no way session based. Once you save the dashboard its written to the config. I would remove the entire <widget>entry in your config and see how that works. Sounds like your config is really messed up somehow.</widget>

                              I thought the same, that was why i did a reinstall from a 1.2 cd to snapshot. But let's see if others confirms it or i find a empty cd so i can burn a image :).

                              /Perry
                              doc.pfsense.org

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

                                I tend to agree with Perry.  I think I spoke to soon.

                                1. I removed the old "broken" settings in config.xml and rebooted.
                                2. I now get the default 3 widgets and the config.xml is empty with widget data.
                                3. I added some extra items to dashboard and saved. (saw in config.xml that it is saved OK)
                                4. I then rebooted the machine again and when I logged in it was back to before square 1
                                with no data on the dashboard and the config.xml was:

                                5. I then edited the config.xml again and removed the whole widgets section and rebooted.
                                6. I now get the default 3 widgets and the config.xml is empty with widget data.
                                7. I added some extra items to dashboard and saved. (saw in config.xml that it is saved OK)
                                8. Closed the FF window and open it again. (didn't have to give password !?)  Dashboard intact with my saved data.
                                9. Closed the FF window and logged in using IE (this time I had to enter user/psw) and used same
                                as in FF.  (admin/pfsense) and NOW we are back to square 1 again.  No data on dashboard
                                and the config file shows:

                                Conclusion:
                                It feels like something is saving widget data to config.xml once to many with empty data
                                when you login.

                                It corrupts the widget data somehow between sessions.

                                ///Dan Lundqvist

                                Ps. I will try again with the latest ALPHA-20080723-1247.tgz to see if anything is different. Get back with result.

                                Updates on ALPHA-20080723-1247:

                                • Now I can see that your functions is removing the invalid widget setting (and the default dashboard is presented).
                                • I then added an extra item on dash and saved.  config.xml shows the corrected save-data.
                                • I then closed the browser window and opened up IE and logged in again.
                                • Now i'm back to the default dash (as something has corrupted the data again and your function has kicked
                                  in to remove the faulty data.)
                                  And now the "Traffic Graphs" widget has broken images.
                                1 Reply Last reply Reply Quote 0
                                • dotdashD
                                  dotdash
                                  last edited by

                                  Tested by loading a new card with pfSense-20080723-1145.img
                                  Seeing the same behavior as Perry. Getting a default page with Sys Info, Interfaces, Traffic Graphs. (Used to have Sys Info and the welcome to dashboard wizard). When I add say, service status, it's gone the next time I log in.

                                  1 Reply Last reply Reply Quote 0
                                  • Y
                                    yoda715
                                    last edited by

                                    Ok, I'm able to duplicate this issue and will take a look into it soon.

                                    1 Reply Last reply Reply Quote 0
                                    • E
                                      eri--
                                      last edited by

                                      Can you all confirm that this fixes the problems.

                                      Diagnostics->Edit File /usr/local/www/index.php
                                      go to line 141 or search for _POST and change from
                                      141 if ($_POST){

                                      to
                                      141 if ($_POST && $_POST['submit']){

                                      Report back so i can fix it in CVS too.

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        Perry
                                        last edited by

                                        Yes that did it  ;)

                                        /Perry
                                        doc.pfsense.org

                                        1 Reply Last reply Reply Quote 0
                                        • Y
                                          yoda715
                                          last edited by

                                          @ermal:

                                          Can you all confirm that this fixes the problems.

                                          Diagnostics->Edit File /usr/local/www/index.php
                                          go to line 141 or search for _POST and change from
                                          141 if ($_POST){

                                          to
                                          141 if ($_POST && $_POST['submit']){

                                          Report back so i can fix it in CVS too.

                                          Thanks Ermal! That's interesting why it needs that now. I would say lets modify it to only "if($_POST['submit']){…."

                                          1 Reply Last reply Reply Quote 0
                                          • dotdashD
                                            dotdash
                                            last edited by

                                            The fix seems to be working on my system- I logged out and back in and the dashboard settings are retained. Thanks Ermal

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