Dashboard blank when upgrading version

I ran traefik on Docker swarm on my dev server with the config below, and picked up v2.3.0-rc4 which was current at the time. I configured a few service containers and everything worked fine. Now I want to upgrade it to the latest release of v2.3.0

Using portainer I pulled the latest version and v2.3.0 spun up. The traefik container is running. My services are all still accessible and there are no errors in the traefik logs but when I go to the dashboard URL I get a blank screen. If I relaunch with v2.3.0-rc4 and refresh the dashboard page it appears again. I also tried v2.3.0-rc5 which also works fine but as soon as I go above that ie: v2.3.0-rc6 or higher I get the blank dashboard page.

I’m assuming some config change has happened but I don’t see what it might be.

Any suggestions?

My config:

version: '3.8'
services:
  traefik:
    image: "traefik:v2.3"
    command:
      - "--providers.docker.endpoint=unix:///var/run/docker.sock"
      - "--providers.docker.swarmMode=true"
      - "--providers.docker.exposedbydefault=false"
      - "--providers.docker.network=my_multihost_network"
      - "--entrypoints.web.address=:80"
      - "--entrypoints.websecure.address=:443"
      - "--certificatesresolvers.letsencryptresolver.acme.httpchallenge=true"
      - "--certificatesresolvers.letsencryptresolver.acme.httpchallenge.entrypoint=web"
      - "--certificatesresolvers.letsencryptresolver.acme.email=my@email.com"
      - "--certificatesresolvers.letsencryptresolver.acme.storage=/letsencrypt/acme.json"
      - "--api.dashboard=true"
      - "--log.level=WARN"
    ports:
      - "80:80"
      - "443:443"
    volumes:
      #- ./traefik.yaml:/etc/traefik/traefik.yaml
      - traefik-certificates:/letsencrypt
      - /var/run/docker.sock:/var/run/docker.sock
    networks:
      - multihost_network
    deploy:
      labels:
        - "traefik.enable=true"
        # Dashboard
        - "traefik.http.routers.traefik.rule=Host(`traefik.mydomain.com`)"
        - "traefik.http.routers.traefik.service=api@internal"
        - "traefik.http.routers.traefik.tls.certresolver=letsencryptresolver"
        - "traefik.http.routers.traefik.entrypoints=websecure"
        - "traefik.http.routers.traefik.middlewares=dashboardauth"
        - "traefik.http.middlewares.dashboardauth.basicauth.users=user:encryptedpass"
        # HTTPS Redirect
        - "traefik.http.routers.http-catchall.rule=hostregexp(`{host:.+}`)"
        - "traefik.http.routers.http-catchall.entrypoints=web"
        - "traefik.http.routers.http-catchall.middlewares=redirect-to-https@docker"
        - "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https"
        # Dummy service for Swarm port detection. The port can be any valid integer value.
        - "traefik.http.services.dummy-svc.loadbalancer.server.port=9999"
      placement:
        constraints:
          - node.role == manager

Hello,

the problem has been fixed yesterday https://github.com/traefik/traefik/pull/7364, a release will come quickly.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.