# Mise à jour impossible - immich

**URL:** https://forum.yunohost.org/t/mise-a-jour-impossible-immich/39959
**Category:** Support apps
**Tags:** immich, bug, french
**Created:** [September 7, 2025, 6:10pm UTC](https://forum.yunohost.org/t/mise-a-jour-impossible-immich/39959 "2025-09-07T18:10:19Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![vthom56](https://forum.yunohost.org/user_avatar/forum.yunohost.org/vthom56/32/11196_2.png) [@vthom56](https://forum.yunohost.org/u/vthom56)
#### Post date: [September 7, 2025, 6:10pm UTC](https://forum.yunohost.org/t/mise-a-jour-impossible-immich/39959/1 "2025-09-07T18:10:19Z")

</div>

**What type of hardware are you using** : VPS bought online  
**What YunoHost version are you running** : 12.1.17.1  
**How are you able to access your server** : SSH  
**Are you in a special context or did you perform specific tweaking on your YunoHost instance ?** : Non

### Describe your issue

Bonjour,

une mise à jour d’immich 1.140.1-ynh2 est proposée mais ne veut pas se faire correctement, plante, et restaure la version précédente.

Problème de mémoire ?  
J’ai mis le log en lien.

Merci d’avance pour votre aide !

### Share relevant logs or error messages

[https://paste.yunohost.org/raw/aruvetidaj](https://paste.yunohost.org/raw/aruvetidaj)

---

<div class="post-metadata">

### Author: ![ewilly](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ewilly/32/12681_2.png) [@ewilly](https://forum.yunohost.org/u/ewilly)
#### Post date: [September 7, 2025, 6:44pm UTC](https://forum.yunohost.org/t/mise-a-jour-impossible-immich/39959/2 "2025-09-07T18:44:52Z")

</div>

`FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory` means a lack of memory on your system. Perhaps close temporary some service or add swap…

---

<div class="post-metadata">

### Author: ![vthom56](https://forum.yunohost.org/user_avatar/forum.yunohost.org/vthom56/32/11196_2.png) [@vthom56](https://forum.yunohost.org/u/vthom56)
#### Post date: [September 7, 2025, 6:50pm UTC](https://forum.yunohost.org/t/mise-a-jour-impossible-immich/39959/3 "2025-09-07T18:50:28Z")

</div>

My vps has 8 gb, it should be enough, no ? Is it possible to allocate more memory to immich ?

---

<div class="post-metadata">

### Author: ![ewilly](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ewilly/32/12681_2.png) [@ewilly](https://forum.yunohost.org/u/ewilly)
#### Post date: [September 7, 2025, 6:58pm UTC](https://forum.yunohost.org/t/mise-a-jour-impossible-immich/39959/4 "2025-09-07T18:58:49Z")

</div>

8G is enough but in the log less than 2G are free (`free_ram_swap=1583`)  
Allocating RAM per app/process is not possible.

---

<div class="post-metadata">

### Author: ![vthom56](https://forum.yunohost.org/user_avatar/forum.yunohost.org/vthom56/32/11196_2.png) [@vthom56](https://forum.yunohost.org/u/vthom56)
#### Post date: [September 7, 2025, 7:05pm UTC](https://forum.yunohost.org/t/mise-a-jour-impossible-immich/39959/5 "2025-09-07T19:05:59Z")

</div>

Which service can I temporary close ? One of installed apps ? Or some other program ? And how can I close it (sorry for my noob’s questions)

---

<div class="post-metadata">

### Author: ![ewilly](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ewilly/32/12681_2.png) [@ewilly](https://forum.yunohost.org/u/ewilly)
#### Post date: [September 7, 2025, 7:16pm UTC](https://forum.yunohost.org/t/mise-a-jour-impossible-immich/39959/6 "2025-09-07T19:16:51Z")

</div>

Easiest way is to add some swap, see here [Creation fichier Swap / After install - #5 by Qprq](https://forum.yunohost.org/t/creation-fichier-swap-after-install/20331/5)

---

<div class="post-metadata">

### Author: ![ewilly](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ewilly/32/12681_2.png) [@ewilly](https://forum.yunohost.org/u/ewilly)
#### Post date: [September 8, 2025, 1:42pm UTC](https://forum.yunohost.org/t/mise-a-jour-impossible-immich/39959/7 "2025-09-08T13:42:28Z")

</div>

Please try with version `1.140.1~ynh3` which automatically add swap if needed and let me know.

---

<div class="post-metadata">

### Author: ![vthom56](https://forum.yunohost.org/user_avatar/forum.yunohost.org/vthom56/32/11196_2.png) [@vthom56](https://forum.yunohost.org/u/vthom56)
#### Post date: [September 8, 2025, 2:13pm UTC](https://forum.yunohost.org/t/mise-a-jour-impossible-immich/39959/8 "2025-09-08T14:13:03Z")

</div>

Bad luck, not only did the installation crash even after creating a swap, but the restoration of the old version could not be done so well that I no longer have immich at all…

---

<div class="post-metadata">

### Author: ![ewilly](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ewilly/32/12681_2.png) [@ewilly](https://forum.yunohost.org/u/ewilly)
#### Post date: [September 8, 2025, 2:59pm UTC](https://forum.yunohost.org/t/mise-a-jour-impossible-immich/39959/9 "2025-09-08T14:59:27Z")

</div>

Do you have the log ?

---

<div class="post-metadata">

### Author: ![vthom56](https://forum.yunohost.org/user_avatar/forum.yunohost.org/vthom56/32/11196_2.png) [@vthom56](https://forum.yunohost.org/u/vthom56)
#### Post date: [September 8, 2025, 3:05pm UTC](https://forum.yunohost.org/t/mise-a-jour-impossible-immich/39959/10 "2025-09-08T15:05:32Z")

</div>

Here it is 🙂  
[https://paste.yunohost.org/raw/afedogaqiy](https://paste.yunohost.org/raw/afedogaqiy)

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [October 8, 2025, 3:05pm UTC](https://forum.yunohost.org/t/mise-a-jour-impossible-immich/39959/11 "2025-10-08T15:05:45Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
