I am unable to authenticate to the admin web page. The router is working like it should and I am able to ssh, it's just the web page.
When I get to the web page I put in my password and I get the following error...
Unknown error occurred. Please check the network environment or reboot the device.
I ssh'd into the router and reviewd the contents of /var/log/nginx/error.log...
2024/05/24 06:36:28 [crit] 28922#0: *2 connect() to unix:/var/run/ngx-ubus-proxy.sock failed (2: No such file or directory), client: 172.16.7.2, server: , request: "POST /rpc HTTP/1.1", host: "172.16.4.2", referrer: "https://172.16.4.2/"
2024/05/24 06:36:28 [error] 28922#0: *2 lua entry thread aborted: runtime error: /usr/share/gl-ngx/oui-rpc.lua:61: attempt to index local 'res' (a nil value)
stack traceback:
coroutine 0:
/usr/share/gl-ngx/oui-rpc.lua:61: in function '?'
/usr/share/gl-ngx/oui-rpc.lua:154: in function </usr/share/gl-ngx/oui-rpc.lua:1>, client: 172.16.7.2, server: , request: "POST /rpc HTTP/1.1", host: "172.16.4.2", referrer: "https://172.16.4.2/"
The ngx-ubus-proxy.sock file infact does not exist in that directory. Here the contents of the directory...
root@GL-MT6000:~# ls -l /var/run/ngx-ubus-proxy.sock
ls: /var/run/ngx-ubus-proxy.sock: No such file or directory
root@GL-MT6000:~# ls -l /var/run/
drwxr-xr-x 2 nobody nogroup 80 May 23 21:43 avahi-daemon
drwxr-xr-x 2 root root 40 May 23 21:43 cloud
-rw-r--r-- 1 root root 3898 May 23 21:43 config.md5
-rw-r--r-- 1 root root 5 May 23 21:43 crond.pid
drwxr-xr-x 2 root root 60 May 23 21:43 dbus
-rw-r--r-- 1 root root 5 May 23 21:43 dbus.pid
drwxr-xr-x 2 dnsmasq dnsmasq 60 May 23 22:23 dnsmasq
-rw-r--r-- 1 root root 5 May 23 21:43 dropbear.1.pid
srwxr-xr-x 1 root root 0 May 23 21:43 fcgiwrap.socket
-rw-r--r-- 1 root root 996 May 23 21:43 fw3.state
drwxr-xr-x 2 root root 60 May 23 21:43 modem
-rw-r--r-- 1 root root 6 May 24 06:36 nginx.pid
drwx------ 2 root root 40 May 23 21:43 rpcd
drwxr-xr-x 2 ubus ubus 60 Dec 31 1969 ubus
-rw-r--r-- 1 root root 5 May 23 21:43 udhcpc-eth1.pid
srw-rw-rw- 1 root root 0 May 23 22:23 usbmuxd
-rw-r--r-- 1 root root 4 May 23 22:23 usbmuxd.pid
drwxr-xr-x 2 root root 40 May 23 21:43 vsftpd
-rw------- 1 root root 0 May 23 21:43 xtables.lock
root@GL-MT6000:~# ls -l /var/run/ubus/
srw-rw-rw- 1 ubus ubus 0 Dec 31 1969 ubus.sock
I am on the latest firmware. I tried to reboot a few times