Cannot Update PFSENSE
-
@Gertjan this is bad. I'm newer using pfsense. And where i work forgot to updating pfsense since 2021, and now this confusion is in my hands. I don't know how i can pick up de backupfile
-
@jimp my repositories is broken. When i try to update using PKG-STATIC returns me the first screenshot saying "Consider changin PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'."
-
@xarope1337 said in Cannot Update PFSENSE:
I don't know how i can pick up de backupfile
You've console access ! Get a copy of /conf/config.xml, that's the file.
The experience you have now is a bit like "upgrading from Windows 7 to Windows 11". If possible, it will be with pain. Do what we all do : re install and call it a day.
-
Do you not have gui access?
If you do what repo branches do you see?
2.4.5 to 23.01 is a big jump.
-
@stephenw10 yeah i have gui acess to my pfsense.
The freebsd repositories when i try update pkg upgrade or pkg-static upgrade the o.s attempt to push repositories he try download an repository from 2019, but, this repository no exists, only repositories from FreeBSD Version 13 -
@Gertjan woah... this is terrible. I Can't going updating like a "going up stairs?"
Updating version per version.. -
@xarope1337 You should not be trying to update anything manually, use the console option or the web GUI to upgrade. Yes there are very likely multiple steps if you are that many versions old. Hence the suggestions to just install again and restore from backup. :)
Edit: the pfSense updates will also update FreeBSD along the way.
-
@SteveITS my boss don't want to install again pfsense, and i can't say no, he is a little pride, because this i need to solve this problem.
soo, let's go:
i can just upgrading just pressing the button "Confirm" ?or i am have other form to updating this version per version, avoiding the "biggest" update jumping 2.4.5 to 23.01 ?
-
@xarope1337 If it is offered, it should work. If it runs into problems, reinstalling is safest/best/fastest.
What model hardware is this? You can open a ticket and download the firmware first. https://docs.netgate.com/pfsense/en/latest/solutions/
You should probably read
https://docs.netgate.com/pfsense/en/latest/install/upgrade-guide-versions.html
and
https://docs.netgate.com/pfsense/en/latest/install/upgrade-guide.html -
@SteveITS i'll see these articles, thanks a lot!
we use this pfsense in AWS EC2.I press the confirmation button, but the update system is stuck
-
To be clear pfSense does not use the FreeBSD pkg repos and if you see it trying to connect there then something/someone has added custom repo files.
What branches do you see offered in the GUI?
Try to upgrade at the command line so you see more useful error output:
pfSense-upgrade -d
-
@stephenw10 said in Cannot Update PFSENSE:
Try to upgrade at the command line so you see more useful error output:
pfSense-upgrade -dHello, when i try to run this command, the CLI returns me:
-
OK so it's trying to use something in pkg that doesn't exist in 2.4.5.
So, again, what update branches do you see offered in the GUI?
2.4.5 to 23.01 is too large a jump. You will probably need to upgrade first to something closer to 2.4.5.