-
I commented out ‘Type = Forking’ in /etc/systemd/system/multi-user.target.wants/influxd.service
- I recognized there ist the influxd.service, >>> belongs to influxdb2.x ??
no influxdb.service to find… -
Changed the ’ sleep=1’ to 10. in /usr/lib/influxdb/scripts/ influxd-systemd-start.sh
-
Made the entry under [service] TimeoutStartSec=50 in /etc/systemd/system/influxd.service
- again only influxd.service to find -
saved in configuration> general influxdb1.x
-
restarted system, still no data in live measurements
mycodo log after restart:
2024-02-07 02:06:00,542 - INFO - mycodo - Mycodo daemon v8.15.13 starting
2024-02-07 02:06:01,009 - INFO - mycodo.pyro_daemon - Starting Pyro5 daemon
2024-02-07 02:06:10,527 - INFO - mycodo.controllers.controller_output - Activated in 6137.0 ms
2024-02-07 02:06:11,028 - INFO - mycodo - All activated Conditional controllers started
2024-02-07 02:06:11,033 - INFO - mycodo - All activated Trigger controllers started
2024-02-07 02:06:18,508 - INFO - mycodo.controllers.controller_input_d0230120 - Activated in 4968.6 ms
2024-02-07 02:06:18,510 - INFO - mycodo - All activated Input controllers started
2024-02-07 02:06:18,551 - INFO - mycodo - All activated PID controllers started
2024-02-07 02:06:18,554 - INFO - mycodo - All activated Function controllers started
2024-02-07 02:06:23,049 - INFO - mycodo.controllers.controller_widget - Activated in 4447.2 ms
2024-02-07 02:06:24,096 - INFO - mycodo - Mycodo daemon started in 23.538 seconds
$ systemctl status influxdb.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 Wed 2024-02-07 02:04:26 CET; 7min ago
Docs: InfluxDB OSS v2 Documentation
Main PID: 260 (influxd)
Tasks: 9 (limit: 414)
CPU: 2min 10.879s
CGroup: /system.slice/influxdb.service
└─260 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
Feb 07 02:10:45 raspberrypi influxd-systemd-start.sh[260]: [httpd] ::1 - - [07/Feb/2024:02:10:45 +0100] "POST /api/v2/write?org=mycodo&bucket=mycodo_db%2F&precision=ns HTTP/1.1 " 404 46 “-” “influxdb-client-python/1.37.0” b8a58fd8-c555-11ee-8015-e4c8e7def374 896
Feb 07 02:10:45 raspberrypi influxd-systemd-start.sh[260]: [httpd] ::1 - - [07/Feb/2024:02:10:45 +0100] "POST /api/v2/write?org=mycodo&bucket=mycodo_db%2F&precision=ns HTTP/1.1 " 404 46 “-” “influxdb-client-python/1.37.0” b8b2dc4b-c555-11ee-8016-e4c8e7def374 5562
Feb 07 02:10:45 raspberrypi influxd-systemd-start.sh[260]: [httpd] ::1 - - [07/Feb/2024:02:10:45 +0100] "POST /api/v2/write?org=mycodo&bucket=mycodo_db%2F&precision=ns HTTP/1.1 " 404 46 “-” “influxdb-client-python/1.37.0” b8c1e7d8-c555-11ee-8017-e4c8e7def374 1218
Feb 07 02:10:45 raspberrypi influxd-systemd-start.sh[260]: [httpd] ::1 - - [07/Feb/2024:02:10:45 +0100] "POST /api/v2/write?org=mycodo&bucket=mycodo_db%2F&precision=ns HTTP/1.1 " 404 46 “-” “influxdb-client-python/1.37.0” b8cfdd3c-c555-11ee-8018-e4c8e7def374 10098
Feb 07 02:10:45 raspberrypi influxd-systemd-start.sh[260]: [httpd] ::1 - - [07/Feb/2024:02:10:45 +0100] "POST /api/v2/write?org=mycodo&bucket=mycodo_db%2F&precision=ns HTTP/1.1 " 404 46 “-” “influxdb-client-python/1.37.0” b8de621a-c555-11ee-8019-e4c8e7def374 2365
Feb 07 02:10:46 raspberrypi influxd-systemd-start.sh[260]: [httpd] ::1 - - [07/Feb/2024:02:10:46 +0100] "POST /api/v2/write?org=mycodo&bucket=mycodo_db%2F&precision=ns HTTP/1.1 " 404 46 “-” “influxdb-client-python/1.37.0” b8e85d43-c555-11ee-801a-e4c8e7def374 971
Feb 07 02:10:46 raspberrypi influxd-systemd-start.sh[260]: [httpd] ::1 - - [07/Feb/2024:02:10:46 +0100] "POST /api/v2/write?org=mycodo&bucket=mycodo_db%2F&precision=ns HTTP/1.1 " 404 46 “-” “influxdb-client-python/1.37.0” b8efcd9d-c555-11ee-801b-e4c8e7def374 3437
Feb 07 02:10:48 raspberrypi influxd-systemd-start.sh[260]: [httpd] ::1 - - [07/Feb/2024:02:10:48 +0100] "POST /api/v2/write?org=mycodo&bucket=mycodo_db%2F&precision=ns HTTP/1.1 " 404 46 “-” “influxdb-client-python/1.37.0” ba6ff67b-c555-11ee-801c-e4c8e7def374 1884
Feb 07 02:11:03 raspberrypi influxd-systemd-start.sh[260]: [httpd] ::1 - - [07/Feb/2024:02:11:03 +0100] "POST /api/v2/write?org=mycodo&bucket=mycodo_db%2F&precision=ns HTTP/1.1 " 404 46 “-” “influxdb-client-python/1.37.0” c35b35fa-c555-11ee-801d-e4c8e7def374 867
Feb 07 02:11:18 raspberrypi influxd-systemd-start.sh[260]: [httpd] ::1 - - [07/Feb/2024:02:11:18 +0100] "POST /api/v2/write?org=mycodo&bucket=mycodo_db%2F&precision=ns HTTP/1.1 " 404 46 “-” “influxdb-client-python/1.37.0” cc3c7737-c555-11ee-801e-e4c8e7def374 1285
~