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

Restore issues: Apply Changes button missing, Save does not reboot

Scheduled Pinned Locked Moved General pfSense Questions
17 Posts 2 Posters 1.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.
  • S
    SteveITS Galactic Empire
    last edited by SteveITS Jul 7, 2023, 5:43 PM Jul 7, 2023, 5:41 PM

    After some trouble restoring to various devices this week, I figured out that if I restore a config that prompts for an interface change, the Apply Changes button is missing by default:

    4d55b8b3-ca1c-4690-affd-45b07e6ed4ec-image.png

    Apply Changes only appears if I delete or add an interface, and then the original banner disappears:
    8165f48e-7a64-4055-8176-9777d3c526b4-image.png

    [At that point the page reloaded but then I lost connection to the web GUI. The console shows the interfaces from the restored config in the menu (ix3) but ifconfig shows the old IPs from before the restore. At this point I can ping from pfSense to my laptop using the old/default IP range 192.168.1.12 but cannot ping or browse to pfSense. It should be allowed by the new and old firewall ruleset, and worked before. Restarting webConfigurator did not help.

    I reset and tried this a second time and did not have this issue, the web GUI remained accessible. So, not sure what the difference was.]

    Further, if one does not need to delete/add interfaces, and just clicks Save, the IP changes apply and access to pfSense is lost. pfSense does not restart at this point. If one is restoring a backup of the same router or at least IP range this won't be noticed but an IP change on LAN will disconnect the user. Of course one can then change to the correct IP range and connect again.

    Now, one could argue the difference between the Save and Apply Changes buttons is obvious, and the behavior expected, however, since no Apply Changes button appears on the page at first, and Save is not disabled, it is a bit confusing.

    Also of note, after Saving and before rebooting, the web GUI password for "admin" is different from the console password for "admin." The web GUI uses the password from the restore, while the console uses the old password.

    I think there should also be wording on the Interfaces page during a restore, to the effect that Save applies changes but does not reboot.

    I understand it does say a reboot is necessary on screen however there's not a way to reboot at that point without reconnecting and logging in again, and someone may incorrectly assume that changes have been applied once the IPs change. (and, there is no Apply Changes button in the original directions/banner)

    Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
    Upvote 👍 helpful posts!

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Jul 7, 2023, 8:28 PM

      Is that in 23.05.1?

      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Jul 7, 2023, 8:34 PM

        Hmm, testing that here the system reboots as expected after I hit apply.

        Were you connected via the LAN when you restored the config and that interface had to be reassigned?

        S 1 Reply Last reply Jul 7, 2023, 9:18 PM Reply Quote 0
        • S
          SteveITS Galactic Empire @stephenw10
          last edited by SteveITS Jul 7, 2023, 9:21 PM Jul 7, 2023, 9:18 PM

          @stephenw10 Apply does reboot, but Apply does not always appear. For instance if I restore a config with 6 interfaces to one with 4, I have to delete 2 so I see Apply. If I restore 3 to 3, I can just pick them in the dropdown but can only click Save since there is no Apply Changes button. (first screenshot)

          Then, Save does not reboot but since the page says to reboot to apply the changes it's not immediately obvious that the IPs and (only) the GUI password changed. Or maybe I was just tired and should have realized that's what it would do.

          This 2100 is on 23.05 per my console logs yesterday. So I have at least that record and I didn't document that I upgraded it.

          I am pretty sure I saw similar issues with the 6100s I just set up though, since I had some similar oddities with the restore. (We replaced two, and were going to use those to replace two old PCs that were still in service, so 4 cross-hardware restores, plus another last week for the temp router we put in while waiting for the 6100s). Those 6100s I updated to .1 first, before the config restore.

          In hindsight I think I was running into the situation where I would think to "click Save, then Apply Changes to reboot" and in reality one cannot do both if the LAN IP is also changing because that IP change happens when Save is clicked. It has seemed like inconsistent behavior for me so I was trying to figure it all out before posting, and am juggling three hardware models and two versions.

          What may be the intent, is to not click Save, and only click Apply Changes to save and reboot, however that button is not always visible.

          Regardless of whether the restore is working how it's supposed to or not, the instructions say to click a button that doesn't exist when that sentence is on the page. :) If you restore a config and it has to assign interfaces, does Apply Changes show for you or do you have to add or remove an interface first?

          Edit:
          6eacb771-94b6-4d69-a6a3-eff7aa34cd3c-image.png

          Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
          Upvote 👍 helpful posts!

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Jul 7, 2023, 11:17 PM

            What I expect to happen is that the Apply button appears after the changes have been saved. Before any changes have been saved there is nothing to apply.

            However what I am seeing is that changes somehow get applied before I have chance to correct the interface order causing me to lose connection. I'm digging into that but that isn't what you saw as I understand it?

            S 2 Replies Last reply Jul 8, 2023, 2:57 AM Reply Quote 0
            • S
              SteveITS Galactic Empire @stephenw10
              last edited by Jul 8, 2023, 2:57 AM

              @stephenw10 It sounds similar I think? Saving changes the LAN IP, and I lose connection. Like Save is applying more than just interface changes, it assigns IPs and/or VLANs and the GUI password and whatnot that I’d expect to change after restart.

              In my OP above, the italics are a scenario where it seemed to do that just deleting one interface…? But then it didn’t the next try.

              I dunno it’s been…weird this week. Just trying to figure out if there’s a bug to fix or what. 🧐 The vast majority of clients have WAN and LAN so there are not a lot of interfaces to deal with so restores are trivial. These routers this week were all in our data center and all had several interfaces and mostly public IPs except the 2100 which Ryan converted to use VLANs for me.

              Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
              Upvote 👍 helpful posts!

              1 Reply Last reply Reply Quote 0
              • S
                SteveITS Galactic Empire @stephenw10
                last edited by Jul 8, 2023, 2:29 PM

                @stephenw10 To be clear I’m past all this now, just trying to help figure out why I had issues/help others. So I appreciate your help.

                AFAIK issues should be reproducible by:

                • set a config with say 3 interfaces, with non-standard IPs
                • restore on a default 2100 (2 interfaces)
                • try to delete one during assignment

                Or different interface/NICs etc to trigger the assignment. I can send a config, or if it’s saved in the ticket TAC has one from a couple weeks ago converting to a 2100. (In that specific case the restore to 2100 was fine because it was pre-converted, but the original file is what i was using on the 6100s.)

                One thing that’s dawning on me, on the 4860 I had created the unused Opt interfaces. Then we used Opt4 for direct on site access. Perhaps that is not a good idea to leave unused ones in the file, for future migration reasons.

                Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
                Upvote 👍 helpful posts!

                S 1 Reply Last reply Jul 9, 2023, 12:17 PM Reply Quote 0
                • S
                  stephenw10 Netgate Administrator @SteveITS
                  last edited by Jul 9, 2023, 12:17 PM

                  @SteveITS said in Restore issues: Apply Changes button missing, Save does not reboot:

                  Perhaps that is not a good idea to leave unused ones in the file, for future migration reasons.

                  Well it makes it easier to import into a device that has fewer interfaces certainly but you should still be able to remove unused interfaces. However I think that's what you were hitting, when you delete an interface it applies immediately and would also apply any other saved settings. That could easily lock you out. 🤔

                  S 1 Reply Last reply Jul 9, 2023, 2:30 PM Reply Quote 0
                  • S
                    SteveITS Galactic Empire @stephenw10
                    last edited by Jul 9, 2023, 2:30 PM

                    @stephenw10 Yeah. I mean, I’ve done many restores over the last 15 years but this past week for every one that changed hardware I was like, “what just happened?”

                    Thinking about it all, it sounds like Save applies other changes such as IPs and passwords and maybe that is a separate bug, if those should apply after Apply Changes/reboot.

                    Also, per the above discussion, when changing out hardware with the same number of interfaces, then one would not add/delete any, and thus the Apply Changes button would never appear…? :) Maybe the page needs to detect when a dropdown value is changed, not just add/delete.

                    And/or the original banner text should say to “click Save, then click the Apply Changes button that will appear.”

                    Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
                    Upvote 👍 helpful posts!

                    S 1 Reply Last reply Jul 9, 2023, 3:26 PM Reply Quote 0
                    • S
                      SteveITS Galactic Empire @SteveITS
                      last edited by Jul 9, 2023, 3:26 PM

                      @SteveITS said in Restore issues: Apply Changes button missing, Save does not reboot:

                      And/or the original banner text should say to “click Save, then click the Apply Changes button that will appear.”

                      This would also be more consistent with, say, firewall rule or alias edits.

                      Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
                      Upvote 👍 helpful posts!

                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator
                        last edited by Jul 10, 2023, 8:13 PM

                        It should present the existing config, which will be incorrect for the hardware, and allow you to change them and save that. Then the apply appears but you should have an oppotunity at that point to make any other changes needed before applying them which should then trigger the reboot.

                        There have always been edge cases here, the interface resignment cannot allow for all setups. If you have LAGGs and VLANs etc it's often easier to manually edit the config that try to add back all the interfaces and assign them without getting locked out. However I think there is a regression here.

                        S 1 Reply Last reply Jul 10, 2023, 9:11 PM Reply Quote 0
                        • S
                          SteveITS Galactic Empire @stephenw10
                          last edited by Jul 10, 2023, 9:11 PM

                          @stephenw10 👍 at least I’m not crazy :). Let me know if I can help. After swapping the routers I’m down to the 2100 being available but it is at the office currently. One of the configs may still be visible in a conversion ticket from me to TAC about two weeks ago.

                          Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
                          Upvote 👍 helpful posts!

                          1 Reply Last reply Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator
                            last edited by Jul 10, 2023, 9:37 PM

                            We converted it to the 2100?

                            S 2 Replies Last reply Jul 10, 2023, 10:08 PM Reply Quote 0
                            • S
                              SteveITS Galactic Empire @stephenw10
                              last edited by Jul 10, 2023, 10:08 PM

                              @stephenw10 correct, and I used the same original config on the 6100s. It and its HA pair. The 2100 was a temp we put in service for a week when the backup died.

                              Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
                              Upvote 👍 helpful posts!

                              S 1 Reply Last reply Jul 11, 2023, 3:25 PM Reply Quote 0
                              • S
                                SteveITS Galactic Empire @SteveITS
                                last edited by Jul 11, 2023, 3:25 PM

                                FWIW the (short) email chain with TAC doesn't have a ticket number but it was on June 25; Ryan's reply was 12:14 PM CDT. Subject "Config migration to 2100"

                                Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
                                Upvote 👍 helpful posts!

                                1 Reply Last reply Reply Quote 1
                                • S
                                  SteveITS Galactic Empire @stephenw10
                                  last edited by Jul 19, 2023, 5:28 PM

                                  Circling back, I didn't see a Redmine yet so I created one: https://redmine.pfsense.org/issues/14591

                                  Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
                                  Upvote 👍 helpful posts!

                                  S 1 Reply Last reply May 2, 2024, 6:39 PM Reply Quote 1
                                  • S
                                    SteveITS Galactic Empire @SteveITS
                                    last edited by May 2, 2024, 6:39 PM

                                    I rediscovered this today restoring two 3100 configs to 2100s. Short version, clicking Save before clicking Apply does work. Clicking Apply first results in an inaccessible router (aside from console).

                                    Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
                                    Upvote 👍 helpful posts!

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                      This community forum collects and processes your personal information.
                                      consent.not_received