Project

General

Profile

Actions

Regression #15964

closed

Upgrades on UFS from 23.09.1 to 24.03 or 24.11 Fails

Added by Kris Phillips 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Very High
Assignee:
Category:
Upgrade
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Release Notes:
Default
Affected Plus Version:
23.09.1
Affected Architecture:

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.

Actions #1

Updated by Steve Wheeler 4 months ago

  • Status changed from New to Confirmed
Actions #3

Updated by Marcos M 4 months ago

  • Status changed from Confirmed to In Progress
  • Assignee set to Luiz Souza
Actions #4

Updated by Marcos M 4 months ago

  • Status changed from In Progress to Feedback

Relevant fixes have been applied/picked.

Actions #5

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

Actions #6

Updated by Luiz Souza 4 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF