Immich: impossible de mettre à jour et sauvegarder / unable to update and to save

Mon serveur/My server YunoHost:

  • Mini PC HP EliteDesk:
    . Intel Core i5
    . Ram 8Go
    . SSD: 500go
    . Yunohost: 11.2.29 (stable) fresh install.
    . Adding: wireguard (sudo apt install wireguard) peer-client, work fine.
    . Accès/Access: HTTP and SSH
    . Issue with Immich (Only application installed) : 1.111.0~ynh1 (105Go use by this app).

Issue with Immich:

Hello everyone,

I cannot update the Immich application from version 1.111.0~ynh1 to version 1.112.1~ynh2.

The update starts, then it is announced that the update has failed, finally the computer freezes and no longer responds when rebuilding the database (the computer seems to be overloaded and the process does not never stops (more than one night before I decide to unplug/replug)).

I noticed the same problem when it came to making a full backup (of all Yunohost) before updating Immich; here again after several hours the backup is still not completed and the computer freezes in overload and no longer responds.

I am attaching the logs at the end of this message, not finding any particular explanation there.

Thank you for your help.


Problème avec l’application Immich:

Bonjour à tous,

Je n’arrive pas à mettre à jour l’application Immich pour la passer de la version 1.111.0~ynh1 à la version 1.112.1~ynh2.

La mise à jour se lance, puis il est annoncé que la mise à jour a échoué, enfin l’Ordinateur se fige et ne répond plus au moment de reconstruire la base de données (l’ordinateur semble en surcharge et le processus ne s’arrête jamais (plus d’une nuit avant que je décide de débrancher/rebrancher)).

J’ai relevé le même problème s’agissant de faire une sauvegarde complète (de tout Yunohost) avant de mettre à jour Immich; là encore après plusieurs heures la sauvegarde n’est toujours pas terminée et l’ordinnateur se fige en surcharge et ne répond plus.

J’annexe les logs à la fin de ce message, n’y trouvant pas d’explication particulière.

Merci de votre aide.


Log Immich update:

ended_at: 2024-08-28 08:10:28.947489
env:
  YNH_APP_ACTION: upgrade
  YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_mv0rw97k
  YNH_APP_CURRENT_VERSION: 1.111.0~ynh1
  YNH_APP_ID: immich
  YNH_APP_INSTANCE_NAME: immich
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 1.112.1~ynh2
  YNH_APP_PACKAGING_FORMAT: '2.0'
  YNH_APP_UPGRADE_TYPE: UPGRADE_APP
  YNH_ARCH: amd64
  YNH_DEBIAN_VERSION: bullseye
  YNH_HELPERS_VERSION: '2'
error: "Une erreur s'est produite durant l'ex\xE9cution du script de mise \xE0 niveau\
  \ de l'application"
interface: api
operation: app_upgrade
parent: null
related_to:
- - app
  - immich
started_at: 2024-08-28 08:07:56.310595
success: false
yunohost_version: 11.2.29

============

2024-08-28 10:07:56,331: INFO - Updating sources...
2024-08-28 10:07:56,331: DEBUG - Prefetching asset main: https://github.com/immich-app/immich/archive/refs/tags/v1.112.1.tar.gz ...
2024-08-28 10:08:47,154: DEBUG - Prefetching asset ffmpeg-static: https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz ...
2024-08-28 10:08:51,066: INFO - Updating ports...
2024-08-28 10:08:51,083: INFO - Updating system_user...
2024-08-28 10:08:51,123: INFO - Updating install_dir...
2024-08-28 10:08:51,133: INFO - Updating data_dir...
2024-08-28 10:08:51,140: INFO - Updating permissions...
2024-08-28 10:08:51,163: DEBUG - Nothing to update in LDAP
2024-08-28 10:08:51,164: DEBUG - Permission 'immich.main' mise à jour
2024-08-28 10:08:51,164: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20240828-080851-user_permission_update-immich" style="text-decoration :underline"> Mise à jour des accès pour la permission 'immich' </a>'
2024-08-28 10:08:51,181: DEBUG - Nothing to update in LDAP
2024-08-28 10:08:51,182: DEBUG - Permission 'immich.main' mise à jour
2024-08-28 10:08:51,183: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20240828-080851-permission_url-immich" style="text-decoration :underline"> Mise à jour de l'URL associée à l'autorisation 'immich' </a>'
2024-08-28 10:08:51,201: DEBUG - Nothing to update in LDAP
2024-08-28 10:08:51,202: DEBUG - Permission 'immich.admin' mise à jour
2024-08-28 10:08:51,202: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20240828-080851-user_permission_update-immich" style="text-decoration :underline"> Mise à jour des accès pour la permission 'immich' </a>'
2024-08-28 10:08:51,219: DEBUG - Nothing to update in LDAP
2024-08-28 10:08:51,220: DEBUG - Permission 'immich.admin' mise à jour
2024-08-28 10:08:51,220: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20240828-080851-permission_url-immich" style="text-decoration :underline"> Mise à jour de l'URL associée à l'autorisation 'immich' </a>'
2024-08-28 10:08:51,238: DEBUG - Nothing to update in LDAP
2024-08-28 10:08:51,239: DEBUG - Permission 'immich.api' mise à jour
2024-08-28 10:08:51,239: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20240828-080851-user_permission_update-immich" style="text-decoration :underline"> Mise à jour des accès pour la permission 'immich' </a>'
2024-08-28 10:08:51,257: DEBUG - Nothing to update in LDAP
2024-08-28 10:08:51,257: DEBUG - Permission 'immich.api' mise à jour
2024-08-28 10:08:51,258: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20240828-080851-permission_url-immich" style="text-decoration :underline"> Mise à jour de l'URL associée à l'autorisation 'immich' </a>'
2024-08-28 10:08:51,267: DEBUG - The permission database has been resynchronized
2024-08-28 10:08:51,292: DEBUG - La configuration de SSOwat a été regénérée
2024-08-28 10:08:51,308: INFO - Updating apt...
2024-08-28 10:08:51,319: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./provision_or_update_apt"  7>&1']'
2024-08-28 10:08:51,342: DEBUG - + source /usr/share/yunohost/helpers
2024-08-28 10:08:51,344: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2024-08-28 10:08:51,346: DEBUG - +++ cd -- /usr/share/yunohost
2024-08-28 10:08:51,346: DEBUG - +++ pwd
2024-08-28 10:08:51,347: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2024-08-28 10:08:51,347: DEBUG - ++ YNH_HELPERS_VERSION=2
2024-08-28 10:08:51,352: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2024-08-28 10:08:51,352: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2024-08-28 10:08:51,414: DEBUG - + ynh_abort_if_errors
2024-08-28 10:08:51,415: DEBUG - + trap ynh_exit_properly EXIT
2024-08-28 10:08:51,415: DEBUG - + ynh_install_app_dependencies python3-venv python3-dev ffmpeg postgresql wget build-essential libreadline-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev unzip uuid-runtime autoconf jq perl libnet-ssleay-perl libio-socket-ssl-perl libcapture-tiny-perl libfile-which-perl libfile-chdir-perl libpkgconfig-perl libffi-checklib-perl libtest-warnings-perl libtest-fatal-perl libtest-needs-perl libtest2-suite-perl libsort-versions-perl libpath-tiny-perl libtry-tiny-perl libterm-table-perl libany-uri-escape-perl libmojolicious-perl libfile-slurper-perl liblcms2-2 libllvm16 libllvm13 redis-server
2024-08-28 10:08:51,415: DEBUG - + local 'dependencies=python3-venv python3-dev ffmpeg postgresql wget build-essential libreadline-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev unzip uuid-runtime autoconf jq perl libnet-ssleay-perl libio-socket-ssl-perl libcapture-tiny-perl libfile-which-perl libfile-chdir-perl libpkgconfig-perl libffi-checklib-perl libtest-warnings-perl libtest-fatal-perl libtest-needs-perl libtest2-suite-perl libsort-versions-perl libpath-tiny-perl libtry-tiny-perl libterm-table-perl libany-uri-escape-perl libmojolicious-perl libfile-slurper-perl liblcms2-2 libllvm16 libllvm13 redis-server'
2024-08-28 10:08:51,416: DEBUG - ++ echo 'python3-venv python3-dev ffmpeg postgresql wget build-essential libreadline-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev unzip uuid-runtime autoconf jq perl libnet-ssleay-perl libio-socket-ssl-perl libcapture-tiny-perl libfile-which-perl libfile-chdir-perl libpkgconfig-perl libffi-checklib-perl libtest-warnings-perl libtest-fatal-perl libtest-needs-perl libtest2-suite-perl libsort-versions-perl libpath-tiny-perl libtry-tiny-perl libterm-table-perl libany-uri-escape-perl libmojolicious-perl libfile-slurper-perl liblcms2-2 libllvm16 libllvm13 redis-server'
2024-08-28 10:08:51,416: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2024-08-28 10:08:51,418: DEBUG - + dependencies='python3-venv, python3-dev, ffmpeg, postgresql, wget, build-essential, libreadline-dev, libncursesw5-dev, libssl-dev, libsqlite3-dev, tk-dev, libgdbm-dev, libc6-dev, libbz2-dev, libffi-dev, zlib1g-dev, unzip, uuid-runtime, autoconf, jq, perl, libnet-ssleay-perl, libio-socket-ssl-perl, libcapture-tiny-perl, libfile-which-perl, libfile-chdir-perl, libpkgconfig-perl, libffi-checklib-perl, libtest-warnings-perl, libtest-fatal-perl, libtest-needs-perl, libtest2-suite-perl, libsort-versions-perl, libpath-tiny-perl, libtry-tiny-perl, libterm-table-perl, libany-uri-escape-perl, libmojolicious-perl, libfile-slurper-perl, liblcms2-2, libllvm16, libllvm13, redis-server'
2024-08-28 10:08:51,418: DEBUG - + local 'dependencies=python3-venv, python3-dev, ffmpeg, postgresql, wget, build-essential, libreadline-dev, libncursesw5-dev, libssl-dev, libsqlite3-dev, tk-dev, libgdbm-dev, libc6-dev, libbz2-dev, libffi-dev, zlib1g-dev, unzip, uuid-runtime, autoconf, jq, perl, libnet-ssleay-perl, libio-socket-ssl-perl, libcapture-tiny-perl, libfile-which-perl, libfile-chdir-perl, libpkgconfig-perl, libffi-checklib-perl, libtest-warnings-perl, libtest-fatal-perl, libtest-needs-perl, libtest2-suite-perl, libsort-versions-perl, libpath-tiny-perl, libtry-tiny-perl, libterm-table-perl, libany-uri-escape-perl, libmojolicious-perl, libfile-slurper-perl, liblcms2-2, libllvm16, libllvm13, redis-server'
2024-08-28 10:08:51,419: DEBUG - ++ ynh_read_manifest --manifest_key=version
2024-08-28 10:08:51,439: DEBUG - ++ '[' '!' -e '' ']'
2024-08-28 10:08:51,440: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_mv0rw97k/manifest.json ']'
2024-08-28 10:08:51,440: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_mv0rw97k/manifest.toml ']'
2024-08-28 10:08:51,440: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_mv0rw97k/manifest.toml
2024-08-28 10:08:51,440: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_mv0rw97k/manifest.toml
2024-08-28 10:08:51,441: DEBUG - ++ grep -q '\.json$'
2024-08-28 10:08:51,442: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_mv0rw97k/manifest.toml
2024-08-28 10:08:51,443: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-08-28 10:08:51,443: DEBUG - ++ jq .version --raw-output
2024-08-28 10:08:51,494: DEBUG - + local version=1.112.1~ynh2
2024-08-28 10:08:51,494: DEBUG - + '[' -z 1.112.1~ynh2 ']'
2024-08-28 10:08:51,494: DEBUG - + '[' 1.112.1~ynh2 == null ']'
2024-08-28 10:08:51,494: DEBUG - + local dep_app=immich
2024-08-28 10:08:51,494: DEBUG - + [[ python3-venv, python3-dev, ffmpeg, postgresql, wget, build-essential, libreadline-dev, libncursesw5-dev, libssl-dev, libsqlite3-dev, tk-dev, libgdbm-dev, libc6-dev, libbz2-dev, libffi-dev, zlib1g-dev, unzip, uuid-runtime, autoconf, jq, perl, libnet-ssleay-perl, libio-socket-ssl-perl, libcapture-tiny-perl, libfile-which-perl, libfile-chdir-perl, libpkgconfig-perl, libffi-checklib-perl, libtest-warnings-perl, libtest-fatal-perl, libtest-needs-perl, libtest2-suite-perl, libsort-versions-perl, libpath-tiny-perl, libtry-tiny-perl, libterm-table-perl, libany-uri-escape-perl, libmojolicious-perl, libfile-slurper-perl, liblcms2-2, libllvm16, libllvm13, redis-server =~ [<=>] ]]
2024-08-28 10:08:51,494: DEBUG - ++ echo python3-venv, python3-dev, ffmpeg, postgresql, wget, build-essential, libreadline-dev, libncursesw5-dev, libssl-dev, libsqlite3-dev, tk-dev, libgdbm-dev, libc6-dev, libbz2-dev, libffi-dev, zlib1g-dev, unzip, uuid-runtime, autoconf, jq, perl, libnet-ssleay-perl, libio-socket-ssl-perl, libcapture-tiny-perl, libfile-which-perl, libfile-chdir-perl, libpkgconfig-perl, libffi-checklib-perl, libtest-warnings-perl, libtest-fatal-perl, libtest-needs-perl, libtest2-suite-perl, libsort-versions-perl, libpath-tiny-perl, libtry-tiny-perl, libterm-table-perl, libany-uri-escape-perl, libmojolicious-perl, libfile-slurper-perl, liblcms2-2, libllvm16, libllvm13, redis-server
2024-08-28 10:08:51,494: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>|)'
2024-08-28 10:08:51,495: DEBUG - ++ sort -u
2024-08-28 10:08:51,496: DEBUG - + local specific_php_version=
2024-08-28 10:08:51,496: DEBUG - + grep --quiet php
2024-08-28 10:08:51,497: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-08-28 10:08:51,502: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2024-08-28 10:08:51,502: DEBUG - ++ grep --count 'ok installed'
2024-08-28 10:08:51,519: DEBUG - ++ echo yes
2024-08-28 10:08:51,519: DEBUG - + local psql_installed=yes
2024-08-28 10:08:51,519: DEBUG - + [[ true == \t\r\u\e ]]
2024-08-28 10:08:51,519: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2024-08-28 10:08:51,519: DEBUG - + cat
2024-08-28 10:08:51,520: DEBUG - + ynh_package_install_from_equivs /tmp/immich-ynh-deps.control
2024-08-28 10:08:51,520: DEBUG - + local controlfile=/tmp/immich-ynh-deps.control
2024-08-28 10:08:51,520: DEBUG - ++ grep '^Package: ' /tmp/immich-ynh-deps.control
2024-08-28 10:08:51,521: DEBUG - ++ cut '--delimiter= ' --fields=2
2024-08-28 10:08:51,522: DEBUG - + local pkgname=immich-ynh-deps
2024-08-28 10:08:51,522: DEBUG - ++ grep '^Version: ' /tmp/immich-ynh-deps.control
2024-08-28 10:08:51,522: DEBUG - ++ cut '--delimiter= ' --fields=2
2024-08-28 10:08:51,523: DEBUG - + local pkgversion=1.112.1~ynh2
2024-08-28 10:08:51,523: DEBUG - + [[ -z immich-ynh-deps ]]
2024-08-28 10:08:51,523: DEBUG - + [[ -z 1.112.1~ynh2 ]]
2024-08-28 10:08:51,524: DEBUG - + ynh_package_update
2024-08-28 10:08:51,524: DEBUG - + ynh_apt update
2024-08-28 10:08:51,524: DEBUG - + ynh_wait_dpkg_free
2024-08-28 10:08:51,695: DEBUG - + return 0
2024-08-28 10:08:51,695: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2024-08-28 10:08:51,820: DEBUG - Hit:1 http://forge.yunohost.org/debian bullseye InRelease
2024-08-28 10:08:51,821: DEBUG - Hit:2 http://deb.debian.org/debian bullseye InRelease
2024-08-28 10:08:51,821: DEBUG - Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
2024-08-28 10:08:51,845: DEBUG - Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
2024-08-28 10:08:51,885: DEBUG - Hit:5 https://packages.sury.org/php bullseye InRelease
2024-08-28 10:08:52,996: DEBUG - Reading package lists...
2024-08-28 10:08:53,004: DEBUG - ++ mktemp --directory
2024-08-28 10:08:53,004: DEBUG - + local TMPDIR=/tmp/tmp.0L7E5wHbpb
2024-08-28 10:08:53,004: DEBUG - + mkdir -p /tmp/tmp.0L7E5wHbpb/immich-ynh-deps/DEBIAN/
2024-08-28 10:08:53,006: DEBUG - + chmod -R 755 /tmp/tmp.0L7E5wHbpb/immich-ynh-deps
2024-08-28 10:08:53,006: DEBUG - + ynh_wait_dpkg_free
2024-08-28 10:08:53,101: DEBUG - + return 0
2024-08-28 10:08:53,101: DEBUG - + cp /tmp/immich-ynh-deps.control /tmp/tmp.0L7E5wHbpb/immich-ynh-deps/DEBIAN/control
2024-08-28 10:08:53,102: DEBUG - + dpkg-deb --build /tmp/tmp.0L7E5wHbpb/immich-ynh-deps /tmp/tmp.0L7E5wHbpb/immich-ynh-deps.deb
2024-08-28 10:08:53,114: DEBUG - + dpkg --force-depends --install /tmp/tmp.0L7E5wHbpb/immich-ynh-deps.deb
2024-08-28 10:08:53,114: DEBUG - + tee /tmp/tmp.0L7E5wHbpb/dpkg_log
2024-08-28 10:08:53,845: DEBUG - (Reading database ... 174851 files and directories currently installed.)
2024-08-28 10:08:53,856: DEBUG - Preparing to unpack .../immich-ynh-deps.deb ...
2024-08-28 10:08:53,869: DEBUG - Unpacking immich-ynh-deps (1.112.1~ynh2) over (1.111.0~ynh1) ...
2024-08-28 10:08:53,919: DEBUG - Setting up immich-ynh-deps (1.112.1~ynh2) ...
2024-08-28 10:08:53,972: DEBUG - + ynh_package_install --fix-broken
2024-08-28 10:08:53,972: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2024-08-28 10:08:53,972: DEBUG - + ynh_wait_dpkg_free
2024-08-28 10:08:54,075: DEBUG - + return 0
2024-08-28 10:08:54,075: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2024-08-28 10:08:54,237: DEBUG - Reading package lists...
2024-08-28 10:08:54,348: DEBUG - Building dependency tree...
2024-08-28 10:08:54,351: DEBUG - Reading state information...
2024-08-28 10:08:54,442: DEBUG - The following packages were automatically installed and are no longer required:
2024-08-28 10:08:54,443: DEBUG -   libpq-dev linux-image-5.10.0-30-amd64
2024-08-28 10:08:54,443: DEBUG - Use 'apt autoremove' to remove them.
2024-08-28 10:08:54,458: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2024-08-28 10:08:54,459: DEBUG - + [[ -n /tmp/tmp.0L7E5wHbpb ]]
2024-08-28 10:08:54,459: DEBUG - + rm --recursive --force /tmp/tmp.0L7E5wHbpb
2024-08-28 10:08:54,459: DEBUG - + ynh_package_is_installed immich-ynh-deps
2024-08-28 10:08:54,464: DEBUG - + dpkg-query --show '--showformat=${Status}' immich-ynh-deps
2024-08-28 10:08:54,465: DEBUG - + grep --count 'ok installed'
2024-08-28 10:08:54,479: DEBUG - + rm /tmp/immich-ynh-deps.control
2024-08-28 10:08:54,480: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-08-28 10:08:54,486: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2024-08-28 10:08:54,486: DEBUG - ++ grep --count 'ok installed'
2024-08-28 10:08:54,501: DEBUG - ++ echo yes
2024-08-28 10:08:54,501: DEBUG - + local psql_installed2=yes
2024-08-28 10:08:54,501: DEBUG - + [[ yes != \y\e\s ]]
2024-08-28 10:08:54,501: DEBUG - + ynh_install_extra_app_dependencies '--repo=deb https://apt.postgresql.org/pub/repos/apt bullseye-pgdg main 16' --key=https://www.postgresql.org/media/keys/ACCC4CF8.asc '--package=libpq5 libpq-dev postgresql-16 postgresql-16-pgvector postgresql-client-16 postgresql-common postgresql-client-common'
2024-08-28 10:08:54,556: DEBUG - + name=immich
2024-08-28 10:08:54,556: DEBUG - + key=https://www.postgresql.org/media/keys/ACCC4CF8.asc
2024-08-28 10:08:54,556: DEBUG - + '[' -n https://www.postgresql.org/media/keys/ACCC4CF8.asc ']'
2024-08-28 10:08:54,556: DEBUG - + key=--key=https://www.postgresql.org/media/keys/ACCC4CF8.asc
2024-08-28 10:08:54,556: DEBUG - + ynh_install_extra_repo '--repo=deb https://apt.postgresql.org/pub/repos/apt bullseye-pgdg main 16' --key=https://www.postgresql.org/media/keys/ACCC4CF8.asc --priority=995 --name=immich
2024-08-28 10:08:54,771: DEBUG - + name=immich
2024-08-28 10:08:54,771: DEBUG - + append=0
2024-08-28 10:08:54,771: DEBUG - + key=https://www.postgresql.org/media/keys/ACCC4CF8.asc
2024-08-28 10:08:54,772: DEBUG - + priority=995
2024-08-28 10:08:54,773: DEBUG - + append=
2024-08-28 10:08:54,773: DEBUG - + wget_append=tee
2024-08-28 10:08:54,773: DEBUG - + [[ https://www.postgresql.org/media/keys/ACCC4CF8.asc == \t\r\u\s\t\e\d\=\y\e\s ]]
2024-08-28 10:08:54,773: DEBUG - + trusted=
2024-08-28 10:08:54,773: DEBUG - + IFS=', '
2024-08-28 10:08:54,774: DEBUG - + read -r -a repo_parts
2024-08-28 10:08:54,774: DEBUG - + index=0
2024-08-28 10:08:54,774: DEBUG - + [[ deb == \d\e\b ]]
2024-08-28 10:08:54,774: DEBUG - + index=1
2024-08-28 10:08:54,775: DEBUG - + uri=https://apt.postgresql.org/pub/repos/apt
2024-08-28 10:08:54,775: DEBUG - + index=2
2024-08-28 10:08:54,775: DEBUG - + suite=bullseye-pgdg
2024-08-28 10:08:54,775: DEBUG - + index=3
2024-08-28 10:08:54,775: DEBUG - + ((  5 > 0  ))
2024-08-28 10:08:54,776: DEBUG - + component='main 16'
2024-08-28 10:08:54,776: DEBUG - + ynh_add_repo --uri=https://apt.postgresql.org/pub/repos/apt --suite=bullseye-pgdg '--component=main 16' --name=immich
2024-08-28 10:08:55,088: DEBUG - + name=immich
2024-08-28 10:08:55,088: DEBUG - + append=0
2024-08-28 10:08:55,089: DEBUG - + trusted=0
2024-08-28 10:08:55,089: DEBUG - + append=tee
2024-08-28 10:08:55,089: DEBUG - + [[ 0 -eq 1 ]]
2024-08-28 10:08:55,089: DEBUG - + trust=
2024-08-28 10:08:55,090: DEBUG - + mkdir --parents /etc/apt/sources.list.d
2024-08-28 10:08:55,092: DEBUG - + tee /etc/apt/sources.list.d/immich.list
2024-08-28 10:08:55,094: DEBUG - deb  https://apt.postgresql.org/pub/repos/apt bullseye-pgdg main 16
2024-08-28 10:08:55,095: DEBUG - + local pin=apt.postgresql.org/pub/repos/apt
2024-08-28 10:08:55,095: DEBUG - + pin=apt.postgresql.org
2024-08-28 10:08:55,096: DEBUG - + '[' -n 995 ']'
2024-08-28 10:08:55,096: DEBUG - + priority=--priority=995
2024-08-28 10:08:55,096: DEBUG - + ynh_pin_repo '--package=*' '--pin=origin "apt.postgresql.org"' --priority=995 --name=immich
2024-08-28 10:08:55,356: DEBUG - + package='*'
2024-08-28 10:08:55,356: DEBUG - + priority=995
2024-08-28 10:08:55,356: DEBUG - + name=immich
2024-08-28 10:08:55,356: DEBUG - + append=0
2024-08-28 10:08:55,357: DEBUG - + append=tee
2024-08-28 10:08:55,357: DEBUG - + [[ immich != \e\x\t\r\a\_\p\h\p\_\v\e\r\s\i\o\n ]]
2024-08-28 10:08:55,357: DEBUG - + mkdir --parents /etc/apt/preferences.d
2024-08-28 10:08:55,359: DEBUG - Pin: origin "apt.postgresql.org"
2024-08-28 10:08:55,360: DEBUG - Pin-Priority: 995
2024-08-28 10:08:55,360: DEBUG - '
2024-08-28 10:08:55,360: DEBUG - + tee /etc/apt/preferences.d/immich
2024-08-28 10:08:55,362: DEBUG - Package: *
2024-08-28 10:08:55,362: DEBUG - Pin: origin "apt.postgresql.org"
2024-08-28 10:08:55,363: DEBUG - Pin-Priority: 995
2024-08-28 10:08:55,363: DEBUG - 
2024-08-28 10:08:55,363: DEBUG - + '[' -n https://www.postgresql.org/media/keys/ACCC4CF8.asc ']'
2024-08-28 10:08:55,364: DEBUG - + [[ https://www.postgresql.org/media/keys/ACCC4CF8.asc != \t\r\u\s\t\e\d\=\y\e\s ]]
2024-08-28 10:08:55,364: DEBUG - + mkdir --parents /etc/apt/trusted.gpg.d
2024-08-28 10:08:55,366: DEBUG - + wget --timeout 900 --quiet https://www.postgresql.org/media/keys/ACCC4CF8.asc --output-document=-
2024-08-28 10:08:55,367: DEBUG - + gpg --dearmor
2024-08-28 10:08:55,367: DEBUG - + tee /etc/apt/trusted.gpg.d/immich.gpg
2024-08-28 10:08:56,139: DEBUG - + ynh_package_update
2024-08-28 10:08:56,140: DEBUG - + ynh_apt update
2024-08-28 10:08:56,140: DEBUG - + ynh_wait_dpkg_free
2024-08-28 10:08:56,280: DEBUG - + return 0
2024-08-28 10:08:56,281: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2024-08-28 10:08:56,356: DEBUG - Hit:1 http://forge.yunohost.org/debian bullseye InRelease
2024-08-28 10:08:56,375: DEBUG - Hit:2 http://deb.debian.org/debian bullseye InRelease
2024-08-28 10:08:56,375: DEBUG - Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
2024-08-28 10:08:56,404: DEBUG - Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
2024-08-28 10:08:56,424: DEBUG - Hit:5 https://packages.sury.org/php bullseye InRelease
2024-08-28 10:08:56,867: DEBUG - Get:6 https://apt.postgresql.org/pub/repos/apt bullseye-pgdg InRelease [129 kB]
2024-08-28 10:08:57,298: DEBUG - Get:7 https://apt.postgresql.org/pub/repos/apt bullseye-pgdg/main amd64 Packages [350 kB]
2024-08-28 10:08:57,515: DEBUG - Fetched 480 kB in 1s (403 kB/s)
2024-08-28 10:08:57,916: DEBUG - Reading package lists...
2024-08-28 10:08:57,925: DEBUG - + ynh_install_app_dependencies 'libpq5 libpq-dev postgresql-16 postgresql-16-pgvector postgresql-client-16 postgresql-common postgresql-client-common'
2024-08-28 10:08:57,925: DEBUG - + local 'dependencies=libpq5 libpq-dev postgresql-16 postgresql-16-pgvector postgresql-client-16 postgresql-common postgresql-client-common'
2024-08-28 10:08:57,925: DEBUG - ++ echo 'libpq5 libpq-dev postgresql-16 postgresql-16-pgvector postgresql-client-16 postgresql-common postgresql-client-common'
2024-08-28 10:08:57,926: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2024-08-28 10:08:57,927: DEBUG - + dependencies='libpq5, libpq-dev, postgresql-16, postgresql-16-pgvector, postgresql-client-16, postgresql-common, postgresql-client-common'
2024-08-28 10:08:57,927: DEBUG - + local 'dependencies=libpq5, libpq-dev, postgresql-16, postgresql-16-pgvector, postgresql-client-16, postgresql-common, postgresql-client-common'
2024-08-28 10:08:57,927: DEBUG - ++ ynh_read_manifest --manifest_key=version
2024-08-28 10:08:57,937: DEBUG - ++ '[' '!' -e '' ']'
2024-08-28 10:08:57,937: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_mv0rw97k/manifest.json ']'
2024-08-28 10:08:57,937: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_mv0rw97k/manifest.toml ']'
2024-08-28 10:08:57,937: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_mv0rw97k/manifest.toml
2024-08-28 10:08:57,937: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_mv0rw97k/manifest.toml
2024-08-28 10:08:57,937: DEBUG - ++ grep -q '\.json$'
2024-08-28 10:08:57,938: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_mv0rw97k/manifest.toml
2024-08-28 10:08:57,939: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-08-28 10:08:57,939: DEBUG - ++ jq .version --raw-output
2024-08-28 10:08:57,965: DEBUG - + local version=1.112.1~ynh2
2024-08-28 10:08:57,965: DEBUG - + '[' -z 1.112.1~ynh2 ']'
2024-08-28 10:08:57,965: DEBUG - + '[' 1.112.1~ynh2 == null ']'
2024-08-28 10:08:57,965: DEBUG - + local dep_app=immich
2024-08-28 10:08:57,965: DEBUG - + [[ libpq5, libpq-dev, postgresql-16, postgresql-16-pgvector, postgresql-client-16, postgresql-common, postgresql-client-common =~ [<=>] ]]
2024-08-28 10:08:57,966: DEBUG - ++ echo libpq5, libpq-dev, postgresql-16, postgresql-16-pgvector, postgresql-client-16, postgresql-common, postgresql-client-common
2024-08-28 10:08:57,966: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>|)'
2024-08-28 10:08:57,966: DEBUG - ++ sort -u
2024-08-28 10:08:57,967: DEBUG - + local specific_php_version=
2024-08-28 10:08:57,967: DEBUG - + grep --quiet php
2024-08-28 10:08:57,968: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-08-28 10:08:57,974: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2024-08-28 10:08:57,974: DEBUG - ++ grep --count 'ok installed'
2024-08-28 10:08:57,989: DEBUG - ++ echo yes
2024-08-28 10:08:57,989: DEBUG - + local psql_installed=yes
2024-08-28 10:08:57,989: DEBUG - + [[ false == \t\r\u\e ]]
2024-08-28 10:08:57,989: DEBUG - + local current_dependencies=
2024-08-28 10:08:57,989: DEBUG - + ynh_package_is_installed --package=immich-ynh-deps
2024-08-28 10:08:57,995: DEBUG - + dpkg-query --show '--showformat=${Status}' immich-ynh-deps
2024-08-28 10:08:57,995: DEBUG - + grep --count 'ok installed'
2024-08-28 10:08:58,010: DEBUG - ++ dpkg-query --show '--showformat=${Depends}' immich-ynh-deps
2024-08-28 10:08:58,025: DEBUG - + current_dependencies='python3-venv, python3-dev, ffmpeg, postgresql, wget, build-essential, libreadline-dev, libncursesw5-dev, libssl-dev, libsqlite3-dev, tk-dev, libgdbm-dev, libc6-dev, libbz2-dev, libffi-dev, zlib1g-dev, unzip, uuid-runtime, autoconf, jq, perl, libnet-ssleay-perl, libio-socket-ssl-perl, libcapture-tiny-perl, libfile-which-perl, libfile-chdir-perl, libpkgconfig-perl, libffi-checklib-perl, libtest-warnings-perl, libtest-fatal-perl, libtest-needs-perl, libtest2-suite-perl, libsort-versions-perl, libpath-tiny-perl, libtry-tiny-perl, libterm-table-perl, libany-uri-escape-perl, libmojolicious-perl, libfile-slurper-perl, liblcms2-2, libllvm16, libllvm13, redis-server '
2024-08-28 10:08:58,026: DEBUG - + current_dependencies='python3-venv, python3-dev, ffmpeg, postgresql, wget, build-essential, libreadline-dev, libncursesw5-dev, libssl-dev, libsqlite3-dev, tk-dev, libgdbm-dev, libc6-dev, libbz2-dev, libffi-dev, zlib1g-dev, unzip, uuid-runtime, autoconf, jq, perl, libnet-ssleay-perl, libio-socket-ssl-perl, libcapture-tiny-perl, libfile-which-perl, libfile-chdir-perl, libpkgconfig-perl, libffi-checklib-perl, libtest-warnings-perl, libtest-fatal-perl, libtest-needs-perl, libtest2-suite-perl, libsort-versions-perl, libpath-tiny-perl, libtry-tiny-perl, libterm-table-perl, libany-uri-escape-perl, libmojolicious-perl, libfile-slurper-perl, liblcms2-2, libllvm16, libllvm13, redis-server '
2024-08-28 10:08:58,026: DEBUG - + dependencies='python3-venv, python3-dev, ffmpeg, postgresql, wget, build-essential, libreadline-dev, libncursesw5-dev, libssl-dev, libsqlite3-dev, tk-dev, libgdbm-dev, libc6-dev, libbz2-dev, libffi-dev, zlib1g-dev, unzip, uuid-runtime, autoconf, jq, perl, libnet-ssleay-perl, libio-socket-ssl-perl, libcapture-tiny-perl, libfile-which-perl, libfile-chdir-perl, libpkgconfig-perl, libffi-checklib-perl, libtest-warnings-perl, libtest-fatal-perl, libtest-needs-perl, libtest2-suite-perl, libsort-versions-perl, libpath-tiny-perl, libtry-tiny-perl, libterm-table-perl, libany-uri-escape-perl, libmojolicious-perl, libfile-slurper-perl, liblcms2-2, libllvm16, libllvm13, redis-server , libpq5, libpq-dev, postgresql-16, postgresql-16-pgvector, postgresql-client-16, postgresql-common, postgresql-client-common'
2024-08-28 10:08:58,026: DEBUG - + cat
2024-08-28 10:08:58,026: DEBUG - + ynh_package_install_from_equivs /tmp/immich-ynh-deps.control
2024-08-28 10:08:58,026: DEBUG - + local controlfile=/tmp/immich-ynh-deps.control
2024-08-28 10:08:58,027: DEBUG - ++ grep '^Package: ' /tmp/immich-ynh-deps.control
2024-08-28 10:08:58,027: DEBUG - ++ cut '--delimiter= ' --fields=2
2024-08-28 10:08:58,028: DEBUG - + local pkgname=immich-ynh-deps
2024-08-28 10:08:58,028: DEBUG - ++ grep '^Version: ' /tmp/immich-ynh-deps.control
2024-08-28 10:08:58,029: DEBUG - ++ cut '--delimiter= ' --fields=2
2024-08-28 10:08:58,029: DEBUG - + local pkgversion=1.112.1~ynh2
2024-08-28 10:08:58,029: DEBUG - + [[ -z immich-ynh-deps ]]
2024-08-28 10:08:58,030: DEBUG - + [[ -z 1.112.1~ynh2 ]]
2024-08-28 10:08:58,030: DEBUG - + ynh_package_update
2024-08-28 10:08:58,030: DEBUG - + ynh_apt update
2024-08-28 10:08:58,030: DEBUG - + ynh_wait_dpkg_free
2024-08-28 10:08:58,193: DEBUG - + return 0
2024-08-28 10:08:58,193: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2024-08-28 10:08:58,308: DEBUG - Hit:1 http://forge.yunohost.org/debian bullseye InRelease
2024-08-28 10:08:58,309: DEBUG - Hit:2 http://deb.debian.org/debian bullseye InRelease
2024-08-28 10:08:58,309: DEBUG - Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
2024-08-28 10:08:58,322: DEBUG - Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
2024-08-28 10:08:58,345: DEBUG - Hit:5 https://packages.sury.org/php bullseye InRelease
2024-08-28 10:08:58,396: DEBUG - Hit:6 https://apt.postgresql.org/pub/repos/apt bullseye-pgdg InRelease
2024-08-28 10:08:59,924: DEBUG - Reading package lists...
2024-08-28 10:08:59,932: DEBUG - ++ mktemp --directory
2024-08-28 10:08:59,933: DEBUG - + local TMPDIR=/tmp/tmp.9pnO0UqLhA
2024-08-28 10:08:59,933: DEBUG - + mkdir -p /tmp/tmp.9pnO0UqLhA/immich-ynh-deps/DEBIAN/
2024-08-28 10:08:59,934: DEBUG - + chmod -R 755 /tmp/tmp.9pnO0UqLhA/immich-ynh-deps
2024-08-28 10:08:59,934: DEBUG - + ynh_wait_dpkg_free
2024-08-28 10:09:00,047: DEBUG - + return 0
2024-08-28 10:09:00,047: DEBUG - + cp /tmp/immich-ynh-deps.control /tmp/tmp.9pnO0UqLhA/immich-ynh-deps/DEBIAN/control
2024-08-28 10:09:00,048: DEBUG - + dpkg-deb --build /tmp/tmp.9pnO0UqLhA/immich-ynh-deps /tmp/tmp.9pnO0UqLhA/immich-ynh-deps.deb
2024-08-28 10:09:00,056: DEBUG - + dpkg --force-depends --install /tmp/tmp.9pnO0UqLhA/immich-ynh-deps.deb
2024-08-28 10:09:00,056: DEBUG - + tee /tmp/tmp.9pnO0UqLhA/dpkg_log
2024-08-28 10:09:00,131: DEBUG - (Reading database ... 174851 files and directories currently installed.)
2024-08-28 10:09:00,136: DEBUG - Preparing to unpack .../immich-ynh-deps.deb ...
2024-08-28 10:09:00,148: DEBUG - Unpacking immich-ynh-deps (1.112.1~ynh2) over (1.112.1~ynh2) ...
2024-08-28 10:09:00,180: DEBUG - Setting up immich-ynh-deps (1.112.1~ynh2) ...
2024-08-28 10:09:00,233: DEBUG - + ynh_package_install --fix-broken
2024-08-28 10:09:00,234: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2024-08-28 10:09:00,234: DEBUG - + ynh_wait_dpkg_free
2024-08-28 10:09:00,350: DEBUG - + return 0
2024-08-28 10:09:00,350: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2024-08-28 10:09:00,514: DEBUG - Reading package lists...
2024-08-28 10:09:00,646: DEBUG - Building dependency tree...
2024-08-28 10:09:00,647: DEBUG - Reading state information...
2024-08-28 10:09:00,748: DEBUG - The following package was automatically installed and is no longer required:
2024-08-28 10:09:00,748: DEBUG -   linux-image-5.10.0-30-amd64
2024-08-28 10:09:00,748: DEBUG - Use 'apt autoremove' to remove it.
2024-08-28 10:09:00,762: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
2024-08-28 10:09:00,763: DEBUG - + [[ -n /tmp/tmp.9pnO0UqLhA ]]
2024-08-28 10:09:00,763: DEBUG - + rm --recursive --force /tmp/tmp.9pnO0UqLhA
2024-08-28 10:09:00,764: DEBUG - + ynh_package_is_installed immich-ynh-deps
2024-08-28 10:09:00,769: DEBUG - + dpkg-query --show '--showformat=${Status}' immich-ynh-deps
2024-08-28 10:09:00,769: DEBUG - + grep --count 'ok installed'
2024-08-28 10:09:00,784: DEBUG - + rm /tmp/immich-ynh-deps.control
2024-08-28 10:09:00,785: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-08-28 10:09:00,791: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2024-08-28 10:09:00,791: DEBUG - ++ grep --count 'ok installed'
2024-08-28 10:09:00,806: DEBUG - ++ echo yes
2024-08-28 10:09:00,806: DEBUG - + local psql_installed2=yes
2024-08-28 10:09:00,807: DEBUG - + [[ yes != \y\e\s ]]
2024-08-28 10:09:00,807: DEBUG - ++ apt-mark showauto libpq5 libpq-dev postgresql-16 postgresql-16-pgvector postgresql-client-16 postgresql-common postgresql-client-common
2024-08-28 10:09:00,943: DEBUG - + local 'apps_auto_installed=libpq-dev
2024-08-28 10:09:00,943: DEBUG - libpq5
2024-08-28 10:09:00,943: DEBUG - postgresql-16
2024-08-28 10:09:00,944: DEBUG - postgresql-16-pgvector
2024-08-28 10:09:00,944: DEBUG - postgresql-client-16
2024-08-28 10:09:00,944: DEBUG - postgresql-client-common
2024-08-28 10:09:00,944: DEBUG - postgresql-common'
2024-08-28 10:09:00,944: DEBUG - + ynh_package_install 'libpq5 libpq-dev postgresql-16 postgresql-16-pgvector postgresql-client-16 postgresql-common postgresql-client-common'
2024-08-28 10:09:00,944: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install libpq5 libpq-dev postgresql-16 postgresql-16-pgvector postgresql-client-16 postgresql-common postgresql-client-common
2024-08-28 10:09:00,944: DEBUG - + ynh_wait_dpkg_free
2024-08-28 10:09:01,076: DEBUG - + return 0
2024-08-28 10:09:01,076: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install libpq5 libpq-dev postgresql-16 postgresql-16-pgvector postgresql-client-16 postgresql-common postgresql-client-common
2024-08-28 10:09:01,094: DEBUG - Reading package lists...
2024-08-28 10:09:01,194: DEBUG - Building dependency tree...
2024-08-28 10:09:01,195: DEBUG - Reading state information...
2024-08-28 10:09:01,295: DEBUG - The following package was automatically installed and is no longer required:
2024-08-28 10:09:01,295: DEBUG -   linux-image-5.10.0-30-amd64
2024-08-28 10:09:01,295: DEBUG - Use 'apt autoremove' to remove it.
2024-08-28 10:09:01,296: DEBUG - Suggested packages:
2024-08-28 10:09:01,296: DEBUG -   postgresql-doc-16
2024-08-28 10:09:01,312: DEBUG - The following packages will be upgraded:
2024-08-28 10:09:01,312: DEBUG -   libpq-dev libpq5 postgresql-16 postgresql-16-pgvector postgresql-client-16
2024-08-28 10:09:01,312: DEBUG -   postgresql-client-common postgresql-common
2024-08-28 10:09:01,618: DEBUG - 7 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
2024-08-28 10:09:01,618: DEBUG - Need to get 20.4 MB of archives.
2024-08-28 10:09:01,618: DEBUG - After this operation, 101 kB of additional disk space will be used.
2024-08-28 10:09:01,619: DEBUG - Get:1 https://apt.postgresql.org/pub/repos/apt bullseye-pgdg/main amd64 postgresql-common all 262.pgdg110+1 [240 kB]
2024-08-28 10:09:01,783: DEBUG - Get:2 https://apt.postgresql.org/pub/repos/apt bullseye-pgdg/main amd64 postgresql-client-common all 262.pgdg110+1 [94.8 kB]
2024-08-28 10:09:01,787: DEBUG - Get:3 https://apt.postgresql.org/pub/repos/apt bullseye-pgdg/main amd64 libpq-dev amd64 16.4-1.pgdg110+1 [143 kB]
2024-08-28 10:09:01,824: DEBUG - Get:4 https://apt.postgresql.org/pub/repos/apt bullseye-pgdg/main amd64 libpq5 amd64 16.4-1.pgdg110+1 [217 kB]
2024-08-28 10:09:01,827: DEBUG - Get:5 https://apt.postgresql.org/pub/repos/apt bullseye-pgdg/main amd64 postgresql-client-16 amd64 16.4-1.pgdg110+1 [1901 kB]
2024-08-28 10:09:01,922: DEBUG - Get:6 https://apt.postgresql.org/pub/repos/apt bullseye-pgdg/main amd64 postgresql-16 amd64 16.4-1.pgdg110+1 [17.5 MB]
2024-08-28 10:09:02,241: DEBUG - Get:7 https://apt.postgresql.org/pub/repos/apt bullseye-pgdg/main amd64 postgresql-16-pgvector amd64 0.7.4-1.pgdg110+1 [278 kB]
2024-08-28 10:09:03,701: DEBUG - apt-listchanges: Reading changelogs...
2024-08-28 10:09:03,897: DEBUG - Preconfiguring packages ...
2024-08-28 10:09:03,903: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2024-08-28 10:09:03,993: DEBUG - Fetched 20.4 MB in 1s (22.0 MB/s)
2024-08-28 10:09:04,081: DEBUG - (Reading database ... 174851 files and directories currently installed.)
2024-08-28 10:09:04,085: DEBUG - Preparing to unpack .../0-postgresql-common_262.pgdg110+1_all.deb ...
2024-08-28 10:09:04,118: DEBUG - Leaving 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common'
2024-08-28 10:09:04,121: DEBUG - Unpacking postgresql-common (262.pgdg110+1) over (261.pgdg110+1) ...
2024-08-28 10:09:04,258: DEBUG - Preparing to unpack .../1-postgresql-client-common_262.pgdg110+1_all.deb ...
2024-08-28 10:09:04,269: DEBUG - Unpacking postgresql-client-common (262.pgdg110+1) over (261.pgdg110+1) ...
2024-08-28 10:09:04,367: DEBUG - Preparing to unpack .../2-libpq-dev_16.4-1.pgdg110+1_amd64.deb ...
2024-08-28 10:09:04,378: DEBUG - Unpacking libpq-dev (16.4-1.pgdg110+1) over (16.3-1.pgdg110+1) ...
2024-08-28 10:09:04,487: DEBUG - Preparing to unpack .../3-libpq5_16.4-1.pgdg110+1_amd64.deb ...
2024-08-28 10:09:04,502: DEBUG - Unpacking libpq5:amd64 (16.4-1.pgdg110+1) over (16.3-1.pgdg110+1) ...
2024-08-28 10:09:04,636: DEBUG - Preparing to unpack .../4-postgresql-client-16_16.4-1.pgdg110+1_amd64.deb ...
2024-08-28 10:09:04,650: DEBUG - Unpacking postgresql-client-16 (16.4-1.pgdg110+1) over (16.3-1.pgdg110+1) ...
2024-08-28 10:09:04,927: DEBUG - Preparing to unpack .../5-postgresql-16_16.4-1.pgdg110+1_amd64.deb ...
2024-08-28 10:09:04,959: WARNING - Warning: The unit file, source configuration file or drop-ins of postgresql@16-main.service changed on disk. Run 'systemctl daemon-reload' to reload units.
2024-08-28 10:09:05,140: DEBUG - Unpacking postgresql-16 (16.4-1.pgdg110+1) over (16.3-1.pgdg110+1) ...
2024-08-28 10:09:06,461: DEBUG - Preparing to unpack .../6-postgresql-16-pgvector_0.7.4-1.pgdg110+1_amd64.deb ...
2024-08-28 10:09:06,472: DEBUG - Unpacking postgresql-16-pgvector (0.7.4-1.pgdg110+1) over (0.7.3-1.pgdg110+1) ...
2024-08-28 10:09:06,601: DEBUG - Setting up postgresql-client-common (262.pgdg110+1) ...
2024-08-28 10:09:06,619: DEBUG - Setting up libpq5:amd64 (16.4-1.pgdg110+1) ...
2024-08-28 10:09:06,629: DEBUG - Setting up libpq-dev (16.4-1.pgdg110+1) ...
2024-08-28 10:09:06,639: DEBUG - Setting up postgresql-common (262.pgdg110+1) ...
2024-08-28 10:09:06,766: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2024-08-28 10:09:09,821: DEBUG - Setting up postgresql-client-16 (16.4-1.pgdg110+1) ...
2024-08-28 10:09:10,573: DEBUG - Setting up postgresql-16 (16.4-1.pgdg110+1) ...
2024-08-28 10:09:11,687: DEBUG - Setting up postgresql-16-pgvector (0.7.4-1.pgdg110+1) ...
2024-08-28 10:09:11,700: DEBUG - Processing triggers for man-db (2.9.4-2) ...
2024-08-28 10:09:12,325: DEBUG - Processing triggers for libc-bin (2.31-13+deb11u10) ...
2024-08-28 10:09:12,476: DEBUG - + '[' -z 'libpq-dev
2024-08-28 10:09:12,477: DEBUG - libpq5
2024-08-28 10:09:12,477: DEBUG - postgresql-16
2024-08-28 10:09:12,477: DEBUG - postgresql-16-pgvector
2024-08-28 10:09:12,477: DEBUG - postgresql-client-16
2024-08-28 10:09:12,477: DEBUG - postgresql-client-common
2024-08-28 10:09:12,477: DEBUG - postgresql-common' ']'
2024-08-28 10:09:12,477: DEBUG - + apt-mark auto libpq-dev libpq5 postgresql-16 postgresql-16-pgvector postgresql-client-16 postgresql-client-common postgresql-common
2024-08-28 10:09:12,612: DEBUG - libpq-dev était déjà marqué comme installé automatiquement.
2024-08-28 10:09:12,612: DEBUG - libpq5 était déjà marqué comme installé automatiquement.
2024-08-28 10:09:12,612: DEBUG - postgresql-16 était déjà marqué comme installé automatiquement.
2024-08-28 10:09:12,612: DEBUG - postgresql-16-pgvector était déjà marqué comme installé automatiquement.
2024-08-28 10:09:12,612: DEBUG - postgresql-client-16 était déjà marqué comme installé automatiquement.
2024-08-28 10:09:12,612: DEBUG - postgresql-client-common était déjà marqué comme installé automatiquement.
2024-08-28 10:09:12,612: DEBUG - postgresql-common était déjà marqué comme installé automatiquement.
2024-08-28 10:09:12,612: DEBUG - + ynh_remove_extra_repo --name=immich
2024-08-28 10:09:12,618: DEBUG - + name=immich
2024-08-28 10:09:12,618: DEBUG - + ynh_secure_remove --file=/etc/apt/sources.list.d/immich.list
2024-08-28 10:09:12,630: DEBUG - + [[ immich == \e\x\t\r\a\_\p\h\p\_\v\e\r\s\i\o\n ]]
2024-08-28 10:09:12,631: DEBUG - + ynh_secure_remove /etc/apt/preferences.d/immich
2024-08-28 10:09:12,641: DEBUG - + '[' -e /etc/apt/trusted.gpg.d/immich.gpg ']'
2024-08-28 10:09:12,642: DEBUG - + ynh_secure_remove --file=/etc/apt/trusted.gpg.d/immich.gpg
2024-08-28 10:09:12,653: DEBUG - + '[' -e /etc/apt/trusted.gpg.d/immich.asc ']'
2024-08-28 10:09:12,653: DEBUG - + ynh_package_update
2024-08-28 10:09:12,653: DEBUG - + ynh_apt update
2024-08-28 10:09:12,653: DEBUG - + ynh_wait_dpkg_free
2024-08-28 10:09:12,794: DEBUG - + return 0
2024-08-28 10:09:12,794: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2024-08-28 10:09:12,866: DEBUG - Hit:1 http://forge.yunohost.org/debian bullseye InRelease
2024-08-28 10:09:12,912: DEBUG - Hit:2 http://deb.debian.org/debian bullseye InRelease
2024-08-28 10:09:12,912: DEBUG - Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
2024-08-28 10:09:12,935: DEBUG - Hit:4 https://packages.sury.org/php bullseye InRelease
2024-08-28 10:09:12,941: DEBUG - Hit:5 http://deb.debian.org/debian bullseye-updates InRelease
2024-08-28 10:09:14,023: DEBUG - Reading package lists...
2024-08-28 10:09:14,031: DEBUG - + ynh_exit_properly
2024-08-28 10:09:14,031: DEBUG - + [[ provision_or_update_apt =~ ^install$|^upgrade$|^restore$ ]]
2024-08-28 10:09:15,033: INFO - Updating database...
2024-08-28 10:09:15,114: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./upgrade"  7>&1']'
2024-08-28 10:09:15,119: DEBUG - + source _common.sh
2024-08-28 10:09:15,120: DEBUG - ++ nodejs_version=20
2024-08-28 10:09:15,120: DEBUG - ++ failregex='immich-server.*Failed login attempt for user.+from ip address\s?<ADDR>'
2024-08-28 10:09:15,120: DEBUG - + source /usr/share/yunohost/helpers
2024-08-28 10:09:15,120: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2024-08-28 10:09:15,121: DEBUG - +++ cd -- /usr/share/yunohost
2024-08-28 10:09:15,121: DEBUG - +++ pwd
2024-08-28 10:09:15,121: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2024-08-28 10:09:15,121: DEBUG - ++ YNH_HELPERS_VERSION=2
2024-08-28 10:09:15,122: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2024-08-28 10:09:15,123: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2024-08-28 10:09:15,268: INFO - [+...................] > Stopping a systemd service...
2024-08-28 10:09:15,270: DEBUG - + ynh_systemd_action --service_name=immich-server --action=stop
2024-08-28 10:09:15,448: DEBUG - + service_name=immich-server
2024-08-28 10:09:15,448: DEBUG - + action=stop
2024-08-28 10:09:15,449: DEBUG - + line_match=
2024-08-28 10:09:15,449: DEBUG - + length=20
2024-08-28 10:09:15,449: DEBUG - + log_path=/var/log/immich-server/immich-server.log
2024-08-28 10:09:15,449: DEBUG - + timeout=300
2024-08-28 10:09:15,450: DEBUG - + '[' stop == stop ']'
2024-08-28 10:09:15,450: DEBUG - + systemctl is-active --quiet immich-server
2024-08-28 10:09:15,458: DEBUG - + '[' stop == reload ']'
2024-08-28 10:09:15,459: DEBUG - ++ date --utc --rfc-3339=seconds
2024-08-28 10:09:15,460: DEBUG - ++ cut -d+ -f1
2024-08-28 10:09:15,463: DEBUG - + local 'time_start=2024-08-28 08:09:15 UTC'
2024-08-28 10:09:15,464: DEBUG - + systemctl stop immich-server
2024-08-28 10:09:15,517: DEBUG - + ynh_systemd_action --service_name=immich-microservices --action=stop
2024-08-28 10:09:15,568: DEBUG - + service_name=immich-microservices
2024-08-28 10:09:15,568: DEBUG - + action=stop
2024-08-28 10:09:15,568: DEBUG - + line_match=
2024-08-28 10:09:15,568: DEBUG - + length=20
2024-08-28 10:09:15,569: DEBUG - + log_path=/var/log/immich-microservices/immich-microservices.log
2024-08-28 10:09:15,569: DEBUG - + timeout=300
2024-08-28 10:09:15,569: DEBUG - + '[' stop == stop ']'
2024-08-28 10:09:15,569: DEBUG - + systemctl is-active --quiet immich-microservices
2024-08-28 10:09:15,571: DEBUG - + return 0
2024-08-28 10:09:15,571: DEBUG - + ynh_systemd_action --service_name=immich-machine-learning --action=stop
2024-08-28 10:09:15,621: DEBUG - + service_name=immich-machine-learning
2024-08-28 10:09:15,621: DEBUG - + action=stop
2024-08-28 10:09:15,621: DEBUG - + line_match=
2024-08-28 10:09:15,621: DEBUG - + length=20
2024-08-28 10:09:15,621: DEBUG - + log_path=/var/log/immich-machine-learning/immich-machine-learning.log
2024-08-28 10:09:15,622: DEBUG - + timeout=300
2024-08-28 10:09:15,622: DEBUG - + '[' stop == stop ']'
2024-08-28 10:09:15,622: DEBUG - + systemctl is-active --quiet immich-machine-learning
2024-08-28 10:09:15,625: DEBUG - + return 0
2024-08-28 10:09:15,747: INFO - [#++.................] > Upgrading source files...
2024-08-28 10:09:15,748: DEBUG - + ynh_secure_remove --file=/var/www/immich
2024-08-28 10:09:17,159: DEBUG - + source_dir=/var/www/immich/source
2024-08-28 10:09:17,159: DEBUG - + ynh_setup_source --source_id=main --dest_dir=/var/www/immich/source --full_replace=1
2024-08-28 10:09:17,201: DEBUG - + keep=
2024-08-28 10:09:17,202: DEBUG - + full_replace=1
2024-08-28 10:09:17,202: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_mv0rw97k/manifest.toml
2024-08-28 10:09:17,202: DEBUG - + cat /var/cache/yunohost/app_tmp_work_dirs/app_mv0rw97k/manifest.toml
2024-08-28 10:09:17,202: DEBUG - + toml_to_json
2024-08-28 10:09:17,202: DEBUG - + jq -e .resources.sources
2024-08-28 10:09:17,202: DEBUG - + python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-08-28 10:09:17,227: DEBUG - + source_id=main
2024-08-28 10:09:17,228: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_mv0rw97k/manifest.toml
2024-08-28 10:09:17,228: DEBUG - ++ toml_to_json
2024-08-28 10:09:17,228: DEBUG - ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-08-28 10:09:17,228: DEBUG - ++ jq '.resources.sources["main"]'
2024-08-28 10:09:17,254: DEBUG - + local 'sources_json={
2024-08-28 10:09:17,254: DEBUG -   "url": "https://github.com/immich-app/immich/archive/refs/tags/v1.112.1.tar.gz",
2024-08-28 10:09:17,254: DEBUG -   "sha256": "2f5fa0fbb19786f2309b2abe8182c6cca7b44fd2c1528a5b0597519be0992eb2",
2024-08-28 10:09:17,254: DEBUG -   "autoupdate": {
2024-08-28 10:09:17,254: DEBUG -     "strategy": "latest_github_release"
2024-08-28 10:09:17,254: DEBUG -   }
2024-08-28 10:09:17,254: DEBUG - }'
2024-08-28 10:09:17,254: DEBUG - + jq -re .url
2024-08-28 10:09:17,279: DEBUG - https://github.com/immich-app/immich/archive/refs/tags/v1.112.1.tar.gz
2024-08-28 10:09:17,279: DEBUG - + local arch_prefix=
2024-08-28 10:09:17,305: DEBUG - + local src_url=https://github.com/immich-app/immich/archive/refs/tags/v1.112.1.tar.gz
2024-08-28 10:09:17,331: DEBUG - + local src_sum=2f5fa0fbb19786f2309b2abe8182c6cca7b44fd2c1528a5b0597519be0992eb2
2024-08-28 10:09:17,331: DEBUG - + local src_sumprg=sha256sum
2024-08-28 10:09:17,357: DEBUG - + local src_format=
2024-08-28 10:09:17,382: DEBUG - + local src_in_subdir=
2024-08-28 10:09:17,408: DEBUG - + local src_extract=
2024-08-28 10:09:17,434: DEBUG - + local src_platform=
2024-08-28 10:09:17,459: DEBUG - + local src_rename=
2024-08-28 10:09:17,459: DEBUG - + [[ -n https://github.com/immich-app/immich/archive/refs/tags/v1.112.1.tar.gz ]]
2024-08-28 10:09:17,460: DEBUG - + [[ -n 2f5fa0fbb19786f2309b2abe8182c6cca7b44fd2c1528a5b0597519be0992eb2 ]]
2024-08-28 10:09:17,460: DEBUG - + [[ -z '' ]]
2024-08-28 10:09:17,460: DEBUG - + [[ https://github.com/immich-app/immich/archive/refs/tags/v1.112.1.tar.gz =~ ^.*\.zip$ ]]
2024-08-28 10:09:17,460: DEBUG - + [[ https://github.com/immich-app/immich/archive/refs/tags/v1.112.1.tar.gz =~ ^.*/zipball/.*$ ]]
2024-08-28 10:09:17,460: DEBUG - + [[ https://github.com/immich-app/immich/archive/refs/tags/v1.112.1.tar.gz =~ ^.*\.tar\.gz$ ]]
2024-08-28 10:09:17,460: DEBUG - + src_format=tar.gz
2024-08-28 10:09:17,460: DEBUG - + src_sumprg=sha256sum
2024-08-28 10:09:17,460: DEBUG - + src_in_subdir=true
2024-08-28 10:09:17,460: DEBUG - + src_format=tar.gz
2024-08-28 10:09:17,460: DEBUG - ++ echo tar.gz
2024-08-28 10:09:17,460: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2024-08-28 10:09:17,461: DEBUG - + src_format=tar.gz
2024-08-28 10:09:17,461: DEBUG - + src_extract=true
2024-08-28 10:09:17,461: DEBUG - + [[ true != \t\r\u\e ]]
2024-08-28 10:09:17,461: DEBUG - + local local_src=/opt/yunohost-apps-src/immich/main
2024-08-28 10:09:17,461: DEBUG - ++ dirname /var/cache/yunohost/download/immich/main
2024-08-28 10:09:17,462: DEBUG - + mkdir -p /var/cache/yunohost/download/immich
2024-08-28 10:09:17,462: DEBUG - + src_filename=/var/cache/yunohost/download/immich/main
2024-08-28 10:09:17,463: DEBUG - + '[' tar.gz = docker ']'
2024-08-28 10:09:17,463: DEBUG - + test -e /opt/yunohost-apps-src/immich/main
2024-08-28 10:09:17,463: DEBUG - + '[' -n https://github.com/immich-app/immich/archive/refs/tags/v1.112.1.tar.gz ']'
2024-08-28 10:09:17,463: DEBUG - + '[' -e /var/cache/yunohost/download/immich/main ']'
2024-08-28 10:09:17,463: DEBUG - + sha256sum --check --status
2024-08-28 10:09:17,810: DEBUG - + '[' '!' -e /var/cache/yunohost/download/immich/main ']'
2024-08-28 10:09:17,810: DEBUG - + sha256sum --check --status
2024-08-28 10:09:18,151: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-08-28 10:09:18,152: DEBUG - + '[' -n '' ']'
2024-08-28 10:09:18,152: DEBUG - + ynh_secure_remove --file=/var/www/immich/source
2024-08-28 10:09:18,163: DEBUG - + mkdir --parents /var/www/immich/source
2024-08-28 10:09:18,163: INFO - '/var/www/immich/source' wasn't deleted because it doesn't exist.
2024-08-28 10:09:18,163: DEBUG - + '[' -n /var/www/immich ']'
2024-08-28 10:09:18,164: DEBUG - + '[' /var/www/immich/source == /var/www/immich ']'
2024-08-28 10:09:18,164: DEBUG - + '[' -n '' ']'
2024-08-28 10:09:18,164: DEBUG - + [[ true == \f\a\l\s\e ]]
2024-08-28 10:09:18,164: DEBUG - + [[ tar.gz == \d\o\c\k\e\r ]]
2024-08-28 10:09:18,164: DEBUG - + [[ tar.gz == \z\i\p ]]
2024-08-28 10:09:18,164: DEBUG - + local strip=
2024-08-28 10:09:18,164: DEBUG - + '[' true '!=' false ']'
2024-08-28 10:09:18,164: DEBUG - + '[' true == true ']'
2024-08-28 10:09:18,164: DEBUG - + local sub_dirs=1
2024-08-28 10:09:18,164: DEBUG - + strip='--strip-components 1'
2024-08-28 10:09:18,164: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2024-08-28 10:09:18,164: DEBUG - + tar --extract --file=/var/cache/yunohost/download/immich/main --directory=/var/www/immich/source --strip-components 1
2024-08-28 10:09:18,678: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/immich/main
2024-08-28 10:09:18,699: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_mv0rw97k/sources/patches/ ']'
2024-08-28 10:09:18,699: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_mv0rw97k/sources/extra_files/main
2024-08-28 10:09:18,699: DEBUG - + '[' -n '' ']'
2024-08-28 10:09:18,699: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-08-28 10:09:18,700: DEBUG - + ffmpeg_static_dir=/var/www/immich/ffmpeg-static
2024-08-28 10:09:18,700: DEBUG - + ynh_setup_source --source_id=ffmpeg-static --dest_dir=/var/www/immich/ffmpeg-static --full_replace=1
2024-08-28 10:09:18,744: DEBUG - + keep=
2024-08-28 10:09:18,744: DEBUG - + full_replace=1
2024-08-28 10:09:18,745: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_mv0rw97k/manifest.toml
2024-08-28 10:09:18,745: DEBUG - + cat /var/cache/yunohost/app_tmp_work_dirs/app_mv0rw97k/manifest.toml
2024-08-28 10:09:18,745: DEBUG - + toml_to_json
2024-08-28 10:09:18,745: DEBUG - + python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-08-28 10:09:18,745: DEBUG - + jq -e .resources.sources
2024-08-28 10:09:18,770: DEBUG - + source_id=ffmpeg-static
2024-08-28 10:09:18,771: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_mv0rw97k/manifest.toml
2024-08-28 10:09:18,771: DEBUG - ++ toml_to_json
2024-08-28 10:09:18,771: DEBUG - ++ jq '.resources.sources["ffmpeg-static"]'
2024-08-28 10:09:18,771: DEBUG - ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-08-28 10:09:18,797: DEBUG - + local 'sources_json={
2024-08-28 10:09:18,797: DEBUG -   "amd64": {
2024-08-28 10:09:18,797: DEBUG -     "url": "https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz",
2024-08-28 10:09:18,797: DEBUG -     "sha256": "abda8d77ce8309141f83ab8edf0596834087c52467f6badf376a6a2a4c87cf67"
2024-08-28 10:09:18,797: DEBUG -   },
2024-08-28 10:09:18,797: DEBUG -   "arm64": {
2024-08-28 10:09:18,798: DEBUG -     "url": "https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-arm64-static.tar.xz",
2024-08-28 10:09:18,798: DEBUG -     "sha256": "f4149bb2b0784e30e99bdda85471c9b5930d3402014e934a5098b41d0f7201b1"
2024-08-28 10:09:18,798: DEBUG -   }
2024-08-28 10:09:18,798: DEBUG - }'
2024-08-28 10:09:18,798: DEBUG - + jq -re .url
2024-08-28 10:09:18,822: DEBUG - null
2024-08-28 10:09:18,822: DEBUG - + local arch_prefix=.amd64
2024-08-28 10:09:18,848: DEBUG - + local src_url=https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
2024-08-28 10:09:18,874: DEBUG - + local src_sum=abda8d77ce8309141f83ab8edf0596834087c52467f6badf376a6a2a4c87cf67
2024-08-28 10:09:18,874: DEBUG - + local src_sumprg=sha256sum
2024-08-28 10:09:18,900: DEBUG - + local src_format=
2024-08-28 10:09:18,927: DEBUG - + local src_in_subdir=
2024-08-28 10:09:18,952: DEBUG - + local src_extract=
2024-08-28 10:09:18,978: DEBUG - + local src_platform=
2024-08-28 10:09:19,005: DEBUG - + local src_rename=
2024-08-28 10:09:19,005: DEBUG - + [[ -n https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz ]]
2024-08-28 10:09:19,005: DEBUG - + [[ -n abda8d77ce8309141f83ab8edf0596834087c52467f6badf376a6a2a4c87cf67 ]]
2024-08-28 10:09:19,005: DEBUG - + [[ -z '' ]]
2024-08-28 10:09:19,005: DEBUG - + [[ https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz =~ ^.*\.zip$ ]]
2024-08-28 10:09:19,005: DEBUG - + [[ https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz =~ ^.*/zipball/.*$ ]]
2024-08-28 10:09:19,005: DEBUG - + [[ https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz =~ ^.*\.tar\.gz$ ]]
2024-08-28 10:09:19,005: DEBUG - + [[ https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz =~ ^.*\.tgz$ ]]
2024-08-28 10:09:19,005: DEBUG - + [[ https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz =~ ^.*/tar\.gz/.*$ ]]
2024-08-28 10:09:19,005: DEBUG - + [[ https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz =~ ^.*/tarball/.*$ ]]
2024-08-28 10:09:19,006: DEBUG - + [[ https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz =~ ^.*\.tar\.xz$ ]]
2024-08-28 10:09:19,006: DEBUG - + src_format=tar.xz
2024-08-28 10:09:19,006: DEBUG - + src_sumprg=sha256sum
2024-08-28 10:09:19,006: DEBUG - + src_in_subdir=true
2024-08-28 10:09:19,006: DEBUG - + src_format=tar.xz
2024-08-28 10:09:19,006: DEBUG - ++ echo tar.xz
2024-08-28 10:09:19,006: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2024-08-28 10:09:19,006: DEBUG - + src_format=tar.xz
2024-08-28 10:09:19,006: DEBUG - + src_extract=true
2024-08-28 10:09:19,006: DEBUG - + [[ true != \t\r\u\e ]]
2024-08-28 10:09:19,006: DEBUG - + local local_src=/opt/yunohost-apps-src/immich/ffmpeg-static
2024-08-28 10:09:19,007: DEBUG - ++ dirname /var/cache/yunohost/download/immich/ffmpeg-static
2024-08-28 10:09:19,007: DEBUG - + mkdir -p /var/cache/yunohost/download/immich
2024-08-28 10:09:19,008: DEBUG - + src_filename=/var/cache/yunohost/download/immich/ffmpeg-static
2024-08-28 10:09:19,008: DEBUG - + '[' tar.xz = docker ']'
2024-08-28 10:09:19,008: DEBUG - + test -e /opt/yunohost-apps-src/immich/ffmpeg-static
2024-08-28 10:09:19,008: DEBUG - + '[' -n https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz ']'
2024-08-28 10:09:19,008: DEBUG - + '[' -e /var/cache/yunohost/download/immich/ffmpeg-static ']'
2024-08-28 10:09:19,009: DEBUG - + sha256sum --check --status
2024-08-28 10:09:19,179: DEBUG - + '[' '!' -e /var/cache/yunohost/download/immich/ffmpeg-static ']'
2024-08-28 10:09:19,179: DEBUG - + sha256sum --check --status
2024-08-28 10:09:19,344: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-08-28 10:09:19,345: DEBUG - + '[' -n '' ']'
2024-08-28 10:09:19,345: DEBUG - + ynh_secure_remove --file=/var/www/immich/ffmpeg-static
2024-08-28 10:09:19,357: INFO - '/var/www/immich/ffmpeg-static' wasn't deleted because it doesn't exist.
2024-08-28 10:09:19,357: DEBUG - + mkdir --parents /var/www/immich/ffmpeg-static
2024-08-28 10:09:19,357: DEBUG - + '[' -n /var/www/immich ']'
2024-08-28 10:09:19,358: DEBUG - + '[' /var/www/immich/ffmpeg-static == /var/www/immich ']'
2024-08-28 10:09:19,358: DEBUG - + '[' -n '' ']'
2024-08-28 10:09:19,358: DEBUG - + [[ true == \f\a\l\s\e ]]
2024-08-28 10:09:19,358: DEBUG - + [[ tar.xz == \d\o\c\k\e\r ]]
2024-08-28 10:09:19,358: DEBUG - + [[ tar.xz == \z\i\p ]]
2024-08-28 10:09:19,358: DEBUG - + local strip=
2024-08-28 10:09:19,358: DEBUG - + '[' true '!=' false ']'
2024-08-28 10:09:19,358: DEBUG - + '[' true == true ']'
2024-08-28 10:09:19,358: DEBUG - + local sub_dirs=1
2024-08-28 10:09:19,358: DEBUG - + strip='--strip-components 1'
2024-08-28 10:09:19,358: DEBUG - + [[ tar.xz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2024-08-28 10:09:19,358: DEBUG - + tar --extract --file=/var/cache/yunohost/download/immich/ffmpeg-static --directory=/var/www/immich/ffmpeg-static --strip-components 1
2024-08-28 10:09:21,802: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/immich/ffmpeg-static
2024-08-28 10:09:21,818: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_mv0rw97k/sources/patches/ ']'
2024-08-28 10:09:21,818: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_mv0rw97k/sources/extra_files/ffmpeg-static
2024-08-28 10:09:21,819: DEBUG - + '[' -n '' ']'
2024-08-28 10:09:21,819: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-08-28 10:09:21,860: INFO - [###+................] > Check Python version & compile the required one if needed...
2024-08-28 10:09:21,861: DEBUG - ++ cat /var/www/immich/source/machine-learning/Dockerfile
2024-08-28 10:09:21,861: DEBUG - ++ grep 'FROM python:'
2024-08-28 10:09:21,861: DEBUG - ++ head -n1
2024-08-28 10:09:21,861: DEBUG - ++ cut -d: -f2
2024-08-28 10:09:21,861: DEBUG - ++ cut -d- -f1
2024-08-28 10:09:21,863: DEBUG - + py_required_major=3.11
2024-08-28 10:09:21,863: DEBUG - + myynh_py_latest_from_major --python=3.11
2024-08-28 10:09:21,871: DEBUG - ++ curl -Ls https://www.python.org/ftp/python/
2024-08-28 10:09:21,871: DEBUG - ++ grep '>3.11'
2024-08-28 10:09:21,872: DEBUG - ++ cut -d / -f 2
2024-08-28 10:09:21,872: DEBUG - ++ cut -d '>' -f 2
2024-08-28 10:09:21,872: DEBUG - ++ sort -rV
2024-08-28 10:09:21,872: DEBUG - ++ head -n 1
2024-08-28 10:09:22,027: DEBUG - + py_required_version=3.11.9
2024-08-28 10:09:22,027: DEBUG - + myynh_install_python --python=3.11.9
2024-08-28 10:09:22,048: DEBUG - ++ python3 --version
2024-08-28 10:09:22,049: DEBUG - ++ cut -d ' ' -f 2
2024-08-28 10:09:22,053: DEBUG - + local py_apt_version=3.9.2
2024-08-28 10:09:22,053: DEBUG - + local python_major=3.11
2024-08-28 10:09:22,053: DEBUG - + '[' -e /usr/local/bin/python3.11 ']'
2024-08-28 10:09:22,054: DEBUG - ++ /usr/local/bin/python3.11 --version
2024-08-28 10:09:22,055: DEBUG - ++ cut -d ' ' -f 2
2024-08-28 10:09:22,065: DEBUG - + local py_built_version=3.11.9
2024-08-28 10:09:22,066: DEBUG - ++ dpkg --compare-versions 3.9.2 ge 3.11.9
2024-08-28 10:09:22,071: DEBUG - ++ dpkg --compare-versions 3.11.9 ge 3.11.9
2024-08-28 10:09:22,074: DEBUG - + ynh_print_info '--message=Using already used python3 built version...'
2024-08-28 10:09:22,094: DEBUG - + py_app_version=/usr/local/bin/python3.11
2024-08-28 10:09:22,094: DEBUG - + ynh_app_setting_set --app=immich --key=python --value=3.11.9
2024-08-28 10:09:22,096: INFO - Using already used python3 built version...
2024-08-28 10:09:22,208: DEBUG - + [[ python =~ (unprotected|protected|skipped)_ ]]
2024-08-28 10:09:22,310: INFO - [####++..............] > Installing nodejs...
2024-08-28 10:09:22,311: DEBUG - + ynh_exec_warn_less ynh_install_nodejs --nodejs_version=20
2024-08-28 10:09:22,311: DEBUG - + [[ 2 -eq 1 ]]
2024-08-28 10:09:22,311: DEBUG - + ynh_install_nodejs --nodejs_version=20
2024-08-28 10:09:22,316: DEBUG - + mkdir --parents /opt/node_n
2024-08-28 10:09:22,316: DEBUG - + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-08-28 10:09:22,317: DEBUG - ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-08-28 10:09:22,317: DEBUG - ++ sed s@/usr/local/bin:@@
2024-08-28 10:09:22,318: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
2024-08-28 10:09:22,318: DEBUG - + test -x /usr/bin/node
2024-08-28 10:09:22,318: DEBUG - + test -x /usr/bin/npm
2024-08-28 10:09:22,318: DEBUG - + mkdir -p /opt/node_n/bin/
2024-08-28 10:09:22,322: DEBUG - + cp /usr/share/yunohost/helpers.v2.d/vendor/n/n /opt/node_n/bin/n
2024-08-28 10:09:22,329: DEBUG - + ynh_replace_string '--match_string=^N_PREFIX=${N_PREFIX-.*}$' '--replace_string=N_PREFIX=${N_PREFIX-/opt/node_n}' --target_file=/opt/node_n/bin/n
2024-08-28 10:09:22,461: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-08-28 10:09:22,461: DEBUG - + test -x /usr/bin/node_n
2024-08-28 10:09:22,461: DEBUG - + test -x /usr/bin/npm_n
2024-08-28 10:09:22,462: DEBUG - ++ uname --machine
2024-08-28 10:09:22,464: DEBUG - + uname=x86_64
2024-08-28 10:09:22,465: DEBUG - + [[ x86_64 =~ aarch64 ]]
2024-08-28 10:09:22,465: DEBUG - + [[ x86_64 =~ arm64 ]]
2024-08-28 10:09:22,465: DEBUG - + n 20
2024-08-28 10:09:22,658: DEBUG -   installing : node-v20.17.0
2024-08-28 10:09:22,769: DEBUG -        mkdir : /opt/node_n/n/versions/node/20.17.0
2024-08-28 10:09:22,775: DEBUG -        fetch : https://nodejs.org/dist/v20.17.0/node-v20.17.0-linux-x64.tar.xz
2024-08-28 10:09:24,533: DEBUG -      copying : node/20.17.0
2024-08-28 10:09:25,719: DEBUG -    installed : v20.17.0 (with npm 10.8.2)
2024-08-28 10:09:25,720: DEBUG - ++ sort --version-sort
2024-08-28 10:09:25,720: DEBUG - ++ find /opt/node_n/n/versions/node/20 /opt/node_n/n/versions/node/20.16.0 /opt/node_n/n/versions/node/20.17.0 -maxdepth 0
2024-08-28 10:09:25,720: DEBUG - ++ tail --lines=1
2024-08-28 10:09:25,721: DEBUG - + real_nodejs_version=/opt/node_n/n/versions/node/20.17.0
2024-08-28 10:09:25,722: DEBUG - ++ basename /opt/node_n/n/versions/node/20.17.0
2024-08-28 10:09:25,722: DEBUG - + real_nodejs_version=20.17.0
2024-08-28 10:09:25,722: DEBUG - + '[' '!' -e /opt/node_n/n/versions/node/20 ']'
2024-08-28 10:09:25,723: DEBUG - + echo immich:20
2024-08-28 10:09:25,723: DEBUG - + tee --append /opt/node_n/ynh_app_version
2024-08-28 10:09:25,723: DEBUG - immich:20
2024-08-28 10:09:25,724: DEBUG - + ynh_app_setting_set --app=immich --key=nodejs_version --value=20
2024-08-28 10:09:25,760: DEBUG - + [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
2024-08-28 10:09:25,799: DEBUG - + ynh_use_nodejs
2024-08-28 10:09:25,799: DEBUG - ++ ynh_app_setting_get --app=immich --key=nodejs_version
2024-08-28 10:09:25,817: DEBUG - ++ [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
2024-08-28 10:09:25,847: DEBUG - + nodejs_version=20
2024-08-28 10:09:25,848: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/20/bin
2024-08-28 10:09:25,848: DEBUG - + shopt -s expand_aliases
2024-08-28 10:09:25,848: DEBUG - + ynh_node=/opt/node_n/n/versions/node/20/bin/node
2024-08-28 10:09:25,848: DEBUG - + alias ynh_node=/opt/node_n/n/versions/node/20/bin/node
2024-08-28 10:09:25,848: DEBUG - + ynh_npm=/opt/node_n/n/versions/node/20/bin/npm
2024-08-28 10:09:25,848: DEBUG - + alias ynh_npm=/opt/node_n/n/versions/node/20/bin/npm
2024-08-28 10:09:25,848: DEBUG - + [[ :/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: != *\:\/\o\p\t\/\n\o\d\e\_\n\/\n\/\v\e\r\s\i\o\n\s\/\n\o\d\e\/\2\0\/\b\i\n* ]]
2024-08-28 10:09:25,848: DEBUG - + PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-08-28 10:09:25,848: DEBUG - + node_PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-08-28 10:09:25,848: DEBUG - + ynh_node_load_PATH=PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-08-28 10:09:25,848: DEBUG - + ynh_node_load_path=PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-08-28 10:09:25,848: DEBUG - + export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
2024-08-28 10:09:25,848: DEBUG - + COREPACK_ENABLE_DOWNLOAD_PROMPT=0
2024-08-28 10:09:25,888: INFO - [######+++++++.......] > Making install...
2024-08-28 10:09:25,889: DEBUG - + myynh_install_immich
2024-08-28 10:09:25,889: DEBUG - + PATH=/var/www/immich/ffmpeg-static:/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-08-28 10:09:25,889: DEBUG - + ynh_use_nodejs
2024-08-28 10:09:25,889: DEBUG - ++ ynh_app_setting_get --app=immich --key=nodejs_version
2024-08-28 10:09:25,907: DEBUG - ++ [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
2024-08-28 10:09:25,950: DEBUG - + nodejs_version=20
2024-08-28 10:09:25,951: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/20/bin
2024-08-28 10:09:25,951: DEBUG - + shopt -s expand_aliases
2024-08-28 10:09:25,951: DEBUG - + ynh_node=/opt/node_n/n/versions/node/20/bin/node
2024-08-28 10:09:25,951: DEBUG - + alias ynh_node=/opt/node_n/n/versions/node/20/bin/node
2024-08-28 10:09:25,951: DEBUG - + ynh_npm=/opt/node_n/n/versions/node/20/bin/npm
2024-08-28 10:09:25,951: DEBUG - + alias ynh_npm=/opt/node_n/n/versions/node/20/bin/npm
2024-08-28 10:09:25,951: DEBUG - + [[ :/var/www/immich/ffmpeg-static:/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: != *\:\/\o\p\t\/\n\o\d\e\_\n\/\n\/\v\e\r\s\i\o\n\s\/\n\o\d\e\/\2\0\/\b\i\n* ]]
2024-08-28 10:09:25,951: DEBUG - + node_PATH=/var/www/immich/ffmpeg-static:/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-08-28 10:09:25,951: DEBUG - + ynh_node_load_PATH=PATH=/var/www/immich/ffmpeg-static:/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-08-28 10:09:25,952: DEBUG - + ynh_node_load_path=PATH=/var/www/immich/ffmpeg-static:/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-08-28 10:09:25,952: DEBUG - + export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
2024-08-28 10:09:25,952: DEBUG - + COREPACK_ENABLE_DOWNLOAD_PROMPT=0
2024-08-28 10:09:25,952: DEBUG - + cd /var/www/immich/source
2024-08-28 10:09:25,952: DEBUG - + find . -type f '(' -name '*.ts' -o -name '*.js' ')' -exec grep app.listen '{}' +
2024-08-28 10:09:25,952: DEBUG - + sed 's/.*app.listen//'
2024-08-28 10:09:25,952: DEBUG - + grep -v '()'
2024-08-28 10:09:25,952: DEBUG - + grep '^('
2024-08-28 10:09:25,952: DEBUG - + sort
2024-08-28 10:09:25,952: DEBUG - + tr -d '[:blank:]'
2024-08-28 10:09:25,953: DEBUG - + uniq
2024-08-28 10:09:25,953: DEBUG - + read port
2024-08-28 10:09:25,953: DEBUG - + awk '-F[(),]' '{print $2}'
2024-08-28 10:09:25,967: DEBUG - + find . -type f '(' -name '*.ts' -o -name '*.js' ')' -exec sed -i -e 's@app.listen(0)@app.listen(0, '\''127.0.0.1'\'')@g' '{}' +
2024-08-28 10:09:26,032: DEBUG - + read port
2024-08-28 10:09:26,032: DEBUG - + find . -type f '(' -name '*.ts' -o -name '*.js' ')' -exec sed -i -e 's@app.listen(port)@app.listen(port, '\''127.0.0.1'\'')@g' '{}' +
2024-08-28 10:09:26,094: DEBUG - + read port
2024-08-28 10:09:26,094: DEBUG - + find . -type f '(' -name '*.ts' -o -name '*.js' ')' -exec sed -i -e 's@PrometheusExporter({ port })@PrometheusExporter({ host: '\''127.0.0.1'\'', port: port })@g' '{}' +
2024-08-28 10:09:26,155: DEBUG - + grep -RlE '"0\.0\.0\.0"|'\''0\.0\.0\.0'\'''
2024-08-28 10:09:26,155: DEBUG - + xargs -n1 sed -i -e 's@'\''0\.0\.0\.0'\''@'\''127.0.0.1'\''@g' -e 's@"0\.0\.0\.0"@"127.0.0.1"@g'
2024-08-28 10:09:26,224: DEBUG - + cd /var/www/immich/source
2024-08-28 10:09:26,225: DEBUG - + grep -Rl /usr/src
2024-08-28 10:09:26,225: DEBUG - + xargs -n1 sed -i -e s@/usr/src@/var/www/immich@g
2024-08-28 10:09:26,316: DEBUG - + mkdir -p /var/www/immich/cache
2024-08-28 10:09:26,317: DEBUG - + grep -RlE '"/cache"|'\''/cache'\'''
2024-08-28 10:09:26,317: DEBUG - + xargs -n1 sed -i -e 's@"/cache"@"/var/www/immich/cache"@g' -e 's@'\''/cache'\''@'\''/var/www/immich/cache'\''@g'
2024-08-28 10:09:26,392: DEBUG - + grep -RlE '"/build"|'\''/build'\'''
2024-08-28 10:09:26,392: DEBUG - + xargs -n1 sed -i -e 's@"/build"@"/var/www/immich/app"@g' -e 's@'\''/build'\''@'\''/var/www/immich/app'\''@g'
2024-08-28 10:09:26,463: DEBUG - + cd /var/www/immich/source/server
2024-08-28 10:09:26,463: DEBUG - + ynh_exec_warn_less /opt/node_n/n/versions/node/20/bin/npm ci
2024-08-28 10:09:26,463: DEBUG - + [[ 2 -eq 1 ]]
2024-08-28 10:09:26,463: DEBUG - + /opt/node_n/n/versions/node/20/bin/npm ci
2024-08-28 10:09:31,873: DEBUG - npm warn deprecated text-encoding@0.6.4: no longer maintained
2024-08-28 10:09:44,843: DEBUG - 
2024-08-28 10:09:44,843: DEBUG - added 1266 packages, and audited 1267 packages in 18s
2024-08-28 10:09:44,844: DEBUG - 
2024-08-28 10:09:44,844: DEBUG - 188 packages are looking for funding
2024-08-28 10:09:44,844: DEBUG -   run `npm fund` for details
2024-08-28 10:09:44,854: DEBUG - 
2024-08-28 10:09:44,854: DEBUG - 7 vulnerabilities (4 moderate, 3 high)
2024-08-28 10:09:44,854: DEBUG - 
2024-08-28 10:09:44,854: DEBUG - To address issues that do not require attention, run:
2024-08-28 10:09:44,854: DEBUG -   npm audit fix
2024-08-28 10:09:44,854: DEBUG - 
2024-08-28 10:09:44,854: DEBUG - To address all issues (including breaking changes), run:
2024-08-28 10:09:44,854: DEBUG -   npm audit fix --force
2024-08-28 10:09:44,854: DEBUG - 
2024-08-28 10:09:44,854: DEBUG - Run `npm audit` for details.
2024-08-28 10:09:44,855: DEBUG - npm notice
2024-08-28 10:09:44,855: DEBUG - npm notice New patch version of npm available! 10.8.1 -> 10.8.2
2024-08-28 10:09:44,855: DEBUG - npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.2
2024-08-28 10:09:44,855: DEBUG - npm notice To update run: npm install -g npm@10.8.2
2024-08-28 10:09:44,855: DEBUG - npm notice
2024-08-28 10:09:44,900: DEBUG - + ynh_exec_warn_less /opt/node_n/n/versions/node/20/bin/npm run build
2024-08-28 10:09:44,901: DEBUG - + [[ 3 -eq 1 ]]
2024-08-28 10:09:44,901: DEBUG - + /opt/node_n/n/versions/node/20/bin/npm run build
2024-08-28 10:09:45,022: DEBUG - 
2024-08-28 10:09:45,022: DEBUG - > immich@1.112.1 build
2024-08-28 10:09:45,022: DEBUG - > nest build
2024-08-28 10:09:45,022: DEBUG - 
2024-08-28 10:09:52,370: DEBUG - + ynh_exec_warn_less /opt/node_n/n/versions/node/20/bin/npm prune --omit=dev --omit=optional
2024-08-28 10:09:52,371: DEBUG - + [[ 4 -eq 1 ]]
2024-08-28 10:09:52,371: DEBUG - + /opt/node_n/n/versions/node/20/bin/npm prune --omit=dev --omit=optional
2024-08-28 10:09:53,977: DEBUG - 
2024-08-28 10:09:53,977: DEBUG - up to date, audited 977 packages in 2s
2024-08-28 10:09:53,977: DEBUG - 
2024-08-28 10:09:53,977: DEBUG - 131 packages are looking for funding
2024-08-28 10:09:53,977: DEBUG -   run `npm fund` for details
2024-08-28 10:09:53,988: DEBUG - 
2024-08-28 10:09:53,988: DEBUG - 6 vulnerabilities (3 moderate, 3 high)
2024-08-28 10:09:53,988: DEBUG - 
2024-08-28 10:09:53,988: DEBUG - To address all issues, run:
2024-08-28 10:09:53,988: DEBUG -   npm audit fix
2024-08-28 10:09:53,989: DEBUG - 
2024-08-28 10:09:53,989: DEBUG - Run `npm audit` for details.
2024-08-28 10:09:53,996: DEBUG - + cd /var/www/immich/source/open-api/typescript-sdk
2024-08-28 10:09:53,996: DEBUG - + ynh_exec_warn_less /opt/node_n/n/versions/node/20/bin/npm ci
2024-08-28 10:09:53,996: DEBUG - + [[ 2 -eq 1 ]]
2024-08-28 10:09:53,996: DEBUG - + /opt/node_n/n/versions/node/20/bin/npm ci
2024-08-28 10:09:54,999: DEBUG - 
2024-08-28 10:09:54,999: DEBUG - added 4 packages, and audited 5 packages in 954ms
2024-08-28 10:09:54,999: DEBUG - 
2024-08-28 10:09:54,999: DEBUG - found 0 vulnerabilities
2024-08-28 10:09:55,006: DEBUG - + ynh_exec_warn_less /opt/node_n/n/versions/node/20/bin/npm run build
2024-08-28 10:09:55,006: DEBUG - + [[ 3 -eq 1 ]]
2024-08-28 10:09:55,006: DEBUG - + /opt/node_n/n/versions/node/20/bin/npm run build
2024-08-28 10:09:55,096: DEBUG - 
2024-08-28 10:09:55,096: DEBUG - > @immich/sdk@1.112.1 build
2024-08-28 10:09:55,097: DEBUG - > tsc
2024-08-28 10:09:55,097: DEBUG - 
2024-08-28 10:09:56,037: DEBUG - + cd /var/www/immich/source/web
2024-08-28 10:09:56,037: DEBUG - + ynh_exec_warn_less /opt/node_n/n/versions/node/20/bin/npm ci
2024-08-28 10:09:56,037: DEBUG - + [[ 2 -eq 1 ]]
2024-08-28 10:09:56,037: DEBUG - + /opt/node_n/n/versions/node/20/bin/npm ci
2024-08-28 10:10:02,960: DEBUG - 
2024-08-28 10:10:02,960: DEBUG - > immich-web@1.112.1 prepare
2024-08-28 10:10:02,960: DEBUG - > svelte-kit sync
2024-08-28 10:10:02,960: DEBUG - 
2024-08-28 10:10:03,612: DEBUG - 
2024-08-28 10:10:03,612: DEBUG - added 651 packages, and audited 653 packages in 8s
2024-08-28 10:10:03,612: DEBUG - 
2024-08-28 10:10:03,612: DEBUG - 120 packages are looking for funding
2024-08-28 10:10:03,612: DEBUG -   run `npm fund` for details
2024-08-28 10:10:03,617: DEBUG - 
2024-08-28 10:10:03,617: DEBUG - 4 vulnerabilities (1 moderate, 3 high)
2024-08-28 10:10:03,617: DEBUG - 
2024-08-28 10:10:03,617: DEBUG - To address all issues, run:
2024-08-28 10:10:03,617: DEBUG -   npm audit fix
2024-08-28 10:10:03,617: DEBUG - 
2024-08-28 10:10:03,617: DEBUG - Run `npm audit` for details.
2024-08-28 10:10:03,640: DEBUG - + ynh_exec_warn_less /opt/node_n/n/versions/node/20/bin/npm run build
2024-08-28 10:10:03,640: DEBUG - + [[ 3 -eq 1 ]]
2024-08-28 10:10:03,640: DEBUG - + /opt/node_n/n/versions/node/20/bin/npm run build
2024-08-28 10:10:03,731: DEBUG - 
2024-08-28 10:10:03,731: DEBUG - > immich-web@1.112.1 build
2024-08-28 10:10:03,731: DEBUG - > vite build
2024-08-28 10:10:03,731: DEBUG - 
2024-08-28 10:10:04,493: DEBUG - vite v5.4.0 building SSR bundle for production...
2024-08-28 10:10:04,533: DEBUG - transforming...
2024-08-28 10:10:10,189: DEBUG - ✓ 651 modules transformed.
2024-08-28 10:10:10,732: DEBUG - rendering chunks...
2024-08-28 10:10:11,570: DEBUG - vite v5.4.0 building for production...
2024-08-28 10:10:11,575: DEBUG - transforming...
2024-08-28 10:10:26,389: DEBUG - ✓ 1649 modules transformed.
2024-08-28 10:10:27,240: DEBUG - rendering chunks...
2024-08-28 10:10:27,321: DEBUG - x Build failed in 15.75s
2024-08-28 10:10:27,321: DEBUG - x Build failed in 22.81s
2024-08-28 10:10:27,321: DEBUG - error during build:
2024-08-28 10:10:27,322: DEBUG - [vite-plugin-sveltekit-compile] [vite:esbuild-transpile] Transform failed with 1 error:
2024-08-28 10:10:27,322: DEBUG - error: panic: runtime error: slice bounds out of range [:144195] with length 137338 (while parsing "_app/immutable/chunks/pt_BR.!~{01R}~.js")
2024-08-28 10:10:27,322: DEBUG - 
2024-08-28 10:10:27,322: DEBUG - panic: runtime error: slice bounds out of range [:144195] with length 137338 (while parsing "_app/immutable/chunks/pt_BR.!~{01R}~.js")
2024-08-28 10:10:27,322: DEBUG - 
2024-08-28 10:10:27,322: DEBUG - 
2024-08-28 10:10:27,322: DEBUG - panic: runtime error: slice bounds out of range [:144195] with length 137338 (while parsing "_app/immutable/chunks/pt_BR.!~{01R}~.js")
2024-08-28 10:10:27,322: DEBUG - 
2024-08-28 10:10:27,322: DEBUG - [vite:esbuild-transpile] Transform failed with 1 error:
2024-08-28 10:10:27,322: DEBUG - error: panic: runtime error: slice bounds out of range [:144195] with length 137338 (while parsing "_app/immutable/chunks/pt_BR.!~{01R}~.js")
2024-08-28 10:10:27,322: DEBUG - 
2024-08-28 10:10:27,322: DEBUG - panic: runtime error: slice bounds out of range [:144195] with length 137338 (while parsing "_app/immutable/chunks/pt_BR.!~{01R}~.js")
2024-08-28 10:10:27,322: DEBUG - 
2024-08-28 10:10:27,322: DEBUG -     at failureErrorWithLog (/var/www/immich/source/web/node_modules/esbuild/lib/main.js:1472:15)
2024-08-28 10:10:27,323: DEBUG -     at /var/www/immich/source/web/node_modules/esbuild/lib/main.js:755:50
2024-08-28 10:10:27,323: DEBUG -     at responseCallbacks.<computed> (/var/www/immich/source/web/node_modules/esbuild/lib/main.js:622:9)
2024-08-28 10:10:27,323: DEBUG -     at handleIncomingPacket (/var/www/immich/source/web/node_modules/esbuild/lib/main.js:677:12)
2024-08-28 10:10:27,323: DEBUG -     at Socket.readFromStdout (/var/www/immich/source/web/node_modules/esbuild/lib/main.js:600:7)
2024-08-28 10:10:27,323: DEBUG -     at Socket.emit (node:events:519:28)
2024-08-28 10:10:27,323: DEBUG -     at addChunk (node:internal/streams/readable:559:12)
2024-08-28 10:10:27,323: DEBUG -     at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
2024-08-28 10:10:27,323: DEBUG -     at Readable.push (node:internal/streams/readable:390:5)
2024-08-28 10:10:27,323: DEBUG -     at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)
2024-08-28 10:10:27,440: DEBUG - + ynh_exit_properly
2024-08-28 10:10:27,440: DEBUG - + [[ upgrade =~ ^install$|^upgrade$|^restore$ ]]
2024-08-28 10:10:28,946: ERROR - Impossible de mettre à jour immich : Une erreur s'est produite durant l'exécution du script de mise à niveau de l'application

Log Backup :

args:
  apps:
  - immich
  description: null
  dry_run: false
  methods: null
  name: null
  output_directory: null
  system:
  - conf_ldap
  - conf_manually_modified_files
  - conf_ynh_certs
  - conf_ynh_settings
  - data_multimedia
  - data_home
  - data_xmpp
  - data_mail
interface: api
operation: backup_create
parent: null
related_to:
- - app
  - immich
started_at: 2024-08-27 10:30:16.955936
yunohost_version: 11.2.26

============
[...]
2024-08-27 12:30:25,636: DEBUG - + ynh_exit_properly
2024-08-27 12:30:25,637: DEBUG - + [[ '' =~ ^install$|^upgrade$|^restore$ ]]
2024-08-27 12:30:26,658: INFO - Collecte des fichiers devant être sauvegardés pour immich…
2024-08-27 12:30:26,668: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "/var/cache/yunohost/app_tmp_work_dirs/app_zse50wmj/scripts/backup"  7>&1']'
2024-08-27 12:30:26,672: DEBUG - + source ../settings/scripts/_common.sh
2024-08-27 12:30:26,672: DEBUG - ++ nodejs_version=20
2024-08-27 12:30:26,672: DEBUG - ++ failregex='immich-server.*Failed login attempt for user.+from ip address\s?<ADDR>'
2024-08-27 12:30:26,672: DEBUG - + source /usr/share/yunohost/helpers
2024-08-27 12:30:26,673: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2024-08-27 12:30:26,673: DEBUG - +++ cd -- /usr/share/yunohost
2024-08-27 12:30:26,673: DEBUG - +++ pwd
2024-08-27 12:30:26,673: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2024-08-27 12:30:26,674: DEBUG - ++ YNH_HELPERS_VERSION=2
2024-08-27 12:30:26,675: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2024-08-27 12:30:26,675: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2024-08-27 12:30:26,690: DEBUG - + ynh_print_info '--message=Declaring files to be backed up...'
2024-08-27 12:30:26,695: INFO - Declaring files to be backed up...
2024-08-27 12:30:26,696: DEBUG - + ynh_backup --src_path=/var/www/immich
2024-08-27 12:30:26,714: DEBUG - + dest_path=
2024-08-27 12:30:26,714: DEBUG - + is_big=0
2024-08-27 12:30:26,714: DEBUG - + not_mandatory=0
2024-08-27 12:30:26,714: DEBUG - + BACKUP_CORE_ONLY=0
2024-08-27 12:30:26,714: DEBUG - + test -n immich
2024-08-27 12:30:26,714: DEBUG - ++ ynh_app_setting_get --app=immich --key=do_not_backup_data
2024-08-27 12:30:26,739: DEBUG - ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
2024-08-27 12:30:26,772: DEBUG - + do_not_backup_data=
2024-08-27 12:30:26,772: DEBUG - + '[' '!' -e /var/www/immich ']'
2024-08-27 12:30:26,772: DEBUG - ++ realpath /var/www/immich
2024-08-27 12:30:26,773: DEBUG - + src_path=/var/www/immich
2024-08-27 12:30:26,773: DEBUG - + [[ -z '' ]]
2024-08-27 12:30:26,773: DEBUG - + dest_path=var/www/immich
2024-08-27 12:30:26,773: DEBUG - + [[ -e var/www/immich ]]
2024-08-27 12:30:26,773: DEBUG - + local rel_dir=/apps/immich/backup
2024-08-27 12:30:26,774: DEBUG - + rel_dir=/apps/immich/backup/
2024-08-27 12:30:26,774: DEBUG - + dest_path=/apps/immich/backup/var/www/immich
2024-08-27 12:30:26,774: DEBUG - + dest_path=apps/immich/backup/var/www/immich
2024-08-27 12:30:26,774: DEBUG - ++ echo /var/www/immich
2024-08-27 12:30:26,774: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-08-27 12:30:26,775: DEBUG - + local src=/var/www/immich
2024-08-27 12:30:26,775: DEBUG - ++ echo apps/immich/backup/var/www/immich
2024-08-27 12:30:26,775: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-08-27 12:30:26,777: DEBUG - + local dest=apps/immich/backup/var/www/immich
[...]
2024-08-27 12:30:27,443: DEBUG - + local src=/var/log/immich
2024-08-27 12:30:27,444: DEBUG - ++ echo apps/immich/backup/var/log/immich
2024-08-27 12:30:27,444: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-08-27 12:30:27,445: DEBUG - + local dest=apps/immich/backup/var/log/immich
2024-08-27 12:30:27,445: DEBUG - ++ dirname /home/yunohost.backup/tmp/20240827-103016/apps/immich/backup/var/log/immich
2024-08-27 12:30:27,446: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/20240827-103016/apps/immich/backup/var/log
2024-08-27 12:30:27,447: DEBUG - + ynh_print_info '--message=Backing up a PostgreSQL database...'
2024-08-27 12:30:27,453: INFO - Backing up a PostgreSQL database...
2024-08-27 12:30:27,453: DEBUG - + myynh_dump_psql_db
2024-08-27 12:30:27,453: DEBUG - ++ ynh_app_setting_get --app=immich --key=psql_port
2024-08-27 12:30:27,470: DEBUG - ++ [[ psql_port =~ (unprotected|protected|skipped)_ ]]
2024-08-27 12:30:27,500: DEBUG - + local db_port=5433
2024-08-27 12:30:27,500: DEBUG - + sudo --login --user=postgres pg_dump --port=5433 --dbname=immich
2024-08-27 12:30:30,827: DEBUG - + ynh_print_info '--message=Backup script completed for immich. (YunoHost will then actually copy those files to the archive).'
2024-08-27 12:30:30,833: DEBUG - + ynh_exit_properly
2024-08-27 12:30:30,833: DEBUG - + [[ backup =~ ^install$|^upgrade$|^restore$ ]]
2024-08-27 12:30:30,833: INFO - Backup script completed for immich. (YunoHost will then actually copy those files to the archive).
2024-08-27 12:30:31,836: DEBUG - Permission de sauvegarde pour immich
2024-08-2

Bonjour,
dans un 1er temps peux-tu réssayer l’upgrade avec la commande sudo yunohost app upgrade immich -u https://github.com/YunoHost-Apps/immich_ynh --force --debug et partager le résultat ?

2 Likes

Bonjour et merci pour ton aide.

Je précise à toute fin utile que depuis les échecs de la sauvegarde puis de la mise à jour:

  • l’application Immich est inaccessible; sur le domaine je tombe sur la page d’accueil par défaut de Nginx et non plus Immich,
  • j’ai noté qu’Immich semble avoir perdu “ses” permissions d’origine à la suite de la mise à jour échouée; Yunohost a automatiquement restauré la préupgrade en mentionnant des erreurs de permissions "Uhoh, unknown permission immich.main ? (Maybe we’re in the process or deleting the perm for this app…) " (j’ai scindé le problème d’accès à Immich dans un autre post , si c’est une erreur je regroupe le tout ici).

Voici le retour de la commande sudo yunohost app upgrade immich -u https://github.com/YunoHost-Apps/immich_ynh --force --debug

61   DEBUG initializing base actions map parser for cli
62   DEBUG loading actions map
62   DEBUG building parser...
68   DEBUG building parser took 0.006s
69   DEBUG acquiring lock...
74   DEBUG lock has been acquired
80   DEBUG loading python module yunohost.app took 0.006s
80   DEBUG processing action [22056.1]: yunohost.app.upgrade with args={'app': ['immich'], 'url': 'https://github.com/YunoHost-Apps/immich_ynh', 'file': None, 'force': True, 'no_safety_backup': False, 'continue_on_failure': False}
150  INFO Now upgrading immich…
174  DEBUG initializing ldap interface
197  DEBUG Checking default branch
624  DEBUG Downloading…
1337 DEBUG Done
1732 DEBUG Checking requirements for immich…
1738 INFO Creating a safety backup prior to the upgrade
1758 INFO Collecting files to be backed up for immich…
1771 DEBUG Executing command '['sh', '-c', '/bin/bash -x "/var/cache/yunohost/app_tmp_work_dirs/app_n3ihj_pb/scripts/backup"  7>&1']'
1776 DEBUG + source ../settings/scripts/_common.sh
1776 DEBUG ++ nodejs_version=20
1776 DEBUG ++ failregex='immich-server.*Failed login attempt for user.+from ip address\s?<ADDR>'
1777 DEBUG + source /usr/share/yunohost/helpers
1777 DEBUG ++++ dirname -- /usr/share/yunohost/helpers
1778 DEBUG +++ cd -- /usr/share/yunohost
1778 DEBUG +++ pwd
1778 DEBUG ++ SCRIPT_DIR=/usr/share/yunohost
1778 DEBUG ++ YNH_HELPERS_VERSION=2
1779 DEBUG +++ set +o
1779 DEBUG +++ grep xtrace
1780 DEBUG ++ readonly 'XTRACE_ENABLE=set -o xtrace'
1780 DEBUG ++ XTRACE_ENABLE='set -o xtrace'
1780 DEBUG ++ set +x
1802 DEBUG + ynh_print_info '--message=Declaring files to be backed up...'
1802 DEBUG + local legacy_args=m
1802 DEBUG + args_array=(['m']='message=')
1802 DEBUG + local -A args_array
1803 DEBUG + local message
1803 DEBUG + ynh_handle_getopts_args '--message=Declaring files to be backed up...'
1803 DEBUG + set +o xtrace
1810 DEBUG + echo 'Declaring files to be backed up...'
1810 INFO Declaring files to be backed up...
1810 DEBUG + ynh_backup --src_path=/var/www/immich
1810 DEBUG + local legacy_args=sdbm
1811 DEBUG + args_array=(['s']='src_path=' ['d']='dest_path=' ['b']='is_big' ['m']='not_mandatory')
1811 DEBUG + local -A args_array
1811 DEBUG + local src_path
1811 DEBUG + local dest_path
1811 DEBUG + local is_big
1811 DEBUG + local not_mandatory
1811 DEBUG + ynh_handle_getopts_args --src_path=/var/www/immich
1811 DEBUG + set +o xtrace
1836 DEBUG + dest_path=
1836 DEBUG + is_big=0
1836 DEBUG + not_mandatory=0
1836 DEBUG + BACKUP_CORE_ONLY=1
1837 DEBUG + test -n immich
1837 DEBUG ++ ynh_app_setting_get --app=immich --key=do_not_backup_data
1837 DEBUG ++ local _globalapp=immich
1837 DEBUG ++ local legacy_args=ak
1837 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
1837 DEBUG ++ local -A args_array
1837 DEBUG ++ local app
1838 DEBUG ++ local key
1838 DEBUG ++ ynh_handle_getopts_args --app=immich --key=do_not_backup_data
1838 DEBUG ++ set +o xtrace
1862 DEBUG ++ app=immich
1863 DEBUG ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
1863 DEBUG ++ ynh_app_setting get immich do_not_backup_data
1863 DEBUG ++ set +o xtrace
1905 DEBUG + do_not_backup_data=
1905 DEBUG + '[' 0 -eq 1 ']'
1905 DEBUG + '[' '!' -e /var/www/immich ']'
1906 DEBUG ++ realpath /var/www/immich
1907 DEBUG + src_path=/var/www/immich
1907 DEBUG + [[ -z '' ]]
1907 DEBUG + dest_path=var/www/immich
1908 DEBUG + [[ -e var/www/immich ]]
1908 DEBUG + local rel_dir=/apps/immich/backup
1908 DEBUG + rel_dir=/apps/immich/backup/
1908 DEBUG + dest_path=/apps/immich/backup/var/www/immich
1908 DEBUG + dest_path=apps/immich/backup/var/www/immich
1908 DEBUG ++ echo /var/www/immich
1908 DEBUG ++ sed --regexp-extended 's/"/\"\"/g'
1909 DEBUG + local src=/var/www/immich
1910 DEBUG ++ echo apps/immich/backup/var/www/immich
1910 DEBUG ++ sed --regexp-extended 's/"/\"\"/g'
1911 DEBUG + local dest=apps/immich/backup/var/www/immich
1911 DEBUG + echo '"/var/www/immich","apps/immich/backup/var/www/immich"'
1911 DEBUG ++ dirname /home/yunohost.backup/tmp/immich-pre-upgrade2/apps/immich/backup/var/www/immich
1912 DEBUG + mkdir --parents /home/yunohost.backup/tmp/immich-pre-upgrade2/apps/immich/backup/var/www
1913 DEBUG + ynh_backup --src_path=/home/yunohost.app/immich --is_big
1913 DEBUG + local legacy_args=sdbm
1913 DEBUG + args_array=(['s']='src_path=' ['d']='dest_path=' ['b']='is_big' ['m']='not_mandatory')
1914 DEBUG + local -A args_array
1914 DEBUG + local src_path
1914 DEBUG + local dest_path
1914 DEBUG + local is_big
1914 DEBUG + local not_mandatory
1914 DEBUG + ynh_handle_getopts_args --src_path=/home/yunohost.app/immich --is_big
1914 DEBUG + set +o xtrace
1944 DEBUG + dest_path=
1944 DEBUG + is_big=1
1944 DEBUG + not_mandatory=0
1945 DEBUG + BACKUP_CORE_ONLY=1
1945 DEBUG + test -n immich
1945 DEBUG ++ ynh_app_setting_get --app=immich --key=do_not_backup_data
1945 DEBUG ++ local _globalapp=immich
1945 DEBUG ++ local legacy_args=ak
1945 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
1945 DEBUG ++ local -A args_array
1945 DEBUG ++ local app
1945 DEBUG ++ local key
1945 DEBUG ++ ynh_handle_getopts_args --app=immich --key=do_not_backup_data
1946 DEBUG ++ set +o xtrace
1962 DEBUG ++ app=immich
1962 DEBUG ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
1962 DEBUG ++ ynh_app_setting get immich do_not_backup_data
1963 DEBUG ++ set +o xtrace
1995 DEBUG + do_not_backup_data=
1995 DEBUG + '[' 1 -eq 1 ']'
1995 DEBUG + '[' 0 -eq 1 ']'
1995 DEBUG + '[' 1 -eq 1 ']'
1996 DEBUG + '[' 1 -eq 1 ']'
1996 DEBUG + ynh_print_info '--message=/home/yunohost.app/immich will not be saved, because '\''BACKUP_CORE_ONLY'\'' is set.'
1996 DEBUG + local legacy_args=m
1996 DEBUG + args_array=(['m']='message=')
1996 DEBUG + local -A args_array
1996 DEBUG + local message
1996 DEBUG + ynh_handle_getopts_args '--message=/home/yunohost.app/immich will not be saved, because '\''BACKUP_CORE_ONLY'\'' is set.'
1997 DEBUG + set +o xtrace
2002 DEBUG + echo '/home/yunohost.app/immich will not be saved, because '\''BACKUP_CORE_ONLY'\'' is set.'
2002 DEBUG + return 0
2002 INFO /home/yunohost.app/immich will not be saved, because 'BACKUP_CORE_ONLY' is set.
2002 DEBUG + ynh_backup --src_path=/etc/nginx/conf.d/servicevla.noho.st.d/immich.conf
2002 DEBUG + local legacy_args=sdbm
2002 DEBUG + args_array=(['s']='src_path=' ['d']='dest_path=' ['b']='is_big' ['m']='not_mandatory')
2002 DEBUG + local -A args_array
2002 DEBUG + local src_path
2002 DEBUG + local dest_path
2002 DEBUG + local is_big
2002 DEBUG + local not_mandatory
2003 DEBUG + ynh_handle_getopts_args --src_path=/etc/nginx/conf.d/servicevla.noho.st.d/immich.conf
2003 DEBUG + set +o xtrace
2019 DEBUG + dest_path=
2019 DEBUG + is_big=0
2019 DEBUG + not_mandatory=0
2019 DEBUG + BACKUP_CORE_ONLY=1
2020 DEBUG + test -n immich
2020 DEBUG ++ ynh_app_setting_get --app=immich --key=do_not_backup_data
2020 DEBUG ++ local _globalapp=immich
2020 DEBUG ++ local legacy_args=ak
2020 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
2020 DEBUG ++ local -A args_array
2021 DEBUG ++ local app
2021 DEBUG ++ local key
2021 DEBUG ++ ynh_handle_getopts_args --app=immich --key=do_not_backup_data
2021 DEBUG ++ set +o xtrace
2037 DEBUG ++ app=immich
2038 DEBUG ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
2038 DEBUG ++ ynh_app_setting get immich do_not_backup_data
2038 DEBUG ++ set +o xtrace
2069 DEBUG + do_not_backup_data=
2069 DEBUG + '[' 0 -eq 1 ']'
2069 DEBUG + '[' '!' -e /etc/nginx/conf.d/servicevla.noho.st.d/immich.conf ']'
2069 DEBUG + ynh_print_warn '--message=Source path '\''/etc/nginx/conf.d/servicevla.noho.st.d/immich.conf'\'' does not exist'
2069 DEBUG + local legacy_args=m
2069 DEBUG + args_array=(['m']='message=')
2069 DEBUG + local -A args_array
2069 DEBUG + local message
2069 DEBUG + ynh_handle_getopts_args '--message=Source path '\''/etc/nginx/conf.d/servicevla.noho.st.d/immich.conf'\'' does not exist'
2070 DEBUG + set +o xtrace
2075 DEBUG + ynh_print_log 'Source path '\''/etc/nginx/conf.d/servicevla.noho.st.d/immich.conf'\'' does not exist'
2075 DEBUG + echo -e 'Source path '\''/etc/nginx/conf.d/servicevla.noho.st.d/immich.conf'\'' does not exist'
2077 WARNING Source path '/etc/nginx/conf.d/servicevla.noho.st.d/immich.conf' does not exist
2078 DEBUG + '[' 0 == 0 ']'
2078 DEBUG + echo /etc/nginx/conf.d/servicevla.noho.st.d/immich.conf
2078 DEBUG + grep --quiet /etc/fail2ban
2078 DEBUG + return 1
2078 DEBUG + ynh_exit_properly
2078 DEBUG + local exit_code=1
2078 DEBUG + [[ backup =~ ^install$|^upgrade$|^restore$ ]]
2078 DEBUG + '[' 1 -eq 0 ']'
2078 DEBUG + trap '' EXIT
2078 DEBUG + set +o errexit
2078 DEBUG + set +o nounset
2079 DEBUG + sleep 0.5
2578 DEBUG + type -t ynh_clean_setup
2579 DEBUG + exit 1
3581 DEBUG Could not run script: /var/cache/yunohost/app_tmp_work_dirs/app_n3ihj_pb/scripts/backup
3585 ERROR Could not back up immich
3588 INFO The operation 'Create a backup archive' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20240901-074239-backup_create' to get help
3592 DEBUG action [22056.1] executed in 3.511s
3592 DEBUG lock has been released
3592 ERROR Nothing to save

Bonjour,

ton problème vient de là '/etc/nginx/conf.d/servicevla.noho.st.d/immich.conf' does not exist sans ce fichier il est normal que tu tombe sur la page de nginx.
pour controuner cela nous allons relanncer la comande avec --no-safety-backup en plus.
peux-tu réssayer l’upgrade avec la commande sudo yunohost app upgrade immich -u https://github.com/YunoHost-Apps/immich_ynh --force --no-safety-backup --debug et partager le résultat ?

1 Like

Merci encore pour ton aide, voici le retour de la commande sans safety backup: sudo yunohost app upgrade immich -u https://github.com/YunoHost-Apps/immich_ynh --force --no-safety-backup --debug


60   DEBUG initializing base actions map parser for cli
60   DEBUG loading actions map
61   DEBUG building parser...
67   DEBUG building parser took 0.006s
68   DEBUG acquiring lock...
73   DEBUG lock has been acquired
79   DEBUG loading python module yunohost.app took 0.006s
79   DEBUG processing action [27179.1]: yunohost.app.upgrade with args={'app': ['immich'], 'url': 'https://github.com/YunoHost-Apps/immich_ynh', 'file': None, 'force': True, 'no_safety_backup': True, 'continue_on_failure': False}
148  INFO Now upgrading immich…
172  DEBUG initializing ldap interface
195  DEBUG Checking default branch
610  DEBUG Downloading…
1306 DEBUG Done
1651 DEBUG Checking requirements for immich…
1657 WARNING Skipping the creation of a backup prior to the upgrade.
1658 DEBUG Checking that required services are up and running...
2349 INFO Updating sources...
2350 DEBUG Prefetching asset main: https://github.com/immich-app/immich/archive/refs/tags/v1.112.1.tar.gz ...
6971 DEBUG Prefetching asset ffmpeg-static: https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz ...
10871 INFO Updating ports...
11333 INFO Updating system_user...
11369 INFO Updating install_dir...
11444 INFO Updating data_dir...
11463 INFO Updating permissions...
11479 WARNING This permission is currently granted to all users in addition to other groups. You probably want to either remove the 'all_users' permission or remove the other groups it is currently granted to.
11486 DEBUG Nothing to update in LDAP
11486 DEBUG Permission 'immich.main' updated
11488 DEBUG To view the log of the operation 'Update accesses for permission 'immich'', use the command 'yunohost log show 20240901-081803-user_permission_update-immich'
11500 DEBUG Nothing to update in LDAP
11500 DEBUG Permission 'immich.main' updated
11501 DEBUG To view the log of the operation 'Update URL related to permission 'immich'', use the command 'yunohost log show 20240901-081803-permission_url-immich'
11513 DEBUG Nothing to update in LDAP
11514 DEBUG Permission 'immich.admin' updated
11514 DEBUG To view the log of the operation 'Update accesses for permission 'immich'', use the command 'yunohost log show 20240901-081803-user_permission_update-immich'
11526 DEBUG Nothing to update in LDAP
11526 DEBUG Permission 'immich.admin' updated
11527 DEBUG To view the log of the operation 'Update URL related to permission 'immich'', use the command 'yunohost log show 20240901-081803-permission_url-immich'
11540 DEBUG Nothing to update in LDAP
11541 DEBUG Permission 'immich.api' updated
11541 DEBUG To view the log of the operation 'Update accesses for permission 'immich'', use the command 'yunohost log show 20240901-081803-user_permission_update-immich'
11554 DEBUG Nothing to update in LDAP
11554 DEBUG Permission 'immich.api' updated
11555 DEBUG To view the log of the operation 'Update URL related to permission 'immich'', use the command 'yunohost log show 20240901-081803-permission_url-immich'
11561 DEBUG The permission database has been resynchronized
11578 DEBUG SSOwat configuration regenerated
11583 INFO Updating apt...
11591 DEBUG Executing command '['sh', '-c', '/bin/bash -x "./provision_or_update_apt"  7>&1']'
11595 DEBUG + source /usr/share/yunohost/helpers
11596 DEBUG ++++ dirname -- /usr/share/yunohost/helpers
11596 DEBUG +++ cd -- /usr/share/yunohost
11596 DEBUG +++ pwd
11597 DEBUG ++ SCRIPT_DIR=/usr/share/yunohost
11597 DEBUG ++ YNH_HELPERS_VERSION=2
11597 DEBUG +++ set +o
11597 DEBUG +++ grep xtrace
11598 DEBUG ++ readonly 'XTRACE_ENABLE=set -o xtrace'
11599 DEBUG ++ XTRACE_ENABLE='set -o xtrace'
11599 DEBUG ++ set +x
11619 DEBUG + ynh_abort_if_errors
11619 DEBUG + set -o errexit
11619 DEBUG + set -o nounset
11619 DEBUG + trap ynh_exit_properly EXIT
11619 DEBUG + ynh_install_app_dependencies python3-venv python3-dev ffmpeg postgresql wget build-essential libreadline-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev unzip uuid-runtime autoconf jq perl libnet-ssleay-perl libio-socket-ssl-perl libcapture-tiny-perl libfile-which-perl libfile-chdir-perl libpkgconfig-perl libffi-checklib-perl libtest-warnings-perl libtest-fatal-perl libtest-needs-perl libtest2-suite-perl libsort-versions-perl libpath-tiny-perl libtry-tiny-perl libterm-table-perl libany-uri-escape-perl libmojolicious-perl libfile-slurper-perl liblcms2-2 libllvm16 libllvm13 redis-server
11620 DEBUG + local 'dependencies=python3-venv python3-dev ffmpeg postgresql wget build-essential libreadline-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev unzip uuid-runtime autoconf jq perl libnet-ssleay-perl libio-socket-ssl-perl libcapture-tiny-perl libfile-which-perl libfile-chdir-perl libpkgconfig-perl libffi-checklib-perl libtest-warnings-perl libtest-fatal-perl libtest-needs-perl libtest2-suite-perl libsort-versions-perl libpath-tiny-perl libtry-tiny-perl libterm-table-perl libany-uri-escape-perl libmojolicious-perl libfile-slurper-perl liblcms2-2 libllvm16 libllvm13 redis-server'
11620 DEBUG ++ echo 'python3-venv python3-dev ffmpeg postgresql wget build-essential libreadline-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev unzip uuid-runtime autoconf jq perl libnet-ssleay-perl libio-socket-ssl-perl libcapture-tiny-perl libfile-which-perl libfile-chdir-perl libpkgconfig-perl libffi-checklib-perl libtest-warnings-perl libtest-fatal-perl libtest-needs-perl libtest2-suite-perl libsort-versions-perl libpath-tiny-perl libtry-tiny-perl libterm-table-perl libany-uri-escape-perl libmojolicious-perl libfile-slurper-perl liblcms2-2 libllvm16 libllvm13 redis-server'
11620 DEBUG ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
11621 DEBUG + dependencies='python3-venv, python3-dev, ffmpeg, postgresql, wget, build-essential, libreadline-dev, libncursesw5-dev, libssl-dev, libsqlite3-dev, tk-dev, libgdbm-dev, libc6-dev, libbz2-dev, libffi-dev, zlib1g-dev, unzip, uuid-runtime, autoconf, jq, perl, libnet-ssleay-perl, libio-socket-ssl-perl, libcapture-tiny-perl, libfile-which-perl, libfile-chdir-perl, libpkgconfig-perl, libffi-checklib-perl, libtest-warnings-perl, libtest-fatal-perl, libtest-needs-perl, libtest2-suite-perl, libsort-versions-perl, libpath-tiny-perl, libtry-tiny-perl, libterm-table-perl, libany-uri-escape-perl, libmojolicious-perl, libfile-slurper-perl, liblcms2-2, libllvm16, libllvm13, redis-server'
11621 DEBUG + local 'dependencies=python3-venv, python3-dev, ffmpeg, postgresql, wget, build-essential, libreadline-dev, libncursesw5-dev, libssl-dev, libsqlite3-dev, tk-dev, libgdbm-dev, libc6-dev, libbz2-dev, libffi-dev, zlib1g-dev, unzip, uuid-runtime, autoconf, jq, perl, libnet-ssleay-perl, libio-socket-ssl-perl, libcapture-tiny-perl, libfile-which-perl, libfile-chdir-perl, libpkgconfig-perl, libffi-checklib-perl, libtest-warnings-perl, libtest-fatal-perl, libtest-needs-perl, libtest2-suite-perl, libsort-versions-perl, libpath-tiny-perl, libtry-tiny-perl, libterm-table-perl, libany-uri-escape-perl, libmojolicious-perl, libfile-slurper-perl, liblcms2-2, libllvm16, libllvm13, redis-server'
11622 DEBUG ++ ynh_read_manifest --manifest_key=version
11622 DEBUG ++ local legacy_args=mk
11622 DEBUG ++ args_array=(['m']='manifest=' ['k']='manifest_key=')
11622 DEBUG ++ local -A args_array
11622 DEBUG ++ local manifest
11622 DEBUG ++ local manifest_key
11622 DEBUG ++ ynh_handle_getopts_args --manifest_key=version
11623 DEBUG ++ set +o xtrace
11635 DEBUG ++ '[' '!' -e '' ']'
11635 DEBUG ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.json ']'
11635 DEBUG ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.toml ']'
11635 DEBUG ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.toml
11636 DEBUG ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.toml
11636 DEBUG ++ grep -q '\.json$'
11637 DEBUG ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.toml
11637 DEBUG ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
11638 DEBUG ++ jq .version --raw-output
11681 DEBUG + local version=1.112.1~ynh2
11681 DEBUG + '[' -z 1.112.1~ynh2 ']'
11681 DEBUG + '[' 1.112.1~ynh2 == null ']'
11681 DEBUG + local dep_app=immich
11681 DEBUG + [[ python3-venv, python3-dev, ffmpeg, postgresql, wget, build-essential, libreadline-dev, libncursesw5-dev, libssl-dev, libsqlite3-dev, tk-dev, libgdbm-dev, libc6-dev, libbz2-dev, libffi-dev, zlib1g-dev, unzip, uuid-runtime, autoconf, jq, perl, libnet-ssleay-perl, libio-socket-ssl-perl, libcapture-tiny-perl, libfile-which-perl, libfile-chdir-perl, libpkgconfig-perl, libffi-checklib-perl, libtest-warnings-perl, libtest-fatal-perl, libtest-needs-perl, libtest2-suite-perl, libsort-versions-perl, libpath-tiny-perl, libtry-tiny-perl, libterm-table-perl, libany-uri-escape-perl, libmojolicious-perl, libfile-slurper-perl, liblcms2-2, libllvm16, libllvm13, redis-server =~ [<=>] ]]
11681 DEBUG ++ echo python3-venv, python3-dev, ffmpeg, postgresql, wget, build-essential, libreadline-dev, libncursesw5-dev, libssl-dev, libsqlite3-dev, tk-dev, libgdbm-dev, libc6-dev, libbz2-dev, libffi-dev, zlib1g-dev, unzip, uuid-runtime, autoconf, jq, perl, libnet-ssleay-perl, libio-socket-ssl-perl, libcapture-tiny-perl, libfile-which-perl, libfile-chdir-perl, libpkgconfig-perl, libffi-checklib-perl, libtest-warnings-perl, libtest-fatal-perl, libtest-needs-perl, libtest2-suite-perl, libsort-versions-perl, libpath-tiny-perl, libtry-tiny-perl, libterm-table-perl, libany-uri-escape-perl, libmojolicious-perl, libfile-slurper-perl, liblcms2-2, libllvm16, libllvm13, redis-server
11682 DEBUG ++ grep -oP '(?<=php)[0-9.]+(?=-|\>|)'
11682 DEBUG ++ sort -u
11683 DEBUG + local specific_php_version=
11683 DEBUG + [[ -n '' ]]
11683 DEBUG + grep --quiet php
11684 DEBUG ++ ynh_package_is_installed postgresql-13
11684 DEBUG ++ local legacy_args=p
11684 DEBUG ++ args_array=(['p']='package=')
11684 DEBUG ++ local -A args_array
11684 DEBUG ++ local package
11685 DEBUG ++ ynh_handle_getopts_args postgresql-13
11685 DEBUG ++ set +o xtrace
11688 DEBUG ++ echo '! Helper used in legacy mode !'
11688 DEBUG ++ set +x
11689 DEBUG ++ dpkg-query --show '--showformat=${Status}' postgresql-13
11689 DEBUG ++ grep --count 'ok installed'
11704 DEBUG ++ echo yes
11705 DEBUG + local psql_installed=yes
11705 DEBUG + [[ true == \t\r\u\e ]]
11705 DEBUG + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
11705 DEBUG + cat
11706 DEBUG + ynh_package_install_from_equivs /tmp/immich-ynh-deps.control
11706 DEBUG + local controlfile=/tmp/immich-ynh-deps.control
11706 DEBUG ++ grep '^Package: ' /tmp/immich-ynh-deps.control
11706 DEBUG ++ cut '--delimiter= ' --fields=2
11707 DEBUG + local pkgname=immich-ynh-deps
11708 DEBUG ++ grep '^Version: ' /tmp/immich-ynh-deps.control
11708 DEBUG ++ cut '--delimiter= ' --fields=2
11709 DEBUG + local pkgversion=1.112.1~ynh2
11709 DEBUG + [[ -z immich-ynh-deps ]]
11709 DEBUG + [[ -z 1.112.1~ynh2 ]]
11709 DEBUG + ynh_package_update
11709 DEBUG + ynh_apt update
11709 DEBUG + ynh_wait_dpkg_free
11709 DEBUG + local try
11709 DEBUG + set +o xtrace
11810 DEBUG + return 0
11810 DEBUG + LC_ALL=C
11810 DEBUG + DEBIAN_FRONTEND=noninteractive
11810 DEBUG + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
11937 DEBUG Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
11937 DEBUG Hit:2 http://deb.debian.org/debian bullseye InRelease
11946 DEBUG Hit:3 http://forge.yunohost.org/debian bullseye InRelease
11954 DEBUG Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
11991 DEBUG Hit:5 https://packages.sury.org/php bullseye InRelease
13219 DEBUG Reading package lists...
13225 DEBUG ++ mktemp --directory
13226 DEBUG + local TMPDIR=/tmp/tmp.Rkr3lvbyZp
13226 DEBUG + mkdir -p /tmp/tmp.Rkr3lvbyZp/immich-ynh-deps/DEBIAN/
13227 DEBUG + chmod -R 755 /tmp/tmp.Rkr3lvbyZp/immich-ynh-deps
13228 DEBUG + ynh_wait_dpkg_free
13228 DEBUG + local try
13228 DEBUG + set +o xtrace
13336 DEBUG + return 0
13336 DEBUG + cp /tmp/immich-ynh-deps.control /tmp/tmp.Rkr3lvbyZp/immich-ynh-deps/DEBIAN/control
13337 DEBUG + LC_ALL=C
13337 DEBUG + dpkg-deb --build /tmp/tmp.Rkr3lvbyZp/immich-ynh-deps /tmp/tmp.Rkr3lvbyZp/immich-ynh-deps.deb
13388 DEBUG + LC_ALL=C
13389 DEBUG + dpkg --force-depends --install /tmp/tmp.Rkr3lvbyZp/immich-ynh-deps.deb
13390 DEBUG + tee /tmp/tmp.Rkr3lvbyZp/dpkg_log
13579 DEBUG (Reading database ... 170093 files and directories currently installed.)
13583 DEBUG Preparing to unpack .../immich-ynh-deps.deb ...
13812 DEBUG Unpacking immich-ynh-deps (1.112.1~ynh2) over (1.112.1~ynh2) ...
14231 DEBUG Setting up immich-ynh-deps (1.112.1~ynh2) ...
14631 DEBUG + ynh_package_install --fix-broken
14631 DEBUG + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
14632 DEBUG + ynh_wait_dpkg_free
14632 DEBUG + local try
14632 DEBUG + set +o xtrace
14750 DEBUG + return 0
14750 DEBUG + LC_ALL=C
14750 DEBUG + DEBIAN_FRONTEND=noninteractive
14750 DEBUG + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
15209 DEBUG Reading package lists...
15301 DEBUG Building dependency tree...
15302 DEBUG Reading state information...
15390 DEBUG The following package was automatically installed and is no longer required:
15390 DEBUG   libpq-dev
15391 DEBUG Use 'sudo apt autoremove' to remove it.
15403 DEBUG 0 upgraded, 0 newly installed, 0 to remove and 44 not upgraded.
15403 DEBUG + [[ -n /tmp/tmp.Rkr3lvbyZp ]]
15403 DEBUG + rm --recursive --force /tmp/tmp.Rkr3lvbyZp
15404 DEBUG + ynh_package_is_installed immich-ynh-deps
15404 DEBUG + local legacy_args=p
15404 DEBUG + args_array=(['p']='package=')
15404 DEBUG + local -A args_array
15404 DEBUG + local package
15405 DEBUG + ynh_handle_getopts_args immich-ynh-deps
15405 DEBUG + set +o xtrace
15408 DEBUG + echo '! Helper used in legacy mode !'
15408 DEBUG + set +x
15409 DEBUG + dpkg-query --show '--showformat=${Status}' immich-ynh-deps
15409 DEBUG + grep --count 'ok installed'
15424 DEBUG + rm /tmp/immich-ynh-deps.control
15425 DEBUG ++ ynh_package_is_installed postgresql-13
15426 DEBUG ++ local legacy_args=p
15426 DEBUG ++ args_array=(['p']='package=')
15426 DEBUG ++ local -A args_array
15426 DEBUG ++ local package
15426 DEBUG ++ ynh_handle_getopts_args postgresql-13
15426 DEBUG ++ set +o xtrace
15430 DEBUG ++ echo '! Helper used in legacy mode !'
15430 DEBUG ++ set +x
15431 DEBUG ++ dpkg-query --show '--showformat=${Status}' postgresql-13
15431 DEBUG ++ grep --count 'ok installed'
15447 DEBUG ++ echo yes
15447 DEBUG + local psql_installed2=yes
15447 DEBUG + [[ yes != \y\e\s ]]
15447 DEBUG + ynh_install_extra_app_dependencies '--repo=deb https://apt.postgresql.org/pub/repos/apt bullseye-pgdg main 16' --key=https://www.postgresql.org/media/keys/ACCC4CF8.asc '--package=libpq5 libpq-dev postgresql-16 postgresql-16-pgvector postgresql-client-16 postgresql-common postgresql-client-common'
15447 DEBUG + local legacy_args=rpkn
15447 DEBUG + args_array=(['r']='repo=' ['p']='package=' ['k']='key=' ['n']='name=')
15447 DEBUG + local -A args_array
15447 DEBUG + local repo
15448 DEBUG + local package
15448 DEBUG + local key
15448 DEBUG + local name
15448 DEBUG + ynh_handle_getopts_args '--repo=deb https://apt.postgresql.org/pub/repos/apt bullseye-pgdg main 16' --key=https://www.postgresql.org/media/keys/ACCC4CF8.asc '--package=libpq5 libpq-dev postgresql-16 postgresql-16-pgvector postgresql-client-16 postgresql-common postgresql-client-common'
15448 DEBUG + set +o xtrace
15510 DEBUG + name=immich
15511 DEBUG + key=https://www.postgresql.org/media/keys/ACCC4CF8.asc
15511 DEBUG + '[' -n https://www.postgresql.org/media/keys/ACCC4CF8.asc ']'
15511 DEBUG + key=--key=https://www.postgresql.org/media/keys/ACCC4CF8.asc
15512 DEBUG + ynh_install_extra_repo '--repo=deb https://apt.postgresql.org/pub/repos/apt bullseye-pgdg main 16' --key=https://www.postgresql.org/media/keys/ACCC4CF8.asc --priority=995 --name=immich
15512 DEBUG + local legacy_args=rkpna
15512 DEBUG + args_array=(['r']='repo=' ['k']='key=' ['p']='priority=' ['n']='name=' ['a']='append')
15513 DEBUG + local -A args_array
15513 DEBUG + local repo
15513 DEBUG + local key
15513 DEBUG + local priority
15514 DEBUG + local name
15514 DEBUG + local append
15514 DEBUG + ynh_handle_getopts_args '--repo=deb https://apt.postgresql.org/pub/repos/apt bullseye-pgdg main 16' --key=https://www.postgresql.org/media/keys/ACCC4CF8.asc --priority=995 --name=immich
15515 DEBUG + set +o xtrace
15794 DEBUG + name=immich
15795 DEBUG + append=0
15795 DEBUG + key=https://www.postgresql.org/media/keys/ACCC4CF8.asc
15796 DEBUG + priority=995
15796 DEBUG + '[' 0 -eq 1 ']'
15797 DEBUG + append=
15797 DEBUG + wget_append=tee
15797 DEBUG + [[ https://www.postgresql.org/media/keys/ACCC4CF8.asc == \t\r\u\s\t\e\d\=\y\e\s ]]
15798 DEBUG + trusted=
15798 DEBUG + IFS=', '
15798 DEBUG + read -r -a repo_parts
15798 DEBUG + index=0
15799 DEBUG + [[ deb == \d\e\b ]]
15799 DEBUG + index=1
15799 DEBUG + uri=https://apt.postgresql.org/pub/repos/apt
15800 DEBUG + index=2
15800 DEBUG + suite=bullseye-pgdg
15800 DEBUG + index=3
15800 DEBUG + ((  5 > 0  ))
15801 DEBUG + component='main 16'
15801 DEBUG + ynh_add_repo --uri=https://apt.postgresql.org/pub/repos/apt --suite=bullseye-pgdg '--component=main 16' --name=immich
15801 DEBUG + local legacy_args=uscnat
15801 DEBUG + args_array=(['u']='uri=' ['s']='suite=' ['c']='component=' ['n']='name=' ['a']='append' ['t']='trusted')
15802 DEBUG + local -A args_array
15802 DEBUG + local uri
15802 DEBUG + local suite
15803 DEBUG + local component
15803 DEBUG + local name
15803 DEBUG + local append
15803 DEBUG + local trusted
15804 DEBUG + ynh_handle_getopts_args --uri=https://apt.postgresql.org/pub/repos/apt --suite=bullseye-pgdg '--component=main 16' --name=immich
15804 DEBUG + set +o xtrace
16140 DEBUG + name=immich
16141 DEBUG + append=0
16141 DEBUG + trusted=0
16141 DEBUG + '[' 0 -eq 1 ']'
16142 DEBUG + append=tee
16142 DEBUG + [[ 0 -eq 1 ]]
16142 DEBUG + trust=
16142 DEBUG + mkdir --parents /etc/apt/sources.list.d
16144 DEBUG + echo 'deb  https://apt.postgresql.org/pub/repos/apt bullseye-pgdg main 16'
16145 DEBUG + tee /etc/apt/sources.list.d/immich.list
16147 DEBUG deb  https://apt.postgresql.org/pub/repos/apt bullseye-pgdg main 16
16148 DEBUG + local pin=apt.postgresql.org/pub/repos/apt
16149 DEBUG + pin=apt.postgresql.org
16149 DEBUG + '[' -n 995 ']'
16150 DEBUG + priority=--priority=995
16150 DEBUG + ynh_pin_repo '--package=*' '--pin=origin "apt.postgresql.org"' --priority=995 --name=immich
16150 DEBUG + local legacy_args=pirna
16151 DEBUG + args_array=(['p']='package=' ['i']='pin=' ['r']='priority=' ['n']='name=' ['a']='append')
16151 DEBUG + local -A args_array
16151 DEBUG + local package
16152 DEBUG + local pin
16152 DEBUG + local priority
16152 DEBUG + local name
16152 DEBUG + local append
16153 DEBUG + ynh_handle_getopts_args '--package=*' '--pin=origin "apt.postgresql.org"' --priority=995 --name=immich
16153 DEBUG + set +o xtrace
16442 DEBUG + package='*'
16443 DEBUG + priority=995
16443 DEBUG + name=immich
16444 DEBUG + append=0
16444 DEBUG + '[' 0 -eq 1 ']'
16444 DEBUG + append=tee
16444 DEBUG + [[ immich != \e\x\t\r\a\_\p\h\p\_\v\e\r\s\i\o\n ]]
16445 DEBUG + mkdir --parents /etc/apt/preferences.d
16447 DEBUG + echo 'Package: *
16447 DEBUG Pin: origin "apt.postgresql.org"
16448 DEBUG Pin-Priority: 995
16448 DEBUG '
16448 DEBUG + tee /etc/apt/preferences.d/immich
16450 DEBUG Package: *
16450 DEBUG Pin: origin "apt.postgresql.org"
16451 DEBUG Pin-Priority: 995
16451 DEBUG
16452 DEBUG + '[' -n https://www.postgresql.org/media/keys/ACCC4CF8.asc ']'
16452 DEBUG + [[ https://www.postgresql.org/media/keys/ACCC4CF8.asc != \t\r\u\s\t\e\d\=\y\e\s ]]
16452 DEBUG + mkdir --parents /etc/apt/trusted.gpg.d
16455 DEBUG + wget --timeout 900 --quiet https://www.postgresql.org/media/keys/ACCC4CF8.asc --output-document=-
16455 DEBUG + gpg --dearmor
16456 DEBUG + tee /etc/apt/trusted.gpg.d/immich.gpg
16874 DEBUG + ynh_package_update
16875 DEBUG + ynh_apt update
16875 DEBUG + ynh_wait_dpkg_free
16876 DEBUG + local try
16876 DEBUG + set +o xtrace
17043 DEBUG + return 0
17043 DEBUG + LC_ALL=C
17043 DEBUG + DEBIAN_FRONTEND=noninteractive
17043 DEBUG + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
17115 DEBUG Hit:1 http://forge.yunohost.org/debian bullseye InRelease
17130 DEBUG Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
17131 DEBUG Hit:3 http://deb.debian.org/debian bullseye InRelease
17157 DEBUG Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
17183 DEBUG Hit:5 https://packages.sury.org/php bullseye InRelease
17268 DEBUG Get:6 https://apt.postgresql.org/pub/repos/apt bullseye-pgdg InRelease [129 kB]
17967 DEBUG Get:7 https://apt.postgresql.org/pub/repos/apt bullseye-pgdg/main amd64 Packages [350 kB]
18192 DEBUG Fetched 480 kB in 1s (450 kB/s)
18597 DEBUG Reading package lists...
18604 DEBUG + ynh_install_app_dependencies 'libpq5 libpq-dev postgresql-16 postgresql-16-pgvector postgresql-client-16 postgresql-common postgresql-client-common'
18605 DEBUG + local 'dependencies=libpq5 libpq-dev postgresql-16 postgresql-16-pgvector postgresql-client-16 postgresql-common postgresql-client-common'
18605 DEBUG ++ echo 'libpq5 libpq-dev postgresql-16 postgresql-16-pgvector postgresql-client-16 postgresql-common postgresql-client-common'
18605 DEBUG ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
18606 DEBUG + dependencies='libpq5, libpq-dev, postgresql-16, postgresql-16-pgvector, postgresql-client-16, postgresql-common, postgresql-client-common'
18606 DEBUG + local 'dependencies=libpq5, libpq-dev, postgresql-16, postgresql-16-pgvector, postgresql-client-16, postgresql-common, postgresql-client-common'
18607 DEBUG ++ ynh_read_manifest --manifest_key=version
18607 DEBUG ++ local legacy_args=mk
18607 DEBUG ++ args_array=(['m']='manifest=' ['k']='manifest_key=')
18607 DEBUG ++ local -A args_array
18607 DEBUG ++ local manifest
18607 DEBUG ++ local manifest_key
18608 DEBUG ++ ynh_handle_getopts_args --manifest_key=version
18608 DEBUG ++ set +o xtrace
18616 DEBUG ++ '[' '!' -e '' ']'
18617 DEBUG ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.json ']'
18617 DEBUG ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.toml ']'
18617 DEBUG ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.toml
18617 DEBUG ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.toml
18617 DEBUG ++ grep -q '\.json$'
18618 DEBUG ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.toml
18618 DEBUG ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
18619 DEBUG ++ jq .version --raw-output
18645 DEBUG + local version=1.112.1~ynh2
18645 DEBUG + '[' -z 1.112.1~ynh2 ']'
18645 DEBUG + '[' 1.112.1~ynh2 == null ']'
18645 DEBUG + local dep_app=immich
18645 DEBUG + [[ libpq5, libpq-dev, postgresql-16, postgresql-16-pgvector, postgresql-client-16, postgresql-common, postgresql-client-common =~ [<=>] ]]
18646 DEBUG ++ echo libpq5, libpq-dev, postgresql-16, postgresql-16-pgvector, postgresql-client-16, postgresql-common, postgresql-client-common
18646 DEBUG ++ grep -oP '(?<=php)[0-9.]+(?=-|\>|)'
18646 DEBUG ++ sort -u
18647 DEBUG + local specific_php_version=
18647 DEBUG + [[ -n '' ]]
18647 DEBUG + grep --quiet php
18648 DEBUG ++ ynh_package_is_installed postgresql-13
18649 DEBUG ++ local legacy_args=p
18649 DEBUG ++ args_array=(['p']='package=')
18649 DEBUG ++ local -A args_array
18649 DEBUG ++ local package
18649 DEBUG ++ ynh_handle_getopts_args postgresql-13
18649 DEBUG ++ set +o xtrace
18653 DEBUG ++ echo '! Helper used in legacy mode !'
18653 DEBUG ++ set +x
18654 DEBUG ++ dpkg-query --show '--showformat=${Status}' postgresql-13
18654 DEBUG ++ grep --count 'ok installed'
18670 DEBUG ++ echo yes
18670 DEBUG + local psql_installed=yes
18670 DEBUG + [[ false == \t\r\u\e ]]
18670 DEBUG + local current_dependencies=
18670 DEBUG + ynh_package_is_installed --package=immich-ynh-deps
18670 DEBUG + local legacy_args=p
18671 DEBUG + args_array=(['p']='package=')
18671 DEBUG + local -A args_array
18671 DEBUG + local package
18671 DEBUG + ynh_handle_getopts_args --package=immich-ynh-deps
18671 DEBUG + set +o xtrace
18676 DEBUG + dpkg-query --show '--showformat=${Status}' immich-ynh-deps
18676 DEBUG + grep --count 'ok installed'
18692 DEBUG ++ dpkg-query --show '--showformat=${Depends}' immich-ynh-deps
18707 DEBUG + current_dependencies='python3-venv, python3-dev, ffmpeg, postgresql, wget, build-essential, libreadline-dev, libncursesw5-dev, libssl-dev, libsqlite3-dev, tk-dev, libgdbm-dev, libc6-dev, libbz2-dev, libffi-dev, zlib1g-dev, unzip, uuid-runtime, autoconf, jq, perl, libnet-ssleay-perl, libio-socket-ssl-perl, libcapture-tiny-perl, libfile-which-perl, libfile-chdir-perl, libpkgconfig-perl, libffi-checklib-perl, libtest-warnings-perl, libtest-fatal-perl, libtest-needs-perl, libtest2-suite-perl, libsort-versions-perl, libpath-tiny-perl, libtry-tiny-perl, libterm-table-perl, libany-uri-escape-perl, libmojolicious-perl, libfile-slurper-perl, liblcms2-2, libllvm16, libllvm13, redis-server '
18707 DEBUG + current_dependencies='python3-venv, python3-dev, ffmpeg, postgresql, wget, build-essential, libreadline-dev, libncursesw5-dev, libssl-dev, libsqlite3-dev, tk-dev, libgdbm-dev, libc6-dev, libbz2-dev, libffi-dev, zlib1g-dev, unzip, uuid-runtime, autoconf, jq, perl, libnet-ssleay-perl, libio-socket-ssl-perl, libcapture-tiny-perl, libfile-which-perl, libfile-chdir-perl, libpkgconfig-perl, libffi-checklib-perl, libtest-warnings-perl, libtest-fatal-perl, libtest-needs-perl, libtest2-suite-perl, libsort-versions-perl, libpath-tiny-perl, libtry-tiny-perl, libterm-table-perl, libany-uri-escape-perl, libmojolicious-perl, libfile-slurper-perl, liblcms2-2, libllvm16, libllvm13, redis-server '
18707 DEBUG + dependencies='python3-venv, python3-dev, ffmpeg, postgresql, wget, build-essential, libreadline-dev, libncursesw5-dev, libssl-dev, libsqlite3-dev, tk-dev, libgdbm-dev, libc6-dev, libbz2-dev, libffi-dev, zlib1g-dev, unzip, uuid-runtime, autoconf, jq, perl, libnet-ssleay-perl, libio-socket-ssl-perl, libcapture-tiny-perl, libfile-which-perl, libfile-chdir-perl, libpkgconfig-perl, libffi-checklib-perl, libtest-warnings-perl, libtest-fatal-perl, libtest-needs-perl, libtest2-suite-perl, libsort-versions-perl, libpath-tiny-perl, libtry-tiny-perl, libterm-table-perl, libany-uri-escape-perl, libmojolicious-perl, libfile-slurper-perl, liblcms2-2, libllvm16, libllvm13, redis-server , libpq5, libpq-dev, postgresql-16, postgresql-16-pgvector, postgresql-client-16, postgresql-common, postgresql-client-common'
18707 DEBUG + cat
18708 DEBUG + ynh_package_install_from_equivs /tmp/immich-ynh-deps.control
18708 DEBUG + local controlfile=/tmp/immich-ynh-deps.control
18708 DEBUG ++ grep '^Package: ' /tmp/immich-ynh-deps.control
18708 DEBUG ++ cut '--delimiter= ' --fields=2
18709 DEBUG + local pkgname=immich-ynh-deps
18710 DEBUG ++ grep '^Version: ' /tmp/immich-ynh-deps.control
18710 DEBUG ++ cut '--delimiter= ' --fields=2
18711 DEBUG + local pkgversion=1.112.1~ynh2
18711 DEBUG + [[ -z immich-ynh-deps ]]
18712 DEBUG + [[ -z 1.112.1~ynh2 ]]
18712 DEBUG + ynh_package_update
18712 DEBUG + ynh_apt update
18712 DEBUG + ynh_wait_dpkg_free
18712 DEBUG + local try
18712 DEBUG + set +o xtrace
18836 DEBUG + return 0
18836 DEBUG + LC_ALL=C
18836 DEBUG + DEBIAN_FRONTEND=noninteractive
18837 DEBUG + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
18912 DEBUG Hit:1 http://forge.yunohost.org/debian bullseye InRelease
18927 DEBUG Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
18927 DEBUG Hit:3 http://deb.debian.org/debian bullseye InRelease
18953 DEBUG Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
18986 DEBUG Hit:5 https://packages.sury.org/php bullseye InRelease
19115 DEBUG Hit:6 https://apt.postgresql.org/pub/repos/apt bullseye-pgdg InRelease
20181 DEBUG Reading package lists...
20188 DEBUG ++ mktemp --directory
20189 DEBUG + local TMPDIR=/tmp/tmp.elAjpvQufc
20189 DEBUG + mkdir -p /tmp/tmp.elAjpvQufc/immich-ynh-deps/DEBIAN/
20190 DEBUG + chmod -R 755 /tmp/tmp.elAjpvQufc/immich-ynh-deps
20191 DEBUG + ynh_wait_dpkg_free
20191 DEBUG + local try
20191 DEBUG + set +o xtrace
20287 DEBUG + return 0
20287 DEBUG + cp /tmp/immich-ynh-deps.control /tmp/tmp.elAjpvQufc/immich-ynh-deps/DEBIAN/control
20288 DEBUG + LC_ALL=C
20288 DEBUG + dpkg-deb --build /tmp/tmp.elAjpvQufc/immich-ynh-deps /tmp/tmp.elAjpvQufc/immich-ynh-deps.deb
20366 DEBUG + LC_ALL=C
20367 DEBUG + dpkg --force-depends --install /tmp/tmp.elAjpvQufc/immich-ynh-deps.deb
20367 DEBUG + tee /tmp/tmp.elAjpvQufc/dpkg_log
20563 DEBUG (Reading database ... 170093 files and directories currently installed.)
20567 DEBUG Preparing to unpack .../immich-ynh-deps.deb ...
20816 DEBUG Unpacking immich-ynh-deps (1.112.1~ynh2) over (1.112.1~ynh2) ...
21266 DEBUG Setting up immich-ynh-deps (1.112.1~ynh2) ...
21303 DEBUG + ynh_package_install --fix-broken
21303 DEBUG + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
21303 DEBUG + ynh_wait_dpkg_free
21303 DEBUG + local try
21303 DEBUG + set +o xtrace
21401 DEBUG + return 0
21402 DEBUG + LC_ALL=C
21402 DEBUG + DEBIAN_FRONTEND=noninteractive
21402 DEBUG + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
21529 DEBUG Reading package lists...
21632 DEBUG Building dependency tree...
21633 DEBUG Reading state information...
21729 DEBUG 0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
21730 DEBUG + [[ -n /tmp/tmp.elAjpvQufc ]]
21730 DEBUG + rm --recursive --force /tmp/tmp.elAjpvQufc
21731 DEBUG + ynh_package_is_installed immich-ynh-deps
21731 DEBUG + local legacy_args=p
21731 DEBUG + args_array=(['p']='package=')
21731 DEBUG + local -A args_array
21731 DEBUG + local package
21731 DEBUG + ynh_handle_getopts_args immich-ynh-deps
21731 DEBUG + set +o xtrace
21735 DEBUG + echo '! Helper used in legacy mode !'
21735 DEBUG + set +x
21736 DEBUG + dpkg-query --show '--showformat=${Status}' immich-ynh-deps
21737 DEBUG + grep --count 'ok installed'
21752 DEBUG + rm /tmp/immich-ynh-deps.control
21753 DEBUG ++ ynh_package_is_installed postgresql-13
21753 DEBUG ++ local legacy_args=p
21753 DEBUG ++ args_array=(['p']='package=')
21753 DEBUG ++ local -A args_array
21753 DEBUG ++ local package
21753 DEBUG ++ ynh_handle_getopts_args postgresql-13
21753 DEBUG ++ set +o xtrace
21757 DEBUG ++ echo '! Helper used in legacy mode !'
21758 DEBUG ++ set +x
21759 DEBUG ++ dpkg-query --show '--showformat=${Status}' postgresql-13
21759 DEBUG ++ grep --count 'ok installed'
21774 DEBUG ++ echo yes
21774 DEBUG + local psql_installed2=yes
21774 DEBUG + [[ yes != \y\e\s ]]
21775 DEBUG ++ apt-mark showauto libpq5 libpq-dev postgresql-16 postgresql-16-pgvector postgresql-client-16 postgresql-common postgresql-client-common
21907 DEBUG + local 'apps_auto_installed=libpq-dev
21907 DEBUG libpq5
21907 DEBUG postgresql-16
21907 DEBUG postgresql-16-pgvector
21907 DEBUG postgresql-client-16
21907 DEBUG postgresql-client-common
21908 DEBUG postgresql-common'
21908 DEBUG + ynh_package_install 'libpq5 libpq-dev postgresql-16 postgresql-16-pgvector postgresql-client-16 postgresql-common postgresql-client-common'
21908 DEBUG + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install libpq5 libpq-dev postgresql-16 postgresql-16-pgvector postgresql-client-16 postgresql-common postgresql-client-common
21908 DEBUG + ynh_wait_dpkg_free
21908 DEBUG + local try
21908 DEBUG + set +o xtrace
22027 DEBUG + return 0
22027 DEBUG + LC_ALL=C
22027 DEBUG + DEBIAN_FRONTEND=noninteractive
22027 DEBUG + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install libpq5 libpq-dev postgresql-16 postgresql-16-pgvector postgresql-client-16 postgresql-common postgresql-client-common
22044 DEBUG Reading package lists...
22146 DEBUG Building dependency tree...
22147 DEBUG Reading state information...
22275 DEBUG libpq-dev is already the newest version (16.4-1.pgdg110+1).
22276 DEBUG libpq-dev set to manually installed.
22276 DEBUG libpq5 is already the newest version (16.4-1.pgdg110+1).
22276 DEBUG libpq5 set to manually installed.
22276 DEBUG postgresql-16 is already the newest version (16.4-1.pgdg110+1).
22276 DEBUG postgresql-16 set to manually installed.
22276 DEBUG postgresql-16-pgvector is already the newest version (0.7.4-1.pgdg110+1).
22276 DEBUG postgresql-16-pgvector set to manually installed.
22276 DEBUG postgresql-client-16 is already the newest version (16.4-1.pgdg110+1).
22277 DEBUG postgresql-client-16 set to manually installed.
22277 DEBUG postgresql-client-common is already the newest version (262.pgdg110+1).
22277 DEBUG postgresql-client-common set to manually installed.
22277 DEBUG postgresql-common is already the newest version (262.pgdg110+1).
22277 DEBUG postgresql-common set to manually installed.
22277 DEBUG 0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
22277 DEBUG + '[' -z 'libpq-dev
22277 DEBUG libpq5
22277 DEBUG postgresql-16
22277 DEBUG postgresql-16-pgvector
22278 DEBUG postgresql-client-16
22278 DEBUG postgresql-client-common
22278 DEBUG postgresql-common' ']'
22278 DEBUG + apt-mark auto libpq-dev libpq5 postgresql-16 postgresql-16-pgvector postgresql-client-16 postgresql-client-common postgresql-common
22468 DEBUG libpq-dev set to automatically installed.
22468 DEBUG libpq5 set to automatically installed.
22468 DEBUG postgresql-16 set to automatically installed.
22468 DEBUG postgresql-16-pgvector set to automatically installed.
22468 DEBUG postgresql-client-16 set to automatically installed.
22469 DEBUG postgresql-client-common set to automatically installed.
22469 DEBUG postgresql-common set to automatically installed.
22469 DEBUG + ynh_remove_extra_repo --name=immich
22469 DEBUG + local legacy_args=n
22469 DEBUG + args_array=(['n']='name=')
22469 DEBUG + local -A args_array
22469 DEBUG + local name
22469 DEBUG + ynh_handle_getopts_args --name=immich
22469 DEBUG + set +o xtrace
22474 DEBUG + name=immich
22474 DEBUG + ynh_secure_remove --file=/etc/apt/sources.list.d/immich.list
22474 DEBUG + local legacy_args=f
22475 DEBUG + args_array=(['f']='file=')
22475 DEBUG + local -A args_array
22475 DEBUG + local file
22475 DEBUG + ynh_handle_getopts_args --file=/etc/apt/sources.list.d/immich.list
22475 DEBUG + set +o xtrace
22480 DEBUG + set +o xtrace
22486 DEBUG + [[ immich == \e\x\t\r\a\_\p\h\p\_\v\e\r\s\i\o\n ]]
22486 DEBUG + ynh_secure_remove /etc/apt/preferences.d/immich
22486 DEBUG + local legacy_args=f
22487 DEBUG + args_array=(['f']='file=')
22487 DEBUG + local -A args_array
22487 DEBUG + local file
22487 DEBUG + ynh_handle_getopts_args /etc/apt/preferences.d/immich
22487 DEBUG + set +o xtrace
22491 DEBUG + echo '! Helper used in legacy mode !'
22491 DEBUG + set +x
22492 DEBUG + set +o xtrace
22497 DEBUG + '[' -e /etc/apt/trusted.gpg.d/immich.gpg ']'
22498 DEBUG + ynh_secure_remove --file=/etc/apt/trusted.gpg.d/immich.gpg
22498 DEBUG + local legacy_args=f
22498 DEBUG + args_array=(['f']='file=')
22498 DEBUG + local -A args_array
22498 DEBUG + local file
22498 DEBUG + ynh_handle_getopts_args --file=/etc/apt/trusted.gpg.d/immich.gpg
22498 DEBUG + set +o xtrace
22503 DEBUG + set +o xtrace
22509 DEBUG + '[' -e /etc/apt/trusted.gpg.d/immich.asc ']'
22509 DEBUG + ynh_package_update
22509 DEBUG + ynh_apt update
22509 DEBUG + ynh_wait_dpkg_free
22509 DEBUG + local try
22509 DEBUG + set +o xtrace
22632 DEBUG + return 0
22632 DEBUG + LC_ALL=C
22632 DEBUG + DEBIAN_FRONTEND=noninteractive
22632 DEBUG + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
22723 DEBUG Hit:1 http://deb.debian.org/debian bullseye InRelease
22723 DEBUG Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
22741 DEBUG Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
22771 DEBUG Hit:4 http://forge.yunohost.org/debian bullseye InRelease
22777 DEBUG Hit:5 https://packages.sury.org/php bullseye InRelease
23994 DEBUG Reading package lists...
24000 DEBUG + ynh_exit_properly
24001 DEBUG + local exit_code=0
24001 DEBUG + [[ provision_or_update_apt =~ ^install$|^upgrade$|^restore$ ]]
24001 DEBUG + '[' 0 -eq 0 ']'
24001 DEBUG + exit 0
25003 INFO Updating database...
25069 DEBUG Executing command '['sh', '-c', '/bin/bash -x "./upgrade"  7>&1']'
25072 DEBUG + source _common.sh
25073 DEBUG ++ nodejs_version=20
25073 DEBUG ++ failregex='immich-server.*Failed login attempt for user.+from ip address\s?<ADDR>'
25073 DEBUG + source /usr/share/yunohost/helpers
25073 DEBUG ++++ dirname -- /usr/share/yunohost/helpers
25074 DEBUG +++ cd -- /usr/share/yunohost
25074 DEBUG +++ pwd
25074 DEBUG ++ SCRIPT_DIR=/usr/share/yunohost
25074 DEBUG ++ YNH_HELPERS_VERSION=2
25074 DEBUG +++ set +o
25075 DEBUG +++ grep xtrace
25075 DEBUG ++ readonly 'XTRACE_ENABLE=set -o xtrace'
25076 DEBUG ++ XTRACE_ENABLE='set -o xtrace'
25076 DEBUG ++ set +x
25089 DEBUG + ynh_script_progression '--message=Stopping a systemd service...' --weight=1
25089 DEBUG + set +o xtrace
25125 DEBUG + set +o xtrace
25152 DEBUG + echo '! Helper used in legacy mode !'
25153 DEBUG + set +x
25155 DEBUG + echo '[+...................] > Stopping a systemd service...'
25155 INFO [+...................] > Stopping a systemd service...
25155 DEBUG + set -o xtrace
25156 DEBUG + ynh_systemd_action --service_name=immich-server --action=stop
25156 DEBUG + local legacy_args=nalpte
25156 DEBUG + args_array=(['n']='service_name=' ['a']='action=' ['l']='line_match=' ['p']='log_path=' ['t']='timeout=' ['e']='length=')
25156 DEBUG + local -A args_array
25156 DEBUG + local service_name
25156 DEBUG + local action
25157 DEBUG + local line_match
25157 DEBUG + local length
25157 DEBUG + local log_path
25157 DEBUG + local timeout
25157 DEBUG + ynh_handle_getopts_args --service_name=immich-server --action=stop
25157 DEBUG + set +o xtrace
25316 DEBUG + service_name=immich-server
25316 DEBUG + action=stop
25317 DEBUG + line_match=
25317 DEBUG + length=20
25317 DEBUG + log_path=/var/log/immich-server/immich-server.log
25318 DEBUG + timeout=300
25318 DEBUG + '[' stop == stop ']'
25318 DEBUG + systemctl is-active --quiet immich-server
25325 DEBUG + return 0
25326 DEBUG + ynh_systemd_action --service_name=immich-microservices --action=stop
25327 DEBUG + local legacy_args=nalpte
25327 DEBUG + args_array=(['n']='service_name=' ['a']='action=' ['l']='line_match=' ['p']='log_path=' ['t']='timeout=' ['e']='length=')
25328 DEBUG + local -A args_array
25328 DEBUG + local service_name
25328 DEBUG + local action
25328 DEBUG + local line_match
25329 DEBUG + local length
25329 DEBUG + local log_path
25329 DEBUG + local timeout
25330 DEBUG + ynh_handle_getopts_args --service_name=immich-microservices --action=stop
25330 DEBUG + set +o xtrace
25514 DEBUG + service_name=immich-microservices
25515 DEBUG + action=stop
25515 DEBUG + line_match=
25515 DEBUG + length=20
25515 DEBUG + log_path=/var/log/immich-microservices/immich-microservices.log
25516 DEBUG + timeout=300
25516 DEBUG + '[' stop == stop ']'
25516 DEBUG + systemctl is-active --quiet immich-microservices
25524 DEBUG + return 0
25524 DEBUG + ynh_systemd_action --service_name=immich-machine-learning --action=stop
25525 DEBUG + local legacy_args=nalpte
25526 DEBUG + args_array=(['n']='service_name=' ['a']='action=' ['l']='line_match=' ['p']='log_path=' ['t']='timeout=' ['e']='length=')
25526 DEBUG + local -A args_array
25526 DEBUG + local service_name
25527 DEBUG + local action
25527 DEBUG + local line_match
25527 DEBUG + local length
25527 DEBUG + local log_path
25528 DEBUG + local timeout
25528 DEBUG + ynh_handle_getopts_args --service_name=immich-machine-learning --action=stop
25528 DEBUG + set +o xtrace
25696 DEBUG + service_name=immich-machine-learning
25697 DEBUG + action=stop
25697 DEBUG + line_match=
25698 DEBUG + length=20
25698 DEBUG + log_path=/var/log/immich-machine-learning/immich-machine-learning.log
25698 DEBUG + timeout=300
25698 DEBUG + '[' stop == stop ']'
25699 DEBUG + systemctl is-active --quiet immich-machine-learning
25705 DEBUG + return 0
25706 DEBUG + ynh_script_progression '--message=Upgrading source files...' --weight=1
25706 DEBUG + set +o xtrace
25824 DEBUG + set +o xtrace
25847 DEBUG + echo '! Helper used in legacy mode !'
25848 DEBUG + set +x
25851 DEBUG + echo '[#+..................] > Upgrading source files...'
25852 DEBUG + set -o xtrace
25852 DEBUG + ynh_secure_remove --file=/var/www/immich
25853 DEBUG + local legacy_args=f
25853 DEBUG + args_array=(['f']='file=')
25853 DEBUG + local -A args_array
25854 DEBUG + local file
25854 DEBUG + ynh_handle_getopts_args --file=/var/www/immich
25854 DEBUG + set +o xtrace
25854 INFO [#+..................] > Upgrading source files...
25872 DEBUG + set +o xtrace
25994 DEBUG + source_dir=/var/www/immich/source
25995 DEBUG + ynh_setup_source --source_id=main --dest_dir=/var/www/immich/source --full_replace=1
25995 DEBUG + local legacy_args=dsk
25995 DEBUG + args_array=(['d']='dest_dir=' ['s']='source_id=' ['k']='keep=' ['r']='full_replace=')
25995 DEBUG + local -A args_array
25995 DEBUG + local dest_dir
25995 DEBUG + local source_id
25996 DEBUG + local keep
25996 DEBUG + local full_replace
25996 DEBUG + ynh_handle_getopts_args --source_id=main --dest_dir=/var/www/immich/source --full_replace=1
25996 DEBUG + set +o xtrace
26038 DEBUG + keep=
26038 DEBUG + full_replace=1
26038 DEBUG + test -e /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.toml
26038 DEBUG + cat /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.toml
26038 DEBUG + toml_to_json
26038 DEBUG + jq -e .resources.sources
26038 DEBUG + python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
26067 DEBUG + source_id=main
26068 DEBUG ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.toml
26068 DEBUG ++ toml_to_json
26068 DEBUG ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
26068 DEBUG ++ jq '.resources.sources["main"]'
26094 DEBUG + local 'sources_json={
26095 DEBUG   "url": "https://github.com/immich-app/immich/archive/refs/tags/v1.112.1.tar.gz",
26095 DEBUG   "sha256": "2f5fa0fbb19786f2309b2abe8182c6cca7b44fd2c1528a5b0597519be0992eb2",
26095 DEBUG   "autoupdate": {
26095 DEBUG     "strategy": "latest_github_release"
26095 DEBUG   }
26095 DEBUG }'
26095 DEBUG + jq -re .url
26120 DEBUG https://github.com/immich-app/immich/archive/refs/tags/v1.112.1.tar.gz
26120 DEBUG + local arch_prefix=
26121 DEBUG ++ jq -r .url
26121 DEBUG ++ sed 's/^null$//'
26146 DEBUG + local src_url=https://github.com/immich-app/immich/archive/refs/tags/v1.112.1.tar.gz
26146 DEBUG ++ jq -r .sha256
26147 DEBUG ++ sed 's/^null$//'
26172 DEBUG + local src_sum=2f5fa0fbb19786f2309b2abe8182c6cca7b44fd2c1528a5b0597519be0992eb2
26172 DEBUG + local src_sumprg=sha256sum
26172 DEBUG ++ jq -r .format
26172 DEBUG ++ sed 's/^null$//'
26198 DEBUG + local src_format=
26199 DEBUG ++ jq -r .in_subdir
26199 DEBUG ++ sed 's/^null$//'
26224 DEBUG + local src_in_subdir=
26225 DEBUG ++ jq -r .extract
26225 DEBUG ++ sed 's/^null$//'
26250 DEBUG + local src_extract=
26251 DEBUG ++ jq -r .platform
26251 DEBUG ++ sed 's/^null$//'
26276 DEBUG + local src_platform=
26276 DEBUG ++ jq -r .rename
26277 DEBUG ++ sed 's/^null$//'
26302 DEBUG + local src_rename=
26302 DEBUG + [[ -n https://github.com/immich-app/immich/archive/refs/tags/v1.112.1.tar.gz ]]
26303 DEBUG + [[ -n 2f5fa0fbb19786f2309b2abe8182c6cca7b44fd2c1528a5b0597519be0992eb2 ]]
26303 DEBUG + [[ -z '' ]]
26303 DEBUG + [[ https://github.com/immich-app/immich/archive/refs/tags/v1.112.1.tar.gz =~ ^.*\.zip$ ]]
26303 DEBUG + [[ https://github.com/immich-app/immich/archive/refs/tags/v1.112.1.tar.gz =~ ^.*/zipball/.*$ ]]
26303 DEBUG + [[ https://github.com/immich-app/immich/archive/refs/tags/v1.112.1.tar.gz =~ ^.*\.tar\.gz$ ]]
26303 DEBUG + src_format=tar.gz
26304 DEBUG + src_sumprg=sha256sum
26304 DEBUG + src_in_subdir=true
26304 DEBUG + src_format=tar.gz
26304 DEBUG ++ echo tar.gz
26304 DEBUG ++ tr '[:upper:]' '[:lower:]'
26305 DEBUG + src_format=tar.gz
26305 DEBUG + src_extract=true
26305 DEBUG + [[ true != \t\r\u\e ]]
26305 DEBUG + local local_src=/opt/yunohost-apps-src/immich/main
26305 DEBUG ++ dirname /var/cache/yunohost/download/immich/main
26306 DEBUG + mkdir -p /var/cache/yunohost/download/immich
26307 DEBUG + src_filename=/var/cache/yunohost/download/immich/main
26307 DEBUG + '[' tar.gz = docker ']'
26307 DEBUG + test -e /opt/yunohost-apps-src/immich/main
26307 DEBUG + '[' -n https://github.com/immich-app/immich/archive/refs/tags/v1.112.1.tar.gz ']'
26307 DEBUG + '[' -e /var/cache/yunohost/download/immich/main ']'
26307 DEBUG + echo '2f5fa0fbb19786f2309b2abe8182c6cca7b44fd2c1528a5b0597519be0992eb2 /var/cache/yunohost/download/immich/main'
26307 DEBUG + sha256sum --check --status
26655 DEBUG + '[' '!' -e /var/cache/yunohost/download/immich/main ']'
26656 DEBUG + echo '2f5fa0fbb19786f2309b2abe8182c6cca7b44fd2c1528a5b0597519be0992eb2 /var/cache/yunohost/download/immich/main'
26656 DEBUG + sha256sum --check --status
26996 DEBUG + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
26997 DEBUG + '[' -n '' ']'
26997 DEBUG + '[' 1 -eq 1 ']'
26997 DEBUG + ynh_secure_remove --file=/var/www/immich/source
26997 DEBUG + local legacy_args=f
26997 DEBUG + args_array=(['f']='file=')
26998 DEBUG + local -A args_array
26998 DEBUG + local file
26998 DEBUG + ynh_handle_getopts_args --file=/var/www/immich/source
26998 DEBUG + set +o xtrace
27002 DEBUG + set +o xtrace
27008 DEBUG + echo ''\''/var/www/immich/source'\'' wasn'\''t deleted because it doesn'\''t exist.'
27008 DEBUG + set -o xtrace
27008 DEBUG + mkdir --parents /var/www/immich/source
27008 INFO '/var/www/immich/source' wasn't deleted because it doesn't exist.
27009 DEBUG + '[' -n /var/www/immich ']'
27009 DEBUG + '[' /var/www/immich/source == /var/www/immich ']'
27009 DEBUG + '[' -n '' ']'
27009 DEBUG + [[ true == \f\a\l\s\e ]]
27009 DEBUG + [[ tar.gz == \d\o\c\k\e\r ]]
27009 DEBUG + [[ tar.gz == \z\i\p ]]
27009 DEBUG + local strip=
27010 DEBUG + '[' true '!=' false ']'
27010 DEBUG + '[' true == true ']'
27010 DEBUG + local sub_dirs=1
27010 DEBUG + strip='--strip-components 1'
27010 DEBUG + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
27010 DEBUG + tar --extract --file=/var/cache/yunohost/download/immich/main --directory=/var/www/immich/source --strip-components 1
27514 DEBUG + ynh_secure_remove --file=/var/cache/yunohost/download/immich/main
27515 DEBUG + local legacy_args=f
27515 DEBUG + args_array=(['f']='file=')
27515 DEBUG + local -A args_array
27515 DEBUG + local file
27515 DEBUG + ynh_handle_getopts_args --file=/var/cache/yunohost/download/immich/main
27515 DEBUG + set +o xtrace
27520 DEBUG + set +o xtrace
27535 DEBUG + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/sources/patches/ ']'
27535 DEBUG + test -e /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/sources/extra_files/main
27535 DEBUG + '[' -n '' ']'
27535 DEBUG + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
27536 DEBUG + ffmpeg_static_dir=/var/www/immich/ffmpeg-static
27536 DEBUG + ynh_setup_source --source_id=ffmpeg-static --dest_dir=/var/www/immich/ffmpeg-static --full_replace=1
27536 DEBUG + local legacy_args=dsk
27536 DEBUG + args_array=(['d']='dest_dir=' ['s']='source_id=' ['k']='keep=' ['r']='full_replace=')
27536 DEBUG + local -A args_array
27536 DEBUG + local dest_dir
27537 DEBUG + local source_id
27537 DEBUG + local keep
27537 DEBUG + local full_replace
27537 DEBUG + ynh_handle_getopts_args --source_id=ffmpeg-static --dest_dir=/var/www/immich/ffmpeg-static --full_replace=1
27537 DEBUG + set +o xtrace
27586 DEBUG + keep=
27587 DEBUG + full_replace=1
27587 DEBUG + test -e /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.toml
27587 DEBUG + cat /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.toml
27587 DEBUG + toml_to_json
27587 DEBUG + jq -e .resources.sources
27588 DEBUG + python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
27614 DEBUG + source_id=ffmpeg-static
27615 DEBUG ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.toml
27615 DEBUG ++ toml_to_json
27615 DEBUG ++ jq '.resources.sources["ffmpeg-static"]'
27615 DEBUG ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
27642 DEBUG + local 'sources_json={
27642 DEBUG   "amd64": {
27642 DEBUG     "url": "https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz",
27642 DEBUG     "sha256": "abda8d77ce8309141f83ab8edf0596834087c52467f6badf376a6a2a4c87cf67"
27642 DEBUG   },
27642 DEBUG   "arm64": {
27642 DEBUG     "url": "https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-arm64-static.tar.xz",
27643 DEBUG     "sha256": "f4149bb2b0784e30e99bdda85471c9b5930d3402014e934a5098b41d0f7201b1"
27643 DEBUG   }
27643 DEBUG }'
27643 DEBUG + jq -re .url
27668 DEBUG null
27668 DEBUG + local arch_prefix=.amd64
27668 DEBUG ++ jq -r .amd64.url
27669 DEBUG ++ sed 's/^null$//'
27695 DEBUG + local src_url=https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
27695 DEBUG ++ jq -r .amd64.sha256
27696 DEBUG ++ sed 's/^null$//'
27722 DEBUG + local src_sum=abda8d77ce8309141f83ab8edf0596834087c52467f6badf376a6a2a4c87cf67
27722 DEBUG + local src_sumprg=sha256sum
27723 DEBUG ++ jq -r .format
27723 DEBUG ++ sed 's/^null$//'
27749 DEBUG + local src_format=
27749 DEBUG ++ jq -r .in_subdir
27750 DEBUG ++ sed 's/^null$//'
27775 DEBUG + local src_in_subdir=
27776 DEBUG ++ jq -r .extract
27776 DEBUG ++ sed 's/^null$//'
27801 DEBUG + local src_extract=
27802 DEBUG ++ jq -r .platform
27802 DEBUG ++ sed 's/^null$//'
27827 DEBUG + local src_platform=
27828 DEBUG ++ jq -r .rename
27828 DEBUG ++ sed 's/^null$//'
27853 DEBUG + local src_rename=
27854 DEBUG + [[ -n https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz ]]
27854 DEBUG + [[ -n abda8d77ce8309141f83ab8edf0596834087c52467f6badf376a6a2a4c87cf67 ]]
27854 DEBUG + [[ -z '' ]]
27854 DEBUG + [[ https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz =~ ^.*\.zip$ ]]
27854 DEBUG + [[ https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz =~ ^.*/zipball/.*$ ]]
27855 DEBUG + [[ https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz =~ ^.*\.tar\.gz$ ]]
27855 DEBUG + [[ https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz =~ ^.*\.tgz$ ]]
27855 DEBUG + [[ https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz =~ ^.*/tar\.gz/.*$ ]]
27855 DEBUG + [[ https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz =~ ^.*/tarball/.*$ ]]
27855 DEBUG + [[ https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz =~ ^.*\.tar\.xz$ ]]
27855 DEBUG + src_format=tar.xz
27855 DEBUG + src_sumprg=sha256sum
27855 DEBUG + src_in_subdir=true
27855 DEBUG + src_format=tar.xz
27856 DEBUG ++ echo tar.xz
27856 DEBUG ++ tr '[:upper:]' '[:lower:]'
27856 DEBUG + src_format=tar.xz
27856 DEBUG + src_extract=true
27856 DEBUG + [[ true != \t\r\u\e ]]
27856 DEBUG + local local_src=/opt/yunohost-apps-src/immich/ffmpeg-static
27856 DEBUG ++ dirname /var/cache/yunohost/download/immich/ffmpeg-static
27857 DEBUG + mkdir -p /var/cache/yunohost/download/immich
27858 DEBUG + src_filename=/var/cache/yunohost/download/immich/ffmpeg-static
27858 DEBUG + '[' tar.xz = docker ']'
27858 DEBUG + test -e /opt/yunohost-apps-src/immich/ffmpeg-static
27858 DEBUG + '[' -n https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz ']'
27858 DEBUG + '[' -e /var/cache/yunohost/download/immich/ffmpeg-static ']'
27858 DEBUG + echo 'abda8d77ce8309141f83ab8edf0596834087c52467f6badf376a6a2a4c87cf67 /var/cache/yunohost/download/immich/ffmpeg-static'
27859 DEBUG + sha256sum --check --status
28029 DEBUG + '[' '!' -e /var/cache/yunohost/download/immich/ffmpeg-static ']'
28029 DEBUG + echo 'abda8d77ce8309141f83ab8edf0596834087c52467f6badf376a6a2a4c87cf67 /var/cache/yunohost/download/immich/ffmpeg-static'
28030 DEBUG + sha256sum --check --status
28195 DEBUG + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
28196 DEBUG + '[' -n '' ']'
28196 DEBUG + '[' 1 -eq 1 ']'
28196 DEBUG + ynh_secure_remove --file=/var/www/immich/ffmpeg-static
28196 DEBUG + local legacy_args=f
28196 DEBUG + args_array=(['f']='file=')
28196 DEBUG + local -A args_array
28196 DEBUG + local file
28197 DEBUG + ynh_handle_getopts_args --file=/var/www/immich/ffmpeg-static
28197 DEBUG + set +o xtrace
28202 DEBUG + set +o xtrace
28207 DEBUG + echo ''\''/var/www/immich/ffmpeg-static'\'' wasn'\''t deleted because it doesn'\''t exist.'
28207 INFO '/var/www/immich/ffmpeg-static' wasn't deleted because it doesn't exist.
28208 DEBUG + set -o xtrace
28208 DEBUG + mkdir --parents /var/www/immich/ffmpeg-static
28208 DEBUG + '[' -n /var/www/immich ']'
28208 DEBUG + '[' /var/www/immich/ffmpeg-static == /var/www/immich ']'
28209 DEBUG + '[' -n '' ']'
28209 DEBUG + [[ true == \f\a\l\s\e ]]
28209 DEBUG + [[ tar.xz == \d\o\c\k\e\r ]]
28209 DEBUG + [[ tar.xz == \z\i\p ]]
28209 DEBUG + local strip=
28209 DEBUG + '[' true '!=' false ']'
28209 DEBUG + '[' true == true ']'
28209 DEBUG + local sub_dirs=1
28209 DEBUG + strip='--strip-components 1'
28209 DEBUG + [[ tar.xz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
28209 DEBUG + tar --extract --file=/var/cache/yunohost/download/immich/ffmpeg-static --directory=/var/www/immich/ffmpeg-static --strip-components 1
30667 DEBUG + ynh_secure_remove --file=/var/cache/yunohost/download/immich/ffmpeg-static
30667 DEBUG + local legacy_args=f
30667 DEBUG + args_array=(['f']='file=')
30668 DEBUG + local -A args_array
30668 DEBUG + local file
30668 DEBUG + ynh_handle_getopts_args --file=/var/cache/yunohost/download/immich/ffmpeg-static
30668 DEBUG + set +o xtrace
30673 DEBUG + set +o xtrace
30684 DEBUG + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/sources/patches/ ']'
30684 DEBUG + test -e /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/sources/extra_files/ffmpeg-static
30684 DEBUG + '[' -n '' ']'
30684 DEBUG + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
30685 DEBUG + ynh_script_progression '--message=Check Python version & compile the required one if needed...' --weight=1
30685 DEBUG + set +o xtrace
30717 DEBUG + set +o xtrace
30723 DEBUG + echo '! Helper used in legacy mode !'
30723 DEBUG + set +x
30724 DEBUG + echo '[##++................] > Check Python version & compile the required one if needed...'
30725 INFO [##++................] > Check Python version & compile the required one if needed...
30725 DEBUG + set -o xtrace
30725 DEBUG ++ cat /var/www/immich/source/machine-learning/Dockerfile
30725 DEBUG ++ grep 'FROM python:'
30725 DEBUG ++ head -n1
30726 DEBUG ++ cut -d: -f2
30726 DEBUG ++ cut -d- -f1
30727 DEBUG + py_required_major=3.11
30727 DEBUG + myynh_py_latest_from_major --python=3.11
30727 DEBUG + local legacy_args=u
30727 DEBUG + args_array=(['p']='python=')
30727 DEBUG + local -A args_array
30727 DEBUG + local python
30727 DEBUG + ynh_handle_getopts_args --python=3.11
30728 DEBUG + set +o xtrace
30734 DEBUG ++ curl -Ls https://www.python.org/ftp/python/
30734 DEBUG ++ grep '>3.11'
30734 DEBUG ++ cut -d / -f 2
30734 DEBUG ++ cut -d '>' -f 2
30734 DEBUG ++ head -n 1
30735 DEBUG ++ sort -rV
30891 DEBUG + py_required_version=3.11.9
30892 DEBUG + myynh_install_python --python=3.11.9
30893 DEBUG + local legacy_args=u
30893 DEBUG + args_array=(['p']='python=')
30893 DEBUG + local -A args_array
30893 DEBUG + local python
30894 DEBUG + ynh_handle_getopts_args --python=3.11.9
30894 DEBUG + set +o xtrace
30914 DEBUG ++ python3 --version
30915 DEBUG ++ cut -d ' ' -f 2
30918 DEBUG + local py_apt_version=3.9.2
30919 DEBUG + local python_major=3.11
30919 DEBUG + '[' -e /usr/local/bin/python3.11 ']'
30920 DEBUG ++ /usr/local/bin/python3.11 --version
30921 DEBUG ++ cut -d ' ' -f 2
30926 DEBUG + local py_built_version=3.11.9
30927 DEBUG ++ dpkg --compare-versions 3.9.2 ge 3.11.9
30931 DEBUG ++ dpkg --compare-versions 3.11.9 ge 3.11.9
30934 DEBUG + py_app_version=/usr/local/bin/python3.11
30935 DEBUG + ynh_print_info '--message=Using already python3 built version: /usr/local/bin/python3.11'
30935 DEBUG + local legacy_args=m
30936 DEBUG + args_array=(['m']='message=')
30936 DEBUG + local -A args_array
30936 DEBUG + local message
30937 DEBUG + ynh_handle_getopts_args '--message=Using already python3 built version: /usr/local/bin/python3.11'
30937 DEBUG + set +o xtrace
30955 DEBUG + echo 'Using already python3 built version: /usr/local/bin/python3.11'
30955 DEBUG + ynh_app_setting_set --app=immich --key=python --value=3.11.9
30956 DEBUG + local _globalapp=immich
30956 DEBUG + local legacy_args=akv
30956 DEBUG + args_array=(['a']='app=' ['k']='key=' ['v']='value=')
30957 DEBUG + local -A args_array
30957 DEBUG + local app
30957 DEBUG + local key
30958 DEBUG + local value
30958 DEBUG + ynh_handle_getopts_args --app=immich --key=python --value=3.11.9
30958 DEBUG + set +o xtrace
30958 INFO Using already python3 built version: /usr/local/bin/python3.11
31073 DEBUG + app=immich
31073 DEBUG + [[ python =~ (unprotected|protected|skipped)_ ]]
31074 DEBUG + ynh_app_setting set immich python 3.11.9
31074 DEBUG + set +o xtrace
31137 DEBUG ++ /usr/local/bin/python3.11 -VV
31139 DEBUG + ynh_print_info '--message=Python version: Python 3.11.9 (main, Aug  3 2024, 12:38:36) [GCC 10.2.1 20210110]'
31139 DEBUG + local legacy_args=m
31139 DEBUG + args_array=(['m']='message=')
31139 DEBUG + local -A args_array
31139 DEBUG + local message
31140 DEBUG + ynh_handle_getopts_args '--message=Python version: Python 3.11.9 (main, Aug  3 2024, 12:38:36) [GCC 10.2.1 20210110]'
31140 DEBUG + set +o xtrace
31145 DEBUG + echo 'Python version: Python 3.11.9 (main, Aug  3 2024, 12:38:36) [GCC 10.2.1 20210110]'
31145 INFO Python version: Python 3.11.9 (main, Aug  3 2024, 12:38:36) [GCC 10.2.1 20210110]
31145 DEBUG ++ /usr/local/bin/python3.11 -m pip -V
31341 DEBUG + ynh_print_info '--message=Pip version: pip 24.0 from /usr/local/lib/python3.11/site-packages/pip (python 3.11)'
31341 DEBUG + local legacy_args=m
31342 DEBUG + args_array=(['m']='message=')
31342 DEBUG + local -A args_array
31342 DEBUG + local message
31342 DEBUG + ynh_handle_getopts_args '--message=Pip version: pip 24.0 from /usr/local/lib/python3.11/site-packages/pip (python 3.11)'
31342 DEBUG + set +o xtrace
31347 DEBUG + echo 'Pip version: pip 24.0 from /usr/local/lib/python3.11/site-packages/pip (python 3.11)'
31348 INFO Pip version: pip 24.0 from /usr/local/lib/python3.11/site-packages/pip (python 3.11)
31348 DEBUG + ynh_script_progression '--message=Installing nodejs...' --weight=1
31348 DEBUG + set +o xtrace
31381 DEBUG + set +o xtrace
31387 DEBUG + echo '! Helper used in legacy mode !'
31388 DEBUG + set +x
31389 DEBUG + echo '[####+...............] > Installing nodejs...'
31389 INFO [####+...............] > Installing nodejs...
31389 DEBUG + set -o xtrace
31389 DEBUG + ynh_exec_warn_less ynh_install_nodejs --nodejs_version=20
31389 DEBUG + [[ 2 -eq 1 ]]
31389 DEBUG + ynh_install_nodejs --nodejs_version=20
31389 DEBUG + local legacy_args=n
31390 DEBUG + args_array=(['n']='nodejs_version=')
31390 DEBUG + local -A args_array
31390 DEBUG + local nodejs_version
31390 DEBUG + ynh_handle_getopts_args --nodejs_version=20
31390 DEBUG + set +o xtrace
31395 DEBUG + mkdir --parents /opt/node_n
31396 DEBUG + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
31396 DEBUG ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
31396 DEBUG ++ sed s@/usr/local/bin:@@
31398 DEBUG + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
31398 DEBUG + test -x /usr/bin/node
31398 DEBUG + test -x /usr/bin/npm
31398 DEBUG + mkdir -p /opt/node_n/bin/
31399 DEBUG + cp /usr/share/yunohost/helpers.v2.d/vendor/n/n /opt/node_n/bin/n
31400 DEBUG + ynh_replace_string '--match_string=^N_PREFIX=${N_PREFIX-.*}$' '--replace_string=N_PREFIX=${N_PREFIX-/opt/node_n}' --target_file=/opt/node_n/bin/n
31400 DEBUG + local legacy_args=mrf
31400 DEBUG + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
31400 DEBUG + local -A args_array
31400 DEBUG + local match_string
31400 DEBUG + local replace_string
31400 DEBUG + local target_file
31401 DEBUG + ynh_handle_getopts_args '--match_string=^N_PREFIX=${N_PREFIX-.*}$' '--replace_string=N_PREFIX=${N_PREFIX-/opt/node_n}' --target_file=/opt/node_n/bin/n
31401 DEBUG + set +o xtrace
31463 DEBUG + set +o xtrace
31463 DEBUG + sed --in-place 's^N_PREFIX=${N_PREFIX-.*}$N_PREFIX=${N_PREFIX-/opt/node_n}g' /opt/node_n/bin/n
31467 DEBUG + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
31468 DEBUG + test -x /usr/bin/node_n
31468 DEBUG + test -x /usr/bin/npm_n
31469 DEBUG ++ uname --machine
31471 DEBUG + uname=x86_64
31471 DEBUG + [[ x86_64 =~ aarch64 ]]
31472 DEBUG + [[ x86_64 =~ arm64 ]]
31472 DEBUG + n 20
31647 DEBUG      copying : node/20.17.0
31806 DEBUG    installed :  (with npm )
31806 DEBUG ++ sort --version-sort
31807 DEBUG ++ find /opt/node_n/n/versions/node/20 /opt/node_n/n/versions/node/20.17.0 -maxdepth 0
31807 DEBUG ++ tail --lines=1
31808 DEBUG + real_nodejs_version=/opt/node_n/n/versions/node/20.17.0
31808 DEBUG ++ basename /opt/node_n/n/versions/node/20.17.0
31809 DEBUG + real_nodejs_version=20.17.0
31809 DEBUG + '[' '!' -e /opt/node_n/n/versions/node/20 ']'
31809 DEBUG + echo immich:20
31809 DEBUG + tee --append /opt/node_n/ynh_app_version
31810 DEBUG immich:20
31810 DEBUG + ynh_app_setting_set --app=immich --key=nodejs_version --value=20
31810 DEBUG + local _globalapp=immich
31810 DEBUG + local legacy_args=akv
31811 DEBUG + args_array=(['a']='app=' ['k']='key=' ['v']='value=')
31811 DEBUG + local -A args_array
31811 DEBUG + local app
31811 DEBUG + local key
31811 DEBUG + local value
31811 DEBUG + ynh_handle_getopts_args --app=immich --key=nodejs_version --value=20
31811 DEBUG + set +o xtrace
31849 DEBUG + app=immich
31849 DEBUG + [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
31849 DEBUG + ynh_app_setting set immich nodejs_version 20
31849 DEBUG + set +o xtrace
31894 DEBUG + ynh_use_nodejs
31895 DEBUG ++ ynh_app_setting_get --app=immich --key=nodejs_version
31895 DEBUG ++ local _globalapp=immich
31895 DEBUG ++ local legacy_args=ak
31895 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
31895 DEBUG ++ local -A args_array
31895 DEBUG ++ local app
31895 DEBUG ++ local key
31896 DEBUG ++ ynh_handle_getopts_args --app=immich --key=nodejs_version
31896 DEBUG ++ set +o xtrace
31913 DEBUG ++ app=immich
31913 DEBUG ++ [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
31913 DEBUG ++ ynh_app_setting get immich nodejs_version
31913 DEBUG ++ set +o xtrace
31944 DEBUG + nodejs_version=20
31944 DEBUG + nodejs_path=/opt/node_n/n/versions/node/20/bin
31944 DEBUG + shopt -s expand_aliases
31944 DEBUG + ynh_node=/opt/node_n/n/versions/node/20/bin/node
31944 DEBUG + alias ynh_node=/opt/node_n/n/versions/node/20/bin/node
31944 DEBUG + ynh_npm=/opt/node_n/n/versions/node/20/bin/npm
31944 DEBUG + alias ynh_npm=/opt/node_n/n/versions/node/20/bin/npm
31945 DEBUG + [[ :/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: != *\:\/\o\p\t\/\n\o\d\e\_\n\/\n\/\v\e\r\s\i\o\n\s\/\n\o\d\e\/\2\0\/\b\i\n* ]]
31945 DEBUG + PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
31945 DEBUG + node_PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
31945 DEBUG + ynh_node_load_PATH=PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
31945 DEBUG + ynh_node_load_path=PATH=/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
31945 DEBUG + export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
31945 DEBUG + COREPACK_ENABLE_DOWNLOAD_PROMPT=0
31945 DEBUG + ynh_script_progression '--message=Udpating a PostgreSQL database...' --weight=1
31945 DEBUG + set +o xtrace
31977 DEBUG + set +o xtrace
31984 DEBUG + echo '! Helper used in legacy mode !'
31984 DEBUG + set +x
31985 DEBUG + echo '[#####++.............] > Udpating a PostgreSQL database...'
31985 DEBUG + set -o xtrace
31986 INFO [#####++.............] > Udpating a PostgreSQL database...
31986 DEBUG + myynh_update_psql_db
31986 DEBUG + for db in postgres "$app"
31986 DEBUG + ynh_exec_warn_less myynh_execute_psql_as_root '--sql=;' --database=postgres
31986 DEBUG + grep -q 'collation version mismatch'
31986 DEBUG + [[ 3 -eq 1 ]]
31986 DEBUG + myynh_execute_psql_as_root '--sql=;' --database=postgres
31987 DEBUG + local legacy_args=sd
31987 DEBUG + args_array=(['s']='sql=' ['d']='database=')
31987 DEBUG + local -A args_array
31987 DEBUG + local sql
31987 DEBUG + local database
31987 DEBUG + ynh_handle_getopts_args '--sql=;' --database=postgres
31987 DEBUG + set +o xtrace
32007 DEBUG + database=postgres
32007 DEBUG + '[' -n postgres ']'
32007 DEBUG + database=--dbname=postgres
32007 DEBUG ++ cat /etc/yunohost/psql
32009 DEBUG ++ postgresql_version
32009 DEBUG ++ ynh_read_manifest --manifest_key=resources.apt.extras.postgresql.packages
32009 DEBUG ++ grep -o 'postgresql-[0-9][0-9]-pgvector'
32010 DEBUG ++ local legacy_args=mk
32010 DEBUG ++ head -n1
32010 DEBUG ++ args_array=(['m']='manifest=' ['k']='manifest_key=')
32010 DEBUG ++ local -A args_array
32010 DEBUG ++ cut -d- -f2
32010 DEBUG ++ local manifest
32010 DEBUG ++ local manifest_key
32010 DEBUG ++ ynh_handle_getopts_args --manifest_key=resources.apt.extras.postgresql.packages
32010 DEBUG ++ set +o xtrace
32029 DEBUG ++ '[' '!' -e '' ']'
32029 DEBUG ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.json ']'
32029 DEBUG ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.toml ']'
32030 DEBUG ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.toml
32030 DEBUG ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.toml
32030 DEBUG ++ grep -q '\.json$'
32033 DEBUG ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.toml
32034 DEBUG ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
32034 DEBUG ++ jq .resources.apt.extras.postgresql.packages --raw-output
32087 DEBUG + LC_ALL=C
32087 DEBUG + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=9IQcn6MJNbQrE7uUaLHklf1w psql --cluster=16/main --dbname=postgres '--command=;'
32125 DEBUG + for db in postgres "$app"
32125 DEBUG + ynh_exec_warn_less myynh_execute_psql_as_root '--sql=;' --database=immich
32126 DEBUG + grep -q 'collation version mismatch'
32126 DEBUG + [[ 3 -eq 1 ]]
32126 DEBUG + myynh_execute_psql_as_root '--sql=;' --database=immich
32126 DEBUG + local legacy_args=sd
32126 DEBUG + args_array=(['s']='sql=' ['d']='database=')
32127 DEBUG + local -A args_array
32127 DEBUG + local sql
32127 DEBUG + local database
32127 DEBUG + ynh_handle_getopts_args '--sql=;' --database=immich
32127 DEBUG + set +o xtrace
32144 DEBUG + database=immich
32144 DEBUG + '[' -n immich ']'
32144 DEBUG + database=--dbname=immich
32144 DEBUG ++ cat /etc/yunohost/psql
32146 DEBUG ++ postgresql_version
32146 DEBUG ++ ynh_read_manifest --manifest_key=resources.apt.extras.postgresql.packages
32146 DEBUG ++ grep -o 'postgresql-[0-9][0-9]-pgvector'
32146 DEBUG ++ local legacy_args=mk
32146 DEBUG ++ head -n1
32146 DEBUG ++ cut -d- -f2
32147 DEBUG ++ args_array=(['m']='manifest=' ['k']='manifest_key=')
32147 DEBUG ++ local -A args_array
32147 DEBUG ++ local manifest
32147 DEBUG ++ local manifest_key
32147 DEBUG ++ ynh_handle_getopts_args --manifest_key=resources.apt.extras.postgresql.packages
32147 DEBUG ++ set +o xtrace
32157 DEBUG ++ '[' '!' -e '' ']'
32157 DEBUG ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.json ']'
32157 DEBUG ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.toml ']'
32157 DEBUG ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.toml
32157 DEBUG ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.toml
32157 DEBUG ++ grep -q '\.json$'
32158 DEBUG ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_iivma1p_/manifest.toml
32158 DEBUG ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
32159 DEBUG ++ jq .resources.apt.extras.postgresql.packages --raw-output
32190 DEBUG + LC_ALL=C
32190 DEBUG + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=9IQcn6MJNbQrE7uUaLHklf1w psql --cluster=16/main --dbname=immich '--command=;'
32229 DEBUG + ynh_script_progression '--message=Making install...' --weight=5
32230 DEBUG + set +o xtrace
32264 DEBUG + set +o xtrace
32271 DEBUG + echo '! Helper used in legacy mode !'
32271 DEBUG + set +x
32272 DEBUG + echo '[#######+++++++......] > Making install...'
32272 DEBUG + set -o xtrace
32272 INFO [#######+++++++......] > Making install...
32273 DEBUG + myynh_install_immich
32273 DEBUG + PATH=/var/www/immich/ffmpeg-static:/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
32273 DEBUG + ynh_use_nodejs
32273 DEBUG ++ ynh_app_setting_get --app=immich --key=nodejs_version
32273 DEBUG ++ local _globalapp=immich
32273 DEBUG ++ local legacy_args=ak
32273 DEBUG ++ args_array=(['a']='app=' ['k']='key=')
32273 DEBUG ++ local -A args_array
32273 DEBUG ++ local app
32273 DEBUG ++ local key
32273 DEBUG ++ ynh_handle_getopts_args --app=immich --key=nodejs_version
32273 DEBUG ++ set +o xtrace
32292 DEBUG ++ app=immich
32293 DEBUG ++ [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
32293 DEBUG ++ ynh_app_setting get immich nodejs_version
32293 DEBUG ++ set +o xtrace
32336 DEBUG + nodejs_version=20
32336 DEBUG + nodejs_path=/opt/node_n/n/versions/node/20/bin
32336 DEBUG + shopt -s expand_aliases
32336 DEBUG + ynh_node=/opt/node_n/n/versions/node/20/bin/node
32336 DEBUG + alias ynh_node=/opt/node_n/n/versions/node/20/bin/node
32336 DEBUG + ynh_npm=/opt/node_n/n/versions/node/20/bin/npm
32337 DEBUG + alias ynh_npm=/opt/node_n/n/versions/node/20/bin/npm
32337 DEBUG + [[ :/var/www/immich/ffmpeg-static:/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: != *\:\/\o\p\t\/\n\o\d\e\_\n\/\n\/\v\e\r\s\i\o\n\s\/\n\o\d\e\/\2\0\/\b\i\n* ]]
32337 DEBUG + node_PATH=/var/www/immich/ffmpeg-static:/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
32337 DEBUG + ynh_node_load_PATH=PATH=/var/www/immich/ffmpeg-static:/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
32337 DEBUG + ynh_node_load_path=PATH=/var/www/immich/ffmpeg-static:/opt/node_n/n/versions/node/20/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
32337 DEBUG + export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
32337 DEBUG + COREPACK_ENABLE_DOWNLOAD_PROMPT=0
32337 DEBUG + cd /var/www/immich/source
32337 DEBUG + find . -type f '(' -name '*.ts' -o -name '*.js' ')' -exec grep app.listen '{}' +
32337 DEBUG + sed 's/.*app.listen//'
32337 DEBUG + grep -v '()'
32338 DEBUG + grep '^('
32338 DEBUG + uniq
32338 DEBUG + awk '-F[(),]' '{print $2}'
32338 DEBUG + read port
32338 DEBUG + sort
32338 DEBUG + tr -d '[:blank:]'
32353 DEBUG + find . -type f '(' -name '*.ts' -o -name '*.js' ')' -exec sed -i -e 's@app.listen(0)@app.listen(0, '\''127.0.0.1'\'')@g' '{}' +
32412 DEBUG + read port
32412 DEBUG + find . -type f '(' -name '*.ts' -o -name '*.js' ')' -exec sed -i -e 's@app.listen(port)@app.listen(port, '\''127.0.0.1'\'')@g' '{}' +
32474 DEBUG + read port
32474 DEBUG + find . -type f '(' -name '*.ts' -o -name '*.js' ')' -exec sed -i -e 's@PrometheusExporter({ port })@PrometheusExporter({ host: '\''127.0.0.1'\'', port: port })@g' '{}' +
32536 DEBUG + grep -RlE '"0\.0\.0\.0"|'\''0\.0\.0\.0'\'''
32536 DEBUG + xargs -n1 sed -i -e 's@'\''0\.0\.0\.0'\''@'\''127.0.0.1'\''@g' -e 's@"0\.0\.0\.0"@"127.0.0.1"@g'
32604 DEBUG + cd /var/www/immich/source
32604 DEBUG + grep -Rl /usr/src
32604 DEBUG + xargs -n1 sed -i -e s@/usr/src@/var/www/immich@g
32694 DEBUG + mkdir -p /var/www/immich/cache
32695 DEBUG + grep -RlE '"/cache"|'\''/cache'\'''
32695 DEBUG + xargs -n1 sed -i -e 's@"/cache"@"/var/www/immich/cache"@g' -e 's@'\''/cache'\''@'\''/var/www/immich/cache'\''@g'
32769 DEBUG + grep -RlE '"/build"|'\''/build'\'''
32769 DEBUG + xargs -n1 sed -i -e 's@"/build"@"/var/www/immich/app"@g' -e 's@'\''/build'\''@'\''/var/www/immich/app'\''@g'
32839 DEBUG + cd /var/www/immich/source/server
32839 DEBUG + ynh_exec_warn_less /opt/node_n/n/versions/node/20/bin/npm ci
32839 DEBUG + [[ 2 -eq 1 ]]
32839 DEBUG + /opt/node_n/n/versions/node/20/bin/npm ci
32840 DEBUG + ynh_exec_warn_less /opt/node_n/n/versions/node/20/bin/npm run build
32841 DEBUG + [[ 3 -eq 1 ]]
32841 DEBUG + /opt/node_n/n/versions/node/20/bin/npm run build
32842 DEBUG + ynh_exec_warn_less /opt/node_n/n/versions/node/20/bin/npm prune --omit=dev --omit=optional
32842 DEBUG + [[ 4 -eq 1 ]]
32842 DEBUG + /opt/node_n/n/versions/node/20/bin/npm prune --omit=dev --omit=optional
32843 DEBUG + cd /var/www/immich/source/open-api/typescript-sdk
32844 DEBUG + ynh_exec_warn_less /opt/node_n/n/versions/node/20/bin/npm ci
32844 DEBUG + [[ 2 -eq 1 ]]
32844 DEBUG + /opt/node_n/n/versions/node/20/bin/npm ci
32845 DEBUG + ynh_exec_warn_less /opt/node_n/n/versions/node/20/bin/npm run build
32845 DEBUG + [[ 3 -eq 1 ]]
32845 DEBUG + /opt/node_n/n/versions/node/20/bin/npm run build
32846 DEBUG + cd /var/www/immich/source/web
32847 DEBUG + ynh_exec_warn_less /opt/node_n/n/versions/node/20/bin/npm ci
32847 DEBUG + [[ 2 -eq 1 ]]
32847 DEBUG + /opt/node_n/n/versions/node/20/bin/npm ci
32848 DEBUG + ynh_exec_warn_less /opt/node_n/n/versions/node/20/bin/npm run build
32848 DEBUG + [[ 3 -eq 1 ]]
32848 DEBUG + /opt/node_n/n/versions/node/20/bin/npm run build
32849 DEBUG + mkdir -p /var/www/immich/app/
32850 DEBUG + cp -a /var/www/immich/source/server/node_modules /var/www/immich/app/
32853 WARNING cp: cannot stat '/var/www/immich/source/server/node_modules': No such file or directory
32853 DEBUG + ynh_exit_properly
32854 DEBUG + local exit_code=1
32854 DEBUG + [[ upgrade =~ ^install$|^upgrade$|^restore$ ]]
32854 DEBUG + rm -rf /var/cache/yunohost/download/
32854 DEBUG + '[' 1 -eq 0 ']'
32854 DEBUG + trap '' EXIT
32854 DEBUG + set +o errexit
32854 DEBUG + set +o nounset
32854 DEBUG + sleep 0.5
33354 DEBUG + type -t ynh_clean_setup
33354 DEBUG + exit 1
34357 ERROR Could not upgrade immich: An error occurred inside the app upgrade script
34360 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 20240901-081754-app_upgrade-immich' to get help
34403 WARNING Here's an extract of the logs before the crash. It might help debugging the error:
34403 INFO DEBUG - + [[ 4 -eq 1 ]]
34403 INFO DEBUG - + /opt/node_n/n/versions/node/20/bin/npm prune --omit=dev --omit=optional
34403 INFO DEBUG - + cd /var/www/immich/source/open-api/typescript-sdk
34404 INFO DEBUG - + ynh_exec_warn_less /opt/node_n/n/versions/node/20/bin/npm ci
34404 INFO DEBUG - + [[ 2 -eq 1 ]]
34404 INFO DEBUG - + /opt/node_n/n/versions/node/20/bin/npm ci
34404 INFO DEBUG - + ynh_exec_warn_less /opt/node_n/n/versions/node/20/bin/npm run build
34404 INFO DEBUG - + [[ 3 -eq 1 ]]
34404 INFO DEBUG - + /opt/node_n/n/versions/node/20/bin/npm run build
34404 INFO DEBUG - + cd /var/www/immich/source/web
34404 INFO DEBUG - + ynh_exec_warn_less /opt/node_n/n/versions/node/20/bin/npm ci
34404 INFO DEBUG - + [[ 2 -eq 1 ]]
34404 INFO DEBUG - + /opt/node_n/n/versions/node/20/bin/npm ci
34404 INFO DEBUG - + ynh_exec_warn_less /opt/node_n/n/versions/node/20/bin/npm run build
34404 INFO DEBUG - + [[ 3 -eq 1 ]]
34404 INFO DEBUG - + /opt/node_n/n/versions/node/20/bin/npm run build
34404 INFO DEBUG - + mkdir -p /var/www/immich/app/
34404 INFO DEBUG - + cp -a /var/www/immich/source/server/node_modules /var/www/immich/app/
34404 INFO WARNING - cp: cannot stat '/var/www/immich/source/server/node_modules': No such file or directory
34404 INFO DEBUG - + ynh_exit_properly
34404 DEBUG Checking that required services are up and running...
35009 DEBUG action [27179.1] executed in 34.930s
35009 DEBUG lock has been released
35009 ERROR The operation 'Upgrade the 'immich' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20240901-081754-app_upgrade-immich' to get help
1 Like

J’ai par ailleurs une suggestion (je ne sais pas si elle est pertinente) ; disposant de la sauvegarde du cœur de l’application “immich-pre-upgrade1” (~4G), n’est-il pas possible de forcer la restauration de cette sauvegarde (en l’état je n’y arrive pas car j’ai le message “Les applications suivantes ne peuvent pas être restaurées car elles sont déjà installées : immich”) afin de rétablir les accès , puis tenter par la suite ta commande pour forcer la mise à jour ?

Tu peux, pour restaurer il faut d’abord que tu desinstalles immich

J’ai supprimé Immich (donc sans cocher de supprimer les données persos), j’ai lancé la restauration de “immich-pre-upgrade1”, hélas… la restauration a échoué :sob: avec les messages suivants (et 2 logs ci-après) :

Préparation de l'archive pour restauration…
Restauration de immich…
Provisioning sources...
Provisioning ports...
Provisioning system_user...
Provisioning install_dir...
Provisioning data_dir...
Provisioning permissions...
Provisioning apt...
Provisioning database...
Restoring the app main directory...
Restoring the data directory...
Check Python version & compile the required one if needed...
Using already used python3 built version...
Reinstalling nodejs...
Restoring the database...
ERROR: invalid byte sequence for encoding "UTF8": 0xa9
CONTEXTE : COPY geodata_places, line 39515
Restoring system configurations related to immich...
Reloading NGINX web server and immich's service...
The service immich-microservices has correctly executed the action start.
The service immich-machine-learning has correctly executed the action start.
(this may take some time)
corrupted double-linked list
Aborted
Impossible de restaurer immich : Une erreur s'est produite dans le script de restauration de l'application
L'opération 'Restaurer 'immich' depuis une sauvegarde' a échoué ! Pour obtenir de l'aide, merci de partager le journal de l'opération en cliquant ici
Suppression de immich…
Removing system configurations related to immich...
Failed to retrieve unit state: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
Failed to disable unit: Connexion terminée par expiration du délai d'attente
Failed to reload daemon: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
Failed to retrieve unit state: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
Failed to disable unit: Connexion terminée par expiration du délai d'attente
Failed to reload daemon: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
Failed to retrieve unit state: Connexion terminée par expiration du délai d'attente
Failed to disable unit: Connexion terminée par expiration du délai d'attente
Failed to reload daemon: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
Failed to reload-or-restart fail2ban.service: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
See system logs and 'systemctl status fail2ban.service' for details.
[Error] sept. 01 15:15:22 systemd[1]: Started Fail2Ban Service.
sept. 01 15:15:23 fail2ban-server[627]: Server ready
sept. 01 15:15:23 systemd[1]: Stopping Fail2Ban Service...
sept. 01 15:15:25 fail2ban-client[1046]: Shutdown successful
sept. 01 15:15:25 systemd[1]: fail2ban.service: Succeeded.
sept. 01 15:15:25 systemd[1]: Stopped Fail2Ban Service.
sept. 01 15:15:25 systemd[1]: Starting Fail2Ban Service...
sept. 01 15:15:25 systemd[1]: Started Fail2Ban Service.
sept. 01 15:15:25 fail2ban-server[1062]: Server ready
sept. 01 15:18:58 systemd[1]: Reloading Fail2Ban Service.
sept. 01 15:18:58 fail2ban-client[7364]: OK

Je trouve 2 logs (???) l’un s’agissant de la restauration échouée, puis le log de “l’enlèvement de immich” échoué également :

log restauration.odt (35.4 KB)
log enlever.odt (23.7 KB)

EDIT:

Avant de perdre mes données, est-ce qu’il y a une commande pour copier les répertoires et data persos ? En SFTP par exemeple ? Merci :face_with_thermometer:

Etant donnés les messages d’erreur dans tes log, le pb n’est pas lié à immich en tant que tel. Commence par faire un diagnostique.
Tes datas “imich” sont stockées dans /home/yunohost.app/immich.
PS : pour le partage des logs, les fichiers odt sont une mauvaise pratique. Partage plutot le lien yunopaste;

1 Like

Merci de ton retour.

Voici le retour du diagnostic ; pour rappel je n’ai plus d’application installée et je relève dans le diag. que le service immich-machine-learning est en vrac (sauf erreur c’est précisément lorsque la restauration Immich a relancé ce service que l’opération a planté, c’est curieux car j’ai mémoire qu’à l’installation j’avais pas coché le fait d’activer l’IA ou fonctionnalité apparentée).

(Par sécurité j’ai dupliqué sur un autre disque la sauvegarde “immich-pre-upgrade1”, je regarderai plus tard pour accéder aux données persos Immich).

Diagnostic:

=================================
Système de base (basesystem)
=================================

[INFO] L'architecture du serveur est bare-metal amd64
  - Le modèle/architecture du serveur est HP HP EliteDesk 800 G4 DM 65W
[INFO] Le serveur utilise le noyau Linux 5.10.0-32-amd64
[INFO] Le serveur utilise Debian 11.10
[INFO] Le serveur utilise YunoHost 11.2.29 (stable)
  - yunohost version : 11.2.29 (stable)
  - yunohost-admin version : 11.2.8 (stable)
  - moulinette version : 11.2.1 (stable)
  - ssowat version : 11.2.1.1 (stable)

=================================
Connectivité Internet (ip)
=================================

[SUCCESS] La résolution de nom de domaine fonctionne !
[SUCCESS] Le serveur est connecté à Internet en IPv4 !
  - IP globale : xx.xx.xx.xx
  - IP locale : 192.168.10.59
[WARNING] Le serveur ne dispose pas d'une adresse IPv6.
  - IPv6 devrait généralement être configuré automatiquement par le système ou par votre fournisseur d'accès à internet (FAI) s'il est disponible. Sinon, vous devrez peut-être configurer quelques éléments manuellement, comme expliqué dans la documentation ici : https://yunohost.org/ipv6.

=================================
Enregistrements DNS (dnsrecords)
=================================

[SUCCESS] Les enregistrements DNS sont correctement configurés pour le domaine maindomain.tld (catégorie basic)
[SUCCESS] Les enregistrements DNS sont correctement configurés pour le domaine maindomain.tld (catégorie mail)
[SUCCESS] Les enregistrements DNS sont correctement configurés pour le domaine maindomain.tld (catégorie xmpp)
[SUCCESS] Les enregistrements DNS sont correctement configurés pour le domaine maindomain.tld (catégorie extra)

=================================
Exposition des ports (ports)
=================================

[ERROR] Le port 22 n'est pas accessible depuis l'extérieur.
  - Rendre ce port accessible est nécessaire pour les fonctionnalités de type admin (service ssh)
  - Pour résoudre ce problème, vous devez probablement configurer la redirection de port sur votre routeur Internet comme décrit dans https://yunohost.org/isp_box_config
[ERROR] Le port 25 n'est pas accessible depuis l'extérieur.
  - Rendre ce port accessible est nécessaire pour les fonctionnalités de type email (service postfix)
  - Pour résoudre ce problème, vous devez probablement configurer la redirection de port sur votre routeur Internet comme décrit dans https://yunohost.org/isp_box_config
[SUCCESS] Le port 80 est accessible depuis l'extérieur.
  - Rendre ce port accessible est nécessaire pour les fonctionnalités de type web (service nginx)
[SUCCESS] Le port 443 est accessible depuis l'extérieur.
  - Rendre ce port accessible est nécessaire pour les fonctionnalités de type web (service nginx)
[ERROR] Le port 587 n'est pas accessible depuis l'extérieur.
  - Rendre ce port accessible est nécessaire pour les fonctionnalités de type email (service postfix)
  - Pour résoudre ce problème, vous devez probablement configurer la redirection de port sur votre routeur Internet comme décrit dans https://yunohost.org/isp_box_config
[ERROR] Le port 993 n'est pas accessible depuis l'extérieur.
  - Rendre ce port accessible est nécessaire pour les fonctionnalités de type email (service dovecot)
  - Pour résoudre ce problème, vous devez probablement configurer la redirection de port sur votre routeur Internet comme décrit dans https://yunohost.org/isp_box_config
[ERROR] Le port 5222 n'est pas accessible depuis l'extérieur.
  - Rendre ce port accessible est nécessaire pour les fonctionnalités de type xmpp (service metronome)
  - Pour résoudre ce problème, vous devez probablement configurer la redirection de port sur votre routeur Internet comme décrit dans https://yunohost.org/isp_box_config
[ERROR] Le port 5269 n'est pas accessible depuis l'extérieur.
  - Rendre ce port accessible est nécessaire pour les fonctionnalités de type xmpp (service metronome)
  - Pour résoudre ce problème, vous devez probablement configurer la redirection de port sur votre routeur Internet comme décrit dans https://yunohost.org/isp_box_config

=================================
Web (web)
=================================
[SUCCESS] Le domaine maindomain.tld est accessible en HTTP depuis l'extérieur.

=================================
Email (mail)
=================================

[ERROR] Le serveur SMTP n'est pas capable d'envoyer de email à d'autres serveurs car le port sortant 25 semble être bloqué en IPv4.
  - Vous devriez d'abord essayer d'ouvrir le port 25 dans l'interface de votre routeur, box Internet ou interface d'hébergement. (Certains hébergeurs peuvent vous demander d'ouvrir un ticket sur leur support d'assistance pour cela).
  - Certains opérateurs ne vous laisseront pas débloquer le port 25 parce qu'ils ne se soucient pas de la neutralité du Net.
     - Certains d'entre eux offrent la possibilité d'utiliser un serveur de messagerie relai bien que cela implique que celui-ci sera en mesure d'espionner le trafic de votre messagerie.
     - Une alternative respectueuse de la vie privée consiste à utiliser un VPN *avec une IP publique dédiée* pour contourner ce type de limites. Voir https ://yunohost.org/vpn_advantage
     - Vous pouvez également envisager de passer à un fournisseur plus respectueux de la neutralité du net
[ERROR] Le serveur de messagerie SMTP est inaccessible de l'extérieur en IPv4. Il ne pourra pas recevoir des emails.
  - Impossible d'ouvrir une connexion sur le port 25 à votre serveur en IPv4. Il semble inaccessible. 
     1. La cause la plus courante de ce problème est que le port 25 n'est pas correctement redirigé vers votre serveur. 
     2. Vous devez également vous assurer que le service postfix est en cours d'exécution. 
     3. Sur les configurations plus complexes : assurez-vous qu'aucun pare-feu ou proxy inversé n'interfère.
[ERROR] Le reverse-DNS n'est pas correctement configuré en IPv4. Il se peut que certains emails ne soient pas acheminés ou soient considérés comme du spam.
  - DNS inverse actuel : lfbn-tou-1-1280-158.w90-76.abo.wanadoo.fr 
     Valeur attendue : maindomain.tld
  - Vous devez d'abord essayer de configurer le reverse-DNS avec maindomain.tld dans l'interface de votre routeur, box Internet ou votre interface d'hébergement. (Certains hébergeurs peuvent vous demander d'ouvrir un ticket sur leur support d'assistance pour cela).
  - Certains opérateurs ne vous laisseront pas configurer votre reverse-DNS (ou leur fonctionnalité pourrait être cassée…). Si vous rencontrez des problèmes à cause de cela, envisagez les solutions suivantes :
     - Certains FAI offre cette possibilité à l'aide d'un relais de serveur de messagerie bien que cela implique que le relais pourra espionner votre trafic de messagerie.
     - Une alternative respectueuse de la vie privée consiste à utiliser un VPN *avec une IP publique dédiée* pour contourner ce type de mesures. Voir https://yunohost.org/vpn_advantage
     - Enfin, il est également possible de changer d'opérateur
[ERROR] Votre IP ou domaine xx.xx.xx.xx est sur liste noire sur Spamhaus ZEN
  - La raison de la liste noire est : "Listed by PBL, see https://check.spamhaus.org/query/ip/xx.xx.xx.xx"
  - Après avoir identifié la raison pour laquelle vous êtes répertorié sur cette liste et l'avoir corrigée, n'hésitez pas à demander le retrait de votre IP ou de votre domaine sur https://www.spamhaus.org/zen/
[SUCCESS] 0 emails en attente dans les files d'attente de messagerie

=================================
État des services (services)
=================================

[SUCCESS] Le service dnsmasq est en cours de fonctionnement !
[SUCCESS] Le service dovecot est en cours de fonctionnement !
[SUCCESS] Le service fail2ban est en cours de fonctionnement !
[WARNING] Le service immich-machine-learning est unknown :-(
  - Vous pouvez essayer de redémarrer le service, et si cela ne fonctionne pas, consultez les journaux de service dans le webadmin (à partir de la ligne de commande, vous pouvez le faire avec 'yunohost service restart immich-machine-learning' et 'yunohost service log immich-machine-learning' ).
[WARNING] Le service immich-microservices est unknown :-(
  - Vous pouvez essayer de redémarrer le service, et si cela ne fonctionne pas, consultez les journaux de service dans le webadmin (à partir de la ligne de commande, vous pouvez le faire avec 'yunohost service restart immich-microservices' et 'yunohost service log immich-microservices' ).
[WARNING] Le service immich-server est unknown :-(
  - Vous pouvez essayer de redémarrer le service, et si cela ne fonctionne pas, consultez les journaux de service dans le webadmin (à partir de la ligne de commande, vous pouvez le faire avec 'yunohost service restart immich-server' et 'yunohost service log immich-server' ).
[SUCCESS] Le service metronome est en cours de fonctionnement !
[SUCCESS] Le service mysql est en cours de fonctionnement !
[SUCCESS] Le service nginx est en cours de fonctionnement !
[SUCCESS] Le service php7.4-fpm est en cours de fonctionnement !
[SUCCESS] Le service postfix est en cours de fonctionnement !
[SUCCESS] Le service postgresql est en cours de fonctionnement !
[SUCCESS] Le service redis-server est en cours de fonctionnement !
[SUCCESS] Le service rspamd est en cours de fonctionnement !
[SUCCESS] Le service slapd est en cours de fonctionnement !
[SUCCESS] Le service ssh est en cours de fonctionnement !
[SUCCESS] Le service yunohost-api est en cours de fonctionnement !
[SUCCESS] Le service yunohost-firewall est en cours de fonctionnement !
[SUCCESS] Le service yunomdns est en cours de fonctionnement !

=================================
Ressources système (systemresources)
=================================

[SUCCESS] Le système dispose encore de 6.4 GiB (87%) de RAM sur 7.4 GiB.
[SUCCESS] Le système dispose de 976 MiB de swap !
  - Soyez averti et conscient que si vous hébergez une partition SWAP sur une carte SD ou un disque SSD, cela risque de réduire considérablement l'espérance de vie de celui-ci.
[SUCCESS] L'espace de stockage / (sur le périphérique /dev/sda2) a encore 318 GiB (74%) d'espace restant (sur 433 GiB) !
[SUCCESS] L'espace de stockage /boot/efi (sur le périphérique /dev/sda1) a encore 505 MiB (98.9%) d'espace restant (sur 511 MiB) !

=================================
Configurations système (regenconf)
=================================

[SUCCESS] Tous les fichiers de configuration sont conformes aux préconisations !

=================================
Applications (apps)
=================================

[SUCCESS] Toutes les applications installées respectent les pratiques de packaging de base

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