pfSense won't load packages after restore
-
I just restored a prior configuration and now my packages will not load:
WARNING: Current pkg repository has a new PHP major version. pfSense should be upgraded before installing any new package.
However, afaik, I am on latest update:
So currently I am unable to install packages and therefore my Wireguard interfaces are dead.
TIA for any input -
After rebooting the systems again and restoring a different configuration, at least the wireguard service is now running...but confused as to why I have no list of packages...TBF until the WG service refused to start, I've not looked at the package manager for a bit.
-
@jmbraben restoring onto 2.7.0 would install packages from that branch which is 2.7.2 now. See my sig and https://docs.netgate.com/pfsense/en/latest/releases/2-7-1.html#troubleshooting. I would try upgrading to 2.7.2. If you end up beating your head against it you can install 2.7.2 fresh and restore.
-
@SteveITS Thank you for the prompt reply!
I was able tocertctl rehash
and then update to 2.7.2
- I am unclear how doing the restore triggered this behavior
...I really don't like updating unless there is a problem to address.
- I am unclear how doing the restore triggered this behavior
-
@jmbraben Restore reinstalls all packages which would pull the files from the latest 2.7.x as I recall. Starting in 2.7.2 one has to manually change the update branch to move to the next version do it is safer now.
The problem is, let’s say the current version has a later PHP and a package is dependent on PHP, it will install the later version which may not work with 2.7.0 code. Or similar with various libraries.
.1 fixed several security flaws: https://docs.netgate.com/pfsense/en/latest/releases/2-7-1.html#security