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

    After updating to CE 2.7.1 no FreeRADIUS settings - config gone

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 4 Posters 908 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.
    • the otherT
      the other
      last edited by

      Hey everyone,
      I updated my pfsense from CE 2.7 to 2.7.1. All went well...wait, no:
      I see that my FreeRADIUS config (for openVPN auth) is gone.
      All settings I had befor updating are gone, there is no config left.
      Now, that is not such a huge problem here (home user), just wanted to mention it and ask others: do you have a similar problem as well?

      Another one: I have a pfsense config backup...before giving it a shot I just wanted to ask, if it is possible to restore FreeRADIUS config only a) by GUI or b) by console? If no to a) and yes to b): how?
      :)
      Thank you...

      the other

      pure amateur home user, no business or professional background
      please excuse poor english skills and typpoz :)

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

        It's this: https://redmine.pfsense.org/issues/14806

        Fixed in the latest Freeradius package but if you were still on an older version in 2.7.0 you would hit it unless you resaved the 'keep settings' option.

        Steve

        the otherT 1 Reply Last reply Reply Quote 1
        • the otherT
          the other @stephenw10
          last edited by the other

          @stephenw10 thanks for your response. As far as I remember I had the latest version of freeRADIUS package.
          I read in your link about reinstalling the package...I try that next weekend, otherwise I just configure new. It's not that complex and Igot my little documentation here...openvpn with 2fa on freeRADIUS is just a nice to have for my needs. :) Pure home usage.

          the other

          pure amateur home user, no business or professional background
          please excuse poor english skills and typpoz :)

          S 2 Replies Last reply Reply Quote 0
          • S
            SteveITS Galactic Empire @the other
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • S
              SteveITS Galactic Empire @the other
              last edited by

              @the-other I out-thought myself there sorry. Had to remember straight. FreeRADIUS removes the settings during uninstall so everyone will hit it, because they can't uninstall FreeRADIUS without hitting it, hence they can't upgrade FreeRADIUS without hitting it.

              This part is correct though: you can copy/paste the settings out of the config file to recover; see my report at:

              https://redmine.pfsense.org/issues/14596

              "This missing section [<freeradiussettings>] can be added next to the <freeradiuseapconf> tag and the config file restored again. To recover, also copy <freeradiuseapconf>, <freeradius>, <freeradiusclients>, and <freeradiusinterfaces> from a valid backup and restore it."

              Or as noted you can build it again.

              TL,DR: everyone needs to click the Save button before upgrading pfSense or FreeRADIUS.

              P 1 Reply Last reply Reply Quote 1
              • P
                PIC_1996 @SteveITS
                last edited by

                @SteveITS

                What is "it?" What is "hit it" mean? Hit what?

                S 1 Reply Last reply Reply Quote 0
                • S
                  SteveITS Galactic Empire @PIC_1996
                  last edited by

                  @PIC_1996 "so everyone will hit it" ...the bug. The setting is :

                  "Save settings after deletion

                  If enabled, the settings will be preserved across package reinstalls. Important: If disabled, all settings will be wiped on package uninstall/reinstall/upgrade."

                  That is ignored unless you have gone to the Settings page and clicked Save at any point.

                  The reason is, the entire Settings page section is not in the config file unless Save is clicked, and the package has a bug where it incorrectly defaults that setting to unchecked. Save puts the checkmark into the config file.

                  P 1 Reply Last reply Reply Quote 1
                  • P
                    PIC_1996 @SteveITS
                    last edited by

                    @SteveITS

                    Thank you for the quick response. Yes, I have that enabled in settings. While I have you on the line... I have 2.7.2 installed. My changes/additions in FreeRADIUS are not applied after I press save.

                    Specifically, this has occurred in users, NAS/clients, and EAP tabs. This is a new problem since I did add some users a few days ago.

                    Thank you again.

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      SteveITS Galactic Empire @PIC_1996
                      last edited by

                      @PIC_1996 You have to have the checkbox checked and have clicked Save on that page at least once. Otherwise the checkbox is ignored.

                      re: changes, does it work if you restart the service:
                      6865ce96-71b5-4731-96f0-4a7c6b1b455c-image.png
                      I don't recall that problem but our setup was a while ago and on Plus.

                      P 1 Reply Last reply Reply Quote 0
                      • P
                        PIC_1996 @SteveITS
                        last edited by

                        @SteveITS

                        Yes, I check the box and click save. I've been using PfSense for a while and have never experience it not saving after clicking save. This particular issue has started after upgrading to 2.7.2.

                        I tried stopping and restarting FreeRADIUS before attempting anything and nothing works.

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          SteveITS Galactic Empire @PIC_1996
                          last edited by

                          @PIC_1996 That sounds like a different issue. This thread was about the bug where settings are lost when the package was upgraded.

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

                            Mmm, that's not an issue I'm aware of. Hard to see what might cause that. I assume you can make other changes to the config successfully still?

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