1100 Upgrade failed (again...)
-
We have an SG-3100 in production, and two SG-1100s that turned out not to work for the original purpose we had in mind, so they are test systems.
I like to try out new updates on the SG-1100s and see them work, and possibly learn about new features, before updating the SG-3100.
Today, I took an SG-1100 and reloaded it using a pfSense-plus-compat-recovery-23.01-RELEASE-aarch64.img file that was helpfully and kindly provided to me early last year, the last time I tried to update SG-1100s. After the install and reboot, I used the serial console to set these attributes:
LAN IP address
LAN IP bitmask
LAN default routerThen, I could connect to the HTTPS management port, and set these additional attributes with the wizard:
system name
DNS server23.05.1 showed as available, and it installed OK.
After that, 23.09.1 showed as available, so I requested an install of that.
I had a terminal emulator connected to the console, and saw this after the reboot:
Number of packages to be installed: 10 Number of packages to be upgraded: 77 Number of packages to be reinstalled: 1 The process will require 398 MiB more space. [1/88] Upgrading libxml2 from 2.10.3_1 to 2.10.4... [1/88] Extracting libxml2-2.10.4: .......... done [2/88] Upgrading php82 from 8.2.4 to 8.2.11... [2/88] Extracting php82-8.2.11: .......... done [3/88] Upgrading gettext-runtime from 0.21.1 to 0.22_1... [3/88] Extracting gettext-runtime-0.22_1: .......... done [4/88] Upgrading php82-zlib from 8.2.4 to 8.2.11... [4/88] Extracting php82-zlib-8.2.11: ........ done [5/88] Upgrading python39 from 3.9.16_2 to 3.9.17... [5/88] Extracting python39-3.9.17: .....pid 534 (pkg-static), jid 0, uid 0, was killed: failed t o reclaim memory Child process pid=534 terminated abnormally: Killed ... .: cannot open /etc/rc.be_functions.sh: No such file or directory
No surprise that it does not work correctly, since only four of the 88 packages were processed.
So, I guess that the 23.05.1 => 23.09.1 upgrade on an SG-1100 simply is not possible, and I need to request a recovery image.
Can I request a recovery image in advance of actually needing one for the SG-3100? I have a configuration backup, so that rebuild would probably be pretty quick.
Best wishes,
Ken
-
@kj32 it should be possible to upgrade. However there have been several posts about 1100 upgrade issues. Did you by chance have /leave any packages installed?
You can request a firmware for any model any time. Two requests so the serial etc match.
-
I took careful notes during the process I described above, so I do not believe I left out any configuration steps. None of the configuration steps I mentioned included installing any packages.
Of course, if there were extra packages installed in the recovery image I received, then I certainly did not check for that.
Also, I assumed that installing from the recovery image would completely over-write any past configuration, so any extra packages that might have been installed previously would be forgotten. Perhaps that was an incorrect assumption?
Best wishes,
Ken
-
@kj32 So it was a plain install, no restored config or anything? Weird. Yes a reinstall would have nothing on it.
"failed to reclaim memory" sounds like an out of memory issue. I guess I'd ask TAC when you ask them for the image.
-
Perhaps my description of the process would have made more sense as being a complete description if I had made more clear how unlikely I thought it was that the attempted upgrade would succeed. I had tried before -- this was the 'clean', documented attempt that might possibly help someone diagnose it or reproduce it, if they cared to. I try to bring a reasonably positive attitude to the start of a forum discussion, so I left that out.
Best wishes,
Ken
-
Wow. The request for recovery images has already been fulfilled. Either I am lucky today,or someone sped that process up. Either way, thanks.
-
@kj32 My experience with TAC is that you get a response within minutes any time of the day or night.
Ted