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

    23.09.1 -> 24.03a seems fail

    Scheduled Pinned Locked Moved Plus 24.03 Development Snapshots (Retired)
    27 Posts 3 Posters 2.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.
    • L
      Luca De Andreis
      last edited by

      Hi all,

      I've tried to upgrade (for test) a PfSense VM running in KVM on 23.09.1, but... after reboot the system remains in 23.09.1 (I've repeat several time the process, but... I haven't seen any errors...)

      f6e3edcc-f788-4813-8f9a-8d9d13898b58-immagine.png

      juanzelliJ cmcdonaldC 2 Replies Last reply Reply Quote 0
      • juanzelliJ
        juanzelli @Luca De Andreis
        last edited by

        @Luca-De-Andreis You may need to check the following. If it's enabled, you must log into the console and click Verify button to confirm things are good. Otherwise, it will reboot in 300 seconds to the previous boot environment
        9604cc21-fb31-43e6-81d8-2e8d2616a59a-image.png

        Netgate 4100 and HPE InstantOn network at home

        1 Reply Last reply Reply Quote 1
        • cmcdonaldC
          cmcdonald Netgate Developer @Luca De Andreis
          last edited by

          @Luca-De-Andreis

          Try the version that just finished building

          24.03.a.20240301.2201

          Need help fast? https://www.netgate.com/support

          L 1 Reply Last reply Reply Quote 0
          • L
            Luca De Andreis
            last edited by

            The firewall runs 23.09.1, boot verification is not present

            857da0ce-1491-425f-8c1c-53e5a5f582b0-immagine.png

            1 Reply Last reply Reply Quote 0
            • L
              Luca De Andreis @cmcdonald
              last edited by

              @cmcdonald

              MMMMh no, the same problem....

              59cd687c-c9a1-4e63-892c-f7b47101e9a0-immagine.png

              cmcdonaldC 1 Reply Last reply Reply Quote 0
              • cmcdonaldC
                cmcdonald Netgate Developer @Luca De Andreis
                last edited by

                @Luca-De-Andreis

                Let's try to collect some output of the failure. Do you have serial access to the console? If so, make sure you enable logging in your terminal emulator. If you've got display output only you will likely need to screen record.

                before performing the upgrade, add the following to your config.xml. You can use Diagnostics > Edit File to do so. The path is /cf/conf/config.xml.

                <system>
                		 <firmware>
                				<bedeferreboot></bedeferreboot>
                		 </firmware>
                </system>
                

                This will cause the update to NOT automatically reboot after installation.

                Now perform the upgrade. Please attach output here or to me directly.

                Next, note the name of the new BE that was created. It should actually be the original name. Your current should name have a timestamp appended.

                Go to diagnostics > command prompt and enter

                bectl mount bename
                

                replacing bename as necessary.

                You should see a path returned in the form of

                /tmp/be_mount.XXXX
                

                Copy this path.

                Now enter

                touch /tmp/be_mount.XXXX/verbose_rc
                

                Finally unmount the BE with

                bectl unmount -f bename
                

                Reboot.

                pfSense startup is now very verbose. Send me the entire ouput.

                Thanks

                cmcdonald@netgate.com

                Need help fast? https://www.netgate.com/support

                L 3 Replies Last reply Reply Quote 0
                • L
                  Luca De Andreis @cmcdonald
                  last edited by Luca De Andreis

                  @cmcdonald

                  OK I start to upgrade log :
                  upgrade-log.txt

                  Please note... this is a KVM virtual machine, not a bare metal system.

                  1 Reply Last reply Reply Quote 1
                  • L
                    Luca De Andreis @cmcdonald
                    last edited by Luca De Andreis

                    @cmcdonald

                    I think I understand
                    the problem lies in the incorrect (automatic) selection of the boot snapshot:

                    I forced boot to a snapshot that was not selected. There must be some problem in the post upgrade setting ....

                    c5ec77bf-aa46-4068-9802-c50d69476307-immagine.png

                    Now I'm in 24.03

                    cmcdonaldC 1 Reply Last reply Reply Quote 1
                    • cmcdonaldC
                      cmcdonald Netgate Developer @Luca De Andreis
                      last edited by

                      @Luca-De-Andreis

                      Cool. I would rename you BEs to clean that up. There is new code in that makes that better moving forward.

                      Need help fast? https://www.netgate.com/support

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        Luca De Andreis @cmcdonald
                        last edited by

                        @cmcdonald

                        now it's OK, I've cleaned BE

                        26ef0f22-2234-42bc-ab55-17d4547bc366-immagine.png

                        1 Reply Last reply Reply Quote 2
                        • L
                          Luca De Andreis @cmcdonald
                          last edited by

                          @cmcdonald

                          Mhhh not good, there are still problems with snapshots ....
                          I have updated to 24.03.b.20240305.0455 and the boot was done with the previous release.

                          90b419ff-99f1-4161-952b-89ae1443f415-immagine.png

                          I try to manually force the correct boot snapshot....

                          cmcdonaldC 1 Reply Last reply Reply Quote 0
                          • cmcdonaldC
                            cmcdonald Netgate Developer @Luca De Andreis
                            last edited by cmcdonald

                            @Luca-De-Andreis

                            What hardware platform?

                            Edit: KVM. I see above

                            Need help fast? https://www.netgate.com/support

                            L 1 Reply Last reply Reply Quote 0
                            • L
                              Luca De Andreis @cmcdonald
                              last edited by

                              @cmcdonald

                              Yes, KVM VM.

                              cmcdonaldC 1 Reply Last reply Reply Quote 0
                              • cmcdonaldC
                                cmcdonald Netgate Developer @Luca De Andreis
                                last edited by

                                @Luca-De-Andreis

                                Go to Diagnostics > Command Prompt and enter

                                touch /verbose_rc
                                

                                Then do the upgrade again.

                                I need the console ouput during the reboot.

                                Need help fast? https://www.netgate.com/support

                                L 1 Reply Last reply Reply Quote 0
                                • L
                                  Luca De Andreis @cmcdonald
                                  last edited by

                                  @cmcdonald

                                  OK

                                  -) Rollback to 23.09.1
                                  -) Upgrade to 24.03 beta

                                  • After reboot:

                                  7ef83be6-4e74-4f35-9adb-ffbd016adb21-immagine.png

                                  1b9dbfba-5834-4dd9-aebd-dcb1de42e833-immagine.png

                                  OK, I've create verbose_rc file .... which log file should I give you?

                                  cmcdonaldC 1 Reply Last reply Reply Quote 0
                                  • cmcdonaldC
                                    cmcdonald Netgate Developer @Luca De Andreis
                                    last edited by

                                    @Luca-De-Andreis

                                    You'll need to watch the boot at the console. I just need the end of it. Most likely what is happening is that you are actually booting into the new version but it's failing boot verification for some reason and automatically rolling back to the previous.

                                    Need help fast? https://www.netgate.com/support

                                    L 4 Replies Last reply Reply Quote 0
                                    • L
                                      Luca De Andreis @cmcdonald
                                      last edited by

                                      @cmcdonald

                                      OK, I carefully repeated the whole update process.
                                      I checked the boot sequence carefully and there is no upgrade attempt.
                                      The post upgrade 23.09.1->24.03 Beta system seems to boot from the snapshot related to 23.09.1 without even trying to upgrade.
                                      That is if I do not go to "play" with the BE ... if I go to force the snapshot, it starts correctly in 24.03.

                                      1 Reply Last reply Reply Quote 0
                                      • L
                                        Luca De Andreis @cmcdonald
                                        last edited by

                                        @cmcdonald

                                        Mhhhhh something is not working

                                        9ba81b18-8990-4d29-a143-69993a2a2d88-immagine.png

                                        If I click, relative to the last line of this image, on... start from this snapshot (24.03b) the system restarts in 23.09.1

                                        1 Reply Last reply Reply Quote 0
                                        • L
                                          Luca De Andreis @cmcdonald
                                          last edited by

                                          @cmcdonald

                                          cf16aaf3-8f5b-46b4-bcd7-31d901aef10c-immagine.png

                                          1 Reply Last reply Reply Quote 0
                                          • L
                                            Luca De Andreis @cmcdonald
                                            last edited by

                                            @cmcdonald

                                            Why this one ?

                                            b7744534-c094-4702-a7fc-74c46f0b185a-immagine.png

                                            I've just set a new default boot snapshot (change the star) .... I did not set a "one time boot mode"

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