No webgui after update to 23.01 from console
-
Hello,
I ssh'd into my SG-4860 and did the following:-
ran
pkg bootstrap -f
which updated the pkg toExtracting pkg-1.18.4_4: 100%
-
chose option 13 from menu to upgrade
Some errors were reported during the upgrade:
[167/229] Deinstalling php74-pear-Mail-1.4.1,1... Warning: PHP Startup: Unable to load dynamic library 'xml.so' (tried: /usr/local/lib/php/20190902/xml.so (Cannot open "/usr/local/lib/php/20190902/xml.so"), /usr/local/lib/php/20190902/xml.so.so (Cannot open "/usr/local/lib/php/20190902/xml.so.so")) in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'zlib.so' (tried: /usr/local/lib/php/20190902/zlib.so (Cannot open "/usr/local/lib/php/20190902/zlib.so"), /usr/local/lib/php/20190902/zlib.so.so (Cannot open "/usr/local/lib/php/20190902/zlib.so.so")) in Unknown on line 0 Warning: preg_match(): Allocation of JIT memory failed, PCRE JIT will be disabled. This is likely caused by security restrictions. Either grant PHP permission to allocate executable memory, or set pcre.jit=0 in CLI.php on line 56
-
However now, when I go the webgui, I get a blank screen. Multiple reboots have not fixed this.
-
Also ran
pkg update; pkg version -vL= Updating pfSense-core repository catalogue... pfSense-core repository is up to date. Updating pfSense repository catalogue... pfSense repository is up to date. All repositories are up to date. Updating pfSense-core repository catalogue... pfSense-core repository is up to date. Updating pfSense repository catalogue... pfSense repository is up to date. All repositories are up to date.
The console says it is on 23.01
*** Welcome to Netgate pfSense Plus 23.01-RELEASE (amd64) on BBI ***
How can I get the webgui functioning again?
Thanks!
-
-
It occurs to me I may have put this post in the wrong section; perhaps it should have been posted in the General pfSense Questions section.
Mods, can you please move if appropriate (dont want to create duplicate posts)
-
@yellowbrick From other posts it's expected to have PHP errors during upgrade due to the PHP upgrade. I don't know what those are specifically though.
I seem to recall a similar post in the last day or two but can't find it. If you "Restart webConfigurator" at the console does it work? I think that was in the post. But a "blank screen" is often a PHP parsing error, on web servers.
Worst case you could get an installer file from Netgate and reinstall.
https://docs.netgate.com/pfsense/en/latest/solutions/sg-4860/reinstall-pfsense.htmlThere is a note in the release notes about 4860 CPU usage: https://docs.netgate.com/pfsense/en/latest/releases/23-01.html#errata-known-hardware-issues
-
@steveits Thanks.
I did restart the webConfigurator from the console, to no effect.Interestingly, the 4860 is still running (I am behind it now), just no webgui.
I do have ZFS (have for a long time) so perhaps roll back. However, of course, I did not take a snapshot just before upgrading.
Can anyone point to instrcutions to rolling back on ZFS?TIA!!
-
@yellowbrick Plus should create a boot env for you. Unless maybe "long time" predates when it was officially added.
https://docs.netgate.com/pfsense/en/latest/backup/zfsbe/index.html -
J jimp moved this topic from Problems Installing or Upgrading pfSense Software on
-
@steveits I did install using ZFS when you had to do it manually...well before 22.05.
However, it appears that I do have boot environments (yay!), although I confess I never noticed them in the GUI (the 4860 has been working so solidly, I have forgotten it was there...). As you can see from the below, I tried 4 different times to run the updgrade yesterday.However, the instructions all mention selecting a new boot environment in the GUI...problem is it my GUI that is unresponsive. How can I select my
auto-default-20221122191541
from the command line?[23.01-RELEASE][admin@BBI]/root: zfs list NAME USED AVAIL REFER MOUNTPOINT zroot 14.9G 98.4G 88K /zroot zroot/ROOT 3.58G 98.4G 88K none zroot/ROOT/auto-default-20220630073426 24K 98.4G 879M / zroot/ROOT/auto-default-20220630073426/var_cache_pkg 8K 98.4G 213M /var/cache/pkg zroot/ROOT/auto-default-20220630073426/var_db_pkg 8K 98.4G 3.22M /var/db/pkg zroot/ROOT/auto-default-20220716132719 24K 98.4G 943M / zroot/ROOT/auto-default-20220716132719/var_cache_pkg 8K 98.4G 217M /var/cache/pkg zroot/ROOT/auto-default-20220716132719/var_db_pkg 8K 98.4G 3.29M /var/db/pkg zroot/ROOT/auto-default-20221122191541 24K 98.4G 943M / zroot/ROOT/auto-default-20221122191541/var_cache_pkg 8K 98.4G 110M /var/cache/pkg zroot/ROOT/auto-default-20221122191541/var_db_pkg 8K 98.4G 3.29M /var/db/pkg zroot/ROOT/auto-default-20230215201040 24K 98.4G 943M / zroot/ROOT/auto-default-20230215201040/var_cache_pkg 8K 98.4G 121M /var/cache/pkg zroot/ROOT/auto-default-20230215201040/var_db_pkg 8K 98.4G 3.29M /var/db/pkg zroot/ROOT/auto-default-20230215201704 24K 98.4G 953M / zroot/ROOT/auto-default-20230215201704/var_cache_pkg 8K 98.4G 123M /var/cache/pkg zroot/ROOT/auto-default-20230215201704/var_db_pkg 8K 98.4G 3.29M /var/db/pkg zroot/ROOT/auto-default-20230215202936 24K 98.4G 953M / zroot/ROOT/auto-default-20230215202936/var_cache_pkg 8K 98.4G 123M /var/cache/pkg zroot/ROOT/auto-default-20230215202936/var_db_pkg 8K 98.4G 3.29M /var/db/pkg zroot/ROOT/default 3.58G 98.4G 1.16G / zroot/ROOT/default/var_cache_pkg 736M 98.4G 301M /var/cache/pkg zroot/ROOT/default/var_db_pkg 19.1M 98.4G 4.04M /var/db/pkg zroot/reservation 96K 110G 96K /zroot/reservation zroot/tmp 216K 98.4G 216K /tmp zroot/var 7.13M 98.4G 7.13M /var
-
@yellowbrick said in No webgui after update to 23.01 from console:
selecting a new boot environment in the GUI...problem is it my GUI that is unresponsive
D'oh, of course. I do recall seeing this but have not looked into it, maybe this command will work?
@stephenw10 said in Need Guidance Regarding Updates:
ZFS BE are available in CE there just isn't a GUI front end on it. You can still use bectl.
-
Thanks! bectl shows:
bectl list BE Active Mountpoint Space Created auto-default-20220630073426 - - 810M 2022-06-30 07:34 auto-default-20220716132719 - - 1.57M 2022-07-16 13:27 auto-default-20221122191541 - - 1.88M 2022-11-22 19:15 auto-default-20230215201040 - - 10.2M 2023-02-15 20:10 auto-default-20230215201704 - - 20.0M 2023-02-15 20:17 auto-default-20230215202936 - - 20.2M 2023-02-15 20:29 default NR / 3.58G 2018-01-14 14:19
Struggling to find much documentation on bectl...I obviously have plus since I am on a Netgate appliance, but the Webgui itself is not responsive after the updated to 23.01.
Is it strange that the active / default environment was created in 2018 above?
Do i just do
bectl activate auto-default-2022112219154
and reboot?.At the moment, even though the webgui is not responsive the firewall still appears to be functional. I don't want to completely bork it! (I did take a backup of the configuration, both downloaded as well as online, so could restore once functional).
Again, thanks!
-
Yup that command should do it. You might use the -t switch to set it for one boot only.
See: https://man.freebsd.org/cgi/man.cgi?query=bectlSteve
-
Hi @stephenw10 that did not work.
After I ranbectl -t activate auto-default-2022112219154
I did not get any errors. So I rebooted and the console still says it is on 23.01-RELEASE and I still do not get a webgui...which is till blank.So I guess my BE setup is not valid. I did install on ZFS when it first became possible and was experimental, so not sure if my BE environment is setup correctly.
Any thoughts?
-
The last time I saw this it was an invalid upgrade that caused php to be removed completely.
That seems unlikely here because the console menu still works for you.
But check
pkg info -x pfSense
andpkg info -x php
for the expected 23.01 and php81 versions.If you have a backup config it's probably quicker to reinstall.
Steve
-
Thanks @stephenw10
Reinstall from image correct? I do have a config backup. Should I open a ticket to get the last pre 23.01 image for the SG-4860? -
Correct:
@steveits said in No webgui after update to 23.01 from console:
Worst case you could get an installer file from Netgate and reinstall.
https://docs.netgate.com/pfsense/en/latest/solutions/sg-4860/reinstall-pfsense.htmlNot sure if they'll give you 22.05 but you can ask. For sure you can get 23.01 and then would just have a new install of it.
-
23.01 will run fine on the 4860 as long as you add the loader value to disable the ichsmb device. I have one running here.
-
Thanks both...I have the image now from support. Will try the clean install tomorrow.
Again, many thanks.
-
uhh...it is not easy (i.e. possible for me) to install 23.01 from the console using the usb memstick. The sea of error messages makes it impossbile to see any prompts whatsover.
ichsmb0: interrupt loop, status=0x60 ichsmb0: interrupt loop, status=0x60 ichsmb0: interrupt loop, status=0x60 . .
-
Interrupt the boot (from the USB) stick at the boot loader and enter:
set hint.ichsmb.0.disabled=1 boot
Do that same after install when boots the first time from the target drive.
Then add that line to /boot/loader.conf.local once it's booted so it sets it at every boot.
-
@stephenw10 Thanks!
will try that shortly! -
@stephenw10 as always, you are a star!
That worked. I am now on a fresh install of 23.01, with the boot loader value disabling the ichsmb device. And yes, the webgui works as well.
Now on to more mundane things, such as why the package manager doesn't show any branch to select, etc....
Thanks!!