Traefik - Can't access the dashboard

ba77

Cadet
Joined
Mar 16, 2023
Messages
2
Hi, I'm using TrueNAS-SCALE-22.12.1 with traefik version 2.9.8_17.0.10

I have set up TrueNAS Web GUI to use port 81 and 444 so that traefik can use 80 and 443.
When I install treafik and only change port 9080 to 80 and 9443 to 443 the installation works without a problem but I can't access the traefik dashboard. When i click "Open" on the traefik app nothing happens and when I type in IP and port manually in the browser I get "404 page not found" over port 9000, 80 and 443.

If I enable ingressClass in traefik I can also access my other apps over https so traefik seems to work normal. The traefik app lists 9000\tcp, 80\tcp, 443\tcp and says "Active" and up to date. Application events for traefik looks normal too.

I have also installed TrueNAS-SCALE-22.12.1 in a virtual machine and the results were the same. I guess I must be missing something rather simple here since traefik is being used by so many that this would have been solved if it were a bug.

In short: Traefik seems to work just fine but I just can't access the traefik dashboard.

Any help appreciated.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703

ba77

Cadet
Joined
Mar 16, 2023
Messages
2
http://scale.ip:9000/dashboard/#/ worked fine for me, thank you very much! :)
I guess I could have checked more in some videos or guides to see exactly how the URL for traefik dashboard looked but I thought it was enough with IP and correct port. Thanks again.
 

JonBackhaus

Cadet
Joined
Dec 28, 2022
Messages
2
Has this been fixed yet? I had to step away from TrueNAS for a bit and tons of stuff seems to be HONKED right now.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703

sammie

Cadet
Joined
Jul 12, 2023
Messages
7
Oh man.... I'm having the same problem now. I followed everything: changed TrueNAS Scale gui to 81 and 444, set traefik to 40 and 443. Still can't access the dashboard. Even tried typing in: http://ip.address.of.truenas:9000/dashboard/ and http://ip.address.of.truenas:9000/dashboard/#/ to no avail. I'm currently on TrueNAS-SCALE-22.12.3.2. Any idea what to do now?

Chrome gives me: ERR_CONNECTION_REFUSED
Firefox tells me the page is unavailable.

Just to make sure I'm not an idiot, I cleared the browser cache and said a prayer to the internet gods. No success.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703

sammie

Cadet
Joined
Jul 12, 2023
Messages
7
sorry. LOL. I did mean 80 and 443. That was a typo.

And, yes, 9000 is set in the config. You know, it also occurred to me-- after I did a fresh install, I just selected the pool without manually creating a dataset for apps. That's not a problem, right? Is there specific permissions or ACL setting that I missed?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
I just selected the pool without manually creating a dataset for apps. That's not a problem, right? Is there specific permissions or ACL setting that I missed?
It's all automatic, nothing to do there.

I hope it's not something silly like you're not using the actual URL http://ip.address.of.truenas:9000/dashboard/ ... you're replacing the bit before :9000 with the IP of your NAS, right?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
And you're saying the "Open" button on the app card is broken too? (does nothing)
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Better to check, but good to hear you hadn't tripped on that very low hurdle.

Can you show the logs and/or how the app card looks?
 

sammie

Cadet
Joined
Jul 12, 2023
Messages
7
OK. Very weird. Now the app shows me no logs. I swear it gave me logs last night. Please see attached:
 

Attachments

  • logs.png
    logs.png
    43.5 KB · Views: 150
  • traefik card.png
    traefik card.png
    52.1 KB · Views: 175

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
I see you have grocy in deploying status... can you stop that and any other apps that aren't starting properly?
 

sammie

Cadet
Joined
Jul 12, 2023
Messages
7
OK. Done. FYI, here are all the cards, just for clarity sake. I stopped the apps using Heavyscript. Also, @sretalla , thanks for helping me. I appreciate it.
 

Attachments

  • card-state.png
    card-state.png
    357.3 KB · Views: 166

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Can you spot the difference?

1689263142974.png
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
What are you doing with metallb? I don't know if there's a nuance or two needed to make that all gel with traefik, but I'm sure you need to think about it if you can't use the onboard Load Balancer anymore.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
And since I think we've now found the problem, I'll quote from this:


caution
Known Issue: On the SCALE Installed Applications page, the Open buttons on each app card will still open a URL to your app using your SCALE Host IP, rather than the MetalLB-Assigned IP. This may be resolved in the future.
 
Top