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

    24.03 upgrade: efibootmgr fails

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    21 Posts 2 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic was forked from 23.09.1 to 24.03 - upgrade fails stephenw10
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      newUser2pfSense @04CC40
      last edited by newUser2pfSense

      @04CC40 I can't get 23.09.1 to update to 24.03 as well.

      machdep.bootmethod: BIOS
      efibootmgr: efi variables not supported on this system. root? kldload efirt?

      Received a bunch of PHP errors that state:

      [23-Apr-2024 20:59:24 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0

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

        You have the complete log?

        What hardware is that?

        What filesystem type is it?

        Steve

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

          Not the same failure so I forked to a new topic.

          N 1 Reply Last reply Reply Quote 0
          • N
            newUser2pfSense @stephenw10
            last edited by newUser2pfSense

            @stephenw10 Ah yes, I see that now. I accidentally answered on the other topic. My apologies.

            I do have the complete log listed below. The hardware is my own and I've had pfSense installed on it for a very long time, several years actually and it's worked fine. I installed pfSense with the ZFS file system.

            [23-Apr-2024 20:59:24 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
            [23-Apr-2024 20:59:24 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
            [23-Apr-2024 20:59:24 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
            [23-Apr-2024 20:59:25 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
            [23-Apr-2024 20:59:27 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
            [23-Apr-2024 20:59:38 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
            [23-Apr-2024 20:59:56 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
            [23-Apr-2024 20:59:57 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
            [23-Apr-2024 20:59:57 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
            [23-Apr-2024 20:59:57 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
            [23-Apr-2024 21:00:00 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
            [23-Apr-2024 21:00:43 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
            [23-Apr-2024 21:00:44 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
            [23-Apr-2024 21:04:56 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
            [23-Apr-2024 21:05:00 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
            [23-Apr-2024 21:09:56 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
            [23-Apr-2024 21:10:00 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
            [23-Apr-2024 21:14:56 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
            [23-Apr-2024 21:15:00 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
            [23-Apr-2024 21:19:57 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
            [23-Apr-2024 21:20:00 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
            [23-Apr-2024 21:24:57 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
            [23-Apr-2024 21:25:00 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0

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

              Library errors like that are exactly what you might expect to see if the upgrade process is killed part way through and so some pkgs are updated and others are not.

              Were you able to roll back the ZFS BE to 23.09.1 and retry?

              The SG-2220 had a very small eMMC originally which could be causing this.

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

                Ah sorry. Me too!

                That still applies. Could be out of space.

                That system is not booting UEFI so that efibootmgr error is expected.

                N 1 Reply Last reply Reply Quote 0
                • N
                  newUser2pfSense @stephenw10
                  last edited by newUser2pfSense

                  @stephenw10 Mine shouldn't be running out of space. I have a 1TB SSD in the computer with 64Gig of RAM. I didn't have to roll back - at least the Dashboard still shows I'm on 23.09.1.

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

                    You might need to roll back to correct the library errors.

                    Otherwise I would try to upgrade from the command line to get more debug output: pfSense-upgrade-d

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      newUser2pfSense @stephenw10
                      last edited by

                      @stephenw10 Uh oh...So, what/how do I roll back?

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

                        Go to System > Boot Environments and see what is shown. A new BE is created at upgrade and that is updated. If it failed during that process it may not have caused a problem for the running BE.

                        Try running: pkg-static update

                        If that completes without error then just try upgrading again but from the command line to get more error output.

                        N 1 Reply Last reply Reply Quote 0
                        • N
                          newUser2pfSense @stephenw10
                          last edited by

                          @stephenw10 Ok, it doesn't appear that a new Boot Environment was created.

                          I tired running the pkg-static update and the terminal just shows the current boot environment and the next boot environment which are the same. It's the same as in the System > Boot Environments.

                          pfsense-upgrade-d didn't do anything. The terminal just gave the same as above.

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

                            @newUser2pfSense said in 24.03 upgrade: efibootmgr fails:

                            pfsense-upgrade-d

                            It's: pfSense-upgrade -d

                            N 1 Reply Last reply Reply Quote 0
                            • N
                              newUser2pfSense @stephenw10
                              last edited by

                              @stephenw10 pfSense-upgrade -d didn't do anything. Still got the same crash report -

                              Crash report begins. Anonymous machine information:

                              amd64
                              14.0-CURRENT
                              FreeBSD 14.0-CURRENT amd64 1400094 #1 plus-RELENG_23_09_1-n256200-3de1e293f3a: Wed Dec 6 21:00:32 UTC 2023 root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-23_09_1-main/obj/amd64/Obhu6gXB/var/jenkins/workspace/pfSense-Plus-snapshots-23_09_1

                              Crash report details:

                              PHP Errors:
                              [23-Apr-2024 23:53:11 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
                              [23-Apr-2024 23:53:11 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
                              [23-Apr-2024 23:53:11 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
                              [23-Apr-2024 23:53:12 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
                              [23-Apr-2024 23:53:14 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
                              [23-Apr-2024 23:53:24 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
                              [23-Apr-2024 23:53:42 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
                              [23-Apr-2024 23:53:42 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
                              [23-Apr-2024 23:53:42 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
                              [23-Apr-2024 23:53:42 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
                              [23-Apr-2024 23:54:29 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
                              [23-Apr-2024 23:54:30 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0
                              [23-Apr-2024 23:55:00 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20220829/intl.so (Shared object "libicuio.so.73" not found, required by "intl.so"), /usr/local/lib/php/20220829/intl.so.so (Cannot open "/usr/local/lib/php/20220829/intl.so.so")) in Unknown on line 0

                              No FreeBSD crash data found.

                              N 1 Reply Last reply Reply Quote 0
                              • N
                                newUser2pfSense @newUser2pfSense
                                last edited by

                                @newUser2pfSense Here is a notice -

                                Boot verification failed for default_20240423162613_20240423163602. Netgate pfSense Plus was automatically rebooted back into default_20240423162613_20240423163602_20240423164813. @ 2024-04-23 19:50:41

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

                                  Try this: https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html#upgrade-not-offered-library-errors

                                  N 1 Reply Last reply Reply Quote 0
                                  • N
                                    newUser2pfSense @stephenw10
                                    last edited by

                                    @stephenw10 The upgrade is definitely offered. I may have to do a forced package reinstall.

                                    N 1 Reply Last reply Reply Quote 0
                                    • N
                                      newUser2pfSense @newUser2pfSense
                                      last edited by newUser2pfSense

                                      Ok, got some errors. I'll attempt to type them out below -

                                      pkg-static clean -ay; pkg-static install -fy pkg pfSense-repo pfSense-upgrade
                                      pkg-static upgrade -f

                                      Updating pfSense-core repository catalogue...
                                      pkg-static: An error occured while fetching package
                                      pkg-static: An error occured while fetching package
                                      repository pfSense-core has no meta file, using default settings
                                      pkg-static: An error occured while fetching package
                                      pkg-static: An error occured while fetching package
                                      Unable to update repository pfSense-core
                                      Updating pfSense repository catalogue...
                                      pkg-static: An error occured while fetching package
                                      pkg-static: An error occured while fetching package
                                      repository pfSense has no meta file, using default settings
                                      pkg-static: An error occured while fetching package
                                      pkg-static: An error occured while fetching package
                                      Unable to update repository pfSense
                                      Error updating repositories!

                                      N 1 Reply Last reply Reply Quote 0
                                      • N
                                        newUser2pfSense @newUser2pfSense
                                        last edited by

                                        Tried to install from the console one last time. The below are the last lines of text from the install.

                                        Done.
                                        Copying upgrade log...done.
                                        Unmounting upgraded boot environment...done.
                                        Activating default_20240423162613_20240423163602_20240423164813_20240423194846 for the next boot only...done.
                                        System is going to be upgraded. Rebooting in 10 seconds.
                                        Unlocking package pkg...done.
                                        Success

                                        The Dashboard still shows I'm on 23.09.1

                                        N 1 Reply Last reply Reply Quote 0
                                        • N
                                          newUser2pfSense @newUser2pfSense
                                          last edited by

                                          BEs.png

                                          1 Reply Last reply Reply Quote 0
                                          • N newUser2pfSense referenced this topic on
                                          • stephenw10S
                                            stephenw10 Netgate Administrator
                                            last edited by

                                            Ok you can see it's creating a new BE for 23.04 each time you try to upgrade. It's probably booting into that but fails to boot fully for some reason so it's reverting to the old BE. You should be able to see that happening at the con sole though?

                                            @newUser2pfSense said in 24.03 upgrade: efibootmgr fails:

                                            pkg-static: An error occured while fetching package
                                            pkg-static: An error occured while fetching package

                                            Errors like that are something we can work with. That should have shown when you ran pkg-static -d update though. And that should give more debug output showing why it's unable to fetch those packages.

                                            If you run those commands vi aSSH you can just copy/paste the output.

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