Page 1 of 1
Can't Access Web GUI
Posted: 19 May 2024, 04:50
by rgtksg
Hey guys, I currently can't access my web GUI.
I know my NAS is up and working because the web server I have running on it works, accessing the files via mapped drives work, and my plex server is up.
Trying to access the web GUI never loads. I think I read somewhere I can try restarting the NAS, but if I try doing that just by long pressing the power button, will my data be safe?
Re: Can't Access Web GUI
Posted: 19 May 2024, 18:38
by IrisLi
You can also troubleshoot the issue using the following link:
viewtopic.php?t=2872
Yes, restarting the device will not affect your data.
Re: Can't Access Web GUI
Posted: 20 May 2024, 02:15
by rgtksg
Doing methods A and B from the post you mentioned gave me this error.
Code: Select all
$ service nginx start
2024/05/20 02:08:03 error when getting key of section "system": key "domain" not exists
cp: can't create '/etc/nginx/tnas.link.crt': File exists
cp: can't create '/etc/nginx/tnas.link.key': File exists
nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)
2024/05/20 02:08:03 [warn] 9097#9097: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1
2024/05/20 02:08:03 [warn] 9097#9097: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/nginx.conf:58
2024/05/20 02:08:03 [emerg] 9097#9097: open() "/var/log/nginx/access.log" failed (13: Permission denied)
Executing the same command as su gave this error.
Code: Select all
$ sudo service nginx start
2024/05/20 02:12:54 error when getting key of section "system": key "domain" not exists
nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/nginx.conf:58
nginx: [emerg] bind() to 0.0.0.0:8181 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:5443 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8181 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:5443 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8181 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:5443 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8181 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:5443 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:8181 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:5443 failed (98: Address already in use)
nginx: [emerg] still could not bind()
Re: Can't Access Web GUI
Posted: 20 May 2024, 04:59
by rgtksg
TMqiky wrote: ↑19 May 2024, 18:38
You can also troubleshoot the issue using the following link:
viewtopic.php?t=2872
Yes, restarting the device will not affect your data.
Okay so I was able to gain access to the web GUI again by rebooting via SSH
After enabling the webserver, I can't load the web GUI again.
I've hosted static pages before, but this time I have some backend code, PHP, running on it, which seems to be the cause for this issue.
Any advice?
Re: Can't Access Web GUI
Posted: 20 May 2024, 09:21
by TMzethar
I understand from your other posts that you are using the F4-210.
Can you please confirm if you are executing the commands on the operating instructions as root?
Are you using the same port as TOS Web?
Re: Can't Access Web GUI
Posted: 20 May 2024, 12:22
by rgtksg
TMzethar wrote: ↑20 May 2024, 09:21
I understand from your other posts that you are using the F4-210.
Can you please confirm if you are executing the commands on the operating instructions as root?
Are you using the same port as TOS Web?
I executed the commands with sudo, not as root.
I tried going in as root but the quoted default password "Admin123" did not work.
No I'm not using the same port as TOS Web. (8181)
I used port 9222
Re: Can't Access Web GUI
Posted: 21 May 2024, 19:05
by TMzethar
This method doesn't seem to work
I'm afraid you'll have to try reinstalling TOS:
viewtopic.php?t=423
After reinstallation, if similar problems occur again in the short term, you need to pay attention to the health of the hard drive