> journalctl -r -n 200 -u influxdb
Dec 04 08:39:04 DietPiRysolar systemd[1]: Failed to start influxdb.service - InfluxDB is an open-source, distributed, time series database.
Dec 04 08:39:04 DietPiRysolar systemd[1]: influxdb.service: Failed with result 'exit-code'.
Dec 04 08:39:04 DietPiRysolar systemd[1]: influxdb.service: Start request repeated too quickly.
Dec 04 08:39:04 DietPiRysolar systemd[1]: influxdb.service: Consumed 1.140s CPU time.
Dec 04 08:39:04 DietPiRysolar systemd[1]: Stopped influxdb.service - InfluxDB is an open-source, distributed, time series database.
Dec 04 08:39:04 DietPiRysolar systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5.
Dec 04 08:39:03 DietPiRysolar systemd[1]: influxdb.service: Consumed 1.140s CPU time.
Dec 04 08:39:03 DietPiRysolar systemd[1]: Failed to start influxdb.service - InfluxDB is an open-source, distributed, time series database.
Dec 04 08:39:03 DietPiRysolar systemd[1]: influxdb.service: Failed with result 'exit-code'.
Dec 04 08:39:03 DietPiRysolar systemd[1]: influxdb.service: Control process exited, code=exited, status=1/FAILURE
Dec 04 08:39:03 DietPiRysolar influxd-systemd-start.sh[1858916]: yes: standard output: Broken pipe
Dec 04 08:39:03 DietPiRysolar influxd-systemd-start.sh[1858917]: buildtsi: mkdir /var/lib/influxdb/data/_internal/_series: permission denied
Dec 04 08:39:02 DietPiRysolar systemd[1]: Starting influxdb.service - InfluxDB is an open-source, distributed, time series database...
Dec 04 08:39:02 DietPiRysolar systemd[1]: influxdb.service: Consumed 1.110s CPU time.
Dec 04 08:39:02 DietPiRysolar systemd[1]: Stopped influxdb.service - InfluxDB is an open-source, distributed, time series database.
Dec 04 08:39:02 DietPiRysolar systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 4.
Dec 04 08:39:02 DietPiRysolar systemd[1]: influxdb.service: Consumed 1.110s CPU time.
The service seems to be started under influxdb, so I tried to change permissions for /var/lib/influxdb like so:
Usually folder influxdb should be linked to /mnt/dietpi_userdata/influxdb. And within /mnt/dietpi_userdata/influxdb all files and folder should belong to user & group influxdb
yep, that was it! thanks, despite some minor hiccup ensuring that all influxdb processes were stopped, and pid file removed. But now it starts smoothly again.
Thanks for the quick help!