docker-statsd-influxdb-grafana icon indicating copy to clipboard operation
docker-statsd-influxdb-grafana copied to clipboard

Telegraf and influx dockers keep restarting

Open sojab0on opened this issue 1 year ago • 1 comments

Hi after running your setup script trough ssh on my synlogy nas

the dockers for influxdb and telegraf keep rebooting

Influx docker failes with failed to load config file: open /etc/influxdb2/config.yml: permission denied telegraf give back

2023-06-04T20:08:44Z E! [telegraf] Error running agent: Error loading config file /etc/telegraf/telegraf.conf: open /etc/telegraf/telegraf.conf: permission denied

how can it be that the setup script runs fine and these 2 container do not have premision to get to. their configs

sojab0on avatar Jun 04 '23 20:06 sojab0on

I fixed this issue by setting the User and Group the container was running as In Docker-Compose file

influxdb: container_name: dsig-influx user: "${UID}:${GID}"

And add these to the .env file in the root of the repo UID=1000 GID=1001

DamoDCoder avatar Aug 11 '23 11:08 DamoDCoder