Pfsense upgrade from 2.5 to 2.7
-
I was trying to upgrade my pfsense from current version i.e. 2.5 to the latest version i.e. 2.7, however i failed to do so neither from GUI mode nor from CLI. I have attached the screenshot of the error i got on CLI.
Please help me to resolve the issue as this is quite urgent to upgrade now. . -
It's running 2.5.0 or 2.5.2?
Try running:
pfSense-upgrade -d
to get more diagnostic info.It may be easier to install 2.7.2 clean and restore a config backup into it though.
Steve
-
@stephenw10 thank you so much for the help.
We ran the command and got the following output
This is a cluster setup and lots of modules are running like HA, Squid, etc, so will restoring will install these modules too or we will have to do it manually and will restoring 2.5 backup on 2.7.2 result in any compatibility issues in packages as both BSD version and PHP version will be upgraded.
-
running "certctl rehash" from the console or Diagnostics > Command Prompt worked for me. give it a shot.
-
@chrisuan tried but same issue as shared above.
-
I tried "certctl rehash" followed by "pkg-static -d update" commands and got the following output:
-
Yes restoring a config into 2.7.2 will pull in any packages that were installed and includes those configs too.
It probably has a bad pkg. Check the output of:
pkg-static info -x pfSense
-
@stephenw10 this is the output I got from the above command you mentioned.
-
Oh actually it could just be a dns issue. Try:
host pkg01-atx.netgate.com
If that fails make sure Unbound is running or you have other DNS servers entered.