Every time I upgrade the image [docker-compose pull] y lost all my dashboards. My InfluxDB is in the DB, but I need to create the dashboards quieris again.
How could I keep my dashboard everytime I upgrade the container?
The problem now is permisions, this is the grafana container log:
GF_PATHS_CONFIG='/etc/grafana/grafana.ini' is not readable.,
GF_PATHS_DATA='/var/lib/grafana' is not writable.,
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migration-from-a-previous-version-of-the-docker-container-to-5-1-or-later,
mkdir: can't create directory '/var/lib/grafana/plugins': Permission denied,
This is the user permissions on the host:
$ ls -lh docker_data/grafana/
total 8,0K
drwxr-xr-x 2 root root 4,0K feb 14 12:24 config
drwxr-xr-x 2 root root 4,0K feb 14 12:24 data