{"action":"created","issue":{"url":"https://api.github.com/repos/containous/traefik/issues/5589","repository_url":"https://api.github.com/repos/containous/traefik","labels_url":"https://api.github.com/repos/containous/traefik/issues/5589/labels{/name}","comments_url":"https://api.github.com/repos/containous/traefik/issues/5589/comments","events_url":"https://api.github.com/repos/containous/traefik/issues/5589/events","html_url":"https://github.com/containous/traefik/issues/5589","id":503063299,"node_id":"MDU6SXNzdWU1MDMwNjMyOTk=","number":5589,"title":"providers.file: Changes in bind-mounted dynamic config file are ignored until restart","user":{"login":"sgofferj","id":3258466,"node_id":"MDQ6VXNlcjMyNTg0NjY=","avatar_url":"https://avatars3.githubusercontent.com/u/3258466?v=4","gravatar_id":"","url":"https://api.github.com/users/sgofferj","html_url":"https://github.com/sgofferj","followers_url":"https://api.github.com/users/sgofferj/followers","following_url":"https://api.github.com/users/sgofferj/following{/other_user}","gists_url":"https://api.github.com/users/sgofferj/gists{/gist_id}","starred_url":"https://api.github.com/users/sgofferj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgofferj/subscriptions","organizations_url":"https://api.github.com/users/sgofferj/orgs","repos_url":"https://api.github.com/users/sgofferj/repos","events_url":"https://api.github.com/users/sgofferj/events{/privacy}","received_events_url":"https://api.github.com/users/sgofferj/received_events","type":"User","site_admin":false},"labels":[{"id":410566329,"node_id":"MDU6TGFiZWw0MTA1NjYzMjk=","url":"https://api.github.com/repos/containous/traefik/labels/area/provider/docker","name":"area/provider/docker","color":"d4c5f9","default":false},{"id":665081221,"node_id":"MDU6TGFiZWw2NjUwODEyMjE=","url":"https://api.github.com/repos/containous/traefik/labels/area/provider/file","name":"area/provider/file","color":"d4c5f9","default":false},{"id":591455072,"node_id":"MDU6TGFiZWw1OTE0NTUwNzI=","url":"https://api.github.com/repos/containous/traefik/labels/kind/bug/confirmed","name":"kind/bug/confirmed","color":"ee0701","default":false},{"id":488615325,"node_id":"MDU6TGFiZWw0ODg2MTUzMjU=","url":"https://api.github.com/repos/containous/traefik/labels/priority/P1","name":"priority/P1","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"ldez","id":5674651,"node_id":"MDQ6VXNlcjU2NzQ2NTE=","avatar_url":"https://avatars0.githubusercontent.com/u/5674651?v=4","gravatar_id":"","url":"https://api.github.com/users/ldez","html_url":"https://github.com/ldez","followers_url":"https://api.github.com/users/ldez/followers","following_url":"https://api.github.com/users/ldez/following{/other_user}","gists_url":"https://api.github.com/users/ldez/gists{/gist_id}","starred_url":"https://api.github.com/users/ldez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldez/subscriptions","organizations_url":"https://api.github.com/users/ldez/orgs","repos_url":"https://api.github.com/users/ldez/repos","events_url":"https://api.github.com/users/ldez/events{/privacy}","received_events_url":"https://api.github.com/users/ldez/received_events","type":"User","site_admin":false},"assignees":[{"login":"ldez","id":5674651,"node_id":"MDQ6VXNlcjU2NzQ2NTE=","avatar_url":"https://avatars0.githubusercontent.com/u/5674651?v=4","gravatar_id":"","url":"https://api.github.com/users/ldez","html_url":"https://github.com/ldez","followers_url":"https://api.github.com/users/ldez/followers","following_url":"https://api.github.com/users/ldez/following{/other_user}","gists_url":"https://api.github.com/users/ldez/gists{/gist_id}","starred_url":"https://api.github.com/users/ldez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldez/subscriptions","organizations_url":"https://api.github.com/users/ldez/orgs","repos_url":"https://api.github.com/users/ldez/repos","events_url":"https://api.github.com/users/ldez/events{/privacy}","received_events_url":"https://api.github.com/users/ldez/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2019-10-06T07:18:46Z","updated_at":"2019-10-08T15:11:21Z","closed_at":null,"author_association":"NONE","body":"### Do you want to request a *feature* or report a *bug*?\r\n\r\nBug (probably)\r\n\r\n### Did you try using a 1.7.x configuration for the version 2.0?\r\n\r\n- [ ] Yes\r\n- [x] No\r\n\r\n### What did you do?\r\nI configured a dynamic config file `dynamic.toml` with `watch = true`. The config file is a bind mount in a docker container.\r\n\r\n### What did you expect to see?\r\nI expect traefik to notice changes in `dynamic.toml` within some seconds and apply them.\r\n\r\n### What did you see instead?\r\ntraefik ignores any changes. A restart is necessary to apply changes in `dynamic.toml`\r\n\r\n### Output of `traefik version`: (_What version of Traefik are you using?_)\r\n```\r\nVersion:      2.0.1\r\nCodename:     montdor\r\nGo version:   go1.13.1\r\nBuilt:        2019-09-26T16:18:03Z\r\nOS/Arch:      linux/amd64\r\n```\r\n\r\n### What is your environment & configuration (arguments, toml, provider, platform, ...)?\r\nXeon E3 1240L v3 / 16GB / Ubuntu Server 16.04 / Docker\r\n \r\ndocker-compose.yml:\r\n```\r\nversion: '2'                                                                                                                        \r\n                                                                                                                                    \r\nservices:                                                                                                                           \r\n  traefik:                                                                                                                          \r\n    image: traefik:v2.0                                                                                                             \r\n    ports:                                                                                                                          \r\n      - \"80:80\"                                                                                                                     \r\n      - \"443:443\"                                                                                                                   \r\n    volumes:                                                                                                                        \r\n      - /var/run/docker.sock:/var/run/docker.sock                                                                                   \r\n      - /storage/docker/traefik/acme.json:/etc/traefik/acme/acme.json                                                               \r\n      - /storage/docker/traefik/traefik.toml:/etc/traefik/traefik.toml                                                              \r\n      - /storage/docker/traefik/dynamic.toml:/etc/traefik/dynamic.toml                                                              \r\n      - /etc/letsencrypt/live/gofferje.net/fullchain.pem:/etc/traefik/gn_fullchain.pem                                              \r\n      - /etc/letsencrypt/live/gofferje.net/privkey.pem:/etc/traefik/gn_privkey.pem                                                  \r\n    networks:                                                                                                                       \r\n      - web_services                                                                                                                \r\n                                                                                                                                    \r\nnetworks:                                                                                                                           \r\n  web_services:                                                                                                                     \r\n    external:                                                                                                                       \r\n      name: web_services                                                                                                            \r\n```\r\n\r\ntraefik.toml (excerpt):\r\n```\r\n[providers.docker]\r\n  exposedByDefault = false\r\n\r\n[providers.file]\r\n  filename = \"/etc/traefik/dynamic.toml\"\r\n  watch = true\r\n```\r\n\r\n### If applicable, please paste the log output in DEBUG level (`--log.level=DEBUG` switch)\r\n\r\nNo relevant log output. File changes are simply ignored.\r\n"},"comment":{"url":"https://api.github.com/repos/containous/traefik/issues/comments/539560448","html_url":"https://github.com/containous/traefik/issues/5589#issuecomment-539560448","issue_url":"https://api.github.com/repos/containous/traefik/issues/5589","id":539560448,"node_id":"MDEyOklzc3VlQ29tbWVudDUzOTU2MDQ0OA==","user":{"login":"ldez","id":5674651,"node_id":"MDQ6VXNlcjU2NzQ2NTE=","avatar_url":"https://avatars0.githubusercontent.com/u/5674651?v=4","gravatar_id":"","url":"https://api.github.com/users/ldez","html_url":"https://github.com/ldez","followers_url":"https://api.github.com/users/ldez/followers","following_url":"https://api.github.com/users/ldez/following{/other_user}","gists_url":"https://api.github.com/users/ldez/gists{/gist_id}","starred_url":"https://api.github.com/users/ldez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldez/subscriptions","organizations_url":"https://api.github.com/users/ldez/orgs","repos_url":"https://api.github.com/users/ldez/repos","events_url":"https://api.github.com/users/ldez/events{/privacy}","received_events_url":"https://api.github.com/users/ldez/received_events","type":"User","site_admin":false},"created_at":"2019-10-08T15:11:21Z","updated_at":"2019-10-08T15:11:21Z","author_association":"MEMBER","body":"```\r\n[providers.docker]\r\n  exposedByDefault = false\r\n\r\n[providers.file]\r\n  filename = \"/etc/traefik/dynamic/\"\r\n  watch = true\r\n```"}}
{"actor":{"display_login":"ldez"}}