Lost access to GUI after enabling Traefik.

bga

Cadet
Joined
Feb 15, 2024
Messages
2
In hindsight, this was not a good idea. I wanted to play with Ingress for some apps and that required Traefik so I went ahead and installed it without giving any thought to it. Now, of course, Traefik took over ports 80 and 433 and I ended up losing access the the TrueNAS GUI (I can still access it through SSH).

How can I recover from this mess using the command line? I tried to just scale traefik down with:

sudo k3s kubectl scale deployment traefik --replicas=0 -n ix-traefik

But apparently this is not enough (and rebooting bring things back up).

Is there a way to remove traefik from the command line? I tried to use help but got this:

$ helm list

Error: Kubernetes cluster unreachable: Get "http://localhost:8080/version": dial tcp [::1]:8080: connect: connection refused

Failing that, is there a way to change the web gui port from the command line?

Note I saw similar questions in the forum but, somehow, none of them appear to have the actual answer (as in, what command should I run),

Thanks in advance.
 

LarsR

Guru
Joined
Oct 23, 2020
Messages
719
If you have Just started i would Just delete Traefik via SSH Session with sudo k3s kubectl delete ns ix-<appname> and then change the webgui port from truenas to 81 for http and 443 for https like described in the truecharts guide for traefik
 
  • Like
Reactions: bga

bga

Cadet
Joined
Feb 15, 2024
Messages
2
If you have Just started i would Just delete Traefik via SSH Session with sudo k3s kubectl delete ns ix-<appname> and then change the webgui port from truenas to 81 for http and 443 for https like described in the truecharts guide for traefik
That worked. Thanks!
 
Top