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

    2.7.0 / wiped after reboot

    Scheduled Pinned Locked Moved General pfSense Questions
    10 Posts 4 Posters 555 Views 5 Watching
    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.
    • H Offline
      hypervisor
      last edited by

      On a 2.7.0 cluster of vms, i rebooted the backup node before starting to upgrade as a safety measure.
      The vm was stucked after reboot so i reset it after a couple of minute but this time it didnt even booted.
      After restoring vm backup i figured that the partition was wiped during the boot as you can see in the console

      first boot :

      30ea073c-5055-4d7e-8918-8c40d4aa5d64-image.png

      4f167148-f464-4784-84b8-f3a6e6607882-image.png

      237a5e3f-1d23-4f67-abce-bc20c9ac8de8-image.png

      2c856985-8b8b-4482-a71d-2433545e8195-image.png

      at this point the vm is stuck, and then i reset:

      1436c42d-77af-46c8-bf75-075608ab8319-image.png

      single user works fine:

      fc8c1e03-74b6-4160-a8ce-7ccf00465950-image.png

      here the full console video

      https://youtu.be/I0mUpN5yN6g?si=ljUTuUbfVcviJgU_

      Any idea to repair it would be much apreciated :)
      Thanks

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        SteveITS Rebel Alliance @hypervisor
        last edited by

        @hypervisor well all those rm commands look like something was deleting all the files. Reinstalling clean seems easiest and safest.

        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 reboot, or more depending on packages, and device or disk speed.
        Upvote ๐Ÿ‘ helpful posts!

        H 2 Replies Last reply Reply Quote 0
        • H Offline
          hypervisor @SteveITS
          last edited by

          @SteveITS said in 2.7.0 / wiped after reboot:

          something

          i'm a bit worried about that actually...

          1 Reply Last reply Reply Quote 0
          • H Offline
            hypervisor
            last edited by

            FYI it's in production since 2 years, already did some upgrade and has a very few plugins (wireguard, arpwatch and pfblocker)

            1 Reply Last reply Reply Quote 0
            • H Offline
              hypervisor
              last edited by

              in single user mode and in the backups i noticed that there is no more config.xml file so that's a mandatory restore...

              1 Reply Last reply Reply Quote 0
              • H Offline
                hypervisor @SteveITS
                last edited by

                @SteveITS config recover saved the day

                977b18b7-d80f-41a1-9cb1-ebf36c8c67e7-image.png

                GertjanG 1 Reply Last reply Reply Quote 2
                • stephenw10S Offline
                  stephenw10 Netgate Administrator
                  last edited by stephenw10

                  Be sure to backup your config files! ๐Ÿ˜‰

                  Use auto-config-backup if not doing something locally.

                  Or snapshots since they're VMs.

                  But library errors like that can often indicate a pkg was pulled in from the wrong repo. Potentially you installed a package when the 2.7.2 upgrade branch was selected.

                  H 1 Reply Last reply Reply Quote 0
                  • GertjanG Offline
                    Gertjan @hypervisor
                    last edited by

                    @hypervisor

                    And because no one likes security issues : don't use older versions with "known bug", use a more modern version with less known bugs : 2.7.2 is out for at least a year now. 2.7.0 is ... old and not supported (as no one it using it anymore).

                    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 1
                    • H Offline
                      hypervisor @stephenw10
                      last edited by

                      @stephenw10
                      since it's a backup node, it's not as easy to backup the configuration so that's why i rely on veeam backup but in this case same result with previous backups

                      1 Reply Last reply Reply Quote 0
                      • H Offline
                        hypervisor
                        last edited by

                        After fixing the backup node, i encounter the exact same issue on the master node...
                        Snapshot before reboot to be able to recover the config file !

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