no active service configured, response code 404 always
a request via the HTTP protocol was sent to the HTTPS only router, the response code is 404
a request via the HTTPS protocol was sent to the HTTP only router, the response code is 404
location not found on existing service, response code 404
So I have to find out, which of the 4 possibilities is the problem when calling the traefik dashboard - or Nextcloud. But I am new to traefik, so it can take some time…
Maybe someone can give me a hint, how to analyse further? We can concentrate on Nextcloud, but I guess, the problem with opening the Traefik Dashboard is related to the Nextcloud problem.
Here is the docker-compose.yml for starting the Traefik-Container:
For test I remove the label “traefik.http.services.traefik.loadbalancer.server.port=80” in the Traefik-Container, because to my opinion Entrypoint https doesn’t match to port 80. But the result is the same: 404 page not found.
I finally found the cause of my problems - it is not related to nextcloud…
In the static configuration traefik.yml I use
providers:
file:
directory: "./conf"
but in the docker-compose.yml I use als volume:
- ./data/conf/dynamic_conf.yml:/dynamic_conf.yml
That doesn’t match and so the files in the directory conf was not loadad from traefik. So, no dynamic configuration and no nextcloud configuration was active during my problems.
I changed the volume in docker-compose.yml and now Nextcloud AIO runs.