No Dashboard after v2

I've migrated to v2, but so far have been unable to access the Dashboard. This is running on Docker.

traefik.toml:

logLevel = "ERROR"

#defaultEntryPoints = ["https","http"]

[entryPoints]
  [entryPoints.http]
   address = ":80"

 [entryPoints.https]
  address = ":443"

 [entryPoints.traefik]
  address = ":8090"

[Providers]
 [Providers.Docker]
  Watch = true
  ExposedByDefault = false
  Endpoint = "unix:///var/run/docker.sock"
 [Providers.File]
  filename = "/dynamic_conf.toml"

[http.middlewares]
 [http.middlewares.https-redirect.redirectscheme]
  scheme = "https"

[retry]

[api]
dashboard = true
#insecure = true

[acme]
email = "email@email.com"
storage = "acme.json"
entryPoint = "https"
onHostRule = true
[acme.tlsChallenge]
entryPoint = "http"

docker-compose:


services:
  proxy:
    image: traefik
    restart: unless-stopped
    networks:
    - proxy
    ports:
    - "80:80"
    - "443:443"
    - "8090:8080"
    volumes:
    - /var/run/docker.sock:/var/run/docker.sock
    - /traefik/traefik.toml:/traefik.toml
    - /traefik/acme.json:/acme.json
    - /var/log/traefik:/var/log
    command:
    - --web
    - --accessLog.filePath=/var/log/access.log
    - --accessLog.filters.statusCodes=400-499
networks:
  proxy:
   external: true
[api]
  insecure = true
  dashboard = true

@negasus
These changes had no effect, still no Dashboard.

Hello,

your configuration is a mix between v1 and v2 configuration.
You have clean your configuration.

# traefik.toml
[log]
  level = "ERROR"

[entryPoints]
  [entryPoints.http]
   address = ":80"

 [entryPoints.https]
  address = ":443"

 [entryPoints.traefik]
  address = ":8090"

[providers]
 [providers.docker]
  exposedByDefault = false

 [providers.file]
  filename = "/dynamic_conf.toml"

[api]
  dashboard = true
  insecure = true
# dynamic_conf.toml

[http.middlewares]
 [http.middlewares.https-redirect.redirectscheme]
  scheme = "https"

Also you cannot mix CLI args and file for the static configuration.

services:
  proxy:
    image: traefik:v2.0.0
    restart: unless-stopped
    networks:
    - proxy
    ports:
    - "80:80"
    - "443:443"
    - "8090:8080"
    volumes:
    - /var/run/docker.sock:/var/run/docker.sock
    - /traefik/traefik.toml:/traefik.toml
    - /traefik/traefik.toml:/dynamic_conf.toml
    - /traefik/acme.json:/acme.json
    - /var/log/traefik:/var/log

networks:
  proxy:
   external: true

Still no luck. Going to http://192.168..:8090/ gives me unable to connect. I included the cleaned up config files below. Also is "- /traefik/traefik.toml:/dynamic_conf.toml" correct? It indicates that there are 2 files that point to traefik.toml.

#traefik.toml

[log]
 level = "ERROR"

#defaultEntryPoints = ["https","http"]

[entryPoints]
  [entryPoints.http]
   address = ":80"

 [entryPoints.https]
  address = ":443"

 [entryPoints.traefik]
  address = ":8090"

[providers]
 [providers.docker]
#  Watch = true
  exposedByDefault = false
#  Endpoint = "unix:///var/run/docker.sock"

 [Providers.File]
  filename = "/dynamic_conf.toml"

[retry]

[api]
dashboard = true
insecure = true
#debug = true

[acme]
email = "email@email.com"
storage = "acme.json"
entryPoint = "https"
onHostRule = true
[acme.tlsChallenge]
entryPoint = "http"
#dynamic_conf.toml

[http.middlewares]
 [http.middlewares.https-redirect.redirectscheme]
  scheme = "https"
#docker-compose.yml

version: '2'

services:
  proxy:
    image: traefik:v2.0.0
    restart: unless-stopped
    networks:
    - proxy
    ports:
    - "80:80"
    - "443:443"
    - "8090:8080"
    volumes:
    - /var/run/docker.sock:/var/run/docker.sock
    - /traefik/traefik.toml:/traefik.toml
    - /traefik/acme.json:/acme.json
    - /var/log/traefik:/var/log
    - /traefik/traefik.toml:/dynamic_conf.toml

networks:
  proxy:
   external: true

This configurations are not valid for the v2:

you have to use the same case for each provider (P vs p)

If I follow your configuration the ports 8090:8080 is wrong, use 8090:8090

Got the Dashboard working!

Changing the ports to 8090:8090 did the trick.
Is the [acme] section no longer needed or does the configuration need to go into another file?