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