After restarting backend the Mycodo Logs show that the daemon started:
2024-02-06 21:18:33,962 - INFO - mycodo - Mycodo daemon v8.15.13 starting
2024-02-06 21:18:34,115 - INFO - mycodo.pyro_daemon - Starting Pyro5 daemon
2024-02-06 21:18:37,202 - INFO - mycodo.controllers.controller_output - Activated in 1967.5 ms
2024-02-06 21:18:37,704 - INFO - mycodo - All activated Conditional controllers started
2024-02-06 21:18:37,707 - INFO - mycodo - All activated Trigger controllers started
2024-02-06 21:18:40,359 - INFO - mycodo.controllers.controller_input_c71c0cd1 - Activated in 1816.5 ms
2024-02-06 21:18:40,367 - INFO - mycodo - All activated Input controllers started
2024-02-06 21:18:40,390 - INFO - mycodo - All activated PID controllers started
2024-02-06 21:18:40,393 - INFO - mycodo - All activated Function controllers started
2024-02-06 21:18:42,481 - INFO - mycodo.controllers.controller_widget - Activated in 2072.6 ms
2024-02-06 21:18:43,488 - INFO - mycodo - Mycodo daemon started in 9.518 seconds
when i switch to Data> Live Measurements, says : no data last 30 sec
back to the Mycodo Logs: there’s no entry since the daemon restarted (10 minutes ago). **Influxdb.service shows : **
failed to initialize execute s>
$ systemctl status influxd.service``
influxdb.service - InfluxDB is an open-source, distributed, time series database
Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2024-02-06 21:02:34 CET; 19min ago
Docs: InfluxDB OSS v2 Documentation
Main PID: 257 (influxd)
Tasks: 9 (limit: 414)
CPU: 3min 46.913s
CGroup: /system.slice/influxdb.service
└─257 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
Feb 06 21:20:52 raspberrypi influxd-systemd-start.sh[257]: ts=2024-02-06T20:20:52.809889Z lvl=error msg="[500] - "failed to initialize execute s>
Feb 06 21:20:55 raspberrypi influxd-systemd-start.sh[257]: [httpd] ::1 - - [06/Feb/2024:21:20:55 +0100] "POST /api/v2/write?org=mycodo&bucket=myc>
Feb 06 21:21:06 raspberrypi influxd-systemd-start.sh[257]: [httpd] ::1 - - [06/Feb/2024:21:21:05 +0100] "POST /api/v2/query?org=mycodo HTTP/1.1 “>
Feb 06 21:21:06 raspberrypi influxd-systemd-start.sh[257]: ts=2024-02-06T20:21:06.510166Z lvl=error msg=”[500] - "failed to initialize execute s>
Feb 06 21:21:06 raspberrypi influxd-systemd-start.sh[257]: [httpd] ::1 - - [06/Feb/2024:21:21:06 +0100] "POST /api/v2/query?org=mycodo HTTP/1.1 ">
lines 1-15/20 59%
then I restarted influxdb and there was no error shown anymore, but still no data on the live Measurements…
$ sudo systemctl restart influxdb
$ systemctl status influxd.service
influxdb.service - InfluxDB is an open-source, distributed, time series database
Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2024-02-06 21:52:31 CET; 21s ago
Docs: InfluxDB OSS v2 Documentation
Main PID: 1537 (influxd-systemd)
Tasks: 7 (limit: 414)
CPU: 17.995s
CGroup: /system.slice/influxdb.service
├─1537 /bin/bash -e /usr/lib/influxdb/scripts/influxd-systemd-start.sh
├─1538 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
└─1568 sleep 10
Feb 06 21:52:31 raspberrypi systemd[1]: Started InfluxDB is an open-source, distributed, time series database.
Feb 06 21:52:32 raspberrypi influxd-systemd-start.sh[1540]: Merging with configuration at: /etc/influxdb/influxdb.conf
Feb 06 21:52:32 raspberrypi influxd-systemd-start.sh[1538]: ts=2024-02-06T20:52:32.137891Z lvl=info msg=“InfluxDB starting” log_id=0nC2x32G000 ve>
lines 1-15
…and the Mycodo logs show something again (more than 30 min later, when I deactivated and thenactivated the cpu-load input again)
2024-02-06 21:18:42,481 - INFO - mycodo.controllers.controller_widget - Activated in 2072.6 ms
2024-02-06 21:18:43,488 - INFO - mycodo - Mycodo daemon started in 9.518 seconds
2024-02-06 21:55:50,178 - INFO - mycodo.controllers.controller_input_c71c0cd1 - Deactivated in 76.6 ms
2024-02-06 21:56:24,138 - INFO - mycodo.controllers.controller_input_c71c0cd1 - Activated in 4551.6 ms