# Unexpected restart of Gladys

**URL:** <https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081>\
**Category:** Configuration\
**Created:** [September 12, 2024, 9:35am UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081 "2024-09-12T09:35:58Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [September 13, 2024, 8:55am UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/21 "2024-09-13T08:55:44Z")

</div>

Quick question @pierre-gilles for a future dev related notably to this specific issue. Is there a way to know / make the distinction on Gladys restart whether the shutdown was due to a crash?  
We could then easily create a task «&nbsp;Gladys restart after crash&nbsp;» with the last 10 logs, for example?

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [September 13, 2024, 9:02am UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/22 "2024-09-13T09:02:47Z")

</div>

That’s possible, yes!

Honestly, real crashes in Gladys are very, very, very rare — often the restarts are more due to external issues, even a host reboot, so I see little point in spending time on that ^^

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [September 13, 2024, 12:20pm UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/23 "2024-09-13T12:20:32Z")

</div>

Ok I’ll do that thanks for the info, and for your answers  
Have a good day

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [September 14, 2024, 10:39am UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/24 "2024-09-14T10:39:36Z")

</div>

Hello @pierre-gilles  
Gladys just restarted unexpectedly.  
I’m giving you the Pastebin link for the logs: [pi@gladys:~ $ docker logs gladys at BroadlinkHandler.setValue (/src/server/ - Pastebin.com](https://pastebin.com/P0HBs5v2)  
Let me know if you can access my logs.  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [September 14, 2024, 10:46am UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/25 "2024-09-14T10:46:23Z")

</div>

Hi @Psoy !

You’re not running the image for the correct architecture.

If you run:

```auto
docker image inspect gladysassistant/gladys:v4

```

I think on the «&nbsp;Architecture&nbsp;» line you’ll see the wrong architecture.

(I think you’re running 32-bit instead of 64-bit)

@ProtZ had the same issue here :

> [@Gladys Assistant 4.45 : DuckDB, une révolution dans Gladys ! high\_voltage](https://community.gladysassistant.com/t/gladys-assistant-4-45-duckdb-une-revolution-dans-gladys/9058/91?u=pierre-gilles):
>
> @pierre-gilles t’es un génie ! c’était bien l’image téléchargée qui été en 32bits. Je ne sais pas l’expliquer pour le moment (j’avais bien clean tout avant, l’install est hyper récente, …) Pour régler le problème, j’ai ajouté dans le service de mon docker-compose.yml : platform: linux/arm64 Mille fois merci

One solution: Stop Gladys, remove the image, then pull the image specifying the platform :

> <https://stackoverflow.com/questions/60114854/pull-docker-image-for-different-architecture>

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [September 14, 2024, 11:39am UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/26 "2024-09-14T11:39:19Z")

</div>

> [@pierre-gilles](#):
>
> (I think you’re running the 32-bit version instead of the 64-bit)

ah yes that’s true I remember now that with the Bluetooth problem I had, I switched to 32-bit. Since then I’m on an Rpi 4 and I haven’t changed anything. Do I need to start from scratch, is that it?  
I take advantage of this post to ask, is the Beelink more powerful than an RPi4?

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [September 14, 2024, 11:43am UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/27 "2024-09-14T11:43:52Z")

</div>

> [@Psoy](#):
>
> Do I need to start from scratch, is that it?

It depends on whether it’s just the Gladys container that’s 32-bit or if it’s your whole system

In any case, you can import your DB into your new system ^^

Yes, the Beelink is light-years ahead of a Raspberry Pi 4 ^^ especially when it comes to the disk, actually!

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [September 14, 2024, 11:46am UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/28 "2024-09-14T11:46:59Z")

</div>

I downloaded the Gladys image in 32-bit from the site, but do I need to reformat my SSD to put the image back to 64-bit and then restore my database (DB) with Gladys Plus?

Since I already have a monthly Gladys Plus subscription, can I take advantage of Beelink’s offer?

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [September 14, 2024, 12:19pm UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/29 "2024-09-14T12:19:44Z")

</div>

> [@Psoy](#):
>
> I downloaded the Gladys image in 32-bit from the site, but do I have to reformat my SSD to put the image back in 64-bit and then restore my DB with Gladys Plus?

Yes, that’s correct!

For the Beelink offer, yes you can take advantage of it! Are you on a monthly or annual plan currently on Gladys Plus? Because you’ll need to cancel your old subscription.

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [September 14, 2024, 12:22pm UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/30 "2024-09-14T12:22:04Z")

</div>

[quote="

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [September 14, 2024, 12:33pm UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/31 "2024-09-14T12:33:21Z")

</div>

If I cancel my subscription to Gladys, will I lose my backups?  
If so, how do I reinstall everything on the Beelink?

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [September 14, 2024, 3:08pm UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/32 "2024-09-14T15:08:34Z")

</div>

> [@\\"Psoy](#):
>
> If I cancel my Gladys Plus subscription, will I lose my backups?

No,

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [September 14, 2024, 8:41pm UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/33 "2024-09-14T20:41:10Z")

</div>

> [@pierre-gilles](#):
>
> No, if you want I can transfer your account from the old one to the new one

As for the account, I’m fine with that,  
I will order the Beelink tomorrow. My subscription ends tomorrow. When I enter my email on the order page it asks me to manage my subscription, so tomorrow it will be different, I hope.  
Have a nice evening

---

<div class="post-metadata">

**Author:** ![bjm](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/bjm/32/1753_2.png) [@bjm](https://community.gladysassistant.com/u/bjm)\
**Post date:** [September 14, 2024, 10:44pm UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/34 "2024-09-14T22:44:02Z")

</div>

> [@Psoy](#):
>
> Since I already have a monthly Gladys+ subscription, can I take advantage of the Beelink offer?

@pierre-gilles My Pi is starting to get on my nerves, I have an annual Gladys

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [September 15, 2024, 6:17am UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/35 "2024-09-15T06:17:22Z")

</div>

> [@Psoy](#):
>
> I will order the beelink tomorrow. My subscription ends tomorrow.

Ok keep me posted! 🙂 I’ll take care of migrating the subscription

> [@bjm](#):
>
> My Pi is starting to get on my nerves, I have an annual Gladys+ subscription. I think I’ll place the order tomorrow!

Very good choice haha, if you have a lot of time left I can refund you pro rata if you want 🙂

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [September 15, 2024, 6:28am UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/36 "2024-09-15T06:28:22Z")

</div>

hello @pierre-gilles  
I want to order, but when I enter my email address the site switches to managing my Gladys Plus account and no longer gives me access to making a purchase. I canceled my account yesterday and it ends today, but for now I’m stuck.

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [September 15, 2024, 6:30am UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/37 "2024-09-15T06:30:02Z")

</div>

@Psoy I’ve just canceled the subscription on my end! Is it okay now?

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [September 15, 2024, 6:31am UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/38 "2024-09-15T06:31:11Z")

</div>

Thank you, I’m ordering.

---

<div class="post-metadata">

**Author:** ![Psoy](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/psoy/32/9005_2.png) [@Psoy](https://community.gladysassistant.com/u/Psoy)\
**Post date:** [September 15, 2024, 6:34am UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/39 "2024-09-15T06:34:47Z")

</div>

There you go, it’s done

> [@pierre-gilles](#):
>
> No, if you want I can transfer your account from the old one to the new one

you can transfer

thanks to you  
have a good day

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [September 15, 2024, 6:36am UTC](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081/40 "2024-09-15T06:36:31Z")

</div>

Thank you @Psoy, it’s been forwarded 🙂 You can use the same Gladys Plus account, so it doesn’t change anything for you.

I’ll email you all the information for the mini-PC delivery and the access to the training!

Thank you for your trust!

[Previous page](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081.md?page=1)

[Next page](https://community.gladysassistant.com/t/redemarrage-de-gladys-intempestif/9081.md?page=3)
