colinbut / influxdb-telegraf-grafana-on-docker

0 stars 1 forks source link

Failed to create telegraf database #1

Open colinbut opened 3 years ago

colinbut commented 3 years ago

See the following in the telegraf docker container on startup.

2020-12-08T20:50:29Z W! [outputs.influxdb] When writing to [http://localhost:8086]: database "telegraf" creation failed: 200 OK: open /var/lib/influxdb/meta/meta.dbtmp: permission denied
2020-12-08T20:50:39Z E! [outputs.influxdb] When writing to [http://localhost:8086]: database "telegraf" not found and failed to recreate
2020-12-08T20:50:39Z E! [outputs.influxdb] When writing to [http://localhost:8086]: 404 Not Found: database not found: "telegraf"
2020-12-08T20:50:39Z E! [agent] Error writing to outputs.influxdb: could not write any address
colinbut commented 3 years ago

Found this article: https://thenewstack.io/how-to-setup-influxdb-telegraf-and-grafana-on-docker-part-2/ that might be useful