24.03 upgrade: efibootmgr fails
-
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.
-
@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.
-
@newUser2pfSense said in 24.03 upgrade: efibootmgr fails:
pfsense-upgrade-d
It's:
pfSense-upgrade -d
-
@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_1Crash 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 0No FreeBSD crash data found.
-
@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
-
-
@stephenw10 The upgrade is definitely offered. I may have to do a forced package reinstall.
-
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 -fUpdating 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! -
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.
SuccessThe Dashboard still shows I'm on 23.09.1
-
-
-
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 packageErrors 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.
-
@stephenw10 Well, to fix the issue, I was lucky I made a backup before attempting to update. I ended up downloading the new 2.7.2 CE ISO with my MacBook Pro through my iPhone hotspot, checked the checksum, and burned the ISO to disk. I wiped the SSD on my computer that pfSense was installed on. I then installed a fresh/clean pfSense 2.7.2 CE. I restored the backup. I updated pfSense to 24.03. All is good now. Wheeeew!