Gladys 4.10 crashed

Hello everyone,
I have a Gladys on a Raspberry Pi 3B+ on an SSD, installed with the official Gladys ISO.
Docker seems to have crashed,
it had been on since yesterday; yesterday Gladys worked very well, today not anymore :frowning:
I still have SSH access
docker ps -a
returns « Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? »
Do you have any idea how to debug this?

sudo systemctl status docker

Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2022-09-26 19:48:20 CEST; 1h 15min ago
TriggeredBy: ● docker.socket
Docs: https://docs.docker.com
Process: 919 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=2)
Main PID: 919 (code=exited, status=2)
CPU: 1.575s

sudo docker version

Client: Docker Engine - Community
Version: 20.10.13
API version: 1.41
Go version: go1.16.15
Git commit: a224086
Built: Thu Mar 10 14:07:19 2022
OS/Arch: linux/arm64
Context: default
Experimental: true
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

sudo service docker start

Job for docker.service failed because the control process exited with error code.
See « systemctl status docker.service » and « journalctl -xe » for details.

sudo service docker stop
sudo rm -rf /var/lib/docker
sudo service docker start

systemctl status docker.service = active
reboot

docker ps
3c9c8de6672a gladysassistant/gladys:v4 "docker-entrypoint.s…" 3 minutes ago Up 3 minutes gladys
321a7271d3c4 containrrr/watchtower "/watchtower --clean…" 6 minutes ago Up 6 minutes 8080/tcp watchtower

but no web interface…

interface came back after 15 min
I’m trying a reboot
and nothing, not even a ping :-(((

Try to view Gladys’ logs:

sudo docker logs -f gladys --since 60m

The idea is to check if Gladys has been generating logs for at least the last 60 minutes.
If you get nothing, remove the --since option.

And if the Pi doesn’t boot, you need to connect it to a monitor to see what the console reports.

Thank you for your answers
This morning I changed the Pi’s power supply and it started up again.
Everything came back, even the interface.

I have output from the command

sudo docker logs -f gladys --since 60m

on an external screen I only have the command prompt, nothing else

Good news!

Raspberry Pis are very sensitive to power supplies. That could be it.

Hello,
I’m on the latest version of Gladys 4.21 I think?
Last night Gladys stopped working This morning I check everything before restarting the Pi
Pi seen on the network
No SSH connection
SSD and network LEDs blink normally, there seems to be communication between the Pi and the SSD
Viewing Gladys « no dashboard defined », reload of the web page and no more connection to Gladys .

Could it be a backup in progress or a database cleanup?

Well,

2 Likes