I get the follwing error error reading configuration file: /opt/traefik/routes/static.toml - open /opt/traefik/routes/static.toml: no such file or directory
However I did have the file in /opt/otherpath/static.toml with a symlink to /opt/traefik/routes/static.toml. I was confused of this message since my traefik.toml showed
So I decided to change the directory to /opt/traefik.... but after the reload the same error keeps showing.. How is it possible if my new directory in providers is /opt/traefik.
time="2023-07-03T17:44:00Z" level=error msg="Cannot start the provider *file.Provider: unable to load content configuration from subdirectory &{/opt/traefik/ routes %!s(fs.FileMode=21474836
static.toml: error reading configuration file: /opt/traefik/routes/static.toml - open /opt/traefik/routes/static.toml: no such file or directory"
Why it says subdirectory /opt/traefik/ routes %!s(.... when my file now says directory = "/opt/traefik/" I somehow removed the routes directory....
Also when I access localhost:8080 I can see the dashboard (which is great finally I get something)...But my dashboard shows
DASHBOARD :8081
TRAEFIK :8080
WEB :10080
I actually thought that by choosing 8081 in traefik.toml I will be able to see the dashboard considering localhost:8081....but no...the dashboard comes with port 8080...then what exactly am I defining with port 8081 (referred to as TRAEFIK). Is this normal behavior?Or it should be port 8081 as I thought initially
Thanks you were right, seems almost perfect now, a last error is popping up: error while parsing rule : 1:1: expected operand, found 'EOF' entryPointName=web routerName=dashboard@file .. There is no solution online about it.... my new files read