Open MadMan247 opened 4 months ago
It seem to be an upstream issue on the config panel. They probably didn't think about allowing a negative number.
For now the workaround would be just to set manually the value from command line with this command:
yunohost app setting monitorix process_priority -v 20
And then you need to update (or force update) the app to take new value into account.
Describe the bug
Monitorix, in the "main configuration" menu in the app's administrative panel, has an option to adjust the priority. This section explicitly mentions setting it to a negative number to allow monitorix to read data even under heavy load. Setting this value as negative through the webadmin returns an error. Positive values do work.
Context
yunohost app info $app_id
Steps to reproduce
-install monitorix -navigate to admin section of yunohost (www.example.com/yunohost/admin/) -go to applications > monitorix -go to "main configuration" -set "process priority" to a negative number (please note that this issue remains even if you use the down arrow instead of manually entering a negative value)
Expected behavior
no "this form contains errors" message
Logs
There do not seem to be logs, as this is caught very early in the process. closest I can give is the closing lines of yunohost-api.log also, man does doing anything through the webadmin put tons of lines in that log.
If applicable and useful, add screenshots to help explain your problem.