My current installation looses all data after restart
$ sudo /etc/init.d/influxdb restartinfluxdb v0.8.7, tried to change db between rocksdb and leveldb - no effect
as a workaround did manual reinstall:
$ rm -rf /opt/influxdbseems to work now. Closing ticket.
@jonira Thanks for the update. It's possible that the initial database creation wasn't actually being persisted to disk, so the restart would have just reverted the original state. In any event, it's good to know that a fresh data directory fixed everything.
Hi, I have the same problem. I restarted the server before without that problem. Now the DB is gone, but is still in the hard drive. I have 120GB in /var/opt/influxdb/data/mydb (my DB is called mydb). How can I make Influx to read that again?
@syunusic Do you resolve your problem? I have a similar problem with you. The difference is that I can find the database via 'show databases', but there is no measurements in there. I can also find the data in the filesystem.
Most helpful comment
@syunusic Do you resolve your problem? I have a similar problem with you. The difference is that I can find the database via 'show databases', but there is no measurements in there. I can also find the data in the filesystem.