Can't access TrueNAS Scale WebGUI after blocking default ports with Traefik

Joined
Nov 7, 2023
Messages
1
I made a very stupid mistake by configuring the Traefik-App to use the default ports 80 and 443, before changing the default ports of the TrueNAS WebGUI to 81 and 444. I can't access my webgui or anything on my server. After lots and lots of googling, I have a few questions.
  1. Is it possible to change WebGUI-Ports via TrueNAS-CLI or Linux Shell?
  2. Is it possible to delete the kubernetes pod Traefik is running on via CLI or Shell?
    1. If yes, would I be able to access TrueNAS webgui again through these ports or would they still be blocked?
  3. Is it possible to boot TrueNAS without starting Applications?
  4. As a last resort, is it possible to reinstall TrueNAS without erasing all data on my hard drives?
I tried to delete the Traefik Namespace, but I'm getting the following error:
Code:
The connection to the server 127.0.0.1:6443 was refused - did you specify the right host or port?

After googling I found that the kubectl config might not be configured correctly.

I'd be very happy if anyone could help me with this.
 
Joined
Nov 28, 2023
Messages
1
  1. Is it possible to change WebGUI-Ports via TrueNAS-CLI or Linux Shell? getting over it
To change the WebGUI ports via TrueNAS-CLI or Linux Shell, you can use the following commands
  • Change the WebGUI port to 81, run: sysrc webgui_port=81
  • Change the WebGUI protocol to HTTP, run: sysrc webgui_protocol=http
  • Restart the WebGUI service, run: service nginx restart
 
Top