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

    23.01 -> 23.05 upgrade failed

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    84 Posts 26 Posters 52.3k 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.
    • Raffi_R
      Raffi_ @DaddyGo
      last edited by

      @DaddyGo said in 23.01 -> 23.05 upgrade failed:

      @Raffi_ said in 23.01 -> 23.05 upgrade failed:

      I had the same issue with upgrade error through GUI and then the GUI showing I already have the latest install. I was able to solve this by SSHing into console and using "pfsense-upgrade".

      Hi Bro, it was the same here ๐Ÿ˜‰ ,
      I subscribed to this thread and I see you have been here, hope all is well with you, long time no hear from you...

      ๐Ÿ‘‹ all is good my friend. Been enjoying the nice west coast weather. Hope all is good with you.

      BTW:
      SSH solves everything, hahaha

      haha we are such nerds because we find that funny.

      DaddyGoD 1 Reply Last reply Reply Quote 1
      • DaddyGoD
        DaddyGo @Raffi_
        last edited by DaddyGo

        @Raffi_ said in 23.01 -> 23.05 upgrade failed:

        Been enjoying the nice west coast weather. Hope all is good with you.

        That's nice, hmmm the ocean is a little warmer at Lisbon - that's why I'm not complaining...:)

        Now everything is OK, I had a little health problem, but it's sorting itself out. I've been away from "here" because of that, but now I'll have time and we'll push SSH hard ๐Ÿ‘ ๐Ÿ˜‰

        BTW:
        I'll have time to do a bit better with this great NGFW, the "love" has remained ๐Ÿ˜‰

        Cats bury it so they can't see it!
        (You know what I mean if you have a cat)

        1 Reply Last reply Reply Quote 1
        • S
          SteveITS Galactic Empire @Gertjan
          last edited by

          @Gertjan said in 23.01 -> 23.05 upgrade failed:

          when you use pfSense+ 23.01, the pfSense package list will show you only the packages available for that "23.01" version and not the other ones.

          Actually, that is not correct. It will show packages for the selected branch, which may not be the installed version if this router has not yet upgraded to the latest version, but has Current selected.

          In the past one could install/upgrade a package in that state, and the package would pull in software, maybe a later PHP version, and break everything. However I think I did see they are showing a warning now about the version/repo mismatch? I would still select Previous Stable Version if necessary to make them match. There is a redmine about this.

          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!

          GertjanG 1 Reply Last reply Reply Quote 0
          • I
            Innz
            last edited by

            Is this common for pfsense? I have a 6100 and 4100. Went to update both and now both of them will not load the gui? I have only had them long enough to update the software twice (this being the second time). Worse firewall I have ever used in my life when try to update.

            DaddyGoD S 2 Replies Last reply Reply Quote 0
            • DaddyGoD
              DaddyGo @Innz
              last edited by

              @Innz said in 23.01 -> 23.05 upgrade failed:

              Worse firewall I have ever used in my life when try to update.

              Hmmmm ๐Ÿ˜‰

              @Innz "Is this common for pfsense?"

              No it's not general, don't assume anything at first.
              Always make a backup and you can restore it in no time if you're experienced.

              Cats bury it so they can't see it!
              (You know what I mean if you have a cat)

              1 Reply Last reply Reply Quote 0
              • S
                SteveITS Galactic Empire @Innz
                last edited by

                @Innz You didn't provide many details. Error message? What does the console show? Logs? You might start a new thread.

                If you didn't wait long enough (see my sig) more than one person has rebooted halfway through the update.

                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
                • D
                  driise @driise
                  last edited by

                  @driise
                  more digging:

                  this file /usr/local/etc/pfSense/pkg/repos/pfSense-repo-stable.conf points to a hostname that doesn't exist. is this a bug?

                  lrwxr-xr-x  1 root  wheel  57 May 26 01:20 pfSense.conf -> /usr/local/etc/pfSense/pkg/repos/pfSense-repo-stable.conf
                  
                  [23.01-RELEASE][admin@NONO]/usr/local/etc/pkg/repos: more pfSense.conf
                  FreeBSD: { enabled: no }
                  
                  pfSense-core: {
                      url: "pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_05_amd64-core",
                      mirror_type: "srv",
                      signature_type: "fingerprints",
                      fingerprints: "/usr/local/share/pfSense/keys/pkg",
                      enabled: yes
                  }
                  
                  pfSense: {
                      url: "pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_05_amd64-pfSense_plus_v23_05",
                      mirror_type: "srv",
                      signature_type: "fingerprints",
                      fingerprints: "/usr/local/share/pfSense/keys/pkg",
                      enabled: yes
                  }
                  
                  [23.01-RELEASE][admin@NONO]/usr/local/etc/pkg/repos: ping firmware.netgate.com
                  PING firmware.netgate.com (208.123.73.209): 56 data bytes
                  64 bytes from 208.123.73.209: icmp_seq=0 ttl=43 time=12.406 ms
                  64 bytes from 208.123.73.209: icmp_seq=1 ttl=43 time=12.473 ms
                  ^C
                  --- firmware.netgate.com ping statistics ---
                  2 packets transmitted, 2 packets received, 0.0% packet loss
                  round-trip min/avg/max/stddev = 12.406/12.440/12.473/0.034 ms
                  [23.01-RELEASE][admin@NONO]/usr/local/etc/pkg/repos: ping pfsense-plus-pkg.netgate.com
                  ping: Unknown host
                  
                  jimpJ T 2 Replies Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate @driise
                    last edited by jimp

                    @driise said in 23.01 -> 23.05 upgrade failed:

                    @driise
                    more digging:

                    this file /usr/local/etc/pfSense/pkg/repos/pfSense-repo-stable.conf points to a hostname that doesn't exist. is this a bug?

                    No.

                    https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html#packages-netgate-com-has-no-a-aaaa-record

                    Different variation on the hostname but same concept.

                    Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    D 1 Reply Last reply Reply Quote 2
                    • T
                      tman222 @driise
                      last edited by

                      @driise - running into similar issues as you've described not being able to update packages:

                      https://forum.netgate.com/topic/180382/unable-to-upgrade-packages

                      Any ideas/thoughts on how to further troubleshoot this?

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        driise @tman222
                        last edited by

                        @tman222 At this time, I'm stuck I guess, tried again this morning to get it to update, same issues. Hopefully Netgate will determine the issue and fix.

                        1 Reply Last reply Reply Quote 0
                        • D
                          driise @jimp
                          last edited by

                          @jimp

                          Any feedback on what we're seeing?
                          Any logs I can provide that might help? I can reproduce the issue easy if there's debug logs or something I can pull.

                          I reverted my VM instance back to the 23.01 boot image so that my physical and VM (secondary) could properly sync.

                          D 1 Reply Last reply Reply Quote 0
                          • aaronsshA
                            aaronssh @pdavis
                            last edited by

                            @pdavis said in 23.01 -> 23.05 upgrade failed:

                            After toggling the "Current Stable Version" and "Previous Stable Version" in System/Update/System Update, the GUI now showed 23.05 upgrade option.

                            So I had the same problem. First attempt at update failed with certificate issues, then my device got "stuck" thinking that 23.01 was the latest. Your steps quoted here fixed it for me too. Very strange!!

                            D 1 Reply Last reply Reply Quote 0
                            • Dobby_D
                              Dobby_ @demux
                              last edited by

                              @demux said in 23.01 -> 23.05 upgrade failed:

                              Why? What can happen?

                              If you upgrade it can be in some cases that
                              the cert. lease will be gone, and so you only
                              have to wait a while until it is renewed and then
                              the entire upgrade process will work again for you without any problems.

                              #~. @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
                              • GertjanG
                                Gertjan @SteveITS
                                last edited by

                                @SteveITS said in 23.01 -> 23.05 upgrade failed:

                                Actually, that is not correct. It will show packages for the selected branch, which may not be the installed version ....

                                Exact.

                                That's why I was talking about Netgate being a fortune 500 company : the pfSense package list should correspond the system you are using, which isn't necessarily the list with packages available.
                                The latest versions of a package become available when you use the latest pfSense version.
                                Something like that.

                                This implies that there should be a unique repository for every supported pfSense version. This means a lot of labor to main all this.

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

                                1 Reply Last reply Reply Quote 0
                                • peteP
                                  pete
                                  last edited by pete

                                  Backed up my PFSense 23.01 version fine. Updated and it failed. Rebooted box and it wouldn't boot in to PFSense.

                                  Installed new PFSense CE on the box. Got a new token for PFSense + and see this

                                  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.

                                  when I try registration

                                  I should have read the forum before upgrading.

                                  I am using PFSense now with CE release 2.6.0-RELEASE (amd64) and restored backup from PFSense 23.01. (which is wrong and seeing this on boot up)

                                  So this morning installing PFSense CE on backup router and hopefully updating it with PFSense + and then restoring configuration.

                                  Never had an issue like this.

                                  • 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

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    SteveITS Galactic Empire @pete
                                    last edited by

                                    @pete I donโ€™t have a solution but Iโ€™ve seen other posts like that. I believe that means Netgate recognizes the calculated NDI and therefore you donโ€™t need a new token. Maybe you can find a thread with the solutionโ€ฆ

                                    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!

                                    peteP 1 Reply Last reply Reply Quote 0
                                    • peteP
                                      pete @SteveITS
                                      last edited by pete

                                      @SteveITS

                                      Thank you @SteveITS.

                                      Plugged Backup PFSense CE to currently working LAN (on kitchen table - very low on the WAF).

                                      Updated it to PFSense +. It is updating now to 23.01 and leaving it there and restoring backup from other machine.

                                      On reboot it gets all sorts of PHP errors and stays at the login prompt. Rebooted a couple of times and it is the same on reboot. I am screwed right now.

                                      It seemed to stall at the squid prompts. Removed squid package and it booted. Reset the box via command prompt. Restored old build. On reboot dbended on kernel load.

                                      Will start again from scratch on back up box.

                                      Once I get this one going then taking primary off line and redoing it hopefully to work fine.

                                      I am retired and this is a hobby and while I have backup boxes here many folks do not.

                                      Need to step away now and readdress issues this afternoon.

                                      • 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

                                      Dobby_D 1 Reply Last reply Reply Quote 0
                                      • Dobby_D
                                        Dobby_ @pete
                                        last edited by

                                        @pete

                                        You could try out installing 2.6 (zfs) and then upgrading to 23.01 and once more to 23.05
                                        and if you will be install also back the config
                                        then it would be the best option in my eyes.
                                        You will need perhaps 30 minutes and all is
                                        fine again. For the spare box I would try out
                                        the 2.7 Development, if it is only a spare box
                                        and for home usage and on top a hobby you
                                        will be fine with it.

                                        #~. @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)

                                        M 1 Reply Last reply Reply Quote 0
                                        • peteP
                                          pete
                                          last edited by pete

                                          Thank-you @dobby.

                                          I did that and it worked and I did not update but when I restored my PFSense + old configuration it debended.

                                          The second time I did it it said it was registered and wouldn't update to PFSense +.

                                          So now booting in Ubuntu and reformatting drive and trying installation again.

                                          This is on a Qotom. I also have two Jetways which I like much better than Qotom which I may try on.

                                          In my retirement now hoarding firewalls ;).

                                          I am still running on the redone Qotom PFSense + box to PFSense CE with the PFSense + backup restored to it. My VPN servers are running fine.

                                          Just that I am occupying the kitchen table with a monitor and another server which is very low on the WAF.

                                          • 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

                                          Dobby_D 1 Reply Last reply Reply Quote 0
                                          • M
                                            mark_lab_user @Dobby_
                                            last edited by

                                            @Dobby_ I just finished that exact procedure. All the way back to fresh 2.6 and then the 2 steps to upgrade.

                                            I had to do it because "Available packages" was showing as empty and I was getting an error is syslog relating to the package manager.

                                            And then I also had to update the RTL Ethernet driver to get my 2.5 Gbit card working.

                                            But...

                                            php-fpm[396]: /pkg_mgr_installed.php: The command '/usr/local/sbin/pfSense-repo-setup' returned exit code '1', the output was 'pfSense-repoc-static: invalid signature failed to read the repo data. failed to update the repository settings!!!'
                                            

                                            Has returned as of a few minutes ago.

                                            Hmmm.

                                            M 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.