(SOLVED) pfSense+ Plus upgrade from 23.01 to 23.05
-
I'm having the same issue as OP
- Fresh install on a box of pfSense 2.6 CE
- Activated pfSense Plus key and upgraded to v23.01
- Attempted to upgrade to v23.05.b.20230502.0600 in System / Update
I've confirmed using ps that there are no
pkg
orpfsense-upgrade
processes running in the background.When using shell option 13
pkg-static: No package(s) matching pfSense-pkg-* pfSense-repoc-static: cannot get package information failed to collect the system information. failed to update the repository settings!!! failed to update the repository settings!!!
Tried to re-install
pfSense-repo pfSense-upgrade
which did not make a difference. -
So the upgrade from 2.6 to 23.01 was successful?
It only failed after you set the update branch to 23.05?
Is there anything in the system logs at that point?
I would expect it to show some pkg updates when you changed the branch.Steve
-
@stephenw10 yeah correct, upgrade from CE 2.6 to Plus 23.01 no issue. All I did is make some interface changes in between, no packages or anything installed.
In the system log there is only two lines that shows up
May 3 10:06:51 pfsense php-fpm[44992]: /pkg_mgr_install.php: Configuration Change: admin@10.1.2.3 (Local Database): Creating restore point before upgrade. May 3 10:06:51 pfsense check_reload_status[435]: Syncing firewall
Setting the update branch back to 23.01, then running
pkg-static clean -ay; pkg-static install -fy pkg pfSense-repo pfSense-upgrade
and then running option 13 from the console allows the update script to run without errors.Now if I set the branch to 23.05 in the system log it shows:
May 3 10:26:15 pfsense pkg-static[57146]: pkg upgraded: 1.18.4_4 -> 1.19.1_1
But the webGUI shows
Unable to check for updates
Reloading the page shows version
23.05.b.20230503.0600
available. Nothing is logged.
I click Confirm to upgrade, and the system.log shows
May 3 10:29:23 pfsense php-fpm[394]: /pkg_mgr_install.php: Configuration Change: admin@10.1.2.3 (Local Database): Creating restore point before upgrade. May 3 10:29:23 pfsense check_reload_status[423]: Syncing firewall May 3 10:29:31 pfsense pkg-static[30438]: pfSense-upgrade upgraded: 1.0_59 -> 1.0_65
And the webGUI shows
Subsequent attempts to run it again bring me back to the beginning where all the log shows is Creating restore point.
-
Ok, thanks. Let me see if I can replicate it.....
-
Replicated it. Digging....
-
@stephenw10 have you found anything more on this? I just tested it again now trying to update to 23.05.r.20230509.2241 and still having the same issue.
-
From 23.01? That should be working now as expected. It's possible you are stuck on an older version of the pfSense-upgrade package. Setting the repo back to 23.01 and then running:
pkg-static clean -ay; pkg-static install -fy pkg pfSense-repo pfSense-upgrade
Should allow it to then pull in the current version when you switch back.
-
@stephenw10 done that. You said above you had replicated it so I thought maybe you found a solution.
Just getting this
>>> Updating repositories metadata... Updating pfSense-core repository catalogue... Fetching meta.conf: . done Fetching packagesite.pkg: . done Processing entries: .. done pfSense-core repository update completed. 15 packages processed. Updating pfSense repository catalogue... Fetching meta.conf: . done Fetching packagesite.pkg: .......... done Processing entries: Processing entries............. done pfSense repository update completed. 549 packages processed. All repositories are up to date. >>> Upgrading pfSense-upgrade... done. pkg-static: No package(s) matching pfSense-pkg-* pfSense-repoc-static: cannot get package information failed to collect the system information. failed to update the repository settings!!! failed to update the repository settings!!! Netgate pfSense Plus - Serial: xxxx - Netgate Device ID: xxxx
-
Yes, we found an issue there and fixed it. It should be working OK now.
What output do you see from:pkg-static info -x pfSense
-
@stephenw10 ok interesting.
So here's what it shows when I have the update channel set to 23.05-RCpfSense-23.01 pfSense-Status_Monitoring-1.8 pfSense-base-23.01 pfSense-boot-23.01 pfSense-default-config-serial-23.01 pfSense-kernel-pfSense-23.01 pfSense-rc-23.01 pfSense-repo-23.01 pfSense-repoc-20230418_1 pfSense-upgrade-1.0_66 php81-pfSense-module-0.91
And setting the channel back to 23.01 Stable and re-installing the upgrade package, it shows:
pfSense-23.01 pfSense-Status_Monitoring-1.8 pfSense-base-23.01 pfSense-boot-23.01 pfSense-default-config-serial-23.01 pfSense-kernel-pfSense-23.01 pfSense-rc-23.01 pfSense-repo-23.01 pfSense-repoc-20230418_1 pfSense-upgrade-1.0_61 php81-pfSense-module-0.91
-
Hmm, that looks correct. What happens if you try to upgrade from the CLI using:
pfSense-upgrade -d
?
It should at least show you the real error there. -
pkg-static: No package(s) matching pfSense-pkg-* pfSense-repoc-static: cannot get package information failed to collect the system information. failed to update the repository settings!!! failed to update the repository settings!!!
Now I just noticed that if I run
pkg-static bootstrap -f
that it shows authentication errors.Bootstrapping pkg from pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_05_amd64-pfSense_plus_v23_05, please wait... Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/OU=pfSense Plus/CN=pfsense-plus-pkg01.atx.netgate.com 48986704949248:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/sources/FreeBSD-src-plus-RELENG_23_01/crypto/openssl/ssl/statem/statem_clnt.c:1921: ...
I verified that date and time is correct. Oddly it was able to see that there was the new
23.05.r.20230509.2241
build today so it's able to connect to some degree.If nobody else is dealing with this issue upgrading to 23.05-RC then I'll just re-install this box and start over.
-
Mmm, that particular issue has been fixed but you seem to be stuck in a dead-end somehow.
Reinstalling is going to be quicker.
-
-
-
-
@stephenw10 I seem to be stuck as well. "pkg-static clean -ay; pkg-static install -fy pkg pfSense-repo pfSense-upgrade" didn't do the trick for me.
Shell Output - pkg-static info -x pfSense
pfSense-23.01
pfSense-Status_Monitoring-1.8
pfSense-base-23.01
pfSense-boot-23.01
pfSense-default-config-serial-23.01
pfSense-kernel-pfSense-23.01
pfSense-pkg-Cron-0.3.8_3
pfSense-pkg-Netgate_Firmware_Upgrade-0.56
pfSense-pkg-Service_Watchdog-1.8.7_1
pfSense-pkg-Status_Traffic_Totals-2.3.2_3
pfSense-pkg-System_Patches-2.2.2
pfSense-pkg-arping-1.2.2_4
pfSense-pkg-arpwatch-0.2.1
pfSense-pkg-pfBlockerNG-3.2.0_4
pfSense-rc-23.01
pfSense-repo-23.01
pfSense-repoc-20230418_1
pfSense-upgrade-1.0_66
php81-pfSense-module-0.91Shell Output pfSense-upgrade -d
pfSense-repoc-static: invalid signature
failed to read the repo data.
failed to update the repository settings!!!
failed to update the repository settings!!!Still seeing "Another instance of pfSense-upgrade is running. Try again later" when trying a GUI update from 23.01 to today's RC (May 12)
-
If you set it back to 23.01 does it still show an error?
Does
pkg-static -d update
also error out? -
Oh interesting...with Update set to 23.01 "pkg-static -d update" shows the following.
Shell Output - pkg-static -d update
DBG(1)[10594]> pkg initialized
Updating pfSense-core repository catalogue...
DBG(1)[10594]> PkgRepo: verifying update for pfSense-core
pkg-static: Repository pfSense-core has a wrong packagesite, need to re-create database
DBG(1)[10594]> PkgRepo: need forced update of pfSense-core
DBG(1)[10594]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite'
DBG(1)[10594]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_01_amd64-core/meta.conf
DBG(1)[10594]> opening libfetch fetcher
DBG(1)[10594]> Fetch > libfetch: connecting
DBG(1)[10594]> Fetch: fetching from: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_01_amd64-core/meta.conf with opts "i"
DBG(1)[10594]> Fetch: fetcher chosen: https
Fetching meta.conf: . done
DBG(1)[10594]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_01_amd64-core/packagesite.pkg
DBG(1)[10594]> opening libfetch fetcher
DBG(1)[10594]> Fetch > libfetch: connecting
DBG(1)[10594]> Fetch: fetching from: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_01_amd64-core/packagesite.pkg with opts "i"
DBG(1)[10594]> Fetch: fetcher chosen: https
Fetching packagesite.pkg: . done
DBG(1)[10594]> PkgRepo: extracting packagesite.yaml of repo pfSense-core
DBG(1)[10728]> PkgRepo: extracting signature of repo in a sandbox
DBG(1)[10594]> Pkgrepo, reading new packagesite.yaml for '/var/db/pkg/repo-pfSense-core.sqlite'
Processing entries: .. done
pfSense-core repository update completed. 15 packages processed.
Updating pfSense repository catalogue...
DBG(1)[10594]> PkgRepo: verifying update for pfSense
DBG(1)[10594]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense.sqlite'
DBG(1)[10594]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_01_amd64-pfSense_plus_v23_01/meta.conf
DBG(1)[10594]> opening libfetch fetcher
DBG(1)[10594]> Fetch > libfetch: connecting
DBG(1)[10594]> Fetch: fetching from: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_01_amd64-pfSense_plus_v23_01/meta.conf with opts "i"
DBG(1)[10594]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_01_amd64-pfSense_plus_v23_01/packagesite.pkg
DBG(1)[10594]> opening libfetch fetcher
DBG(1)[10594]> Fetch > libfetch: connecting
DBG(1)[10594]> Fetch: fetching from: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_01_amd64-pfSense_plus_v23_01/packagesite.pkg with opts "i"
DBG(1)[10594]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_01_amd64-pfSense_plus_v23_01/packagesite.txz
DBG(1)[10594]> opening libfetch fetcher
DBG(1)[10594]> Fetch > libfetch: connecting
DBG(1)[10594]> Fetch: fetching from: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_01_amd64-pfSense_plus_v23_01/packagesite.txz with opts "i"
pfSense repository is up to date.
All repositories are up to date. -
And
pfSense-upgrade -dc
also? -
@stephenw10 Update still set to 23.01
Shell Output - pfSense-upgrade -dc
pfSense-repoc-static: invalid signature
failed to read the repo data.
failed to update the repository settings!!!
failed to update the repository settings!!!Shell Output - pkg-static -d update
DBG(1)[92661]> pkg initialized
Updating pfSense-core repository catalogue...
DBG(1)[92661]> PkgRepo: verifying update for pfSense-core
DBG(1)[92661]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite'
DBG(1)[92661]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_01_amd64-core/meta.conf
DBG(1)[92661]> opening libfetch fetcher
DBG(1)[92661]> Fetch > libfetch: connecting
DBG(1)[92661]> Fetch: fetching from: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_01_amd64-core/meta.conf with opts "i"
DBG(1)[92661]> Fetch: fetcher chosen: https
DBG(1)[92661]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_01_amd64-core/packagesite.pkg
DBG(1)[92661]> opening libfetch fetcher
DBG(1)[92661]> Fetch > libfetch: connecting
DBG(1)[92661]> Fetch: fetching from: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_01_amd64-core/packagesite.pkg with opts "i"
DBG(1)[92661]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_01_amd64-core/packagesite.txz
DBG(1)[92661]> opening libfetch fetcher
DBG(1)[92661]> Fetch > libfetch: connecting
DBG(1)[92661]> Fetch: fetching from: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_01_amd64-core/packagesite.txz with opts "i"
pfSense-core repository is up to date.
Updating pfSense repository catalogue...
DBG(1)[92661]> PkgRepo: verifying update for pfSense
DBG(1)[92661]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense.sqlite'
DBG(1)[92661]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_01_amd64-pfSense_plus_v23_01/meta.conf
DBG(1)[92661]> opening libfetch fetcher
DBG(1)[92661]> Fetch > libfetch: connecting
DBG(1)[92661]> Fetch: fetching from: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_01_amd64-pfSense_plus_v23_01/meta.conf with opts "i"
DBG(1)[92661]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_01_amd64-pfSense_plus_v23_01/packagesite.pkg
DBG(1)[92661]> opening libfetch fetcher
DBG(1)[92661]> Fetch > libfetch: connecting
DBG(1)[92661]> Fetch: fetching from: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_01_amd64-pfSense_plus_v23_01/packagesite.pkg with opts "i"
DBG(1)[92661]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_01_amd64-pfSense_plus_v23_01/packagesite.txz
DBG(1)[92661]> opening libfetch fetcher
DBG(1)[92661]> Fetch > libfetch: connecting
DBG(1)[92661]> Fetch: fetching from: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_01_amd64-pfSense_plus_v23_01/packagesite.txz with opts "i"
pfSense repository is up to date.
All repositories are up to date.Shell Output - pkg-static bootstrap -f
pkg(8) is already installed. Forcing reinstallation through pkg(7).
The package management tool is not yet installed on your system.
Please set ASSUME_ALWAYS_YES=yes environment variable to be able to bootstrap in non-interactive (stdin not being a tty)Shell Output - pkg-static info -x pfSense
pfSense-23.01
pfSense-Status_Monitoring-1.8
pfSense-base-23.01
pfSense-boot-23.01
pfSense-default-config-serial-23.01
pfSense-kernel-pfSense-23.01
pfSense-pkg-Cron-0.3.8_3
pfSense-pkg-Netgate_Firmware_Upgrade-0.56
pfSense-pkg-Service_Watchdog-1.8.7_1
pfSense-pkg-Status_Traffic_Totals-2.3.2_3
pfSense-pkg-System_Patches-2.2.2
pfSense-pkg-arping-1.2.2_4
pfSense-pkg-arpwatch-0.2.1
pfSense-pkg-pfBlockerNG-3.2.0_4
pfSense-rc-23.01
pfSense-repo-23.01
pfSense-repoc-20230418_1
pfSense-upgrade-1.0_66
php81-pfSense-module-0.91 -
Does anyone know the target date for this to move into production? It currently shows as a RC on my 2100 MAX my wife will lose it if I use development mode again. So, I am stuck using only stable versions per her request. However, I am still excited to test it out. Does Squid and Squidguard work with it?
-
@jonathanlee said in pfSense+ Plus upgrade from 23.01 to 23.05:
Does anyone know the target date for this to move into production?
When it is ready.
Right now we're testing RCs and hope to release soon -- but soon is just that ... soon.
The release will be completed when... it's completed.