Gadys no longer replies

hello community

I don’t know if it’s related to ecowath I don’t think so

but since then, I’ve had to restart my Raspberry Pi (raspi) several times to access Gladys.
it works for a few minutes then everything freezes and there’s no access anymore — I’m forced to restart again, the Raspberry Pi’s green LED blinks constantly every 2 seconds I think, I’m a bit lost here.

Try to access the logs via SSH.

Yes, but I’m not very familiar with that — it’s

Yes, with PuTTY you can access it.

Nothing to be done, even with

Were you able to see Gladys’ logs?

docker logs Gladys

Negative — nothing. The system runs for a few minutes, then nothing; I can’t access anything anymore. Yet the Raspberry Pi’s green LED blinks constantly, so it’s busy — but with what?

Well, it’s dead — Gladys starts for 2–3 minutes, then stops responding.

Gladys being inaccessible is only a symptom, your Pi has hardware/network issues.

yes I think so but where and what I don’t know, or rather when it works for months and then stops; you have to look again into software and hardware problems — it eats up time researching, etc..

not being a Linux pro and not into configuration and command lines, I’ll simply give up and stick to Chinese software; I don’t have the patience or the time to tinker with IT anymore

sorry it’s a rant,

I know, but we’re not mind readers either.

We don’t have anything to help you with; we can only point you in the right direction with the little info, a power supply issue or an SD card problem.

I know, but well, I don’t have the courage to get my hands dirty anymore, and I don’t have the time either, because it’s insanely time-consuming, I’m dropping it for now, okay I’m going to feed my sheep LOL, thanks for your help, Gladys is super nice, but I just don’t have the patience anymore. (I’m getting old.)

Hi @pascal_sapin! Maybe the Raspberry Pi isn’t the most suitable device for your use, it’s indeed a device « for tinkerers » that requires maintenance and a bit of follow-up, it’s not a consumer device at all…

In the community some people have switched to consumer machines to replace their Pi, mini-PCs at 100€ that you can find in stores, and there it’s « consumer-grade » hardware, under warranty, and it works without any particular issues… (and if it’s broken, return it to the manufacturer).

Maybe better suited to your need for long-term stability? :slight_smile:

@Tlse-vins made the switch recently.

We discuss it here :

A lead could be
SequelizeDatabaseError: SQLITE_CORRUPT: database disk image is malformed

Are you on a micro-SD card on your Pi?

This is common — disk corruption. Micro-SD cards aren’t designed for long-term use and their sectors wear out over time!

I’m planning to make a tutorial about what I set up on a mini PC, nothing too complicated.
Also, Pierre-Gilles’ tutorials for installing Gladys manually are really well done.
There’s just the Ubuntu (or other) installation part left to do.

1 Like

No, I’m using an SSD from a reputable brand, but we’ve had several brief power outages lately, I live in the mountains

Normally this is not supposed to corrupt your database, SQLite is an ACID-compliant database (Wikipedia: Propriétés ACID — Wikipédia. ), which means that a reboot in the middle of use should not impact its consistency

Have you by any chance ever manually touched your DB? Made

no I never touched the database

There is a method to try to recover the data:

After that it requires a bit of command-line manipulation… I can help you if needed