pfSense upgrade broke, again
-
I tried upgrading my NetGate 3100 to 23.01 last night and it broke, again. Last time it was potentially a disk space issue, but now it's not.
This is what boot up looks like in the serial console:
Welcome to Netgate pfSense Plus 23.01-RELEASE... .random: unblocking device. ..ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/compat/pkg /usr/lib/engines /usr/local/lib/compat/pkg /usr/local/lib/ipsec /usr/local/lib/perl5/5.32/mach/CORE done. Fatal error: Uncaught Error: Call to undefined function gettext() in /etc/inc/certs.inc:48 Stack trace: #0 /etc/inc/functions.inc(34): require_once() #1 /etc/rc.ecl(25): require_once('/etc/inc/functi...') #2 {main} thrown in /etc/inc/certs.inc on line 48 Launching the init system...Starting CRON... done. Fatal error: Uncaught Error: Call to undefined function gettext() in /etc/inc/certs.inc:48 Stack trace: #0 /etc/inc/functions.inc(34): require_once() #1 /etc/inc/notices.inc(26): require_once('/etc/inc/functi...') #2 /etc/inc/config.inc(51): require_once('/etc/inc/notice...') #3 /etc/rc.start_packages(25): require_once('/etc/inc/config...') #4 {main} thrown in /etc/inc/certs.inc on line 48 Netgate pfSense Plus 23.01-RELEASE arm Fri Feb 10 20:06:58 UTC 2023 Bootup complete
I found multiple posts about a similar error, but I can't use
pkg
to try to fix it because it's not even connected to the Internet. I tried running/etc/netstart
manually but I see errors like these, so, I guess all I can do is pull config (I also auto back it up) and reinstall? It's pretty frustrating, I have to say.Setting hostuuid: f92d6db4-b554-11ed-8342-0008a2122b3a. Setting hostid: 0x89dfd384. /etc/rc.d/hostname: WARNING: $hostname is not set -- see rc.conf(5). /etc/netstart: /etc/rc.d/ipmon: not found /etc/netstart: /etc/rc.d/ipfilter: not found /etc/netstart: /etc/rc.d/ipnat: not found /etc/netstart: /etc/rc.d/ipfs: not found
Edit: Here's the upgrade log:
cat /conf/upgrade_log.txt >>> Setting vital flag on php81... done. ERROR: It was not possible to identify which pfSense meta package is installed Your system is up to date
-
I wound up getting a new image from support. I tried to recover from the autobackup thing but I didn't have my device ID, so make sure to save that along with your password. Luckily, I had backed up config.xml manually as well. All is working again but I wish I knew why it broke. I may only be a home user but this caused some chaos in my household today.