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

    Error upgrading from 22.05 Release to 22.11 Development

    Scheduled Pinned Locked Moved Plus 23.01 Development Snapshots (Retired)
    32 Posts 7 Posters 3.6k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      1. You should be able to upgrade in place from that version by running those three commands first. If you're going to reinstall just install the current 2.7 snapshot directly.

      2. Package config should be retained. Some packages have an option to remove all config at uninstall but that is not the default.

      3. If you are using a legacy BIOS that issue never applied, it will upgrade fine.
        However the new EFI loader in current snaps should allow that anyway. I haven't tested it yet though.

      Steve

      K 1 Reply Last reply Reply Quote 0
      • K
        kevindd992002 @stephenw10
        last edited by

        What do the two other commands (after the first three) do?

        Would it make sense to stay at 2.7 (or in general dev) or switch to 2.6 stable?

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Those other command check that is can see updates and run the actual upgrade at the CLI. You can use those if you want or just use the webgui upgrade.

          It depends why you're running dev in the first place. Was it just to test it? If this is a test box then it makes no sense to stay on an obsolete snapshot.

          Steve

          K 1 Reply Last reply Reply Quote 0
          • K
            kevindd992002 @stephenw10
            last edited by

            @stephenw10 can you confirm if the update should work now without running those commands as mentioned here?

            1 Reply Last reply Reply Quote 0
            • G
              grandrivers
              last edited by

              I wonder if the upgrade issue with zfs boot drives been fixed ?

              pfsense plus 25.03 super micro A1SRM-2558F
              C2558 32gig ECC  60gig SSD

              jimpJ 1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate @grandrivers
                last edited by

                @grandrivers said in Error upgrading from 22.05 Release to 22.11 Development:

                I wonder if the upgrade issue with zfs boot drives been fixed ?

                Yes, the EFI+ZFS upgrade issue has been fixed for a while. There is a new mechanism which updates the loader during the upgrade process.

                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!

                1 Reply Last reply Reply Quote 1
                • w0wW
                  w0w
                  last edited by w0w

                  It looks like 23.01 is available for upgrading from 22.05. Tried this on my test setup. You need to change the branch to "Experimental 23.01 devel" and then try the option 13. In my case the first time it ended in broken state, thanks to BOOT Environments I got it back and running, the second try was successful, it asked for pkg bootstrap -f and this time I did it, only pfBlockerNG-devel was broken after boot. Reinstalled packages, all seemed working until I went to option 13 and it searched for updates again telling me that everything is up-to-date and then asked me to proceed with update Y/N, I've chosen "NO" but no WEB UI since, everything looks working but not the WEB UI, restart does not help... I am not sure, am I doing something wrong or just 23.01 still not ready for testing?

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Hmm, I suspect you are in a state somewhere between the two. Did you still have the dev branch selected when you ran the upgrade a second time?
                    Try running freebsd-version -kur that should report the same version for all three.

                    Steve

                    w0wW 1 Reply Last reply Reply Quote 1
                    • w0wW
                      w0w @stephenw10
                      last edited by w0w

                      @stephenw10 said in Error upgrading from 22.05 Release to 22.11 Development:

                      freebsd-version -kur

                      d1a87677-1eef-4278-a3c8-aa4d2052f5e8-изображение.png
                      I did another try now. This time I've uninstalled all packages, then switched to devel, went to option 13, it asked for pkg bootstrap -f
                      I did that and then again to the option 13, and it upgraded to the
                      23.01.a.20221111.0600
                      I've restored the configuration only for package manager.
                      The branch selection is now empty, but on the dashboard it shows
                      b8798592-5023-4996-8134-6571f9f55cb6-изображение.png

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Hmm, was that instance upgraded from CE previously?
                        The branch selector will show empty like that if the NDI shows as no longer valid for some reason.

                        You shouldn't ever have to manually run the pkg bootstrap like that. Did you try upgrading through the the gui first?

                        Steve

                        w0wW 1 Reply Last reply Reply Quote 0
                        • w0wW
                          w0w @stephenw10
                          last edited by

                          @stephenw10 said in Error upgrading from 22.05 Release to 22.11 Development:

                          Hmm, was that instance upgraded from CE previously?

                          Yes.

                          @stephenw10 said in Error upgrading from 22.05 Release to 22.11 Development:

                          The branch selector will show empty like that if the NDI shows as no longer valid for some reason.

                          You shouldn't ever have to manually run the pkg bootstrap like that. Did you try upgrading through the the gui first?

                          No, I did not. I went to the console first, just did it out of habit... This bootstrap thing... I don't think it really needed, because it does not ask it every time I've tried to upgrade.

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            Hmm, well if it's still not showing you any branches it's because the server doesn't recognise the NDI for some reason. Has it changed?

                            w0wW 1 Reply Last reply Reply Quote 0
                            • w0wW
                              w0w @stephenw10
                              last edited by

                              @stephenw10
                              Perhaps I should clarify that the original version was CE 2.6, updated to 22.05, as you know, you have to update twice on 22.01 and then to 22.05. If now, for example, you have installed the latest CE 2.7 and trying to upgrade it to Plus version, you will get a downgrade effect like on the picture

                              adc579fa-cfb5-4a32-8c16-39a57b8be14a-изображение.png

                              If you try to do the such an upgrade, it will break your installation completely.

                              If you try to update the version 22.05 in console, you end with 23.01 version, but no branch appearing after upgrade.
                              NDI is still the same, and I can install packages and check for updates,
                              6adf2c88-233b-4959-b539-065535e4b58d-изображение.png

                              That make me think that some internal branch is selected somehow.

                              K stephenw10S 2 Replies Last reply Reply Quote 0
                              • K
                                kevindd992002 @w0w
                                last edited by

                                @stephenw10

                                I'm trying to do a webgui upgrade now (I still haven't went thru it since two weeks ago when we were talking about this) but all I see now when I go to System -> Update is "unable to check for updates". Do you know what's causing this?

                                stephenw10S 1 Reply Last reply Reply Quote 0
                                • stephenw10S
                                  stephenw10 Netgate Administrator @kevindd992002
                                  last edited by

                                  @kevindd992002
                                  Run pkg-static -d update at the command line and see what error it returns.

                                  K 1 Reply Last reply Reply Quote 0
                                  • stephenw10S
                                    stephenw10 Netgate Administrator @w0w
                                    last edited by

                                    @w0w said in Error upgrading from 22.05 Release to 22.11 Development:

                                    If now, for example, you have installed the latest CE 2.7 and trying to upgrade it to Plus version, you will get a downgrade effect like on the picture

                                    Yes, upgrading from CE 2.7 to Plus is not supported. Yet.

                                    1 Reply Last reply Reply Quote 1
                                    • w0wW
                                      w0w
                                      last edited by w0w

                                      5f9cae22-7b06-4a73-ac89-8aaeb823eb42-image.png
                                      Yep. Something new today.
                                      Installed this build and was able to install pfBlockerNG-devel...

                                      1 Reply Last reply Reply Quote 1
                                      • K
                                        kevindd992002 @stephenw10
                                        last edited by

                                        @stephenw10 said in Error upgrading from 22.05 Release to 22.11 Development:

                                        @kevindd992002
                                        Run pkg-static -d update at the command line and see what error it returns.

                                        e7f2f24e-d3df-46f5-85b6-81b9e636609f-image.png

                                        Ahh, I thought the wrong OS version fix was already incorporated in the GUI update process. So I run these?

                                        pkg-static -o ABI=FreeBSD:14:amd64 -o IGNORE_OSVERSION=yes update
                                        pkg-static -o ABI=FreeBSD:14:amd64 -o IGNORE_OSVERSION=yes upgrade -fy pkg
                                        pkg-static -o ABI=FreeBSD:14:amd64 -o IGNORE_OSVERSION=yes upgrade -fy pfSense-upgrade
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • stephenw10S
                                          stephenw10 Netgate Administrator
                                          last edited by

                                          Yes, since you still appear to be running a 12.3 kernel you will need to run those first to allow it.

                                          Steve

                                          K 1 Reply Last reply Reply Quote 0
                                          • K
                                            kevindd992002 @stephenw10
                                            last edited by kevindd992002

                                            @stephenw10 said in Error upgrading from 22.05 Release to 22.11 Development:

                                            Yes, since you still appear to be running a 12.3 kernel you will need to run those first to allow it.

                                            Steve

                                            Ok, so I just upgraded everything and reinstalled the packages (uninstalled before the upgrade and reinstall after the upgrade) and now I'm having issues with freeradius. The settings are all intact but my clients cannot connect anymore. I see these in the logs:

                                            2b10c361-3ce0-46ae-a504-cd089216e324-image.png

                                            Any ideas? Before the upgrade freeradius3 was at 0.15.7_33 and now it's at 0.15.8_1

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