# Gladys is down

**URL:** <https://community.gladysassistant.com/t/gladys-en-carafe/7812>\
**Category:** Configuration\
**Created:** [January 4, 2023, 1:46pm UTC](https://community.gladysassistant.com/t/gladys-en-carafe/7812 "2023-01-04T13:46:24Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![b3n.0](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/b3n.0/32/3458_2.png) [@b3n.0](https://community.gladysassistant.com/u/b3n.0)\
**Post date:** [January 4, 2023, 1:46pm UTC](https://community.gladysassistant.com/t/gladys-en-carafe/7812/1 "2023-01-04T13:46:24Z")

</div>

Hello everyone,

For a few days my Gladys instance has been down 😥😬

Gladys is inaccessible from the browser but also via SSH (via Putty).

However, ping responds correctly!

Having reinstalled several weeks ago on an SSD for greater longevity, I initially thought it was a power issue (I use the Sonoff USB Zigbee bridge).

I therefore opted for a separate power supply for the SSD… but without success.

At each reboot (barbaric mode required: unplug/replug), I get access in the browser but it only lasts only 2 or 3 minutes!

Does anyone have any ideas?

---

<div class="post-metadata">

**Author:** ![Phil](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/p/e95f7d/32.png) [@Phil](https://community.gladysassistant.com/u/Phil)\
**Post date:** [January 5, 2023, 7:10am UTC](https://community.gladysassistant.com/t/gladys-en-carafe/7812/2 "2023-01-05T07:10:56Z")

</div>

Hello,

A reply to a ping just means the IP interface is still «&nbsp;alive&nbsp;»

- Are there (there should be) any entries in:  
/var/log/syslog  
/var/log/messages  
/var/log/kern.log

- What is the Raspberry Pi model? How much memory? Which OS?

Phil

---

<div class="post-metadata">

**Author:** ![b3n.0](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/b3n.0/32/3458_2.png) [@b3n.0](https://community.gladysassistant.com/u/b3n.0)\
**Post date:** [January 5, 2023, 7:56am UTC](https://community.gladysassistant.com/t/gladys-en-carafe/7812/3 "2023-01-05T07:56:44Z")

</div>

thank you @Phil for your feedback

> [@Phil](#):
>
> Is there (there should be) any information in:  
> /var/log/syslog  
> /var/log/messages  
> /var/log/kern.log

Unfortunately after reboot I don’t have time to do much… it crashes

---

<div class="post-metadata">

**Author:** ![Phil](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/p/e95f7d/32.png) [@Phil](https://community.gladysassistant.com/u/Phil)\
**Post date:** [January 5, 2023, 8:21am UTC](https://community.gladysassistant.com/t/gladys-en-carafe/7812/4 "2023-01-05T08:21:59Z")

</div>

ok.  
the files in question: syslog, messages and kern.log, the name without suffix («&nbsp;tout court&nbsp;») is the current file, older files are suffixed with .1, .2 etc, then with .gz (the files are compressed to take up less space)  
example on a Raspberry Pi that’s been running for months, continuously.

```auto
root@piwigo:/var/log# ls -larlt syslog*
-rw-r----- 1 root adm 734411 Jan 9 2022 syslog.2
-rw-r----- 1 root adm 528729 Jan 23 2022 syslog.4
-rw-r----- 1 root adm 475204 Jan 30 2022 syslog.3
-rw-r----- 1 root adm 112998 Dec 11 00:00 syslog.4.gz
-rw-r----- 1 root adm 111543 Dec 18 00:00 syslog.3.gz
-rw-r----- 1 root adm 114919 Dec 25 00:00 syslog.2.gz
-rw-r----- 1 root adm 890876 Jan 1 00:00 syslog.1
-rw-r----- 1 root adm 771513 Jan 5 09:09 syslog
root@piwigo:/var/log# ls -larlt messages*
-rw-r----- 1 root adm 142 Dec 4 00:10 messages.4.gz
-rw-r----- 1 root adm 141 Dec 11 00:10 messages.3.gz
-rw-r----- 1 root adm 250 Dec 18 06:19 messages.2.gz
-rw-r----- 1 root adm 148 Dec 25 00:10 messages.1
-rw-r----- 1 root adm 148 Jan 1 00:10 messages
root@piwigo:/var/log# ls -larlt kern.log*
-rw-r----- 1 root adm 8944 Nov 3 10:03 kern.log.4.gz
-rw-r----- 1 root adm 15127 Nov 10 23:18 kern.log.3.gz
-rw-r----- 1 root adm 24649 Nov 11 16:38 kern.log.2.gz
-rw-r----- 1 root adm 145 Nov 14 19:58 kern.log.1
-rw-r----- 1 root adm 0 Nov 20 00:00 kern.log

```

If it’s the Sonoff key that causes the crash, it would be useful to boot the Raspberry Pi without the key to access its files.

**pi3 1GB**  
gladys uses Docker etc., 1 GB might be tight, right?  
are there any sizing charts or recommendations for Gladys, like (maybe a question for @pierre-gilles?)

- minimum configuration: pi3 - x GB
- with x devices / scenes: recommended memory y GB  
etc  
from experience there’s never enough memory; the CPU is «&nbsp;just&nbsp;» that it’s slower or faster  
The output of the command **free** would be interesting (Display amount of free and used memory in the system)

If a Unix system crashes there’s always a reason.  
I’m willing to read the files  
Phil

---

<div class="post-metadata">

**Author:** ![b3n.0](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/b3n.0/32/3458_2.png) [@b3n.0](https://community.gladysassistant.com/u/b3n.0)\
**Post date:** [January 5, 2023, 10:54am UTC](https://community.gladysassistant.com/t/gladys-en-carafe/7812/5 "2023-01-05T10:54:04Z")

</div>

OK thanks

I’ll restart it tonight without the Zigbee key to give you feedback

---

<div class="post-metadata">

**Author:** ![Phil](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/p/e95f7d/32.png) [@Phil](https://community.gladysassistant.com/u/Phil)\
**Post date:** [January 5, 2023, 10:58am UTC](https://community.gladysassistant.com/t/gladys-en-carafe/7812/6 "2023-01-05T10:58:22Z")

</div>

ok  
it’s a Raspberry Pi 3: so the image that’s running is indeed a 32-bit one?  
see the discussion in the thread ([Live Youtube bilan de 2022 et projets pour 2023 ce mardi soir à 21h! - #35 par Phil](https://community.gladysassistant.com/t/live-youtube-bilan-de-2022-et-projets-pour-2023-ce-mardi-soir-a-21h/7809/35)) ..

Phil

---

<div class="post-metadata">

**Author:** ![b3n.0](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/b3n.0/32/3458_2.png) [@b3n.0](https://community.gladysassistant.com/u/b3n.0)\
**Post date:** [January 5, 2023, 2:23pm UTC](https://community.gladysassistant.com/t/gladys-en-carafe/7812/7 "2023-01-05T14:23:06Z")

</div>

From memory I’d say more like 64

---

<div class="post-metadata">

**Author:** ![Phil](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/p/e95f7d/32.png) [@Phil](https://community.gladysassistant.com/u/Phil)\
**Post date:** [January 5, 2023, 6:04pm UTC](https://community.gladysassistant.com/t/gladys-en-carafe/7812/8 "2023-01-05T18:04:51Z")

</div>

> [@b3n.0](#):
>
> RPi 3B+

hmm, I think a 32-bit version would be the one to use  
see: [Versions de Raspberry Pi OS&nbsp;: les réponses à vos questions – RaspberryTips](https://raspberrytips.fr/raspberry-pi-os-versions/)  
there’s a summary at the bottom of the page that I reproduce here:

```auto
So, to summarize your options:

* **Beginners and most people** ⇒ Raspberry Pi OS Bullseye (32-bit).
* **No Internet on the Pi** ⇒ Raspberry Pi OS Bullseye Full (32-bit).
* **Advanced users without a screen** ⇒ Raspberry Pi OS Bullseye Lite (32-bit).
* **Adventurous users with a recent model** ⇒ Same but in 64-bit.
* **Cautious users** ⇒ Legacy.

```

Personally I have several Pis purring along without any problem .. 64-bit version only on Pi 4s  
Phil

---

<div class="post-metadata">

**Author:** ![b3n.0](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/b3n.0/32/3458_2.png) [@b3n.0](https://community.gladysassistant.com/u/b3n.0)\
**Post date:** [January 5, 2023, 11:40pm UTC](https://community.gladysassistant.com/t/gladys-en-carafe/7812/9 "2023-01-05T23:40:55Z")

</div>

> [@b3n.0](#):
>
> I’ll relaunch it tonight without the Zigbee key to give you some feedback

I got back a bit late for the tests… I’m counting on the weekend to look into that…  
And to get Gladys back up and running.

Temporarily with my Pi and a 32-bit version and afterwards see about using a miniPC

---

<div class="post-metadata">

**Author:** ![b3n.0](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/b3n.0/32/3458_2.png) [@b3n.0](https://community.gladysassistant.com/u/b3n.0)\
**Post date:** [January 7, 2023, 12:10pm UTC](https://community.gladysassistant.com/t/gladys-en-carafe/7812/10 "2023-01-07T12:10:27Z")

</div>

So I reverted the image to 32-bit

Several problems encountered:

1. unable to restore from the home page - login/authentication issue

2. I therefore created a local user then restored the backup in Settings

3.

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [January 7, 2023, 9:29pm UTC](https://community.gladysassistant.com/t/gladys-en-carafe/7812/11 "2023-01-07T21:29:16Z")

</div>

> [@b3n.0](#):
>
> But no communication with the Zigbee devices…

That’s normal — you need to re-pair your devices; the backup does not include zigbee2mqtt

The thread is ongoing; the developer is almost finished

> [@Sauvegarde de la db de zigbee2mqtt](https://community.gladysassistant.com/t/sauvegarde-de-la-db-de-zigbee2mqtt/7237/101?u=vonox):
>
> @guim31 Il y avait 3 développements nécessaires pour cette fonctionnalité : Le premier est prêt et déjà intégré dans Gladys Le deuxième est en cours de revue de code, j’ai fais des feedbacks avant les vacances de Noël, maintenant j’attend le retour d’Alex pour savoir si c’est bon pour une nouvelle revue de code ([https://github.com/GladysAssistant/Gladys/pull/1641](https://github.com/GladysAssistant/Gladys/pull/1641)) Ensuite, il y aura le développement final à relire + valider ( [z2m gladys backup by atrovato · Pull Request #1563 · GladysAssistant…](https://github.com/GladysAssistant/Gladys/pull/1563)

---

<div class="post-metadata">

**Author:** ![b3n.0](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/b3n.0/32/3458_2.png) [@b3n.0](https://community.gladysassistant.com/u/b3n.0)\
**Post date:** [January 8, 2023, 8:27am UTC](https://community.gladysassistant.com/t/gladys-en-carafe/7812/12 "2023-01-08T08:27:35Z")

</div>

> [@VonOx](#):
>
> The thread is ongoing, the development is almost finished

That’s great!

> [@VonOx](#):
>
> That’s normal, you need to re-pair your devices, the backup doesn’t include zigbee2mqtt

That’s what I started doing last night… I suspected it when I saw the «&nbsp;Zigbee discovery&nbsp;» panel completely empty!

However, the «&nbsp;Devices&nbsp;» panel still listed all my devices…

Pairing is therefore simplified because a simple reset and everyone goes back where they belong!!!

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [January 8, 2023, 3:02pm UTC](https://community.gladysassistant.com/t/gladys-en-carafe/7812/13 "2023-01-08T15:02:52Z")

</div>

Yes, you just need to re-pair them on the Glad

---

<div class="post-metadata">

**Author:** ![gaetanb76](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaetanb76/32/5911_2.png) [@gaetanb76](https://community.gladysassistant.com/u/gaetanb76)\
**Post date:** [January 8, 2023, 8:21pm UTC](https://community.gladysassistant.com/t/gladys-en-carafe/7812/14 "2023-01-08T20:21:01Z")

</div>

Friday evening (6/01/23) I tried to access the Gladys interface via the IP address but it was impossible. I tried on my PC and my smartphone with Firefox and Chrome and with Putty. Always the same: The connection failed.

Same on Saturday, Sunday and today.  
EDIT 3 (14/01/23): It’s been more than a week since I haven’t had access to the Gladys interface, except via Gladys Plus… I’m away for a week starting tomorrow. If someone wants to try to help me, it’s either today or starting next Saturday.

However it’s accessible via Gladysplus  
EDIT: and ping responds.

I switched to a mini-PC last week.

EDIT 2 (9/01/23): On the mini-PC side, Ubuntu works, access to Gladys at 192.168.. works, ping to the Windows PC works.

The logs:  
Darn, I made a 35-page PDF with docker ps and the container logs. It’s not possible to upload it.  
How to put it? A link to my Dropbox?

EDIT 4 (14/01/23): docker restart gladys (in a terminal on the mini PC) changes nothing

EDIT 5 (23/01/23): I’m back if someone can help me.  
It looks like connections to the mini PC running Linux are blocked.

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [January 23, 2023, 10:46pm UTC](https://community.gladysassistant.com/t/gladys-en-carafe/7812/15 "2023-01-23T22:46:45Z")

</div>

As it is, it’s hard to guess what’s happening, but it must be a network issue at your place, I think; otherwise Gladys Plus wouldn’t work and access to Gladys from your mini PC wouldn’t either.

Are you on the same local network? I remember one of your posts where you said you had several local networks.

> [@Ajouter une caméra dans Gladys quand on a 2 réseaux distincts](https://community.gladysassistant.com/t/ajouter-une-camera-dans-gladys-quand-on-a-2-reseaux-distincts/7766):
>
> Je rencontre un problème avec mes caméras : Gladys est relié en filaire à ma box Une, pour le moment, de mes caméras est reliée à un routeur wifi que je viens de recevoir (wifi box sans arrêt déconnecté) Les 2 appareils sont donc sur 2 réseaux distincts : Gladys avec un routeur en 192.168.1.1 et la caméra avec un routeur en 192.168.68.1 Le flux est visible sur VLC Quand je veux intégrer la caméra j’ai une adresse qui ressemble à (http://192.168.68.XX/65089a9..................../live/index.m…

---

<div class="post-metadata">

**Author:** ![gaetanb76](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaetanb76/32/5911_2.png) [@gaetanb76](https://community.gladysassistant.com/u/gaetanb76)\
**Post date:** [January 24, 2023, 2:31pm UTC](https://community.gladysassistant.com/t/gladys-en-carafe/7812/16 "2023-01-24T14:31:04Z")

</div>

Yes, Gladys is on an address at 192.168.68.1..  
my PC: 192.168.68.1..  
my smartphone: 192.168.68.1..  
Gateway: 192.168.68.1  
The subnet mask is the same for all.  
After installing Gladys on the mini-PC, it worked, and one day, it stopped.

EDIT 1 : One question:  
Can

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [January 24, 2023, 3:27pm UTC](https://community.gladysassistant.com/t/gladys-en-carafe/7812/17 "2023-01-24T15:27:59Z")

</div>

Gladys’s address is set to automatic, but have you configured your router to give it a fixed IP address?

Otherwise, have you done a ping from your PC?

Have you run a scan with a tool like Advanced IP Scanner or Wireshark?

From your mini PC, which address do you enter to access Gladys?

---

<div class="post-metadata">

**Author:** ![gaetanb76](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaetanb76/32/5911_2.png) [@gaetanb76](https://community.gladysassistant.com/u/gaetanb76)\
**Post date:** [January 24, 2023, 3:49pm UTC](https://community.gladysassistant.com/t/gladys-en-carafe/7812/18 "2023-01-24T15:49:40Z")

</div>

Yes, on the mini-PC that hosts Gladys it’s set to automatic.  
I’ve set the IP on the router.

As for the ping,

> [@gaetanb76](#):
>
> EDIT: and the ping responds.

I just connected the PC via Ethernet (it was on Wi‑Fi until now) but nothing changes.  
Ping result:  
Statistiques Ping pour 192.168.68.1..:  
Packets: Sent = 4, Received = 4, Lost = 0 (loss 0%),  
Approximate round trip times in milliseconds:  
Minimum = 2ms, Maximum = 5ms, Average = 3ms

On the mini-PC, I set either the IP address fixed on the router (192.168.68.1..), or localhost.

EDIT 1:  
Result from Advanced IP Scanner:

 ![2023_01_24_scan_ip_reseau_gladys](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/5/52477797627733ead3cd663924d4e6ea2836d6ed.jpeg)

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [January 24, 2023, 3:57pm UTC](https://community.gladysassistant.com/t/gladys-en-carafe/7812/19 "2023-01-24T15:57:04Z")

</div>

First, if the ping responds, that’s good. And what does your browser show when you try to access Gladys?  
Can you attach a screenshot?

---

<div class="post-metadata">

**Author:** ![gaetanb76](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaetanb76/32/5911_2.png) [@gaetanb76](https://community.gladysassistant.com/u/gaetanb76)\
**Post date:** [January 24, 2023, 4:23pm UTC](https://community.gladysassistant.com/t/gladys-en-carafe/7812/20 "2023-01-24T16:23:39Z")

</div>

The page takes a very long time to load in FF and I get:  
Firefox :  
![2023\_01\_24\_ad\_ip\_gladys\_FF|543

[Next page](https://community.gladysassistant.com/t/gladys-en-carafe/7812.md?page=2)
