• 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

Plus 23.05 Development Snapshots (Retired)
7
29
7.8k
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.
  • D
    Dobby_
    last edited by Dobby_ May 17, 2023, 5:17 AM Apr 30, 2023, 8:15 PM

    • Installation of pfSense CE 2.6 was fine
    • Upgrading to pfSense+ (Plus) was fine too
    • Installing and updating packages was also fine
    • Applying the all needed patches was running fast

    Now I was setting up to the pfSense 23.05 branch
    (both available in the WebGui) and I want to upgrade
    to 23.05, for having a look into, playing around, testing
    out and......

    But I got errors I am not knowing, can`t interpreting
    ro find a real work around, so please can someone
    chime in and have a look over it please.

    WebConfig (WebGui)
    Try out to upgrade to 23.05
    login-to-view

    login-to-view

    login-to-view

    Console
    Try out several methods
    login-to-view

    login-to-view

    #~. @Dobby

    Turris Omnia - 4 Ports - 2 GB RAM / TurrisOS 7 Release (Btrfs)
    PC Engines APU4D4 - 4 Ports - 4 GB RAM / pfSense CE 2.7.2 Release (ZFS)
    PC Engines APU6B4 - 4 Ports - 4 GB RAM / pfSense+ (Plus) 24.03_1 Release (ZFS)

    1 Reply Last reply Reply Quote 0
    • R rcoleman-netgate moved this topic from Problems Installing or Upgrading pfSense Software on Apr 30, 2023, 8:27 PM
    • S
      stephenw10 Netgate Administrator
      last edited by May 1, 2023, 2:48 PM

      Ah OK, looks like you pulled in a bad version of pfSense-upgrade at some point.

      Set the repo branch back to 23.01.
      Then run:

      pkg-static clean -ay; pkg-static install -fy pkg pfSense-repo pfSense-upgrade
      

      That should give you back a functional pkg and pfSense-upgrade and then you can upgrade to 23.05.

      Steve

      D 1 Reply Last reply May 1, 2023, 7:15 PM Reply Quote 3
      • D
        Dobby_ @stephenw10
        last edited by Dobby_ May 1, 2023, 7:26 PM May 1, 2023, 7:15 PM

        @stephenw10 said in pfSense+ Plus upgrade from 23.01 to 23.05:

        Ah OK, looks like you pulled in a bad version of pfSense-upgrade at some point.

        Set the repo branch back to 23.01.
        Then run:

        pkg-static clean -ay; pkg-static install -fy pkg pfSense-repo pfSense-upgrade
        

        That should give you back a functional pkg and pfSense-upgrade and then you can upgrade to 23.05.

        Steve

        Thank you very much for the fast answer, now I am on 2.7 devel (2.7.0.a.20230501.0600) and have to wait for the register function will be back and activated, then I will be perhaps able to upgrade from 2.7 to the 23.05.

        Or if you say it is to long time I will be perhaps went back to 2.6 (ZFS) and trying once more to upgrade from here
        to 23.05.

        EDIT: The TNSR must go, I am now on 23.01 and 2.7
        on the other box. With the next box the TNSR will
        be back then!

        #~. @Dobby

        Turris Omnia - 4 Ports - 2 GB RAM / TurrisOS 7 Release (Btrfs)
        PC Engines APU4D4 - 4 Ports - 4 GB RAM / pfSense CE 2.7.2 Release (ZFS)
        PC Engines APU6B4 - 4 Ports - 4 GB RAM / pfSense+ (Plus) 24.03_1 Release (ZFS)

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by May 1, 2023, 9:45 PM

          If you install the Feb 15th 2.7 snapshot and then upgrade to 23.01 from there dircetly it will work because the php versions match, both php81.

          If you update to the current 2.7 snapshot it uses php82 and will require a forced package upgrade after upgrading to 23.01. Or wait for 23.05.

          Steve

          D 1 Reply Last reply May 1, 2023, 10:01 PM Reply Quote 0
          • D
            Dobby_ @stephenw10
            last edited by May 1, 2023, 10:01 PM

            @stephenw10 said in pfSense+ Plus upgrade from 23.01 to 23.05:

            If you install the Feb 15th 2.7 snapshot and then upgrade to 23.01 from there dircetly it will work because the php versions match, both php81.

            If you update to the current 2.7 snapshot it uses php82 and will require a forced package upgrade after upgrading to 23.01. Or wait for 23.05.

            Steve

            Sadly said it is not my week stephen!

            The register system is down or unreachable to go from
            2.6 -> 23.01 and with the 2.7 upgrade I will wait until
            23.05 is ready

            #~. @Dobby

            Turris Omnia - 4 Ports - 2 GB RAM / TurrisOS 7 Release (Btrfs)
            PC Engines APU4D4 - 4 Ports - 4 GB RAM / pfSense CE 2.7.2 Release (ZFS)
            PC Engines APU6B4 - 4 Ports - 4 GB RAM / pfSense+ (Plus) 24.03_1 Release (ZFS)

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

              If you just reinstalled you might just be hitting the time limit on cert updates. It will clear by itself or if you send me your NDI in chat I can clear it now.

              1 Reply Last reply Reply Quote 0
              • 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

                login-to-view

                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
                    login-to-view

                    Reloading the page shows version 23.05.b.20230503.0600 available. Nothing is logged.
                    login-to-view

                    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
                    login-to-view

                    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
                                          5 out of 29
                                          • First post
                                            5/29
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.