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

    [RESOLVED] - restore not working at all on latest snaps, nanobsd

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    17 Posts 3 Posters 3.7k 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.
    • X Offline
      xbipin
      last edited by

      upgraded a while ago to 17th may nanobsd snaps and ended up in a desperate situation, reason being i was having reinstall issues with the vnstat2 package so i decided to reset to factory defaults and restore the config again and thats where it all started, after the reset, i reboot and after that try to restore and pfsense just wont restore nor will it reboot, tried to downgrade to a older snaps few days back and those also wont restore the config, so i downgraded all the way to the 3rd April snaps and tried restoring it there and it restored but just that it didnt reboot automatically so had to do that manually and after reboot i upgraded back to the latest nanobsd snaps and things got back to normal, so i guess restore function definately has issues.

      NOTE: u get a warning in console when i downgraded to 3rd april snaps with the newer config saying the config was created using newer pfsense etc.

      1 Reply Last reply Reply Quote 0
      • E Offline
        Efonnes
        last edited by

        As far as I know, the restore works but the web GUI freezes and the system does not automatically reboot either.  After the restore finishes, you have to reboot from the serial console or SSH console.  This issue has existed at least for several months, I think.  I first encountered this with the first 2.0 nanobsd snapshot I ever used (back in December).  I'm not sure whether there is a redmine ticket open for this.

        1 Reply Last reply Reply Quote 0
        • X Offline
          xbipin
          last edited by

          i have added it to redmine, could u plz brief on how to restore using serial console or SSH etc in such a situation?

          1 Reply Last reply Reply Quote 0
          • E Offline
            Efonnes
            last edited by

            Do you get the confirmation that it is restoring, but it never reboots?

            1 Reply Last reply Reply Quote 0
            • X Offline
              xbipin
              last edited by

              actually the confirmation never comes at all and page status shows as opening and after some timeout value the pages goes done but instead of showing confirmation, in firefox a file download pop up appears and file name as diag_xxx.php , i forgot what was the name in xxx

              1 Reply Last reply Reply Quote 0
              • E Offline
                Efonnes
                last edited by

                Hmm, I've seen that one before.

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

                  This appears to be an HTTPS issue. It works fine on HTTP but not on HTTPS. In part, anyhow.

                  On HTTPS you get a white screen and it halts, on HTTP it says it worked but doesn't reboot.

                  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 0
                  • jimpJ Offline
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    After some more research, this appears to be a couple different things.

                    The main issue was that the reboot process was spawning a shell to do its job instead of using the internal function. For whatever reason, this was locking PHP even though the same command works fine from the CLI. I fixed this and it works fine now.

                    I was getting a blank screen when I submitted a backup at first but now I can't reproduce it. I'm not sure if it has something to do with the size of the backup or what.

                    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 0
                    • E Offline
                      Efonnes
                      last edited by

                      In my earlier post, I meant to say I haven't seen that before.

                      1 Reply Last reply Reply Quote 0
                      • X Offline
                        xbipin
                        last edited by

                        im using HTTP and for me the confirmation never came using firefox, the page just said loading till the browser reached timeout value or so then that php page download popup came so for me basically nor did it restore nor reboot, might be true that php hangs or so

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

                          The limits on the server are set higher, but it may also be that the config contains RRD data and can be quite large (mine was 4MB)

                          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 0
                          • X Offline
                            xbipin
                            last edited by

                            my RRD data i never backup and its disabled so config file is just few KB only.

                            try setting web to HTTP, then reset to factory defaults, reboot and then try restoring

                            1 Reply Last reply Reply Quote 0
                            • X Offline
                              xbipin
                              last edited by

                              u can check my config file

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

                                That config is incomplete. Rename it to .txt and attach if you want to put it here.

                                It's kind of a moot point though because I made changes to the restore process yesterday, so a test is somewhat meaningless right now unless you're running on the most current code.

                                The current snapshot has issues though, wait for the next one.

                                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 0
                                • X Offline
                                  xbipin
                                  last edited by

                                  currently on the 17th may

                                  could u delete it once u have seen it?

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

                                    I downloaded it and deleted it.

                                    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 0
                                    • X Offline
                                      xbipin
                                      last edited by

                                      tried it on the 22nd may snap and restore works fine and even reboots fine now, thanks

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