I have seen a file called core in my main config directory. The file is created at 12am and seems to happen occasionally.
I think this file is created when HA crashes and recovers. Is this correct and how can I troubleshoot?
I have seen a file called core in my main config directory. The file is created at 12am and seems to happen occasionally.
I think this file is created when HA crashes and recovers. Is this correct and how can I troubleshoot?
Hi jata,
The file called home-assistant.log.1
Has the log from the prior run of HA, maybe a clue in there;
Otherwise
Thank you. I have looked at the HA log and there is nothing there to help. I will check the log if it happens again to see if it occurs at exactly the same time/event.
I have been doing some digging in my docker server logs and I have found something that I think is a possible lead - the container stops and then recovers so I am investigating this ‘shim disconnected’ error. Never seen this before, ever.
This morning there were a few docker related package updates so I have applied them and restarted the server and container. Fingers crossed this issue has been resolved with the docker package updates.
root@rpi5:/# journalctl --since "2024-12-06 00:00:00" --until "2024-12-06 00:10:00"
Dec 06 00:00:01 rpi5 systemd[1]: Starting dpkg-db-backup.service - Daily dpkg database backup service...
Dec 06 00:00:01 rpi5 systemd[1]: Starting logrotate.service - Rotate log files...
Dec 06 00:00:02 rpi5 systemd[1]: dpkg-db-backup.service: Deactivated successfully.
Dec 06 00:00:02 rpi5 systemd[1]: Finished dpkg-db-backup.service - Daily dpkg database backup service.
Dec 06 00:00:02 rpi5 systemd[1]: logrotate.service: Deactivated successfully.
Dec 06 00:00:02 rpi5 systemd[1]: Finished logrotate.service - Rotate log files.
Dec 06 00:00:24 rpi5 monit[1190]: 'rpi5' loadavg (1min) of 11.0 matches resource limit [loadavg (1min) > 8.0]
Dec 06 00:00:54 rpi5 monit[1190]: 'rpi5' loadavg (1min) of 12.6 matches resource limit [loadavg (1min) > 8.0]
Dec 06 00:01:24 rpi5 monit[1190]: 'rpi5' loadavg (1min) of 8.0 matches resource limit [loadavg (1min) > 8.0]
Dec 06 00:01:27 rpi5 systemd[1]: docker-8c143301358e760f71649769e89139e5e60af484c1e1ad8e799365a67b4ce40a.scope: Deactivated successfully.
Dec 06 00:01:27 rpi5 systemd[1]: docker-8c143301358e760f71649769e89139e5e60af484c1e1ad8e799365a67b4ce40a.scope: Consumed 23min 51.636s CPU time.
Dec 06 00:01:27 rpi5 dockerd[1290]: time="2024-12-06T00:01:27.693580777+11:00" level=info msg="ignoring event" container=8c143301358e760f71649769e89139e5e60af484c1e1ad8e799>
Dec 06 00:01:27 rpi5 containerd[1247]: time="2024-12-06T00:01:27.693795946+11:00" level=info msg="shim disconnected" id=8c143301358e760f71649769e89139e5e60af484c1e1ad8e7993>
Dec 06 00:01:27 rpi5 containerd[1247]: time="2024-12-06T00:01:27.693864077+11:00" level=warning msg="cleaning up after shim disconnected" id=8c143301358e760f71649769e89139e>
Dec 06 00:01:27 rpi5 containerd[1247]: time="2024-12-06T00:01:27.693873984+11:00" level=info msg="cleaning up dead shim" namespace=moby
Dec 06 00:01:27 rpi5 systemd[1]: srv-dev\x2ddisk\x2dby\x2duuid\x2dbbad65f7\x2d74a5\x2d46cc\x2d940c\x2d5f05cf9aa28f-docker-overlay2-4daf54a690e421cec90920be7b444f5f72ca3d9a0>
Dec 06 00:01:27 rpi5 containerd[1247]: time="2024-12-06T00:01:27.883634560+11:00" level=info msg="loading plugin \"io.containerd.event.v1.publisher\"..." runtime=io.contain>
Dec 06 00:01:27 rpi5 containerd[1247]: time="2024-12-06T00:01:27.883876711+11:00" level=info msg="loading plugin \"io.containerd.internal.v1.shutdown\"..." runtime=io.conta>
Dec 06 00:01:27 rpi5 containerd[1247]: time="2024-12-06T00:01:27.883917156+11:00" level=info msg="loading plugin \"io.containerd.ttrpc.v1.task\"..." runtime=io.containerd.r>
Dec 06 00:01:27 rpi5 containerd[1247]: time="2024-12-06T00:01:27.884451959+11:00" level=info msg="loading plugin \"io.containerd.ttrpc.v1.pause\"..." runtime=io.containerd.>
Dec 06 00:01:27 rpi5 systemd[1]: Started docker-8c143301358e760f71649769e89139e5e60af484c1e1ad8e799365a67b4ce40a.scope - libcontainer container 8c143301358e760f71649769e891>
Dec 06 00:01:54 rpi5 monit[1190]: 'rpi5' loadavg (1min) check succeeded [current loadavg (1min) = 5.2]
Dec 06 00:09:01 rpi5 CRON[944789]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)
Dec 06 00:09:01 rpi5 CRON[944790]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Dec 06 00:09:01 rpi5 CRON[944789]: pam_unix(cron:session): session closed for user root
Dec 06 00:09:04 rpi5 systemd[1]: Starting phpsessionclean.service - Clean php session files...
Dec 06 00:09:04 rpi5 systemd[1]: phpsessionclean.service: Deactivated successfully.
Dec 06 00:09:04 rpi5 systemd[1]: Finished phpsessionclean.service - Clean php session files.