No Dashboard and Raspberry Pi inactive

Hi Folks
I've been using my Pi4 to to run home automation's via a Node Red instance and have had much success for the last two years or so. The Pi in combination with Node red has performed pretty much flawlessly during that time. I update it regularly and have had to replace the SD card a couple of times but apart from that it's been great until recently. On five occasions within the last few weeks the Dashboard in Node red has been unreachable with the error below:

Error: EIO: i/o error, stat '/usr/lib/node_modules/node-red/node_modules/@node-red/editor-client/public/ui/index.html'

Examining the Raspberry Pi desktop shows it as unresponsive. The only way to recover is to unplug the power and reboot. I'm unsure if this is a Raspberry Pi issue or Node Red messing up. I was wondering if anyone here may have suggestions as to how I could proceed to identify and eliminate this problem. I've already posted this issue on the Raspberry Pi forums but have had no response. I know a lot of you chaps on here use Raspberry Pi's so may be able to shed some light on this matter.

Thanks.

That is a file IO error. Your SD card is broken again. Are you using good quality cards? I have six PIs running and have only had to replace one card in the last year.

Does your pi often get powered off without shutting down correctly? That can occasionally corrupt a card.

Thanks for that Colin. I normally close down the Pi in the correct manner except when it locks up and isn't responding. I'll order a new one. Do you have any recommendations for a good quality card.

Cheers

I have been using SanDisk Ultra32GB Micro SD 1 HC I A1

Google Photos

I have been using Samsung EVO cards for quite a long time with no issues.

It should be extremely rare not to be able connect via ssh.
Are you using a decent quality power supply. Particularly for the Pi4 which needs a beefy supply. If you are getting regular lockups and card corruption then the power supply could be the cause.

Have you considered running on a much more reliable and faster SSD? All 3 of my RPi 4 are running on them for over a year and it was really easy to change the settings to boot off a USB instead of SD. If I remember correctly. You can download a boot file for a SD card that changes the settings so that it can then boot off the SSD.

Colin: I haven't tried to connect via SSH but will do next time it errors. Th PSU I'm using is the recommended one supplied with the Raspberry pi.

stephenn: I have indeed considered using an SSD and intend to do so soon but will wait until my heating is no longer needed as I don't really want to change anything just yet.

I have heard that plugging in an SSD could further burden the PSU (even the Pi foundation recommended one) and a powered hub is the best way to go. Do you have any experience of this?

In the mean time I have ordered a SanDisk Extreme PRO card so hopefully it should be pretty reliable.

Thanks chaps

It will load the PSU more, but provided it is a good one that should not be a problem. I run a pi 3 and a 4 with usb hard discs (not SSD) and the standard supplies with no problems. So unless SSD take more power than hdd it should not be a problem.

Thank you everyone for your replies. New high quality card on the way and will add SSD boot drive in the near future.

Cheers

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.