SG1100 to 24.11 issues
-
@michmoor How many boot environments do you have if you go to System -> Boot Environments? There's not a lot of space on an SG-1100, so you may need to clean some of them out. Especially if you have boot environments going back a ways.
-
Mmm, 5.6GB should be easily enough but I would still remove any old BEs you might have there.
-
Not sure what to delete here.
-
After deleting the non default BE and running the upgrade process again i receive the following message
-
I would try removing those large pkgs and retrying. Especially if pfBlocker has any large lists. I suspect it's exhausting the RAM.
-
Just for the records: had a similar issue when upgrading from the RC to the release (only 7 packages upgraded).
Solved by removing one BE with ~1.4GB.now on 24.11: thanks all for your work!
-
Removed pfblocker and frr but still the upgrade is failing
Not sure what pkg-static is but that seems problematic -
@michmoor pkg relies on dynamic libraries provided by the system whereas pkg-static does not. Usually that message indicates the system is running out of memory. There are some situations where 2GB is required for the upgrade to succeed. My suggestion in this case would be to create a BE with everything working, uninstall all packages, update, reinstall packages. then create a new BE.
-
Yes, looks like it's still exhausting the RAM. How much free RAM is shown before the upgrade starts?
-
@stephenw10
Im in the process of removing packages.
How do I check the amount of memory prior to an upgrade? -
The dashboard will give you a rough value. Otherwise check the output of
top
r in Diag > System Activity. -
No packages installed.
-
Should be fine from there.
-
So close. Prior it kep stalling on the python install. It got pass that and now its failing here.
-
Ok, reboot to free up RAM then try upgrading from the CLI without the webgui open.
pfSense-upgrade -d
That will show you more error output if it fails again.
-
@stephenw10 That last error pointed to bsnmpd. I disabled it and ran through the upgrade process.
That is successful and the system reboot into 24.11Thanks @stephenw10 and @marcosm for the assist here. Appreciate yah.
One last question, help me understand the requirements for the SG1100 regarding packages. When purchasing the unit, I knew it would be limited in usage with heavier packages like Suricata. The thinking is that this location has a 300Mbps line and didn't need much in hardware.
I didn't feel that pfblocker or frr were heavy. Is there concern about running extra packages? Is FRR suitable for running on the unit? -
It depends!
FRR could use a lot if you tried to load a bgp full routing table for example. Equally pfBlocker can use a lot of RAM if you load all the huge lists. But both will run on an 1100 given some limits.
But bsnmpd is interesting. It could have just been the last thing that tried to allocate RAM.
-
@michmoor It ultimately depends on the usage. I run FRR on a lab with all devices at 1GB and haven't had issues with it. I don't think I'd run pfBlockerNG, Suricata/Snort, and FRR all on the same 1GB device, but that's not to say it can't work.
-
@marcosm
FRR its for bgp and only for advertising less than 2 prefixes and receiving 10. Def not meant for edge routing in that way.The unit was also up for over 100 days so could it be possible there was some memory not properly released?
In either case, successful upgrade and re-adding the packages is a snap. I will be thinking a bit more carefully about what packages will get installed at a future point.