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

    No webgui after update to 23.01 from console

    Scheduled Pinned Locked Moved General pfSense Questions
    19 Posts 3 Posters 2.0k 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
      yellowbrick
      last edited by

      Hello,
      I ssh'd into my SG-4860 and did the following:

      • ran pkg bootstrap -f which updated the pkg to Extracting 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!

      S 1 Reply Last reply Reply Quote 0
      • Y
        yellowbrick
        last edited by

        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)

        1 Reply Last reply Reply Quote 0
        • S
          SteveITS Galactic Empire @yellowbrick
          last edited by

          @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.html

          There 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

          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
          Upvote ๐Ÿ‘ helpful posts!

          Y S 2 Replies Last reply Reply Quote 1
          • Y
            yellowbrick @SteveITS
            last edited by

            @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!!

            S 1 Reply Last reply Reply Quote 0
            • S
              SteveITS Galactic Empire @yellowbrick
              last edited by

              @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

              Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
              When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
              Upvote ๐Ÿ‘ helpful posts!

              Y 1 Reply Last reply Reply Quote 1
              • jimpJ jimp moved this topic from Problems Installing or Upgrading pfSense Software on
              • Y
                yellowbrick @SteveITS
                last edited by

                @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
                
                S 1 Reply Last reply Reply Quote 0
                • S
                  SteveITS Galactic Empire @yellowbrick
                  last edited by

                  @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.

                  Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                  When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                  Upvote ๐Ÿ‘ helpful posts!

                  1 Reply Last reply Reply Quote 1
                  • Y
                    yellowbrick
                    last edited by

                    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!

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      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=bectl

                      Steve

                      Y 1 Reply Last reply Reply Quote 0
                      • Y
                        yellowbrick @stephenw10
                        last edited by

                        Hi @stephenw10 that did not work.
                        After I ran bectl -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?

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          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 and pkg info -x php for the expected 23.01 and php81 versions.

                          If you have a backup config it's probably quicker to reinstall.

                          Steve

                          Y 1 Reply Last reply Reply Quote 1
                          • Y
                            yellowbrick @stephenw10
                            last edited by yellowbrick

                            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?

                            1 Reply Last reply Reply Quote 0
                            • S
                              SteveITS Galactic Empire @SteveITS
                              last edited by

                              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.html

                              Not 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.

                              Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                              When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                              Upvote ๐Ÿ‘ helpful posts!

                              1 Reply Last reply Reply Quote 1
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by

                                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.

                                1 Reply Last reply Reply Quote 1
                                • Y
                                  yellowbrick
                                  last edited by

                                  Thanks both...I have the image now from support. Will try the clean install tomorrow.

                                  Again, many thanks.

                                  Y 1 Reply Last reply Reply Quote 0
                                  • Y
                                    yellowbrick @yellowbrick
                                    last edited by

                                    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
                                    .
                                    .
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • stephenw10S
                                      stephenw10 Netgate Administrator
                                      last edited by

                                      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.

                                      Y 2 Replies Last reply Reply Quote 1
                                      • Y
                                        yellowbrick @stephenw10
                                        last edited by

                                        @stephenw10 Thanks!
                                        will try that shortly!

                                        1 Reply Last reply Reply Quote 0
                                        • Y
                                          yellowbrick @stephenw10
                                          last edited by

                                          @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!!

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