Trouble after Dashboard upgrade
-
Sense upgrading to the latest version of the dashboard my web UI is all out of wack. The UI doesn't align correctly and I have no tabs across the top to control the firewall.
Also across the top the following error is present,
"Warning: main(fbegin.inc): failed to open stream: No such file or directory in /usr/local/www/index.php on line 421 Warning: main(): Failed opening 'fbegin.inc' for inclusion (include_path='.:/etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg') in /usr/local/www/index.php on line 421"
Before upgrading the dashboard I noticed there was an update while looking at installed packages. I clicked the reinstall button to upgrade. Is this the incorrect way to upgrade a package? More importantly how do I fix the web interface so I can manage the firewall?
-
And what version of pfSense are you using?
-
That was an issue with the Dashboard package I committed a couple days ago. Have you tried reinstalling it again? I committed a fix but didn't bump the version again.
The Dashboard package was replacing fbegin.inc when it should not have been, and the old uninstall routing was also deleting it afterward.
The current version of the dashboard package should be copying back the original/backed up fbegin.inc file when you install it again.
If you can't navigate to the packages page, try this way:
http://your_pfsense_ip/pkg_mgr_install.php?mode=reinstallpkg&pkg=Dashboard
See also: http://forum.pfsense.org/index.php/topic,16276.0.html
-
I see this behaviour when upgrading pfSense (1.2.3RC1) to a current snapshot as well (on two machines).
I have to delete the package and reinstall the Dashboard after a reboot. (!!!) Otherwise the same occurs again.But I have Fit123 and Cheesybofs theme installed as well and might have scrumbled up things in the past. Seems to be time for a fresh install…
-
I see this behaviour when upgrading pfSense (1.2.3RC1) to a current snapshot as well (on two machines).
I have to delete the package and reinstall the Dashboard after a reboot. (!!!) Otherwise the same occurs again.But I have Fit123 and Cheesybofs theme installed as well and might have scrumbled up things in the past. Seems to be time for a fresh install…
Are you sure you are seeing the same error? After a firmware update, it will have the stock index.php file again, as well as all the other files (including fbegin.inc), and I have also seen some weirdness with the system caching the stock index.php file even if I confirm the Dashboard file is the one installed. I either had to rm index.php and reload the dashboard again, or reboot.
I've made some changes in the last couple Dashboard package versions I've committed to try fixing this, but so far I haven't stumbled upon one solution that always works.
-
Confirmed the same error.
But it is very likely that due to some fiddling around I broke things.It did not revert to the originial index.php but showed this error and parts of the tweaked nerve-center theme.
Will try to regenerate this with a newer snapshot tonight or so. -
Will try to regenerate this with a newer snapshot tonight or so.
That part may actually fix the problem :-)
A fresh snapshot will yield a fresh copy of index.php and fbegin.inc, and since you have already reinstalled the dashboard package now, the copy on your pfSense box no longer has the broken uninstall routine. I should probably start recommending people reinstall the dashboard before and after installing a new snapshot to be sure the package has up-to-date install/uninstall code. This shouldn't be necessary in the long term, but it may be right now until most people are running on the current one.
-
That was an issue with the Dashboard package I committed a couple days ago. Have you tried reinstalling it again? I committed a fix but didn't bump the version again.
The Dashboard package was replacing fbegin.inc when it should not have been, and the old uninstall routing was also deleting it afterward.
The current version of the dashboard package should be copying back the original/backed up fbegin.inc file when you install it again.
If you can't navigate to the packages page, try this way:
http://your_pfsense_ip/pkg_mgr_install.php?mode=reinstallpkg&pkg=Dashboard
See also: http://forum.pfsense.org/index.php/topic,16276.0.html
That worked! Thank you.