Influxdb dataloss after Watchtower update?

I have been running Influxdb 2.0 on my synology nas for a month. Yesterday, I setup Watchtower so that my containers are always up to date. Watchtower has now updated the influxdb container and when I want to access the gui, I have to setup a new account etc. I think all my data (2 Buckets) are gone.

Is my assumption correct or is there a way to restore it?

many thanks

  1. Please tell us what Watchtower is.

  2. I assume that any update process keeps logs of what it has done. What does
    it tell you it updated for Influx?

  3. Do you keep backups?

Antony.

Hi Antony,

  1. A process for automating Docker container base image updates. (GitHub - containrrr/watchtower: A process for automating Docker container base image updates.)

  2. My Influxdb Log: Dropbox - Influxdb.html - Simplify your life

  3. No, is there a way to create backups via the GUI?

Hi Antony,

  1. A process for automating Docker container base image updates.
    (GitHub - containrrr/watchtower: A process for automating Docker container base image updates.)

Ah, thanks.

  1. My Influxdb Log:
    Dropbox - Influxdb.html - Simplify your life

No, I meant a logfile from Watchtower regarding the update it performed.

  1. No, is there a way to create backups via the GUI?

a) I can’t answer that; I don’t personally use the GUI

https://docs.influxdata.com/influxdb/v2.0/backup-restore/

b) what I was getting at was “do you have a backup from before whatever got
updated, so you can go back to a working system?”

Antony.

@Pooh

Watchtower is a Docker image that automatically updates other Docker images/containers. However, I would never run this automatically, but only be informed about new image versions. You can configure Watchtower to only inform, but not automatically update.
Otherwise something like here happens…

@Globgogabgalab

The question is how you started the InfluxDBv2 container initially? With persistent volumes?

https://docs.influxdata.com/influxdb/v2.0/install/?t=Docker

Hi Franky1,

I just used the Docker app in Synology to setup the container.

My Watchtower log concerning influxdb:

time=“2021-08-04T08:49:38Z” level=info msg=“Found new influxdb:latest image (d636ad7ee210)”
time=“2021-08-04T08:53:02Z” level=info msg=“Stopping /Influxdb (affbe94fbfbc) with SIGTERM”
time=“2021-08-04T08:53:22Z” level=info msg=“Creating /Influxdb”

I have setup the following link:

However, the docker/influxdb folder on my synology is now empty.