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

23.01 -> 23.05 upgrade failed

Problems Installing or Upgrading pfSense Software
26
84
41.9k
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
    driise @driise
    last edited by May 28, 2023, 3:25 PM

    @driise said in 23.01 -> 23.05 upgrade failed:

    pfSense-upgrade-1.0_66

    more info:

    GUI set to 23.01 branch

    
    [23.01-RELEASE][admin@pfSense.home.arpa]/usr/local/etc: pkg info -l pfSense-upgrade
    pfSense-upgrade-1.0_61:
    	/usr/local/libexec/pfSense-upgrade
    	/usr/local/pfSense/include/Netgate/repos/pfSense-update-repos.inc.php
    	/usr/local/sbin/pfSense-update-repos.php
    	/usr/local/sbin/pfSense-upgrade
    	/usr/local/share/licenses/pfSense-upgrade-1.0_61/APACHE20
    	/usr/local/share/licenses/pfSense-upgrade-1.0_61/LICENSE
    	/usr/local/share/licenses/pfSense-upgrade-1.0_61/catalog.mk
    [23.01-RELEASE][admin@pfSense.home.arpa]/usr/local/etc:
    
    

    GUI set to 23.05 branch

    
    [23.01-RELEASE][admin@pfSense.home.arpa]/usr/local/etc: pkg info -l pfSense-upgrade
    ld-elf.so.1: /usr/local/sbin/pkg: Undefined symbol "__libc_start1@FBSD_1.7"
    [23.01-RELEASE][admin@pfSense.home.arpa]/usr/local/etc:
    

    /usr/local/sbin/pkg* files from 23.05
    (note different file sizes from the _61 files which are from 23.01

    [23.01-RELEASE][admin@pfSense.home.arpa]/usr/local/etc: ls -al /usr/local/sbin/pkg*
    -rwxr-xr-x  1 root  wheel   2917568 May 23 12:56 /usr/local/sbin/pkg
    -rwxr-xr-x  1 root  wheel  28860304 May 23 12:56 /usr/local/sbin/pkg-static
    -rwxr-xr-x  1 root  wheel  29087192 Jan  7 13:49 /usr/local/sbin/pkg-static.pkgsave
    -rwxr-xr-x  1 root  wheel  29127216 May 28 10:08 /usr/local/sbin/pkg-static_61
    -rwxr-xr-x  1 root  wheel   2912880 May 28 10:05 /usr/local/sbin/pkg_61
    
    
    
    1 Reply Last reply Reply Quote 0
    • P
      pete
      last edited by pete May 29, 2023, 11:23 AM May 29, 2023, 11:19 AM

      A recap and what I see this morning on master PFSense box.

      1 - PFSense 23.01 was running fine last week. On notification of update to 23.05 backed it up.
      2 - updated box and update failed.
      3 - box did not reboot - debend.
      4 - Installed 2.6.0-RELEASE on box and used back up from PFSense 23.01. It worked with errors and currently running.
      5 - Tried to register box with new token to update box to PFSense 23.01 and got a message that box is already registered.
      6 - This morning Mon, May 29, 23 got a new message to update.

      2.6.0-RELEASE (amd64)
      built on Mon Jan 31 19:57:53 UTC 2022
      FreeBSD 12.3-STABLE
      Version 23.01 is available. 
      Version information updated at Mon May 29 6:09:08 CDT 2023
      

      So should I back up and try to update?

      Should I try to update via command line console?
      or
      Via update GUI?

      • Pete

      Auto mater
      23.09.1-RELEASE (amd64)
      built on Mon Dec 11 12:24:00 CST 2023
      FreeBSD 14.0-CURRENT
      PFSense + Qotom - Master
      PFSense + Jetway - Backup
      PFSense + Jetway - Backup
      PFSense + Generic - Backup

      D D 2 Replies Last reply May 29, 2023, 12:07 PM Reply Quote 0
      • D
        driise @pete
        last edited by May 29, 2023, 12:07 PM

        @pete

        Think this means that it's old activation token was detected (same thing mine did when I re-installed). It will upgrade to 23.01 just fine. I'll bet a donut you'll have the same upgrade failure going to 23.05. It's odd, 23.05 worked on my VM (failed first time, worked second), but not my physical regardless what I try to do on it.

        P 1 Reply Last reply May 29, 2023, 12:53 PM Reply Quote 0
        • P
          pete @driise
          last edited by May 29, 2023, 12:53 PM

          @driise

          Thank you. This is the original master PFSense box.

          I am dependent on this box right now and the backup box is running fine but I have not restored the old configuration on it yet.

          • Pete

          Auto mater
          23.09.1-RELEASE (amd64)
          built on Mon Dec 11 12:24:00 CST 2023
          FreeBSD 14.0-CURRENT
          PFSense + Qotom - Master
          PFSense + Jetway - Backup
          PFSense + Jetway - Backup
          PFSense + Generic - Backup

          G 1 Reply Last reply May 29, 2023, 2:55 PM Reply Quote 0
          • G
            Gertjan @pete
            last edited by May 29, 2023, 2:55 PM

            @pete said in 23.01 -> 23.05 upgrade failed:

            This is the original master PFSense box

            Next time™© :
            Get the "soon to be previous firmware" (23.01 in this case) from Netgate using the TAC service.
            If something goes wrong, no need to go all the way back to 2.6.0 .... As importing a future 23.01 config into an older 2.6.0 version is far from ideal.

            This will kick in inverse Murphy's law : "if you have an easy way back, you won't need it"

            Also : If you had 23.01,didn't you have ZFS ?

            If the 23.05 isn't playing well for me, I can get back to 23.01 with one click :

            login-to-view

            Btw : to get ZFS, you need to re install ones from USB and select the ZFS partition scheme.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            P S 2 Replies Last reply May 29, 2023, 4:16 PM Reply Quote 0
            • P
              pete @Gertjan
              last edited by May 29, 2023, 4:16 PM

              @Gertjan

              Get the "soon to be previous firmware" (23.01 in this case) from Netgate using the TAC service.
              If something goes wrong, no need to go all the way back to 2.6.0 .... As importing a future 23.01 config into an older 2.6.0 version is far from ideal.

              Thank you. I did not know I could get 23.01 from the TAC service. I did get a few errors relating to my 23.01 configuration restoral to the 2.6.0 build. It is still runing fine today though. I did build a new box a couple of days ago and upgraded it to 23.01 but I have not restored the old 23.01 back up to it yet. I did move the WAN connection on the new box from the LAN to a T-Mobile modem to give it a try.....bit slower.

              If you had 23.01,didn't you have ZFS ?

              Yes ZFS on the 23.01 build. Wondering if that was the issue when upgrading the first time to 23.05.

              • Pete

              Auto mater
              23.09.1-RELEASE (amd64)
              built on Mon Dec 11 12:24:00 CST 2023
              FreeBSD 14.0-CURRENT
              PFSense + Qotom - Master
              PFSense + Jetway - Backup
              PFSense + Jetway - Backup
              PFSense + Generic - Backup

              1 Reply Last reply Reply Quote 0
              • D
                Dobby_ @pete
                last edited by May 29, 2023, 4:39 PM

                @pete said in 23.01 -> 23.05 upgrade failed:

                5 - Tried to register box with new token to update box to PFSense 23.01 and got a message that box is already registered.

                If no hardware changes were done, you
                could use the old one again. I was
                registering two PC Engines APU and
                could use that token even again.

                So should I back up and try to update?

                I woudl try it, but in another way or order!

                • 2.6 zfs fresh install
                  no pkgs, config backup and system backup
                • upgrade to 23.01 zfs
                  no pkgs, config backup and system backup
                • upgrade to 23.05 zfs

                If all went fine for you, please create now a
                new boot environment "2305fine install" or
                what ever and then reboot. Now you install
                the pkgs (but now latest version!) and then
                you can begine to play in each one after
                another one (backup). But if now something
                goes wrong, you boot from the 2305failsafe
                next time and get rid of all new installs! That
                is saving your much time. If you have a config Backup, done step-by-step let us say for the
                entire system, then all the rules then for all
                you packages, you can play them back step
                by step and will easily able to find out if a
                failures occours what it was and when it
                was occouring.

                Should I try to update via command line console?

                Definitely YES, each of mine were upgraded
                and updated only via console, sorry I was not mentioned it before. (Above thread)

                Via update GUI?

                No! Please, don´t get me wrong here but
                I personally would not do that!

                #~. @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
                  SteveITS Galactic Empire @Gertjan
                  last edited by May 29, 2023, 5:11 PM

                  @Gertjan Plus is only available for direct install on Netgate hardware. 2.6 would have been CE.

                  Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                  When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                  Upvote 👍 helpful posts!

                  1 Reply Last reply Reply Quote 0
                  • P
                    pete
                    last edited by pete May 29, 2023, 7:59 PM May 29, 2023, 7:56 PM

                    I am in house #2 and VPN'd to house #1 and see:

                    @Dobby_ said in 23.01 -> 23.05 upgrade failed:

                    If no hardware changes were done, you
                    could use the old one again. I was
                    registering two PC Engines APU and
                    could use that token even again.

                    Same hardware which was running 23.01 which is now running with a restored back up from 23.01 shows:

                    2.6.0-RELEASE (amd64)
                    built on Mon Jan 31 19:57:53 UTC 2022
                    FreeBSD 12.3-STABLE
                    
                    Version 23.01 is available. 
                    Version information updated at Mon May 29 14:51:16 CDT 2023
                    

                    and

                    register part is showing:
                    
                    Thank you for choosing Netgate pfSense®
                    
                    Your device does not require registration, we recognize it already. You may have already registered, or it may be a pre-registered Netgate appliance.
                    

                    This is what I mentioned earlier afraid now to update it except maybe via command line.

                    This is the master in house #1. I did configure Jetway backup with PFSense + and have not restored old backup to it yet .

                    I was going to get the Jetway going then swap it out with current master and see how it works then fix primary.

                    House #2 is stable with CE so will leave that alone for now running on a Qotom mini PC.

                    Version	2.6.0-RELEASE (amd64)
                    built on Mon Jan 31 19:57:53 UTC 2022
                    FreeBSD 12.3-STABLE
                    
                    The system is on the latest version.
                    Version information updated at Mon May 29 14:57:48 CDT 2023
                    
                    • Pete

                    Auto mater
                    23.09.1-RELEASE (amd64)
                    built on Mon Dec 11 12:24:00 CST 2023
                    FreeBSD 14.0-CURRENT
                    PFSense + Qotom - Master
                    PFSense + Jetway - Backup
                    PFSense + Jetway - Backup
                    PFSense + Generic - Backup

                    1 Reply Last reply Reply Quote 0
                    • P
                      pete
                      last edited by pete May 29, 2023, 10:32 PM May 29, 2023, 10:30 PM

                      You guys are great!!!!

                      I finished the Jetway just now which is sitting at 23.01.
                      For time bean will not update both firewalls to 23.05.

                      I restored the backup from the currently running master (Qotom) before I tried to update to the Jetway and I disconnected the WAN and LAN interfaces when I updated. Rebooted a couple of times via console and it booted just fine.

                      Next unplugging master and replacing it with the Jetway backup.

                      I have a serial port connection to a GPS and another one to the UPS which is no big deal right now.

                      It should be fine when I swap the Qotom for the Jetway.

                      • Pete

                      Auto mater
                      23.09.1-RELEASE (amd64)
                      built on Mon Dec 11 12:24:00 CST 2023
                      FreeBSD 14.0-CURRENT
                      PFSense + Qotom - Master
                      PFSense + Jetway - Backup
                      PFSense + Jetway - Backup
                      PFSense + Generic - Backup

                      1 Reply Last reply Reply Quote 0
                      • D
                        Draco @aaronssh
                        last edited by May 29, 2023, 10:36 PM

                        @aaronssh Upgrading SG-5100 from 23.01. Hit the same certificate errors, and the same @pdavis steps fixed things for me.

                        23.05 is installed, all packages updated, and it seems to be running fine.

                        I hope Netgate can figure out what is going on with their certificates...

                        D 1 Reply Last reply May 30, 2023, 4:23 AM Reply Quote 0
                        • D
                          Dobby_ @Draco
                          last edited by May 30, 2023, 4:23 AM

                          @Draco said in 23.01 -> 23.05 upgrade failed:

                          I hope Netgate can figure out what is going on with their certificates...

                          Let us imagine you buy a license, and install your
                          pfSense. Please don´t get me wrong here, but Netgate is earning their money with that licenses.
                          So now you will be able to DD (disk dump) the
                          entire HDD/SSD and play it back to many devices
                          let us imagine they are all total identically to the
                          first hardware, and now you have paid once and
                          have "installed" it ten times (10x) so you have not
                          paid nine times (9x) and now all that units will be
                          updating and/or upgrading at the same time, it
                          will be not working. But for a single unit (device)
                          you could install and upgrade once the other
                          upgrades have to wait then a small time frame
                          during the cert. lease time is renewed. Thats it
                          like I see it from here, I could be wrong, or
                          totally not hitting the point fir sure.

                          #~. @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
                          • M
                            McPie
                            last edited by May 30, 2023, 5:47 PM

                            This is what worked for me:

                            System / Update
                            Update Settings / Click on Save

                            Go back to System Update tab and then it lets you upgrade to 23.05

                            E 1 Reply Last reply Jun 1, 2023, 6:02 PM Reply Quote 1
                            • P
                              pete
                              last edited by pete May 31, 2023, 11:39 AM May 31, 2023, 11:25 AM

                              Upgraded the Jetway to 23.05 via the console this morning. Worked but I lost all of my add ons.
                              Note: I did this all live while swapping cables here leaving both firewalls on.

                              Switched over to the Qotom which was at PFSense CE.
                              Updated that one over to 23.01 via the console. Took a while to update. Worked and all of my add ons were upgraded.

                              Version	23.01-RELEASE (amd64)
                              built on Fri Feb 10 20:06:33 UTC 2023
                              FreeBSD 14.0-CURRENT
                              
                              *** Welcome to Netgate pfSense Plus 23.01-RELEASE (amd64) on enigma ***
                              

                              Will wait a day or so to upgrade to 23.05. Will backup configuration and restore it to the Jetway.

                              • Pete

                              Auto mater
                              23.09.1-RELEASE (amd64)
                              built on Mon Dec 11 12:24:00 CST 2023
                              FreeBSD 14.0-CURRENT
                              PFSense + Qotom - Master
                              PFSense + Jetway - Backup
                              PFSense + Jetway - Backup
                              PFSense + Generic - Backup

                              G 1 Reply Last reply May 31, 2023, 2:23 PM Reply Quote 0
                              • G
                                Gertjan @pete
                                last edited by May 31, 2023, 2:23 PM

                                @pete said in 23.01 -> 23.05 upgrade failed:

                                Worked but I lost all of my add ons.

                                Add ons ?

                                Stick a note on that box : Upgrade ? Use console ! ( ! ).

                                Because with the console, the same procedure looks far more cool (ok : joke).
                                And you've got a free bonus : if something goes wrong you would be the first to know the 'why' part.
                                Like, for example, "when pfSense reboots with the new kernel and thus new pfSense version, maybe it couldn't make the WAN connection work".
                                Then it proceeds with every installed "pfSense GUI package" :
                                remove it, and
                                re install it.

                                The thing is : removing is easy, and can be done without any network active.
                                Re installing needs .... the WAN to be 'UP'.

                                You would have made the WAN work, and - after a manual reboot, WAN would be up ... and now the "re install" would go on just fine.

                                All this is just my theory, as I'm upgrading pfSense using the console for the last 10 or more years now.
                                Waiting to see if something happens ...

                                I guess I've been a victim of the second major advantage of the console access : When you are ready to see the error in the face .... you can't see it .... as it won't happen 😊

                                So, go for that post-it.

                                Btw : pfSense GUI package info is still present in the config.
                                Just re install them.
                                Now you will confirm another golden rule : use as few as humanly possible.
                                Don't remember which ones ?
                                Open the config file : you can even use msword if you want to.
                                Look up the list, as it is in there.
                                Now, install them all one by one.
                                Do a reboot for good measures.
                                Re test them all.
                                Done.

                                ( don't forget the post-it )

                                No "help me" PM's please. Use the forum, the community will thank you.
                                Edit : and where are the logs ??

                                P 1 Reply Last reply May 31, 2023, 2:40 PM Reply Quote 0
                                • P
                                  pete @Gertjan
                                  last edited by pete May 31, 2023, 2:43 PM May 31, 2023, 2:40 PM

                                  @Gertjan

                                  Thank you. I meant packages. Yes here only have gone to the console when editing configuration files et al which I should never do anyhow.

                                  Will back up running box and restore it to the Jetway in the next few days.

                                  Historically though have used the GUI rather than the console.

                                  It was easier on the WAF doing this at 4 AM this morning.

                                  Now trying to update a generic 3865 6 port generic firewall with no markings on it. It has a hard time booting and I do not know why.

                                  • Pete

                                  Auto mater
                                  23.09.1-RELEASE (amd64)
                                  built on Mon Dec 11 12:24:00 CST 2023
                                  FreeBSD 14.0-CURRENT
                                  PFSense + Qotom - Master
                                  PFSense + Jetway - Backup
                                  PFSense + Jetway - Backup
                                  PFSense + Generic - Backup

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    pete
                                    last edited by Jun 1, 2023, 3:13 AM

                                    Updated Master to 23.05 via console. Upgrade worked fine:

                                    Version	23.05-RELEASE (amd64)
                                    built on Mon May 22 15:04:36 UTC 2023
                                    FreeBSD 14.0-CURRENT
                                    
                                    The system is on the latest version.
                                    Version information updated at Wed May 31 22:03:37 CDT 2023
                                    
                                    • Pete

                                    Auto mater
                                    23.09.1-RELEASE (amd64)
                                    built on Mon Dec 11 12:24:00 CST 2023
                                    FreeBSD 14.0-CURRENT
                                    PFSense + Qotom - Master
                                    PFSense + Jetway - Backup
                                    PFSense + Jetway - Backup
                                    PFSense + Generic - Backup

                                    1 Reply Last reply Reply Quote 0
                                    • E
                                      ErikV 0 @McPie
                                      last edited by Jun 1, 2023, 6:02 PM

                                      @McPie this worked for me. Thanks!

                                      1 Reply Last reply Reply Quote 0
                                      • C
                                        constantin
                                        last edited by Jun 2, 2023, 3:53 PM

                                        Who has this errors when is trying to upgrade the pfsense from 23.01 to 23.05?

                                        [23.01-RELEASE][admin@xqwer]/root: pfSense-upgrade 
                                        >>> 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.
                                        pfSense-repoc-static: invalid signature
                                        failed to read the repo data.
                                        failed to update the repository settings!!!
                                        failed to update the repository settings!!!
                                        
                                        

                                        In the GUI I got this message:

                                        Another instance of pfSense-upgrade is running. Try again later
                                        

                                        I google it and I found this forum that is says that is solved but this is not working for me.
                                        (SOLVED) pfSense+ Plus upgrade from 23.01 to 23.05

                                        Any one know why I cannot upgrade?

                                        thanks.

                                        S 1 Reply Last reply Jun 2, 2023, 4:11 PM Reply Quote 0
                                        • S
                                          SteveITS Galactic Empire @constantin
                                          last edited by Jun 2, 2023, 4:11 PM

                                          @constantin Did you try the suggestions above or in the other thread?

                                          System / Update
                                          Update Settings / Click on Save

                                          or
                                          https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html#upgrade-not-offered-library-errors

                                          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                          Upvote 👍 helpful posts!

                                          C pfsense16vP 2 Replies Last reply Jun 2, 2023, 6:09 PM Reply Quote 0
                                          63 out of 84
                                          • First post
                                            63/84
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.