Immich fails to update/restore

What app is this about, and its version: Immich
What YunoHost version are you running: 12.1.39
What type of hardware are you using: Old laptop or computer

Describe your issue

Went to upgrade Immich. Upgrade failed. Went to run it again and the app was gone completely. Went to restore backup. Also failed :frowning: All my data is gone.

Share relevant logs or error messages

Upgrade log: https://paste.yunohost.org/raw/ujixufanuz

Restore log: https://paste.yunohost.org/raw/menofeporo

One additional note: Immich is missing from the list of applications tags. This causes my entire post to get erased if it’s not included, and is very frustrating. Please get it added.

Upgrade failed because the upgrade process was launch twice in parallel, according to log:

  1. 2026-02-02 11:39:57,856: INFO - Updating sources...
  2. 2026-02-02 11:51:44,596: INFO - Updating sources...

The second upgrade process launch a backup of what was done by the first upgrade process which was still on going and so the backup is partial.
Did you interrupt the first one ? Did you deliberately relaunch the upgrade at 11:51?

Normally launching two yunohost commands in parallel is not possible, but it happened…

You have to reinstall immich and restore the db backup by following the instruction of the app admin page in yunohost.

Thank you. Lately I don’t know what’s going on. I seem to be periodically losing communication with the server, so I don’t get any feedback about what it’s doing or what it’s done.

Failed to install: https://paste.yunohost.org/raw/guxumavinu

That’s due to a memory issue (see JavaScript heap out of memory). When you install/upgrade immich, you should avoid any other heavy task on the server.

That seems very unlikely, as I have 32GB memory on this machine, and I’ve never seen it go >10% utilization.

Look at the log 2026-02-03 09:35:03,813: DEBUG - ++ local free_ram=3070.