I have run into a strange issue. I am running InfluxDB 1.5.1 on Docker, I have created two new databases and sent data into both of them. I then decided to restart the container and now if I run a ‘SHOW MEASUREMENTS’ or ‘SHOW SERIES’ on either of these then they are empty.
I have re imported the data again and checked using ‘SHOW STATS’ to see if there are bytes written to disk for the database, which there is. I checked the path on disk which is correct and has TSM and TSI files in the correct locations.
The logging on startup shows the files being read and opened but nothing appearing in Grafana or via the CLI.
I have telegraf and kapacitor reading/writing to InfluxDB as well as the InfluxDB internal metrics and these survive a restart.
I have http auth enabled on InfluxDB and the user is a non admin user with write permissions granted. I have also tried dropping and re-creating the databases to see if it was a permissions issue which it was not. Also the databases use the autogen RP.
What else can I check to find the cause of this issue?