Regression #15964
closedUpgrades on UFS from 23.09.1 to 24.03 or 24.11 Fails
100%
Description
Upgrading either from Serial/SSH console or the webConfigurator while running on UFS are failing from 23.09.1 with a "pkg update required" message after upgrading pkg.
@The process will require 7 MiB more space.
[1/1] Upgrading pkg from 1.20.8_2 to 1.21.3_4...
[1/1] Extracting pkg-1.21.3_4: .......... done
Scanning /usr/share/certs/untrusted for certificates...
Scanning /usr/share/certs/trusted for certificates...
Scanning /usr/local/share/certs for certificates...
You may need to manually remove /usr/local/etc/pkg.conf if it is no longer needed.
pkg-static: Repository pfSense-core cannot be opened. 'pkg update' required
pkg-static: Repository pfSense cannot be opened. 'pkg update' required
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
Upgrading necessary core packages...
pkg-static: Repository pfSense-core cannot be opened. 'pkg update' required
Checking for upgrades (0 candidates): . done
Processing candidates (0 candidates): . done
Checking integrity... done (0 conflicting)
Your packages are up to date.
Updating ldconfig...done.
Upgrading necessary packages...
pkg-static: Repository pfSense cannot be opened. 'pkg update' required
Checking for upgrades (0 candidates): . done
Processing candidates (0 candidates): . done
Checking integrity... done (0 conflicting)
Your packages are up to date.
Updating ldconfig...done.
Setting vital flag on pkg...done.
Unlocking package pfSense-pkg-Netgate_Firmware_Upgrade...done.
Unlocking package pfSense-pkg-WireGuard...done.
Unlocking package pfSense-pkg-aws-wizard...done.
Unlocking package pfSense-pkg-ipsec-profile-wizard...done.
System is going to be upgraded. Rebooting now.
net.inet.carp.allow: 1 -> 0
Terminated
Waiting (max 60 seconds) for system process `vnlru' to stop... done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining... 6 0 0 done
All buffers synced.@
After reboot, attempting to run another upgrade fails unless you switch repos to revert pkg:
pfSense-repoc-static: no package 'name'
pfSense-repoc-static: no pfSense packages installed
libbe_init("") failed.
Updating repositories metadata...
pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended
Updating pfSense-core repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.pkg: . done
Processing entries: . done
pfSense-core repository update completed. 5 packages processed.
Updating pfSense repository catalogue...
Fetching meta.conf: . done
Fetching data.pkg: .......... done
Processing entries: .......... done
pfSense repository update completed. 739 packages processed.
All repositories are up to date.
Locking package pkg...done.
Upgrading pfSense-upgrade...done.
Unlocking package pkg...done.
pfSense-repoc-static: no package 'name'
pfSense-repoc-static: no pfSense packages installed
Setting vital flag on pfSense-upgrade... done.
Updating repositories metadata...
pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended
Updating pfSense-core repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.pkg: . done
Processing entries: . done
pfSense-core repository update completed. 5 packages processed.
Updating pfSense repository catalogue...
Fetching meta.conf: . done
Fetching data.pkg: .......... done
Processing entries: .......... done
pfSense repository update completed. 739 packages processed.
All repositories are up to date.
Locking package pkg... done.
Your packages are up to date
Unlocking package pkg... done.
Upgrading from ZFS-based systems seems to work without issue.
Updated by Georgiy Tyutyunnik 4 months ago
- Status changed from Feedback to Resolved
can successfully update from 23.09.1 to the latest dev or latest stable on UFS
tested on:
25.07-DEVELOPMENT (amd64)
built on Thu Jan 16 6:00:00 UTC 2025
FreeBSD 15.0-CURRENT
24.11-RELEASE (amd64)
built on Sat Jan 11 16:11:00 UTC 2025
FreeBSD 15.0-CURRENT
Updated by Luiz Souza 4 months ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100