Installation of Immish failing

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: last stable version
What app is this about: immish

Describe your issue

Installation fails because of dependencies not solved

Share relevant logs or error messages

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

Check for YunoHost updates first and then retry, it should help

I just checked and no updates are available (I’m using the stable version of YunoHost 12.1.20 (stable).), and I did the update yesterday.

Yes, it’s only about updating the list of dependecies.

I did a fresh installation of YunoHost 12.1.20 and the installation of Immich 1.140 was successful.

But the upgrade to 1.141.1~ynh1 failed, as well as a fresh installation of Immich.

Is there a way to install the older version of Immich (1.140) again?

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

yunohost app remove immich

yunohost app install immich

Info: immich wird installiert…
Info: Provisioning sources...
Info: Provisioning system_user...
Info: Provisioning install_dir...
Info: Provisioning data_dir...
Info: Provisioning permissions...
Info: Provisioning ports...
Info: Provisioning apt...
Warnung: E: Packages need to be removed but remove is disabled.
Warnung: Package libcapture-tiny-perl is not available, but is referred to by another package.
Warnung: This may mean that the package is missing, has been obsoleted, or
Warnung: is only available from another source
Warnung: Package libfile-which-perl is not available, but is referred to by another package.
Warnung: This may mean that the package is missing, has been obsoleted, or
Warnung: is only available from another source
Warnung: Package libfile-chdir-perl is not available, but is referred to by another package.
Warnung: This may mean that the package is missing, has been obsoleted, or
Warnung: is only available from another source
Warnung: Package libpkgconfig-perl is not available, but is referred to by another package.
Warnung: This may mean that the package is missing, has been obsoleted, or
Warnung: is only available from another source
Warnung: Package libffi-checklib-perl is not available, but is referred to by another package.
Warnung: This may mean that the package is missing, has been obsoleted, or
Warnung: is only available from another source
Warnung: Package libtest-warnings-perl is not available, but is referred to by another package.
Warnung: This may mean that the package is missing, has been obsoleted, or
Warnung: is only available from another source
Warnung: Package libtest-fatal-perl is not available, but is referred to by another package.
Warnung: This may mean that the package is missing, has been obsoleted, or
Warnung: is only available from another source
Warnung: Package libtest-needs-perl is not available, but is referred to by another package.
Warnung: This may mean that the package is missing, has been obsoleted, or
Warnung: is only available from another source
Warnung: Package libtest2-suite-perl is not available, but is referred to by another package.
Warnung: This may mean that the package is missing, has been obsoleted, or
Warnung: is only available from another source
Warnung: Package libsort-versions-perl is not available, but is referred to by another package.
Warnung: This may mean that the package is missing, has been obsoleted, or
Warnung: is only available from another source
Warnung: Package libpath-tiny-perl is not available, but is referred to by another package.
Warnung: This may mean that the package is missing, has been obsoleted, or
Warnung: is only available from another source
Warnung: Package libterm-table-perl is not available, but is referred to by another package.
Warnung: This may mean that the package is missing, has been obsoleted, or
Warnung: is only available from another source
Warnung: Package libany-uri-escape-perl is not available, but is referred to by another package.
Warnung: This may mean that the package is missing, has been obsoleted, or
Warnung: is only available from another source
Warnung: Package libfile-slurper-perl is not available, but is referred to by another package.
Warnung: This may mean that the package is missing, has been obsoleted, or
Warnung: is only available from another source
Warnung: Package yq is not available, but is referred to by another package.
Warnung: This may mean that the package is missing, has been obsoleted, or
Warnung: is only available from another source
Warnung: E: Package 'libcapture-tiny-perl' has no installation candidate
Warnung: E: Package 'libfile-which-perl' has no installation candidate
Warnung: E: Package 'libfile-chdir-perl' has no installation candidate
Warnung: E: Package 'libpkgconfig-perl' has no installation candidate
Warnung: E: Package 'libffi-checklib-perl' has no installation candidate
Warnung: E: Package 'libtest-warnings-perl' has no installation candidate
Warnung: E: Package 'libtest-fatal-perl' has no installation candidate
Warnung: E: Package 'libtest-needs-perl' has no installation candidate
Warnung: E: Package 'libtest2-suite-perl' has no installation candidate
Warnung: E: Package 'libsort-versions-perl' has no installation candidate
Warnung: E: Package 'libpath-tiny-perl' has no installation candidate
Warnung: E: Package 'libterm-table-perl' has no installation candidate
Warnung: E: Package 'libany-uri-escape-perl' has no installation candidate
Warnung: E: Package 'libfile-slurper-perl' has no installation candidate
Warnung: E: Package 'yq' has no installation candidate
Warnung: Unable to install apt dependencies
Fehler: provision_or_update failed for apt : An error occured inside the script snippet : Unable to install apt dependencies
Info: Der Vorgang'Installiere die Applikation 'immich'' konnte nicht abgeschlossen werden. Bitte teile das vollständige Protokoll dieser Operation mit dem Befehl 'yunohost log share 20250910-104444-app_install-immich', um Hilfe zu erhalten
Warnung: Here's an extract of the logs before the crash. It might help debugging the error:
Info: WARNING - is only available from another source
Info: DEBUG -
Info: WARNING - E: Package 'libcapture-tiny-perl' has no installation candidate
Info: WARNING - E: Package 'libfile-which-perl' has no installation candidate
Info: WARNING - E: Package 'libfile-chdir-perl' has no installation candidate
Info: WARNING - E: Package 'libpkgconfig-perl' has no installation candidate
Info: WARNING - E: Package 'libffi-checklib-perl' has no installation candidate
Info: WARNING - E: Package 'libtest-warnings-perl' has no installation candidate
Info: WARNING - E: Package 'libtest-fatal-perl' has no installation candidate
Info: WARNING - E: Package 'libtest-needs-perl' has no installation candidate
Info: WARNING - E: Package 'libtest2-suite-perl' has no installation candidate
Info: WARNING - E: Package 'libsort-versions-perl' has no installation candidate
Info: WARNING - E: Package 'libpath-tiny-perl' has no installation candidate
Info: WARNING - E: Package 'libterm-table-perl' has no installation candidate
Info: WARNING - E: Package 'libany-uri-escape-perl' has no installation candidate
Info: WARNING - E: Package 'libfile-slurper-perl' has no installation candidate
Info: WARNING - E: Package 'yq' has no installation candidate
Info: DEBUG - + ynh_die 'Unable to install apt dependencies'
Info: WARNING - Unable to install apt dependencies
Info: ERROR - provision_or_update failed for apt : An error occured inside the script snippet : Unable to install apt dependencies
Warnung: Failed to provision apt : Der Vorgang'Installiere die Applikation 'immich'' konnte nicht abgeschlossen werden. Bitte teile das vollständige Protokoll dieser Operation mit dem Befehl 'yunohost log share 20250910-104444-app_install-immich', um Hilfe zu erhalten
Info: Deprovisioning sources...
Info: Deprovisioning system_user...
Info: Deprovisioning install_dir...
Info: Deprovisioning data_dir...
Info: Deprovisioning permissions...
Info: Deprovisioning ports...
Info: Deprovisioning apt...
Fehler: Automatische Ressourcen-Allokation (provisioning), die Unterbindung des Zugriffts auf Ressourcen (deprovisioning) oder die Aktualisierung der Ressourcen für immich schlug fehl: Der Vorgang'Installiere die Applikation 'immich'' konnte nicht abgeschlossen werden. Bitte teile das vollständige Protokoll dieser Operation mit dem Befehl 'yunohost log share 20250910-104444-app_install-immich', um Hilfe zu erhalten
Fehler: None

That’s not related to the immich package.

Did you try to update your dependencies as I suggested above?

You you mean apt update with that?

I have updated YunoHost to 12.1.21 but the installation of Immich 1.141.1~ynh1 still fails:

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

yunohost app install immich

Info: immich wird installiert…
Info: Provisioning sources...
Info: Provisioning system_user...
Info: Provisioning install_dir...
Info: Provisioning data_dir...
Info: Provisioning permissions...
Info: Provisioning ports...
Info: Provisioning apt...
Info: Provisioning database...
Info: [+...................] > Checking hardware requirements...
Info: [#++.................] > Setting up source files...
Info: [###++...............] > Installing nodejs...
Info: [#####++.............] > Creating a PostgreSQL database...
Warnung: cat: /etc/yunohost/psql: Datei oder Verzeichnis nicht gefunden
Warnung: cat: /etc/yunohost/psql: Datei oder Verzeichnis nicht gefunden
Warnung: cat: /etc/yunohost/psql: Datei oder Verzeichnis nicht gefunden
Warnung: cat: /etc/yunohost/psql: Datei oder Verzeichnis nicht gefunden
Warnung: cat: /etc/yunohost/psql: Datei oder Verzeichnis nicht gefunden
Warnung: cat: /etc/yunohost/psql: Datei oder Verzeichnis nicht gefunden
Warnung: cat: /etc/yunohost/psql: Datei oder Verzeichnis nicht gefunden
Info: [#######++...........] > Temporary adding additional swap if needed...
Warnung: swapoff: /swap_immich: swapoff failed: Das Argument ist ungĂĽltig
Fehler: Installation von immich fehlgeschlagen: Im Installationsscript ist ein Fehler aufgetreten
Info: Der Vorgang'Installiere die Applikation 'immich'' konnte nicht abgeschlossen werden. Bitte teile das vollständige Protokoll dieser Operation mit dem Befehl 'yunohost log share 20250910-134132-app_install-immich', um Hilfe zu erhalten
Warnung: Here's an extract of the logs before the crash. It might help debugging the error:
Info: DEBUG - +++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
Info: DEBUG - +++ jq .resources.apt.extras.postgresql.packages --raw-output
Info: DEBUG - ++ grep '^16'
Info: DEBUG - + '[' 5433 -ne 5432 ']'
Info: DEBUG - + ynh_psql_database_exists immich
Info: DEBUG - + local database=immich
Info: DEBUG - + grep --quiet immich
Info: DEBUG - + sudo --login --user=postgres psql -tAc 'SELECT datname FROM pg_database WHERE datname='\''immich'\'';'
Info: DEBUG - + ynh_psql_user_exists immich
Info: DEBUG - + local user=immich
Info: DEBUG - + sudo --login --user=postgres psql -tAc 'SELECT rolname FROM pg_roles WHERE rolname='\''immich'\'';'
Info: DEBUG - + grep --quiet immich
Info: INFO - [#######++...........] > Temporary adding additional swap if needed...
Info: DEBUG - + myynh_add_swap
Info: DEBUG - + ynh_del_swap
Info: DEBUG - + '[' -e /swap_immich ']'
Info: DEBUG - + sed -i '/#Swap added by immich/d' /etc/fstab
Info: DEBUG - + swapoff /swap_immich
Info: WARNING - swapoff: /swap_immich: swapoff failed: Das Argument ist ungĂĽltig
Info: DEBUG - + ynh_exit_properly
Warnung: Entfernen der App nach fehlgeschlagener Installation…
Info: [++++++++++..........] > Removing system configurations related to immich...
Info: '/etc/fail2ban/jail.d/immich.conf' wasn't deleted because it doesn't exist.
Info: '/etc/fail2ban/filter.d/immich.conf' wasn't deleted because it doesn't exist.
Info: '/etc/nginx/conf.d/immich.allerstorfer.org.d/immich.conf' wasn't deleted because it doesn't exist.
Warnung: cat: /etc/yunohost/psql: Datei oder Verzeichnis nicht gefunden
Warnung: cat: /etc/yunohost/psql: Datei oder Verzeichnis nicht gefunden
Warnung: cat: /etc/yunohost/psql: Datei oder Verzeichnis nicht gefunden
Warnung: cat: /etc/yunohost/psql: Datei oder Verzeichnis nicht gefunden
Warnung: /usr/share/yunohost/helpers.v2.1.d/nodejs: Zeile 113: N_PREFIX: SchreibgeschĂĽtzte Variable.
Info: [####################] > Removal of immich completed
Info: Deprovisioning database...
Info: Deprovisioning apt...
Info: Deprovisioning ports...
Info: Deprovisioning permissions...
Info: Deprovisioning data_dir...
Info: Deprovisioning install_dir...
Info: Deprovisioning system_user...
Info: Deprovisioning sources...
Fehler: Der Vorgang'Installiere die Applikation 'immich'' konnte nicht abgeschlossen werden. Bitte teile das vollständige Protokoll dieser Operation mit dem Befehl 'yunohost log share 20250910-134132-app_install-immich', um Hilfe zu erhalten

Okay but with another error, yeah!
It seems to be with the new swap file. @ewilly might have an idea?

Could you manually remove the swap file created for immich with the following command ?
sudo rm -f /swap_immich
And after retry the update?

1 Like

That worked for me, thank you!

Now i have Immich v1.141.1 running. :+1:

3 Likes

works for me too now, thanks !

1 Like

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