• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

(SOLVED) pfSense+ Plus upgrade from 23.01 to 23.05

Scheduled Pinned Locked Moved Plus 23.05 Development Snapshots (Retired)
29 Posts 7 Posters 8.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    artooro
    last edited by May 3, 2023, 12:40 AM

    I'm having the same issue as OP

    1. Fresh install on a box of pfSense 2.6 CE
    2. Activated pfSense Plus key and upgraded to v23.01
    3. Attempted to upgrade to v23.05.b.20230502.0600 in System / Update

    Screenshot 2023-05-02 at 20.36.58.png

    I've confirmed using ps that there are no pkg or pfsense-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.

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by May 3, 2023, 10:55 AM

      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

      A 1 Reply Last reply May 3, 2023, 2:32 PM Reply Quote 0
      • A
        artooro @stephenw10
        last edited by artooro May 3, 2023, 2:34 PM May 3, 2023, 2:32 PM

        @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
        Screenshot 2023-05-03 at 10.27.48.png

        Reloading the page shows version 23.05.b.20230503.0600 available. Nothing is logged.
        Screenshot 2023-05-03 at 10.28.40.png

        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
        Screenshot 2023-05-03 at 10.29.58.png

        Subsequent attempts to run it again bring me back to the beginning where all the log shows is Creating restore point.

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by May 3, 2023, 5:49 PM

          Ok, thanks. Let me see if I can replicate it.....

          1 Reply Last reply Reply Quote 1
          • S
            stephenw10 Netgate Administrator
            last edited by May 3, 2023, 5:54 PM

            Replicated it. Digging....

            A 1 Reply Last reply May 10, 2023, 3:03 PM Reply Quote 3
            • A
              artooro @stephenw10
              last edited by May 10, 2023, 3:03 PM

              @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.

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by May 10, 2023, 3:30 PM

                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.

                A 1 Reply Last reply May 10, 2023, 4:52 PM Reply Quote 1
                • A
                  artooro @stephenw10
                  last edited by May 10, 2023, 4:52 PM

                  @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
                  
                  1 Reply Last reply Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator
                    last edited by May 10, 2023, 5:01 PM

                    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

                    A 1 Reply Last reply May 10, 2023, 6:51 PM Reply Quote 0
                    • A
                      artooro @stephenw10
                      last edited by May 10, 2023, 6:51 PM

                      @stephenw10 ok interesting.
                      So here's what it shows when I have the update channel set to 23.05-RC

                      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_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
                      
                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator
                        last edited by May 10, 2023, 7:05 PM

                        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.

                        A 1 Reply Last reply May 10, 2023, 7:25 PM Reply Quote 0
                        • A
                          artooro @stephenw10
                          last edited by May 10, 2023, 7:25 PM

                          @stephenw10

                          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.

                          1 Reply Last reply Reply Quote 1
                          • S
                            stephenw10 Netgate Administrator
                            last edited by May 10, 2023, 7:47 PM

                            Mmm, that particular issue has been fixed but you seem to be stuck in a dead-end somehow.

                            Reinstalling is going to be quicker.

                            B 1 Reply Last reply May 12, 2023, 3:04 PM Reply Quote 0
                            • A AndrewBucklin referenced this topic on May 12, 2023, 2:30 AM
                            • A AndrewBucklin referenced this topic on May 12, 2023, 2:30 AM
                            • A AndrewBucklin referenced this topic on May 12, 2023, 2:30 AM
                            • B
                              bcdouglas @stephenw10
                              last edited by bcdouglas May 12, 2023, 3:10 PM May 12, 2023, 3:04 PM

                              @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.91

                              Shell 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)

                              1 Reply Last reply Reply Quote 0
                              • S
                                stephenw10 Netgate Administrator
                                last edited by May 12, 2023, 3:32 PM

                                If you set it back to 23.01 does it still show an error?

                                Does pkg-static -d update also error out?

                                B 1 Reply Last reply May 12, 2023, 3:49 PM Reply Quote 0
                                • B
                                  bcdouglas @stephenw10
                                  last edited by May 12, 2023, 3:49 PM

                                  @stephenw10

                                  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.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    stephenw10 Netgate Administrator
                                    last edited by May 12, 2023, 4:25 PM

                                    And pfSense-upgrade -dc also?

                                    B 1 Reply Last reply May 12, 2023, 9:03 PM Reply Quote 0
                                    • B
                                      bcdouglas @stephenw10
                                      last edited by bcdouglas May 12, 2023, 9:07 PM May 12, 2023, 9:03 PM

                                      @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

                                      P 1 Reply Last reply May 15, 2023, 3:59 AM Reply Quote 0
                                      • JonathanLeeJ
                                        JonathanLee
                                        last edited by May 14, 2023, 6:40 PM

                                        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?

                                        Make sure to upvote

                                        R 1 Reply Last reply May 14, 2023, 7:57 PM Reply Quote 0
                                        • R
                                          rcoleman-netgate Netgate @JonathanLee
                                          last edited by May 14, 2023, 7:57 PM

                                          @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.

                                          Ryan
                                          Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
                                          Requesting firmware for your Netgate device? https://go.netgate.com
                                          Switching: Mikrotik, Netgear, Extreme
                                          Wireless: Aruba, Ubiquiti

                                          JonathanLeeJ 1 Reply Last reply May 14, 2023, 8:17 PM Reply Quote 0
                                          26 out of 29
                                          • First post
                                            26/29
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received