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

    System reboots to original version after update

    Scheduled Pinned Locked Moved Plus 24.03 Development Snapshots (Retired)
    38 Posts 5 Posters 4.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.
    • cmcdonaldC
      cmcdonald Netgate Developer @hypnosis4u2nv
      last edited by

      @hypnosis4u2nv

      Not at this time, besides trying the next build :)

      Btw, what platform are you having issues on?

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

      H 2 Replies Last reply Reply Quote 0
      • H
        hypnosis4u2nv @cmcdonald
        last edited by

        @cmcdonald pfSense.localdomain - Status  Dashboard (7).png

        Running on firewall appliance similar to a protectli

        1 Reply Last reply Reply Quote 0
        • H
          hypnosis4u2nv @cmcdonald
          last edited by hypnosis4u2nv

          @cmcdonald Still can't get the latest snapshot to boot.

          BE                                             Active Mountpoint Space Created
          auto-default-20230602115934                    -      -          951M  2023-06-02 11:59
          auto-default-20230702153529                    -      -          861M  2023-07-02 15:35
          auto-default-20231106122501                    -      -          807M  2023-11-06 12:25
          auto-default-20231226102200                    -      -          676M  2023-12-26 10:22
          auto-default-20231226103555                    -      -          576M  2023-12-26 10:35
          auto-default-20240129152546                    -      -          487M  2024-01-29 15:25
          auto-default-20240131113103                    -      -          466M  2024-01-31 11:31
          auto-default-20240201124653                    -      -          467M  2024-02-01 12:46
          auto-default-20240206073737                    -      -          473M  2024-02-06 07:37
          auto-default-20240207120306                    -      -          75.7M 2024-02-07 12:03
          auto-default-20240212104406                    -      -          75.8M 2024-02-12 10:44
          auto-default-20240213090524                    -      -          1.26M 2024-02-13 09:05
          auto-default-20240213091340                    -      -          1.23M 2024-02-13 09:13
          default                                        -      -          656M  2024-02-29 12:09
          default_previous                               -      -          688M  2024-03-03 13:04
          default_previous_20240303130421                RT     -          12.9G 2024-03-11 12:25
          default_previous_20240303130421_20240311122539 N      /          5.61M 2023-06-02 10:23
          upgrade-default-20240226145932                 -      -          1.04M 2024-02-26 14:59
          upgrade-default-20240226150339                 -      -          608M  2024-02-26 15:03
          upgrade-default-20240226150843                 -      -          1.25M 2024-02-26 15:08
          Execute Shell Command
          
          1 Reply Last reply Reply Quote 0
          • H
            hypnosis4u2nv @Lurick
            last edited by

            @Lurick Are you still having the same issues?

            cmcdonaldC 1 Reply Last reply Reply Quote 0
            • cmcdonaldC
              cmcdonald Netgate Developer @hypnosis4u2nv
              last edited by

              @hypnosis4u2nv

              His issue was fixed by updating the boot loader.

              I assume you're also on a BIOS system (not UEFI) ?

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

              H 2 Replies Last reply Reply Quote 0
              • H
                hypnosis4u2nv @cmcdonald
                last edited by

                @cmcdonald Yes

                Tried to force it to use the new snapshot and it's hanging. Picsart_24-03-11_12-57-47-275.jpg

                1 Reply Last reply Reply Quote 0
                • H
                  hypnosis4u2nv @cmcdonald
                  last edited by

                  @cmcdonald Picsart_24-03-11_13-10-20-822.jpg

                  cmcdonaldC 1 Reply Last reply Reply Quote 0
                  • cmcdonaldC
                    cmcdonald Netgate Developer @hypnosis4u2nv
                    last edited by cmcdonald

                    @hypnosis4u2nv

                    You need to update the boot code

                    https://forum.netgate.com/post/1156211

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

                    H 1 Reply Last reply Reply Quote 0
                    • H
                      hypnosis4u2nv @cmcdonald
                      last edited by

                      @cmcdonald Unfortunately can't get back into the working snapshot after I set the updated snapshot to permanent. 😒

                      cmcdonaldC 1 Reply Last reply Reply Quote 0
                      • cmcdonaldC
                        cmcdonald Netgate Developer @hypnosis4u2nv
                        last edited by cmcdonald

                        @hypnosis4u2nv Use option 8 at the boot loader menu to select an alt boot environment

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

                        H 1 Reply Last reply Reply Quote 1
                        • H
                          hypnosis4u2nv @cmcdonald
                          last edited by

                          @cmcdonald I got back in, had to get back into the GUI and set that snapshot as the default because it kept trying to reboot back into the updated default.

                          bectl mount default
                          gpart bootcode -b /tmp/be_mount.XXXX/boot/pmbr -p /tmp/be_mount.XXXX/boot/gptzfsboot -i 1 ada0
                          bectl unmount -f default
                          bectl activate -t default
                          shutdown -r now
                          

                          What should I replace XXXX with?

                          cmcdonaldC 1 Reply Last reply Reply Quote 0
                          • cmcdonaldC
                            cmcdonald Netgate Developer @hypnosis4u2nv
                            last edited by

                            @hypnosis4u2nv

                            bectl mount default will return a path in the form of /tmp/be_mount.XXXX replace the references in the subsequent commands accordingly

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

                            H 1 Reply Last reply Reply Quote 1
                            • H
                              hypnosis4u2nv @cmcdonald
                              last edited by

                              @cmcdonald Thx, Where would I find the defer reboot option?pfSense.localdomain - System  Update  Update Settings.png

                              cmcdonaldC 1 Reply Last reply Reply Quote 0
                              • cmcdonaldC
                                cmcdonald Netgate Developer @hypnosis4u2nv
                                last edited by

                                @hypnosis4u2nv You'll have to manually add

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

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

                                H 1 Reply Last reply Reply Quote 0
                                • H
                                  hypnosis4u2nv @cmcdonald
                                  last edited by

                                  @cmcdonald I'm adding that to the config.xml and rebooting?

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

                                    Yes. You probably don't have a <firmware> section so will have to add that but you will have a <system> section so it should be added inside that.

                                    H 2 Replies Last reply Reply Quote 0
                                    • H
                                      hypnosis4u2nv @stephenw10
                                      last edited by hypnosis4u2nv

                                      @stephenw10 @cmcdonald Thanks for your help. Gonna give this a go tomorrow morning and report back.

                                      1 Reply Last reply Reply Quote 2
                                      • H
                                        hypnosis4u2nv @stephenw10
                                        last edited by

                                        @stephenw10 Still don't see anything in the update settings after applying this and rebooting.

                                        pfSense.localdomain - Diagnostics  Edit File.png

                                        cmcdonaldC 1 Reply Last reply Reply Quote 0
                                        • cmcdonaldC
                                          cmcdonald Netgate Developer @hypnosis4u2nv
                                          last edited by

                                          @hypnosis4u2nv

                                          You won't see it in the UI. But pfSense upgrader will honor it. The UI bits are in 24.03

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

                                          H 1 Reply Last reply Reply Quote 1
                                          • H
                                            hypnosis4u2nv @cmcdonald
                                            last edited by hypnosis4u2nv

                                            @cmcdonald OK thanks. I followed the instructions in the link you provided and updated to the latest snapshot. When the system booted up it was on the Feb 29th snapshot. I did a regular update to the latest snapshot and this time it booted up fine on the latest. Although it threw an error upon bootup. Appreciate everyones help to get me past that issue.

                                            Crash report begins.  Anonymous machine information:
                                            
                                            amd64
                                            15.0-CURRENT
                                            FreeBSD 15.0-CURRENT #0 plus-devel-main-n256292-447d90db3c9: Tue Mar 12 06:38:59 UTC 2024     root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-master-main/obj/amd64/PHcZzx3l/var/jenkins/workspace/pfSense-Plus-snapshots-master-main/sources/FreeBS
                                            
                                            Crash report details:
                                            
                                            PHP Errors:
                                            [12-Mar-2024 11:14:44 America/New_York] PHP Fatal error:  Uncaught Error: Failed opening required '/usr/local/www/shortcuts.inc' (include_path='.:/etc/inc:/usr/local/pfSense/include:/usr/local/pfSense/include/www:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg:/usr/local/www/classes:/usr/local/www/classes/Form:/usr/local/share/pear:/usr/local/share/openssl_x509_crl/') in /usr/local/www/head.inc:26
                                            Stack trace:
                                            #0 /usr/local/www/index.php(340): include()
                                            #1 {main}
                                              thrown in /usr/local/www/head.inc on line 26
                                            
                                            DefenderLLCD 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.