RaspBerry with YunoHost randomly crashing
from ISOmorph@feddit.org to selfhosted@lemmy.world on 13 Jul 18:29
https://feddit.org/post/32603021

Hello,

I need some help troubleshooting. As per the title, I’m using a Raspberry Pi 3 Model B Plus Rev 1.3 with Debian bookworm kernel 6.12.93+rpt-rpi-v8 to host a local YunoHost server (12.1.40.1 stable) with the following apps:

Sadly, the server randomly crashes and can only be rebooted trough a hardware reset (pulling the plug).

Here are the last 50 lines of journalctl before the last crash: privatebin.net/?dbca869581c95573#83bk7W2CEPbeBGAX…

Here are the last 50 lines of journalctl before the crash before that: privatebin.net/?f7bdf2fd48ab12f7#9ZPh68rJ1p8JdzyL…

I do not see anything troubling. The older journalctl read outs are equally bland. Do you have any advice on how to proceed?

#selfhosted

threaded - newest

51dusty@lemmy.world on 13 Jul 19:04 next collapse

In my experience random reboot problems are usually related to the sd card. standard logging setups kill the card faster than you’d think. dd the existing install or rebuild the server.

time to test your disaster recovery strategy!

GeneralDingus@lemmy.cafe on 13 Jul 19:09 next collapse

I went with Alpine Linux for hosting because of this. I like up how my light setup runs completely in RAM, saving the SD card for a while.

ISOmorph@feddit.org on 13 Jul 19:55 collapse

Thank you and u/irmadlad for the suggestion. I ordered a new SD card and will just clone the current one. I’ll probably get to it this weekend and let you know if it worked out.

irmadlad@lemmy.world on 13 Jul 20:41 collapse

Fingers crossed.

irmadlad@lemmy.world on 13 Jul 19:10 collapse

I’m an expert at nothing, but I’m going to guess and watch the thread: Power/Under voltage or SD corruption. I’m favoring the latter.

Reason being, the logs are pretty normal. I don’t see anything that would portend a crash. So it could be that when the RPi crashes requiring you to pull the plug, it hasn’t had a chance to write that to the logs. I know, back in my RPi days, I had a lot of issues with SD corruption.

51dusty@lemmy.world on 13 Jul 21:07 collapse

agreed.

voltage problems would most likely result in odd errors in syslog… random controller grumbling messages, resets, etc.