Mise à jour impossible - immich

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

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…

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

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

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)

Easiest way is to add some swap, see here Creation fichier Swap / After install - #5 by Qprq

1 Like

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

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…

Do you have the log ?

Here it is :slight_smile:
https://paste.yunohost.org/raw/afedogaqiy

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