Is there a way to set the firmware version and upgrade pfSense from the console?
-
Doing it through the "Update" UI is clunky and has caused the
pkg
command to break a couple times when simply selecting different firmware versions to check from the selection dropdown. If there's a way to handle this completely through console commands it would be a life-saver. -
-
There isn't a console-based method of selecting the upgrade branch at the moment, but you can run the upgrade check (
pfSense-upgrade -c
) and the actual upgrade (pfSense-upgrade
) from the console. -
@jimp I have
pfSense-upgrade -d
set on a CRON task, but thanks for the tip! Is there a way to downgrade at all w/out installing from a flash drive? -
Running
pfSense-upgrade
from a cron job is a terrible idea.There is no way to downgrade.
-
@t145 said in Is there a way to set the firmware version and upgrade pfSense from the console?:
Is there a way to downgrade at all w/out installing from a flash drive?
Presently it's all a live filesystem, and your config file post-upgrade is incompatible with older releases.
This might be functional in the future with ZFS but as I understand right now that's not possible.
-
@jimp said in Is there a way to set the firmware version and upgrade pfSense from the console?:
Running
pfSense-upgrade
from a cron job is a terrible idea.There is no way to downgrade.
Noted; I'll remove the entry xd
-
You can roll-back to an earlier BE snapshots if you re using ZFS. I have tested that between 23.01 and 22.05.
Steve