Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1584

Python • Re: Raspberry Pi Scripts stops running after a while.

$
0
0
You can also check the system log files for events, /var/log folder.
Sorry for not getting back.... Be a month for me.

I have been through the /var/log folder and nothing seems to indicate anything odd. The power supply should have been plently as the sun rises here at 6am but yet the logs show it just stops at 11:49:03. When I restarted it at 16:15(ish) nothing seems to have been logged, it did not start until I brought it inside the house at 16:35 and hence the logs start at 16:38.

Code:

Apr 29 11:48:58 weatherstation kernel: hwmon hwmon1: Undervoltage detected!Apr 29 11:48:58 weatherstation dbus-daemon[291]: [system] Successfully activated service 'org.freedesktop.ColorManager'Apr 29 11:48:59 weatherstation influxd-systemd-start.sh[505]: InfluxDB API unavailable after 6 attempts...Apr 29 11:48:58 weatherstation systemd[1]: Started colord.service - Manage, Install and Generate Color Profiles.Apr 29 11:48:59 weatherstation systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.Apr 29 11:49:00 weatherstation influxd-systemd-start.sh[505]: InfluxDB API unavailable after 7 attempts...Apr 29 11:49:01 weatherstation influxd-systemd-start.sh[505]: InfluxDB API unavailable after 8 attempts...Apr 29 11:49:02 weatherstation influxd-systemd-start.sh[545]: ts=2025-04-29T10:49:02.091712Z lvl=info msg="Reading file" log_id=0wCITQml000 engine=tsm1 service=cacheloader path=/>Apr 29 11:49:02 weatherstation influxd-systemd-start.sh[505]: InfluxDB API unavailable after 9 attempts...Apr 29 11:49:02 weatherstation kernel: hwmon hwmon1: Voltage normalisedApr 29 11:49:02 weatherstation systemd[1]: systemd-fsckd.service: Deactivated successfully.Apr 29 11:49:03 weatherstation influxd-systemd-start.sh[505]: InfluxDB API unavailable after 10 attempts...Apr 29 16:38:26 weatherstation systemd-timesyncd[260]: Contacted time server (IP ADDRESS...) (2.debian.pool.ntp.org).Apr 29 16:38:26 weatherstation systemd-timesyncd[260]: Initial clock synchronization to Tue 2025-04-29 16:38:26.264090 BST.
The undervoltage is the only log about it that i could find in the 3hrs leading up to it.

i have made the Pi restart on the hour and seems to have fixed it for the moment (until this started about 3 days), but this time, a restart seems to not fix it, i have to bring the whole pi inside and I can't always be around to do this every day.

Any ideas? - Thanks

Statistics: Posted by HumanProgrammer10000 — Tue Apr 29, 2025 6:20 pm



Viewing all articles
Browse latest Browse all 1584

Trending Articles