DietPi needs regular cold reboots

Regularly, every other day or so, I need to cold reboot my headless DietPi because it has stopped responding to ping.

I use it very lightly and infrequently for Jackett, VNC, and I also have the Discord webapp set as my Firefox homepage, autorefreshing and random intervals between 2 and 4 hours. Before setting up the webapp and learning a regular Discord install was not possible I did try installing Discord via flatpak and some other options, so there may be some extra bloat on my system.

Can you please tell if there is a log file that I can check after the next time I have to cold reboot, or even if there is one I can check now? I cold rebooted within the last two hours.


you could try to setup persistence log files, that can be checked after next freeze/reboot

dietpi-software uninstall 103
mkdir -p /var/log/journal
# then after crash, the following shows logs from before the crash as well

following files could be checked as well. /var/log/syslog and /var/log/kern.log

After find DietPi not responding to ping today I checked for the directory created using the mkdir command after you posted and it was not there, so I recreated it.

I also checked for /var/log/syslog and /var/log/kern.log but they do not exist.

In addition to the uninstall 103 command, is there anything else I need to do here please?

Here is a pastebin of journalctl:

did you performed the uninstall command after todays freeze or before?

Basically the log is describing the restart you performed. There is nothing from the situation before.

More an observation. Your system doesn’t seems to sync system time correctly on reboot.

I first performed it when you posted the command but on discovering the journal dir was missing despite being created at the same time, I input the mkdir and uninstall command again.

Is there any way to fix the issue with the system time?

You helped me with other issues recently that made you suspect a possible issue with the card - do you think I should just do a clean install of DietPi?

it depends on the effort needed to perform a new installation. If this is something that could be done quickly, why not. Probably you have a spare SD card. This way you could keep the original system. Just in case …