Auto Configuration Backup not saving
-
Hello there,
always when I want to setup the Auto Configuration Backup plugin I enter all the data and hit the checkbox. After saving the configuration all settings are reset as if I did nothing. In Notices I get the following message:
Netgate pfSense Plus is restoring the configuration /cf/conf/backup/config-1659030952.xml @ 2022-07-28 19:57:13
whereas the numbers are changing always.
Any ideas?
Thanks in Advance
Thomas -
@dsb That's not the normal behavior.
What hardware are you running on?
What version of the software? -
You see that notice immediately after trying to setup ACB? Or after a reboot?
That implies something is corrupting the config and it has to load the last backup.
Steve
-
It's a Netgate 7100 running 22.05-RELEASE .
The notice is showing up immediately, no reboot requiered.
-
Hmm, well that's not good.
Try as a test using very basic values in the ACB setup, like 12345 as the password and nothing else.
Is there anything in the system logs after triggering the issue?
Steve
-
If I use a too easy password, then it tells I need at least 8 characters. After using 1-8 it does the same.
The logs tell
Aug 2 14:10:32 php-fpm 67394 /services_acb_settings.php: New alert found: Netgate pfSense Plus is restoring the configuration /cf/conf/backup/config-1659364453.xml Aug 2 14:10:32 php-fpm 67394 /services_acb_settings.php: Netgate pfSense Plus is restoring the configuration /cf/conf/backup/config-1659364453.xml Aug 2 14:10:32 php-fpm 67394 /services_acb_settings.php: XML error: Undeclared entity error at line 608 in /conf/config.xml Aug 2 14:10:32 php-fpm 67394 /services_acb_settings.php: Configuration Change: admin@172.18.50.77 (Local Database): AutoConfigBackup settings updated
-
@dsb said in Auto Configuration Backup not saving:
XML error: Undeclared entity error at line 608 in /conf/config.xml
Ah, OK. Is it always that line if just repeat it? What part of the config is that in your file?
-
@dsb said in Auto Configuration Backup not saving:
XML error: Undeclared entity
Looking at similar bugs in the past they have been caused by incorrect handling of unexpected characters. What exactly are you entering in the ACB settings?
-
ahhhhh thanks yes thats it, I tried to use an ü
Without it works flawlessly. Thanks so much!
-
Yeah, I just confirmed that using
Testü
as the hint. I'll open a bug... -
thanks a lot :)
-