Can't upgrade from 2.6 to 2.7 because wrong unzoo OS version?
-
Hello,
was finally going to upgrade from 2.6.0-release to 2.7.x, but today I log in and see that pfsense is unable to check for updates.
Worked through the troubleshooting upgrades page at https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html , and it recommends doing pkg-static update -f to update the package metadata.
I believe this has revealed a large clue as to what's broken.
pkg-static update-f output:
[2.6.0-RELEASE][somebody@somebox]/home/somebody: sudo pkg-static update -f Updating pfSense-core repository catalogue... Fetching meta.conf: 100% 163 B 0.2kB/s 00:01 Fetching packagesite.pkg: 100% 2 KiB 1.8kB/s 00:01 Processing entries: 100% pfSense-core repository update completed. 7 packages processed. Updating pfSense repository catalogue... Fetching meta.conf: 100% 163 B 0.2kB/s 00:01 Fetching packagesite.pkg: 100% 156 KiB 159.4kB/s 00:01 Processing entries: 0% pkg-static: Newer FreeBSD version for package unzoo: To ignore this error set IGNORE_OSVERSION=yes - package: 1400085 - running kernel: 1203500 pkg-static: repository pfSense contains packages for wrong OS version: FreeBSD:14:amd64 Processing entries: 100% Unable to update repository pfSense Error updating repositories!
So it looks like there's a problem with unzoo. My first instinct is to go ahead and set ignore_osversion, but wanted to run it by y'all first before I do something stupid.
Thanks!
-
I had the same problem. But I was able to fix it via SSH.
- SSH connection setup and login
- Enter option 13) Update from Console
The upgrade process should now start and takes about 30 minutes. Afterwards you are on pfSense 2.7.0.
Now you can upgrade from 2.7.0 to 2.7.2 with the WebGui.System -> Update -> select Branch 2.7.2 and wait approx. 10 minutes until you can confirm the status. The update to 2.7.2 will then take another 15 minutes.
Translated with DeepL.com (free version)
-
@Theseus Thank you! This worked! (Though no option to go to 2.7.2, only 2.7.0.)
-
@thekorn said in Can't upgrade from 2.6 to 2.7 because wrong unzoo OS version?:
@Theseus Thank you! This worked! (Though no option to go to 2.7.2, only 2.7.0.)
Try https://docs.netgate.com/pfsense/en/latest/releases/2-7-1.html#troubleshooting
-
@SteveITS Thanks. I put it down for a bit, and when I went to look just now the option was magically there all by itself, so problem solved!