Immich not upgrading from 1.126.1~ynh2 to 1.129.0~ynh1

I have searched the forum for similar issues

on

This category is for issues regarding specific apps, NOT general issues with YunoHost.

on

This form is written in English :united_kingdom: but feel free to write in French :france: if you’re more comfortable!

on

What type of hardware are you using

Old laptop or computer

What YunoHost version are you running

12.0.11 stable

What app is this about

Immich (immich) from 1.126.1~ynh2 to 1.129.0~ynh1

Describe your issue

Immich fails to upgrade to 1.129.0~ynh1 and now the Immich 1.126.1~ynh2 is unreachable. Full disclosure after doing a full backup of Immich I attempted a fix with the aid of ChatGPT without success. I reverted to the backup when I realised it was too complex an issue. Also all photos are stored on my Nextcloud server which Immich has read only access to. So nothing will be lost if a more drastic solution is needed. I have included the current Immich will not run logs in case that is relevant.

Share relevant logs or error messages

Current install

Welcome to nginx!

If you see this page, the nginx web server is successfully installed and working. Further configuration is required.

For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.

Thank you for using nginx.

Failed upgrade - original problem
https://paste.yunohost.org/raw/buwenofemu

Mmmh, asking a bullshit brainless sentence generator for advice might not be a great idea. :face_in_clouds:

I see in the second log that it fails to connect to the database. Can you make sure all your other services are running, especially PostgreSQL’s?

You copy and pasted the default NGINX page, is it what you get when you open your Immich page?

Thanks for the response,

Just to clarify:

immich 1.126.1~ynh2 - was running but not after attempting upgrade. It now gives the nginx page error. I’ve also attempted to connect to it directly without success. I included this in an attempt to give as much information as possible.

attempted upgrade to 1.129.0~ynh1 problem
here’s a screenshot of the current services.

Regarding ChatGPT I did a backup before attempting anything with it. At the stage I used it neither the old version of immich or the new version were working or installable. I rolled it back using the backup when I realised it wasn’t going to help.

Backups are always wise :slight_smile:

Try force-upgrading the app? (sudo yunohost app upgrade immich --force)

1 Like

The upgrade issue is followed here : npm issue during latest upgrade when building web · Issue #185 · YunoHost-Apps/immich_ynh · GitHub
The issue is not due to the package itself but due to the nodejs helper. An issue has been raised here : Nodejs helpers not updating anymore to last minor version · Issue #2554 · YunoHost/issues · GitHub

Forcing an upgrade without previously modifying the the destination of the link
/opt/node_n/n/versions/node/22 will failed.

Regarding the restoration, you only share the log of the upgrade failing but not the automatic restauration which follow. Do you have it?

As @tituspijean mentioned, your issue is due to a connection failure with the db. Fisrt things is perhaps to check the content of the env file in /var/www/immich.

2 Likes

here is the log from command line

login as: root
root@42's password:
Linux druss.nohope.me 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (20          25-02-07) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Mar 11 11:46:44 2025 from 192.168.42.4
root@bob:~# sudo yunohost app upgrade immich --force
Info: Now upgrading immich…
Info: Creating a safety backup prior to the upgrade
Info: Collecting files to be backed up for immich…
Info: Declaring files to be backed up...
Info: /home/yunohost.app/immich will not be saved, because 'BACKUP_CORE_ONLY' is           set.
Info: /var/log/immich/ will not be saved, because 'BACKUP_CORE_ONLY' is set.
Info: Backing up a PostgreSQL database...
Info: Backup script completed for immich. (YunoHost will then actually copy those fil     es to the archive).
Info: Creating a backup archive from the collected files…
Info: The archive will contain about 3.1GB of data.
Success! Backup created: immich-pre-upgrade2
Success! Backup deleted: immich-pre-upgrade1
Info: Updating sources...
Info: Updating ports...
Info: Updating system_user...
Info: Updating install_dir...
Info: Updating data_dir...
Info: Updating permissions...
Info: Updating apt...
Warning: W: http://apt.postgresql.org/pub/repos/apt/dists/bookworm-pgdg/InRelease: Ke     y is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION      section in apt-key(8) for details.
Warning: W: Target Packages (main/binary-amd64/Packages) is configured multiple times      in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Packages (main/binary-all/Packages) is configured multiple times i     n /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Translations (main/i18n/Translation-en) is configured multiple tim     es in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Packages (main/binary-amd64/Packages) is configured multiple times      in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Packages (main/binary-all/Packages) is configured multiple times i     n /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Translations (main/i18n/Translation-en) is configured multiple tim     es in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Packages (main/binary-amd64/Packages) is configured multiple times      in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Packages (main/binary-all/Packages) is configured multiple times i     n /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Translations (main/i18n/Translation-en) is configured multiple tim     es in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Packages (main/binary-amd64/Packages) is configured multiple times      in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Packages (main/binary-all/Packages) is configured multiple times i     n /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Translations (main/i18n/Translation-en) is configured multiple tim     es in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: http://apt.postgresql.org/pub/repos/apt/dists/bookworm-pgdg/InRelease: Ke     y is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION      section in apt-key(8) for details.
Info: Updating database...
Info: [++..................] > Ensuring downward compatibility...
Info: [##++................] > Stopping immich's systemd service...
Info: [####++..............] > Upgrading source files...
Info: '/var/www/immich/source' wasn't deleted because it doesn't exist.
Info: '/var/www/immich/ffmpeg-static' wasn't deleted because it doesn't exist.
Info: [######++............] > Installing nodejs...
Info: [########++..........] > Udpating a PostgreSQL database...
Info: [##########++........] > Making install...
Error: Could not upgrade immich: An error occurred inside the app upgrade script
Info: The operation 'Upgrade the 'immich' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20250312-075440-app_upgrade-immich' to get help
Warning: Here's an extract of the logs before the crash. It might help debugging the error:
Info: DEBUG - added 4 packages, and audited 5 packages in 956ms
Info: DEBUG -
Info: DEBUG - found 0 vulnerabilities
Info: DEBUG - + ynh_hide_warnings npm run build
Info: DEBUG - + npm run build
Info: DEBUG -
Info: DEBUG - > @immich/sdk@1.129.0 build
Info: DEBUG - > tsc
Info: DEBUG -
Info: DEBUG - + cd /var/www/immich/source/web
Info: DEBUG - + ynh_hide_warnings npm ci
Info: DEBUG - + npm ci
Info: DEBUG - npm error code EBADENGINE
Info: DEBUG - npm error engine Unsupported engine
Info: DEBUG - npm error engine Not compatible with your version of node/npm: eslint-plugin-svelte@3.0.2
Info: DEBUG - npm error notsup Not compatible with your version of node/npm: eslint-plugin-svelte@3.0.2
Info: DEBUG - npm error notsup Required: {"node":"^18.20.4 || ^20.18.0 || >=22.10.0"}
Info: DEBUG - npm error notsup Actual:   {"npm":"10.8.2","node":"v22.5.1"}
Info: DEBUG - npm error A complete log of this run can be found in: /root/.npm/_logs/2025-03-12T07_57_41_461Z-debug-0.log
Info: DEBUG - + ynh_exit_properly
Warning: Upgrade failed ... attempting to restore the safety backup (Yunohost first need to remove the app for this) ...
Info: Removing immich…
Info: [++++++++++..........] > Removing system configurations related to immich...
Info: [####################] > Removal of immich completed
Info: Deprovisioning database...
Info: Deprovisioning apt...
Info: Deprovisioning permissions...
Info: Deprovisioning data_dir...
Info: Deprovisioning install_dir...
Info: Deprovisioning system_user...
Info: Deprovisioning ports...
Info: Deprovisioning sources...
Success! immich uninstalled
Info: Preparing archive for restoration…
Info: Restoring immich…
Info: Provisioning sources...
Info: Provisioning ports...
Info: Provisioning system_user...
Info: Provisioning install_dir...
Info: Provisioning data_dir...
Info: Provisioning permissions...
Info: Provisioning apt...
Warning: W: http://apt.postgresql.org/pub/repos/apt/dists/bookworm-pgdg/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Warning: W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: http://apt.postgresql.org/pub/repos/apt/dists/bookworm-pgdg/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Info: Provisioning database...
Info: [++..................] > Restoring the app main directory...
Info: [##+++...............] > Restoring the data directory...
Info: Skipping /home/yunohost.app/immich which doesn't exists in the archive, probably because restoring from a safety-backup-before-upgrade
Info: [#####+++............] > Reinstalling nodejs...
Info: [########+++.........] > Restoring the database...
root@42's password:
Linux druss.nohope.me 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (20          25-02-07) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Mar 11 11:46:44 2025 from 192.168.42.4
root@bob:~# sudo yunohost app upgrade immich --force
Info: Now upgrading immich…
Info: Creating a safety backup prior to the upgrade
Info: Collecting files to be backed up for immich…
Info: Declaring files to be backed up...
Info: /home/yunohost.app/immich will not be saved, because 'BACKUP_CORE_ONLY' is           set.
Info: /var/log/immich/ will not be saved, because 'BACKUP_CORE_ONLY' is set.
Info: Backing up a PostgreSQL database...
Info: Backup script completed for immich. (YunoHost will then actually copy those fil     es to the archive).
Info: Creating a backup archive from the collected files…
Info: The archive will contain about 3.1GB of data.
Success! Backup created: immich-pre-upgrade2
Success! Backup deleted: immich-pre-upgrade1
Info: Updating sources...
Info: Updating ports...
Info: Updating system_user...
Info: Updating install_dir...
Info: Updating data_dir...
Info: Updating permissions...
Info: Updating apt...
Warning: W: http://apt.postgresql.org/pub/repos/apt/dists/bookworm-pgdg/InRelease: Ke     y is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION      section in apt-key(8) for details.
Warning: W: Target Packages (main/binary-amd64/Packages) is configured multiple times      in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Packages (main/binary-all/Packages) is configured multiple times i     n /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Translations (main/i18n/Translation-en) is configured multiple tim     es in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Packages (main/binary-amd64/Packages) is configured multiple times      in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Packages (main/binary-all/Packages) is configured multiple times i     n /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Translations (main/i18n/Translation-en) is configured multiple tim     es in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Packages (main/binary-amd64/Packages) is configured multiple times      in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Packages (main/binary-all/Packages) is configured multiple times i     n /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Translations (main/i18n/Translation-en) is configured multiple tim     es in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Packages (main/binary-amd64/Packages) is configured multiple times      in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Packages (main/binary-all/Packages) is configured multiple times i     n /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: Target Translations (main/i18n/Translation-en) is configured multiple tim     es in /etc/apt/sources.list.d/immich.list:1 and /etc/apt/sources.list.d/pgdg.list:1
Warning: W: http://apt.postgresql.org/pub/repos/apt/dists/bookworm-pgdg/InRelease: Ke     y is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION      section in apt-key(8) for details.
Info: Updating database...
Info: [++..................] > Ensuring downward compatibility...
Info: [##++................] > Stopping immich's systemd service...
Info: [####++

thank you. here is the restore log

https://paste.yunohost.org/raw/betazefide

ok everything ssems ok.
Let’s look at postgresql service.
Whats the result of:

  • sudo systemctl status postgresql.service
  • sudo systemctl status postgresql@16-main.service

Just a clarification or understanding question if I may? If the problem is the nodeJS and it’s under investigation to fix would I be better to wait for the patch to be applied and would that then fix the issue? thank you for your assistance and I’ll post the results of those last two commands as soon as I get home

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Mar 14 16:55:02 2025 from 192.168.50.4
root@druss:~# sudo systemctl status postgresql.service
â—Ź postgresql.service - PostgreSQL RDBMS
     Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; preset: e>
     Active: active (exited) since Tue 2025-03-11 14:11:06 AEDT; 3 days ago
   Main PID: 326944 (code=exited, status=0/SUCCESS)
        CPU: 1ms

Mar 11 14:11:06 42.nohost.me systemd[1]: Starting postgresql.service - Postg>
Mar 11 14:11:06 42.nohost.me systemd[1]: Finished postgresql.service - Postg>
...skipping...
â—Ź postgresql.service - PostgreSQL RDBMS
     Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; preset: e>
     Active: active (exited) since Tue 2025-03-11 14:11:06 AEDT; 3 days ago
   Main PID: 326944 (code=exited, status=0/SUCCESS)
        CPU: 1ms

Mar 11 14:11:06 42.nohost.me systemd[1]: Starting postgresql.service - Postg>
Mar 11 14:11:06 42.nohost.me systemd[1]: Finished postgresql.service - Postg>
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
root@42:~# sudo systemctl status postgresql@16-main.service
â—Ź postgresql@16-main.service - PostgreSQL Cluster 16-main
     Loaded: loaded (/lib/systemd/system/postgresql@.service; enabled-runtime; >
     Active: active (running) since Tue 2025-03-11 14:11:06 AEDT; 3 days ago
   Main PID: 326907 (postgres)
      Tasks: 6 (limit: 9469)
     Memory: 189.4M
        CPU: 38min 59.867s
     CGroup: /system.slice/system-postgresql.slice/postgresql@16-main.service
             ├─326907 /usr/lib/postgresql/16/bin/postgres -D /var/lib/postgresq>
             ├─326914 "postgres: 16/main: checkpointer "
             ├─326915 "postgres: 16/main: background writer "
             ├─326917 "postgres: 16/main: walwriter "
             ├─326918 "postgres: 16/main: autovacuum launcher "
             └─326919 "postgres: 16/main: logical replication launcher "

Mar 11 14:11:03 42.nohost.me systemd[1]: Starting postgresql@16-main.service>
Mar 11 14:11:06 dr42uss.nohost.me systemd[1]: Started postgresql@16-main.service >
lines 1-17/17 (END)

ok on that side too
What’s the content of cat /var/www/immich/env ?

root@42:~# cat /var/www/immich/env
## General
NODE_ENV=production
UPLOAD_LOCATION=/home/yunohost.app/immich
IMMICH_MEDIA_LOCATION=/home/yunohost.app/immich
IMMICH_WEB_ROOT=/var/www/immich/app/www
IMMICH_VERSION=release

## Ports
IMMICH_HOST=127.0.0.1
IMMICH_PORT=2283
IMMICH_MACHINE_LEARNING_URL=http://127.0.0.1:3003

## Database
DB_HOSTNAME=127.0.0.1
DB_PORT=5434
DB_USERNAME=immich
DB_PASSWORD=NqOR7cQxWjE87Zl5h4uMO5Ra
DB_DATABASE_NAME=immich
DB_VECTOR_EXTENSION=pgvector

## Redis
REDIS_HOSTNAME=127.0.0.1

## Third-party information
IMMICH_THIRD_PARTY_SOURCE_URL=https://github.com/YunoHost-Apps/immich_ynh/
IMMICH_THIRD_PARTY_BUG_FEATURE_URL=https://github.com/YunoHost-Apps/immich_ynh/issues
root@42:~#

seems fine too.
And now LC_ALL=C sudo --login --user=postgres PGUSER=postgres PGPASSWORD=$(cat /etc/yunohost/psql) psql --cluster="16/main" --tuples-only --no-align --dbname=postgres --command="SELECT datname FROM pg_database WHERE datistemplate = false;"

root@42:~# LC_ALL=C sudo --login --user=postgres PGUSER=postgres PGPASSWORD=$(cat /etc/yunohost/psql) psql --cluster="16/main" --tuples-only --no-align --dbname=postgres --command="SELECT datname FROM pg_database WHERE datistemplate = false;"
postgres
immich
root@druss:~#

fine too…
it could be perhaps easier to help your system to update or reinstall
whats the output of:

  • sudo yunohost tools shell --command "from yunohost.app import app_list; print(list(filter(lambda x: x['version'] != None, [{'id': app['id'], 'version': app['settings'].get('nodejs_version')} for app in app_list(full=True)['apps']])))"
  • ls -ali /opt/node_n/n/versions/node/

Hi and thank you for your time. I think you are correct in that the system still needs to be able to be updated at the end of all this. Here is the output of the last two commands.

root@42:~# sudo yunohost tools shell --command "from yunohost.app import app_list; print(list(filter(lambda x: x['version'] != None, [{'id': app['id'], 'version': app['settings'].get('nodejs_version')} for app in app_list(full=True)['apps']])))"
[{'id': 'audiobookshelf', 'version': '22'}, {'id': 'borgwarehouse', 'version': '20'}, {'id': 'immich', 'version': '22'}, {'id': 'trilium', 'version': '18'}]
root@42:~# ls -ali /opt/node_n/n/versions/node/
total 48
 524351 drwxr-xr-x 12 root root 4096 Mar 10 21:51 .
 524350 drwxr-xr-x  3 root root 4096 Aug  6  2024 ..
 524825 lrwxrwxrwx  1 root root   35 Feb 27 16:22 18 -> /opt/node_n/n/versions/node/18.20.7
3544775 drwxr-xr-x  6 root root 4096 Feb 27 16:22 18.20.7
 524778 lrwxrwxrwx  1 root root   35 Feb 15 12:03 20 -> /opt/node_n/n/versions/node/20.18.3
 533277 drwxr-xr-x  6 root root 4096 Mar 10 21:51 20.18.3
 537313 lrwxrwxrwx  1 root root   34 Aug  6  2024 22 -> /opt/node_n/n/versions/node/22.5.1
2098550 drwxr-xr-x  6 root root 4096 Dec 14 21:37 22.12.0
1703939 drwxrwxrwx  6 root root 4096 Jan 28 13:06 22.13.1
3419008 drwxr-xr-x  6 root root 4096 Feb 14 13:07 22.14.0
 524352 drwxr-xr-x  6 root root 4096 Aug  6  2024 22.5.1
1310905 drwxr-xr-x  6 root root 4096 Aug  9  2024 22.6.0
1572925 drwxr-xr-x  6 root root 4096 Sep  1  2024 22.7.0
1572957 drwxr-xr-x  6 root root 4096 Sep  5  2024 22.8.0
1588942 drwxr-xr-x  6 root root 4096 Sep 29 20:18 22.9.0
root@42:~#

You can manually change the link with the following command: sudo ln --symbolic --force --no-target-directory /opt/node_n/n/versions/node/22.14.0 /opt/node_n/n/versions/node/22
Once done, you could reinstall immich.
As you have audiobookshelf which use node 22 too, check if that app is still normally working, else you should do a force upgrade of it.

Sussess! Thank you for all your work and time! That has worked and I checked that my audio bookshelf is working as well which it is.

People like you keep the dream of YH alive
Best wishes,

U

1 Like