Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

influxdb crashing #6

Open
drbugfinder opened this issue Jun 27, 2021 · 3 comments
Open

influxdb crashing #6

drbugfinder opened this issue Jun 27, 2021 · 3 comments
Labels

Comments

@drbugfinder
Copy link

Hi,
I installed everything as described in the readme. However, the container log is full of logs like (repeating every second):
INFO spawned: 'influxdb' with pid 6250 INFO success: influxdb entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) INFO exited: influxdb (exit status 1; not expected) INFO spawned: 'influxdb' with pid 6269 INFO success: influxdb entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) INFO exited: influxdb (exit status 1; not expected) INFO spawned: 'influxdb' with pid 6288 INFO success: influxdb entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) INFO exited: influxdb (exit status 1; not expected)
It looks like influxdb is working, at least Grafana shows data.

@JustasOtto
Copy link

JustasOtto commented Jul 24, 2021

See grafana/grafana#12594 for reference.

I will look at updating the docker file to make that directory writeable on start. If you can't wait for a new build, you can do the following:

  1. SUDO an Synology terminal or SSH into the container using docker exec -it <<container_name>> /bin/bash

sudo docker exec -it alhazmy13/telegraf-influxdb-grafana1 /bin/bash

  1. Execute chmod 0777 /var/lib/grafana and chmod 0777 /var/lib/influxdb

@gingerbeardman
Copy link

gingerbeardman commented Jan 12, 2022

I had this, too.

I used the GUI to fix, as follows:

  1. In DSM > Docker > Container > alhazmy13/telegraf-influxdb-grafana1 > Terminal tab > Create (this defaults to a bash terminal process)
  2. in the list on the left click to highlight bash
  3. type in chmod 0777 /var/lib/grafana; chmod 0777 /var/lib/influxdb
  4. done

Though even after that the dashboard remained static.

@alhazmy13
Copy link
Owner

Dears,
Can you check the latest image with develop tag? it should be fixed now.

alhazmy13/telegraf-influxdb-grafana:develop

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants