Potential bug in advanced setting not being saved
-
Hi,
just updated a customer system to 23.05 today and checked its advanced options under "System > Advanced". As that customer is pretty active in the WebUI we set the NGINX thread from 2 to 5 on the old system with 22.05. But setting that wouldn't save. Tried multiple times with no result, after saving and "redirecting" even when not changing the HTTPS port etc. the system shows "2" for "Max processes".
So I checked the
config.xml
and found the entry under<webgui>
formax_procs
to be empty instead of showing 2 or 5. I assume somehow the value saved from the UI isn't correctly saved into that XML value so simply pops back to the default which is 2.So I checked another system that was upgraded from 23.01 and it's the same behavior the other way round: the system now has "5" which it has read from the config.xml correctly (from before) and trying to change it to 2 or 10 (just as an example) results in it hopping back to the 5 from the config, so it definetly seems as the value won't get written into the config.xml correctly.
Cheers
\jens -
@JeGr Confirmed. I set it to 10 but when I go back into the setting its set to my original pre 23.05 value of 4.
-
@jimp has already created a patch for this here: https://redmine.pfsense.org/projects/pfsense/repository/2/revisions/073a6baceffc4a363eac9369cc036fc7b19b919e. The original Redmine ticket is here: https://redmine.pfsense.org/issues/14425#change-67694.
I suspect you can apply the patch using the System Patches package.
-
@bmeeks Confirmed. Patch fixes the issue.
-
@bmeeks said in Potential bug in advanced setting not being saved:
@jimp has already created a patch for this here: https://redmine.pfsense.org/projects/pfsense/repository/2/revisions/073a6baceffc4a363eac9369cc036fc7b19b919e. The original Redmine ticket is here: https://redmine.pfsense.org/issues/14425#change-67694.
I suspect you can apply the patch using the System Patches package.
Thanks a lot, I missed that one :)