Influx db deleted after reboot

Hi there,

I am facing the problem, that I create a influxdb database and after shutdown -r 1 data is lost and the database is deleted as well. I understand here and that if I use ZRAM and don’t do proper restarts, data is los. fine, but shutdown -r 1 should be a proper restart, right?

  • Openhab Version 3.3.0
  • Openhabian 5.10.103-v7l
  • ZRAM deactivated due to some posts here in the forum having the same issue, but did not help so far. So I think I have to reactivate it. What is a command for a proper shutdown @mstormi, sorry for the beginner question, I am not so experienced in linux.
  • InfluxDB shell version: 1.8.10

Did I understand it right, that it would work to add an external USB as mentioned here? rossko57

You should verify that you’ve really done that.
If you have, then your influxdb should be writing to permanent files and how/when you shutdown is not part of your problem, you have some more fundamental issue.

Please don’t ping people => #15

thanks for your helpful answer. I think so too. I will do a fresh install and try to setup the target influx on an external USB stick / drive that it will write there.