Dashboard missing/not working



  • i had a snapshot of 1.2.3 from a week or two ago and had dashboard installed and working….i upgraded to the version built on march 28th and now dashboard isn't there/doesn't work

    i went to packages and it's not there anymore.....what's up? i really loved that package



  • (fixed)

    for some reason it just needed me to remove it and reinstall it…i was under the impression that it couldn't be removed (because the package notes SAY it can't be removed) but when i removed it, it appeared on the list and installed properly

    just posting incase some other newb does a search and sees this


  • Rebel Alliance Developer Netgate

    I've had that happen before where it didn't appear to take, but after a reboot it is fine. Seems to happen only after a reinstall for some reason. Lightttpd might be caching the index.php somehow. I've also had success with deleting the old index.php and reinstalling the dashboard. Sometimes just a reinstall will do it.

    I need to do some more testing and I'll update the dashboard package when I find a good fix…



  • A reload and  refresh of the brower fixes this.  Everytime I have loaded a verison of 1.2.3 it done this.  I have gotten use to it.  I am going to stay on verison : 
    1.2.3-PRERELEASE-TESTING-VERSION
    built on Sat Mar 28 00:13:48 EDT 2009

    It's working without issue.  I going to leave as is for at least a week or two.  I running back on my XenSever with out issue.  I have upgrade to XenServer Enterprise.  They have made it free.  So I back virtual.  It running great and really stable.

    RC



  • It happens to me too.  What I end up doing now is whenever I do an update I toggle the install.  Meaning if it's installed I go ahead and uninstall which will bring it back.  And the next update I do I install it after a reboot.

    I have a feeling it's the way the re-install of the dashboard package flips the index.php page from old to new and vice versa.  It should have sensed that the new index.php is already installed and should leave it alone.

    Just my two cents worth.



  • Seems the latest snapshot of:

    1.2.3-PRERELEASE-TESTING-VERSION
    built on Mon Mar 30 21:35:42 EDT 2009

    Is messing up the Dashboard's stats in the System Information box.  Uptime, State Table Size and CPU Usage all as "undefined".  It'll work for like 3 seconds and then display "undefined" forever until a reboot and then dies again at 3 seconds.

    I tried rebooting it, unstalling the package and reinstalling it.  No avail.

    Maybe this CPU Usage error may help:  Fatal error: Call to undefined function: array_combine() in /usr/local/www/includes/functions.inc.php on line 52 %

    The previous snapshot of March 28 was working fine.


  • Rebel Alliance Developer Netgate

    I'll have a look at the install issues and the 1.2.3 snap today. Hopefully things will be easy enough to straighten out.

    1.2.3 got bumped to RC1 last night, so I'm not sure what changes happened before that. I've still got some patches pending that I hope make it in.


  • Rebel Alliance Developer Netgate

    @Darkk:

    Maybe this CPU Usage error may help:  Fatal error: Call to undefined function: array_combine() in /usr/local/www/includes/functions.inc.php on line 52 %

    There was a recent change to functions.inc that caused this, but it should be easy for them to fix. Hopefully it will get cleared up shortly.


  • Rebel Alliance Developer Netgate

    I just pushed Dashboard 0.7.5.3 which hopefully fixes the reinstall issues. I adjusted the installer routine a little. I'd appreciate some feedback either way from those who have encountered this problem.

    With these changes, it worked OK for me after a couple test runs, but that was just on a test system.

    Thanks!



  • CPU Usage : Fatal error: Call to undefined function: array_combine() in /usr/local/www/includes/functions.inc.php on line 52%

    Same error on build: pfSense-Full-Update-1.2.3-20090331-1356


  • Rebel Alliance Developer Netgate

    @DeCex:

    CPU Usage : Fatal error: Call to undefined function: array_combine() in /usr/local/www/includes/functions.inc.php on line 52%

    Same error on build: pfSense-Full-Update-1.2.3-20090331-1356

    That's the same error reported earlier in this thread. The devs are aware of that issue, and it should be an easy fix as soon as one of them has a moment to test/commit the fix.



  • The updated dashboard package works fine if the package is reinstalled after the firmware update.    So I think the problem is fixed.  The new firmware replaces the index.php with the old version during the update but a reinstall of the package fixes it so I'm ok with it.  Kudos guys. :)



  • Sorry buddy, still no go after a new firmware update.  It brings back the old dashboard even after a package reinstall.  I have to uninstall it to bring the new dashboard back.   :(



  • i just uninstall and reinstall it when i upgrade/downgrade and it works…..i don't see a major issue with that seeing as it takes all of 10 seconds


  • Rebel Alliance Developer Netgate

    @Darkk:

    Sorry buddy, still no go after a new firmware update.  It brings back the old dashboard even after a package reinstall.  I have to uninstall it to bring the new dashboard back.   :(

    I'll give it another shot today. I have a couple more ideas about what might be happening if it still doesn't work right (though it does work for me now.)

    I think it might actually take two reinstalls to break out of the crazy cycle it gets stuck in, and from then on it is fine and will only take one reinstall after a firmware update. If that is the case, I can work around that one.


  • Rebel Alliance Developer Netgate

    A fix for the fatal error about missing array_combine() is in commit re1f27ca. The next snapshot should be OK.

    As for the dashboard uninstall/reinstall, I can no longer reproduce the behavior where the old dashboard reappears after a package reinstall, so I'm not sure if anything I change now will make it any better.

    As it stands, you may need to do a reinstall twice before it clears up, but I'll keep looking to see if I can re-break it somehow.



  • It won't really be big of a deal once 1.2.3 becomes final and firmware updates will then be rare.  Once the package is installed and don't do firmware updates it runs fine.

    If you can't fix it without spending alot of time on it then don't sweat it.  Just it's a hassle snapshot after snapshot almost weekly to uninstall it and reinstall it to bring the new dashboard back.

    I'm sure it won't be an issue in 2.0 as it is standard.

    Thanks for trying tho. :)


  • Rebel Alliance Developer Netgate

    I usually just hit the 'reinstall' button (labeled 'pkg' for whatever reason) and that is what clears it up.

    Up until recently, the packages reinstalled automatically after a firmware update so that was done for you, but it was really broken after that.

    That part does work now, after a reinstall, so I think we'll be ok.

    I just think it's funny that I now can't even recreate the conditions that caused it to break in the first place. :)



  • Yep, the reinstall works fine now.  Thanks :)

    Yes for whatever now the latest firmwares aren't automatically re-installing the packages after an update.  Broken?


  • Rebel Alliance Developer Netgate

    It was shut off on purpose. I don't recall the exact reasoning, and I can't find the commit in the logs, but I remember seeing it happen.

    The devs figured that since they have the compatibility options in the kernel for FreeBSD 6, the packages shouldn't break on an upgrade even after a big version update.

    Plus it takes quite a while to finish on a system with any good number of packages, which made testing snapshots a chore.

    I think the dashboard is the only one that really "breaks" on an update, and it's pretty minor anyhow. The dashboard itself is sort of a hack anyhow :)


Log in to reply