SG-1100 Upgrade 23.09.1 to 24.03_1 failure
-
Try running the upgrade from the command line. That gives more debug info and it also frees some resources by not having the webgui open:
pfSense-uprade -d
-
@stephenw10 said in SG-1100 Upgrade 23.09.1 to 24.03_1 failure:
stephenw10
NETGATE
ADMINISTRATOR
about 3 hours agoTry running the upgrade from the command line. That gives more debug info and it also frees some resources by not having the webgui open:
pfSense-uprade -d
Reply Quote
0Ran
pfSense-upgrade -d
and arrived to the same issue (lost the log), and thenpfSense-upgrade -d -R
to prevent auto boot:pfSense-u-boot-2100-20210930_1 [pfSense] (ABI changed: 'freebsd:14:*' -> 'freebsd:15:*') pfSense-u-boot-env-20230123 [pfSense] (ABI changed: 'freebsd:14:aarch64:64' -> 'freebsd:15:aarch64:64') pkcs11-helper-1.29.0 [pfSense] (ABI changed: 'freebsd:14:aarch64:64' -> 'freebsd:15:aarch64:64') py311-libzfs-1.1.2023020700 [pfSense] (ABI changed: 'freebsd:14:aarch64:64' -> 'freebsd:15:aarch64:64') py311-setuptools-63.1.0_1 [pfSense] (ABI changed: 'freebsd:14:*' -> 'freebsd:15:*') qstats-0.2 [pfSense] (ABI changed: 'freebsd:14:aarch64:64' -> 'freebsd:15:aarch64:64') radvd-2.19_2 [pfSense] (ABI changed: 'freebsd:14:aarch64:64' -> 'freebsd:15:aarch64:64') rate-0.9_2 [pfSense] (ABI changed: 'freebsd:14:aarch64:64' -> 'freebsd:15:aarch64:64') rrdtool-1.8.0_2 [pfSense] (ABI changed: 'freebsd:14:aarch64:64' -> 'freebsd:15:aarch64:64') scponly-4.8.20110526_5 [pfSense] (ABI changed: 'freebsd:14:aarch64:64' -> 'freebsd:15:aarch64:64') smartmontools-7.4 [pfSense] (ABI changed: 'freebsd:14:aarch64:64' -> 'freebsd:15:aarch64:64') ssh_tunnel_shell-0.2_1 [pfSense] (ABI changed: 'freebsd:14:aarch64:64' -> 'freebsd:15:aarch64:64') uclcmd-0.2.20211204 [pfSense] (ABI changed: 'freebsd:14:aarch64:64' -> 'freebsd:15:aarch64:64') voucher-0.1_3 [pfSense] (ABI changed: 'freebsd:14:aarch64:64' -> 'freebsd:15:aarch64:64') vstr-1.0.15_1 [pfSense] (ABI changed: 'freebsd:14:aarch64:64' -> 'freebsd:15:aarch64:64') whois-5.5.7 [pfSense] (ABI changed: 'freebsd:14:aarch64:64' -> 'freebsd:15:aarch64:64') wol-0.7.1_4 [pfSense] (ABI changed: 'freebsd:14:aarch64:64' -> 'freebsd:15:aarch64:64') xinetd-2.3.15_2 [pfSense] (ABI changed: 'freebsd:14:aarch64:64' -> 'freebsd:15:aarch64:64') zip-3.0_1 [pfSense] (ABI changed: 'freebsd:14:aarch64:64' -> 'freebsd:15:aarch64:64') zstd-1.5.5 [pfSense] (ABI changed: 'freebsd:14:aarch64:64' -> 'freebsd:15:aarch64:64') Number of packages to be removed: 51 Number of packages to be installed: 55 Number of packages to be upgraded: 47 Number of packages to be reinstalled: 78 The operation will free 32 MiB. [1/231] Reinstalling indexinfo-0.3.1... [1/231] Extracting indexinfo-0.3.1: .... done [2/231] Reinstalling mpdecimal-2.5.1... [2/231] Extracting mpdecimal-2.5.1: .......... done [3/231] Upgrading gettext-runtime from 0.22_1 to 0.22.3... [3/231] Extracting gettext-runtime-0.22.3: .......... done [4/231] Upgrading readline from 8.2.1 to 8.2.7... [4/231] Extracting readline-8.2.7: .......... done [5/231] Reinstalling libffi-3.4.4... [5/231] Extracting libffi-3.4.4: .......... done [6/231] Reinstalling libunistring-1.1... [6/231] Extracting libunistring-1.1: .......... done [7/231] Reinstalling libiconv-1.17... [7/231] Extracting libiconv-1.17: .......... done [8/231] Upgrading python311 from 3.11.4 to 3.11.7... [8/231] Extracting python311-3.11.7: ...... [8/231] Extracting python311-3.11.7... done [23.09.1-RELEASE][root@pfSense.localdomain]/root:
-
I've upgraded the pkg tool (via
pkg upgrade pkg
) and giving it another try to the upgrade. -
Managed to get a core dump when running the upgrade...
[176/180] Fetching expat-2.5.0.pkg: . done [177/180] Fetching php83-sysvsem-8.3.1.pkg: . done [178/180] Fetching php83-pecl-rrd-2.0.3.pkg: . done [179/180] Fetching py311-libzfs-1.1.2023020700.pkg: ...... done [180/180] Fetching sshguard-2.4.3_2,1.pkg: .......... done Checking integrity...Bus error (core dumped)
-
Hmm, anything in the system logs when either of those fail?
Check for coredumps in /root. What actually dumped?
-
@stephenw10 I didn't find any core dumps... And actually the upgrade of
pkg
was "downgraded" after a reboot. I am able to write to the filesystem (tried writing to most of them).Without the upgraded
pkg
, it isn't core dumping anymore, but still the upgrade fails and I can't find any smoking gun... no logs, nothing suspicious.Any pointers / ideas?
-
Try rebooting and then running the upgrade at the console without logging into the webgui so the maximum resources are available.
Otherwise you can always install 24.03 clean and restore the config.
-
@stephenw10 Tried the clean boot without the GUI, same issue. Where can I download the fresh install of 24?
-
Get the Net Installer as shown here:
https://docs.netgate.com/pfsense/en/latest/solutions/sg-1100/reinstall-pfsense.html -
I ran a fresh installation and got another failure:
I think I can assume there is a HW error on my device at this point.
-
@manzato Just checking to see if you tried a different USB stick too
-
Hmm, that does seem like it could be a storage issue.
-
@stephenw10 is there anything I can try to confirm it? Is it serviceable in any way? Or is it going to the trash can?
-
Well I would try several times at least. And I would try using several USB sticks.
When it fails like that you can drop to the shell and check what the exact errors are.
I would start by just running:
dmesg
If it's a drive issue you will see a bunch of errors show there.