Plus d'accès à Gladys

Bonjour

Cela fait plusieurs jours que j’ai des coupures d’accès à Gladys Plus (sablier).
Depuis ce matin, je n’ai plus d’accès; j’ai le message ci-dessous.

J’ai donc tenté une connexion en local (http://192.168.1.57/dashboard, http://192.168.1.57, 192.168.1.57), mais impossible de me connecté !

Cx ssh :
pi@gladys: docker logs gladys
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker

2

Pour info, avant que ces problèmes apparaissent, j’avais des soucis avec LAN MANAGER (qui n’a pas découvert tous mes appareils). Je suis en contact avec @AlexTrovato ‌pour cette problématique.

Merci pour votre aide

Il semblerait que l’installation sur le pi ait planté…
Que dit la commande ‹ sudo ls /var/lib/gladysassistant › ?
Ton installation est sur carte SD ou un disque SSD ?

Il semblerait que docker soit arrêté.

Vérifie son état avec cette commande

sudo systemctl status docker

Tu peux essayer de le redémarrer manuellement avec la commande

sudo systemctl start docker

Si ça recommence il faudrait voir les logs de docker et voir si y’a un problème

Je suis sur un SSD

5

3

pi@gladys: journalctl -xe

Journal file /var/log/journal/caabe6c3613743418e8e9109056fcf0c/system.journal is truncated, ignoring file.

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>




pi@gladys: journalctl -xe

Journal file /var/log/journal/caabe6c3613743418e8e9109056fcf0c/system.journal is truncated, ignoring file.

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>

May 07 01:42:48 gladys rsyslogd[457]: file '/var/log/syslog'[7] write error - see https://www.rsyslog.com/solving-rsyslog-write-errors/ for help OS error: No space lef>

May 07 01:42:48 gladys rsyslogd[457]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error messa>


lines 959-1001/1001 (END)

MERCI

Il dot que ton disque est plein.
Tu peux vérifier sa capacité avec la commande df -h /.
C’est possible que tu n’aies pas « expand » le disque lors de ta migration de HDD, ce qui veut dire tout ton disque n’est pas utilisé entièrement.
En lançant sudo raspi-config, dans un des sous menu, tu as l’option pour expand filesystem.

(J’ai écrit ce message de tête, les commandes ou mots ne sont peut-être pas exacts).

Au choix « expand filesystem », j’ai le message

Ouch, ça devient plus costaud la…
tu as créé des partitions sur ton disque ? Ou c’est une installation « basique » ?
Avec le bon moteur de recherche, il y a plusieurs sites qui parlent de ce problème et fournissent des solutions… mais je ne voudrais pas te faire faire n’importe quoi.

Encore une question :
Que donne la commande ‹ df › ?

Voilà les données

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue May 9 21:10:26 2023 from 192.168.1.138
pi@gladys:~ $ sudo df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 30397724 30381340 0 100% /
devtmpfs 1776840 0 1776840 0% /dev
tmpfs 1942536 0 1942536 0% /dev/shm
tmpfs 777016 28476 748540 4% /run
tmpfs 5120 4 5116 1% /run/lock
/dev/sda1 258095 30523 227573 12% /boot
tmpfs 388504 0 388504 0% /run/user/1000
pi@gladys:~ $

sorry, une version plus lisible…

image

Donc c’est bien ça. Ta partition principale de 30Go est pleine. Reste à savoir pourquoi…
Par contre, si tu es sur SSD, c’est une toute petite capacité ?
Comment as-tu installé Gladys? Directement sur le SSD ou c’est un transfert depuis une carte SD ?

Oups, J’ai installé gladys sur un SSD via transfert carte SD.
Je n’ai pas réussi à le faire fonctionner sur un port USB3 du Raspberry Pi 4. Alors, après multiples tentatives, j’ai réussi à le faire fonctionner sur un port USB2, et je n’ai plus rien modifié.

Voilà le résultat

Alors, je t’invite à suivre le tuto que j’avais fait à l’époque : [Tutoriel] transférer une installation complète de Gladys sur un disque USB
J’y explique comment redimensionner les partitions…
Ou alors de refaire une installation propre et complète depuis l’image officielle!

Je voulais justement repartitionner mon SSD, le formater en ntfs, puis installer l’OS Gladys Assistant.
Le problème est qu’il faut que je sois certain de pouvoir récupérer tous mes device Zigbee2MQTT
Au moment de la restauration de la base.
Je ne souhaite pas intégrer mes device 1par 1….
Est-ce possible maintenant ?

Oui, la sauvegarde fonctionne automatiquement via Gladys Plus. Manuellement aussi mais c’est moins évident
Par contre, pas de formatage en NTFS car c’est un système Linux.
Tu peux partir de l’image officielle disponible via l’application raspberry pi imager puis redimensionner les partitions…

Attention, je me permets d’intervenir, la restauration Zigbee2mqtt ne fonctionnera que si il était à jour sur son installation Gladys avant ce souci de disque (Gladys >= 4.18), si il n’était pas à jour, il n’y aura pas de restauration

Une solution, si tu y arrives, pour rétablir temporairement ton installation, est de faire un peu de ménage sur le disque. Qu’est-ce qui prend 30 Go? Je ne pense pas que ce soit Gladys.

Balade toi sur le Pi et fait du ménage pour libérer un peu d’espace.

1 « J'aime »

Super, merci!
Quelle image dois-je prendre, dans quelle rubrique?

je vais essayer de faire ces manips aujoud’hui

C’est dans ‹ images alternatives ›.
image
image
image

@pierre-gilles avait fait une vidéo explicative :

Salut @GBoulvin

J’ai réussi à réinstaller l’OS Gladys sur mon SSD, et ensuite à récupérer ma dernière sauvegarde Gladys Plus.
Merci pour ton aide (à Alex aussi)

Bon WE
Gérard

3 « J'aime »