Since I had big trouble getting my Raspi Pi3 with Debian Jessie, Openhab and InfluxDB to run for more than a few hours I think I have sorted it out and it seems to run quite fine now.
But why not some new troubles? InfluxDB 1.3 (or whatever the latest is as a armfh package) just stops writing datapoints after an undefined amount of time. Last time I got approx. 6 hours.
For the moment I just log new data every 5 minutes from a DIY weatherstation via MQTT through Openhab2 persistence service. I need to get a stable system before I fully embark on modifiying everything and add more data. So its just a test setup at the moment.
As I am a newbie to the Linux world I have no idea where to look for errors that cause Influx to stop writing.
If I systemctl status -l each and every service (Influx, Openhab, MQTT and Grafana) I can’t see anything wrong. They all work and influx reports that data is send from Openhab and requested by Grafana all the time. But all I get is the last value that Influx recorded before it stopped.
A restart of the whole PI seems to sort things out for a while. Restarting Influx or any other of the services did not seem to help.
EDIT: I have the databases for Influx setup on a permanently mounted USB stick (just in case its important). The Pi just killed too many sc cards and even other thumb drives before so I ddi not want to jeopardize the system drive