After updating to CE 2.7.1 no FreeRADIUS settings - config gone
-
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
-
@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. -
This post is deleted! -
@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.
-
What is "it?" What is "hit it" mean? Hit what?
-
@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.
-
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.
-
@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:
I don't recall that problem but our setup was a while ago and on Plus. -
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.
-
@PIC_1996 That sounds like a different issue. This thread was about the bug where settings are lost when the package was upgraded.
-
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?