Minor issue - bandwidth monitoring period lost after update

Minor issue but each time a Cloudmin update comes along the bandwidth monitoring period setting is reset to Month (we have it set to Day)

Status: 
Closed (fixed)

Comments

Is it being reset on upgrade, or is the period just not being saved when you submit the bandwidth form?

It is being reset on upgrade. It's happened with the last 2 updates. Logging in and resetting to Day works fine, but we have to do this every time we update...

So did you have just the "Day" button checked, or did you select "Past N days" and enter 1 day?

Right now we've got "Day" selected, but if memory served we previously had "Past 1 days" due to a bug with the Day setting...

I wonder if you could try forcibly running the Cloudmin post-install script, and see if that resets the bandwidth period?

The commands for that are :

export WEBMIN_CONFIG=/etc/webmin
cd /usr/libexec/webmin
/usr/libexec/webmin/run-postinstalls.pl virtual-server

Ran that and the period was not changed from Day. Will check it again next time an update comes along and re-open the ticket if it happens again. It has happened the last 2 updates which is why I opened the ticket...

Ok, thanks ... from looking at the code, I can't see why that setting would be changed at upgrade time.