Description:
Cannot change a client’s device icon/type. Server returns error 500.
Steps to Reproduce:
- Log in
- Click in Clients tab
- Edit/Modify Client
- Select a new device icon/type
- Apply changes
Observed behavior (what I see):
Internal server error, http code 500.
Expected Behavior (what it should do instead of what I see):
Icon should be set properly.
Device Info:
Firmware: 4.8.3 (2026-04-13 07:14:36)
Model: Slate AX (GL-AXT1800)
Some Logs:
nginx:
2026/07/06 17:09:21 [notice] 7362#0: *881 [lua] rpc.lua:263: call(): call: 'clients.set_info', client: 10.69.0.126, server: , request: "POST /rpc HTTP/1.1", host: "10.69.0.1"
2026/07/06 17:09:21 [error] 7362#0: *881 lua entry thread aborted: runtime error: ./files/rpc.lua:376: attempt to call method 'upper' (a nil value)
stack traceback:
coroutine 0:
[C]: in function 'foreach'
./files/rpc.lua:371: in function <./files/rpc.lua:354>
(tail call): ?
/usr/share/gl-ngx/oui-rpc.lua:113: in function '?'
/usr/share/gl-ngx/oui-rpc.lua:168: in function </usr/share/gl-ngx/oui-rpc.lua:1>, client: 10.69.0.126, server: , request: "POST /rpc HTTP/1.1", host: "10.69.0.1"
Note: the file ./files/rpc.lua seems to be a virtual or automatically generated file that does not exist on disk. /usr/share/gl-ngx/oui-rpc.lua does exist, however.
