• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.5k 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 Jul 22, 2008, 11:25 PM Jul 22, 2008, 11:11 PM

    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 Jul 22, 2008, 11:52 PM

      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 Jul 22, 2008, 11:56 PM

        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 Jul 23, 2008, 12:22 AM

          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 Jul 23, 2008, 12:24 AM

            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 Jul 23, 2008, 1:51 AM Jul 23, 2008, 1:46 AM

              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 Jul 23, 2008, 1:56 AM

                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 Jul 23, 2008, 2:01 AM

                  Good to hear, thanks for helping troubleshoot :)

                  1 Reply Last reply Reply Quote 0
                  • P
                    Perry
                    last edited by Jul 23, 2008, 4:21 PM

                    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 Jul 23, 2008, 5:15 PM

                      @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 Jul 23, 2008, 5:48 PM

                        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 Jul 23, 2008, 7:00 PM Jul 23, 2008, 6:18 PM

                          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
                          • D
                            dotdash
                            last edited by Jul 23, 2008, 6:51 PM

                            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 Jul 23, 2008, 9:36 PM

                              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 Jul 24, 2008, 11:13 AM

                                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 Jul 24, 2008, 11:28 AM

                                  Yes that did it  ;)

                                  /Perry
                                  doc.pfsense.org

                                  1 Reply Last reply Reply Quote 0
                                  • Y
                                    yoda715
                                    last edited by Jul 24, 2008, 1:09 PM

                                    @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
                                    • D
                                      dotdash
                                      last edited by Jul 24, 2008, 2:26 PM

                                      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
                                      • S
                                        sullrich
                                        last edited by Jul 24, 2008, 4:30 PM

                                        I have commited Ermals suggestion.  Thanks Ermal

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          mrzaz
                                          last edited by Jul 24, 2008, 5:49 PM

                                          Have done the change and it seems to work for me as well…

                                          ///Dan Lundqvist

                                          1 Reply Last reply Reply Quote 0
                                          30 out of 30
                                          • First post
                                            30/30
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received