I'm trying to modify the Web Interface HTTP/S Port in the "GUI Settings panel (following the instructions to install Traefik)
The input fields have validation enabled. If I press enter after changing the values (80=>81, 443=>444) the value reverts to the original value and a popup window appears with a validation error.
The same thing happens if I change the values without pressing enter and click "Save" at the bottom of the Window.
The Validation error:
EDIT: with the help of an expert, I was able to pinpoint the problem to the keyboard layout ("kbdmap").
my keyboard layout was set to "iw.iso8". changing it to "us" (midclt call system.general.update '{ "kbdmap": "us" }') fixed the issue.
However, this is still a bug that should be fixed. Entering numbers should work in any keyboard layout.
Btw, what is even stranger - the same validation error was returned when changing the port number from the command line (before modifying kbdmap) : call system.general.update '{ "ui_port": 81 }'
The input fields have validation enabled. If I press enter after changing the values (80=>81, 443=>444) the value reverts to the original value and a popup window appears with a validation error.
The same thing happens if I change the values without pressing enter and click "Save" at the bottom of the Window.
The Validation error:
error ValidationErrors
[EINVAL] general_settings_update.kbdmap: Please enter a valid keyboard layout
Error: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 181, in call_method
result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self)
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1255, in _call
return await methodobj(*prepared_call.args)
File "/usr/lib/python3/dist-packages/middlewared/service.py", line 575, in update
rv = await self.middleware._call(
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1255, in _call
return await methodobj(*prepared_call.args)
File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1152, in nf
res = await f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1284, in nf
return await func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/middlewared/plugins/system_general/update.py", line 251, in do_update
raise verrors
middlewared.service_exception.ValidationErrors: [EINVAL] general_settings_update.kbdmap: Please enter a valid keyboard layout
EDIT: with the help of an expert, I was able to pinpoint the problem to the keyboard layout ("kbdmap").
my keyboard layout was set to "iw.iso8". changing it to "us" (midclt call system.general.update '{ "kbdmap": "us" }') fixed the issue.
However, this is still a bug that should be fixed. Entering numbers should work in any keyboard layout.
Btw, what is even stranger - the same validation error was returned when changing the port number from the command line (before modifying kbdmap) : call system.general.update '{ "ui_port": 81 }'
Last edited: