404 page not found --> GUI offline

behzad

Dabbler
Joined
Feb 14, 2022
Messages
15
Hi,

after installing traefik by the truecharts manual i cant acces the GUI anymore. All i get is "404 page not found". Which log file is responsible for logging this behaviour?
I also tried "service middlewared restart".

Thanks guys :)
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Did you pay attention to the idea that Traefik takes over ports 443 and 80 on the server, so co-existing requires you to either:

Pick different ports for Traefik

or

Use a workaround to change the ports for your TrueNAS GUI:

 

panos13

Cadet
Joined
May 23, 2023
Messages
4
As I was unable to open the link above, providing an answer here assuming you can login via ssh.

  • sudo k3s kubectl get namespaces lists the namespaces, the one you need should be ix-traefik
  • sudo k3s kubectl -n <THE_NAMESPACE> get service -o wide lists the services running, one should be traefik-tcp running on ports 80 and 443
  • sudo k3s kubectl -n <THE_NAMESPACE> delete service <THE_SERVICE> kills the service freeing the ports and allowing you to log back in.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Here's the current link to the guide:
 

cdog89

Explorer
Joined
Jan 19, 2024
Messages
75
Here's the current link to the guide:
@danb35 - You're everywhere! Thanks for the link.
@panos13 - I did not set the Scale access ports to 81 and 444 and could not access my GUI. You're commands to kill the traefik service worked perfectly. Thanks for the help!
 
Top