New page for module download https://pirinel.ro/3rdpartyapps (April 26, 2023)


Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OS7 config file
#1
Hi Outkastm!

I made a dumb mistake, and now can't log into my N5550. I was in the system configuration area, and changed the default ports from 80 and 443, to 8080 and 31443. Now that is conflicting with NextCloud, and I can't login.

I've been searching and checking each httpd.conf or httpd-default.conf that I can find with ftp and root access, but I am not finding the right file. Do you know which file I would have changed, and where it is located?

Thanks!
Louis
Reply
#2
try to restart your NAS, normally Thecus WebUI should start before Nextcloud.
If not, connect with ssh:

stop nextcloud
Code:
/raid/data/module/cfg/module.rc/Nextcloud_okm.rc stop

restart thecus WebUI
Code:
/opt/apache/bin/httpd -f /var/run/httpd.cfg -k stop
PROC=`ps | grep "/img/WebUI/admin/UIServer.py" | grep -v grep | awk '{print $1}'`
kill ${PROC}
/opt/apache/bin/httpd -f /var/run/httpd.cfg -k start
/opt/python/bin/python /img/WebUI/admin/UIServer.py &

now you should be able to access thecus WebUI on port 8080 and 31443, to be able to change them back
------------------------------------------------------------------------
[Image: linkedinbutton.jpg]
Please respect my work and dont share my modules
Reply
#3
Thanks for that! I just did a reset to factory, and am about to load the newer version of your repo.

Cheers!?
Reply
#4
I seem to have a similar kind of problem.
My admin UI works fine, the app center itself works fine as well.
When I want to enter a specific app it's own page "Enter app page" I get an error page:
This site can’t be reached
192.168.xxx.xxx refused to connect.

I see the interface wants to open a redirect on port 8080 but I can not find a running webserver monitoring this port.

Can you help me out please?
Reply
#5
connect with SSH and run this command to see if any process is using port 8080
Code:
sudo lsof -n -i :8080 | grep LISTEN

then try to manually start the server

Code:
/opt/apache/bin/httpd -f /var/run/httpd.cfg -k start
------------------------------------------------------------------------
[Image: linkedinbutton.jpg]
Please respect my work and dont share my modules
Reply
#6
No process listening on port 8080.
The apache webserver starts without errors. (checked by starting it verbose)
In the config file it does say it should listen to port 8080.

The modules itself work fine as well, but this way I can not uninstall any modules or add and configure any.

A bit more investigation shows that the documentroot points to /img/WebUI/admin but looking at the URL:
http://192.168.xxx.xxx:8080/adm/mod_redi...hp&lang=en

there is no subdir /adm and no file mod_redirect.php there.
in /img/www/htdocs there is a subfolder adm with the right file but changing the httpd.cfg file does not help.
Reply
#7
Are you running Apache and Apache2.4? I think I had that problem at one point, and it was a matter of enabling and disabling them for certains apps.
Reply
#8
(24-08-2018, 03:44 AM)Timeforsmilin Wrote: Are you running Apache and Apache2.4? I think I had that problem at one point, and it was a matter of enabling and disabling them for certains apps.

I do have them both installed. Disabled apache module to prevent to much trouble.
It seems to be the internal webserver of the NAS though since I can not enter any module configuration page.
The modules themselve work fine.
Reply
#9
I know that I had the exact same problem, but I don't remember how I fixed it. You could try putting the internal web server back to port 80 and 443 since you're only using that for module configuration, and most ISPs block that port for incoming. At one point I had changed the port on the Web Server to match nextCloud, and locked myself out completely. I did a reset and didn't make that mistake again! At least the reset allowed to look at how the NAS uses services.
Reply
#10
I would not know where to look.
Never changed the webserver port for nextcloud or any other service.
No clue why it points to port 8080 in the modules links.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)