What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 11.2.30.2
What app is this about: peertube
Describe your issue
bonjour
suite à un échec de mise à jour de l’application peertube, j’ai décidé de la désinstaller.
je n’arrive maintenant plus à la remettre.
je suis éjecté au bout de 20 seconde d’installation.
je met avec le log obtenu après l’échec d’installation
merci pour vos réponses
Share relevant logs or error messages
ended_at: 2024-09-20 12:45:12.280055
env:
YNH_APP_ACTION: upgrade
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh
YNH_APP_CURRENT_VERSION: 6.1.0~ynh2
YNH_APP_ID: peertube
YNH_APP_INSTANCE_NAME: peertube
YNH_APP_INSTANCE_NUMBER: ‘1’
YNH_APP_MANIFEST_VERSION: 6.2.1~ynh1
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
- peertube
started_at: 2024-09-20 12:43:19.170354
success: false
yunohost_version: 11.2.30.2
============
2024-09-20 14:43:19,207: INFO - Updating sources…
2024-09-20 14:43:19,209: DEBUG - Prefetching asset main: https://github.com/Chocobozzz/PeerTube/releases/download/v6.2.1/peertube-v6.2.1.tar.xz …
2024-09-20 14:43:21,040: INFO - Updating ports…
2024-09-20 14:43:21,072: INFO - Updating system_user…
2024-09-20 14:43:21,184: INFO - Updating install_dir…
2024-09-20 14:43:21,196: INFO - Updating data_dir…
2024-09-20 14:43:21,208: INFO - Updating permissions…
2024-09-20 14:43:21,233: DEBUG - Nothing to update in LDAP
2024-09-20 14:43:21,235: DEBUG - Permission ‘peertube.main’ mise à jour
2024-09-20 14:43:21,236: DEBUG - Journal complet de cette opération : ‘ Mise à jour des accès pour la permission ‘peertube’ ’
2024-09-20 14:43:21,269: DEBUG - Nothing to update in LDAP
2024-09-20 14:43:21,269: DEBUG - Permission ‘peertube.main’ mise à jour
2024-09-20 14:43:21,271: DEBUG - Journal complet de cette opération : ‘ Mise à jour de l’URL associée à l’autorisation ‘peertube’ ’
2024-09-20 14:43:21,299: DEBUG - Nothing to update in LDAP
2024-09-20 14:43:21,301: DEBUG - Permission ‘peertube.api’ mise à jour
2024-09-20 14:43:21,301: DEBUG - Journal complet de cette opération : ‘ Mise à jour des accès pour la permission ‘peertube’ ’
2024-09-20 14:43:21,328: DEBUG - Nothing to update in LDAP
2024-09-20 14:43:21,329: DEBUG - Permission ‘peertube.api’ mise à jour
2024-09-20 14:43:21,331: DEBUG - Journal complet de cette opération : ‘ Mise à jour de l’URL associée à l’autorisation ‘peertube’ ’
2024-09-20 14:43:21,345: DEBUG - The permission database has been resynchronized
2024-09-20 14:43:21,442: DEBUG - La configuration de SSOwat a été regénérée
2024-09-20 14:43:21,447: INFO - Updating apt…
2024-09-20 14:43:21,451: DEBUG - Executing command ‘[‘sh’, ‘-c’, ‘/bin/bash -x “./provision_or_update_apt” 7>&1’]’
2024-09-20 14:43:21,464: DEBUG - + source /usr/share/yunohost/helpers
2024-09-20 14:43:21,464: DEBUG - ++++ dirname – /usr/share/yunohost/helpers
2024-09-20 14:43:21,465: DEBUG - +++ cd – /usr/share/yunohost
2024-09-20 14:43:21,465: DEBUG - +++ pwd
2024-09-20 14:43:21,465: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2024-09-20 14:43:21,465: DEBUG - ++ YNH_HELPERS_VERSION=2
2024-09-20 14:43:21,467: DEBUG - ++ readonly ‘XTRACE_ENABLE=set -o xtrace’
2024-09-20 14:43:21,468: DEBUG - ++ XTRACE_ENABLE=‘set -o xtrace’
2024-09-20 14:43:21,490: DEBUG - + ynh_abort_if_errors
2024-09-20 14:43:21,490: DEBUG - + trap ynh_exit_properly EXIT
2024-09-20 14:43:21,490: DEBUG - + ynh_install_app_dependencies ffmpeg postgresql postgresql-contrib
2024-09-20 14:43:21,490: DEBUG - + local ‘dependencies=ffmpeg postgresql postgresql-contrib’
2024-09-20 14:43:21,490: DEBUG - ++ echo ‘ffmpeg postgresql postgresql-contrib’
2024-09-20 14:43:21,491: DEBUG - ++ sed ‘s/([^<=>])\ ([^(])/\1, \2/g’
2024-09-20 14:43:21,493: DEBUG - + dependencies=‘ffmpeg, postgresql, postgresql-contrib’
2024-09-20 14:43:21,493: DEBUG - + local ‘dependencies=ffmpeg, postgresql, postgresql-contrib’
2024-09-20 14:43:21,493: DEBUG - ++ ynh_read_manifest --manifest_key=version
2024-09-20 14:43:21,508: DEBUG - ++ ‘[’ ‘!’ -e ‘’ ‘]’
2024-09-20 14:43:21,508: DEBUG - ++ ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.json ‘]’
2024-09-20 14:43:21,508: DEBUG - ++ ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.toml ‘]’
2024-09-20 14:43:21,508: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.toml
2024-09-20 14:43:21,508: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.toml
2024-09-20 14:43:21,508: DEBUG - ++ grep -q ‘.json$’
2024-09-20 14:43:21,510: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.toml
2024-09-20 14:43:21,510: DEBUG - ++ jq .version --raw-output
2024-09-20 14:43:21,511: DEBUG - ++ python3 -c ‘import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))’
2024-09-20 14:43:21,559: DEBUG - + local version=6.2.1~ynh1
2024-09-20 14:43:21,560: DEBUG - + ‘[’ -z 6.2.1~ynh1 ‘]’
2024-09-20 14:43:21,560: DEBUG - + ‘[’ 6.2.1~ynh1 == null ‘]’
2024-09-20 14:43:21,560: DEBUG - + local dep_app=peertube
2024-09-20 14:43:21,560: DEBUG - + [[ ffmpeg, postgresql, postgresql-contrib =~ [<=>] ]]
2024-09-20 14:43:21,560: DEBUG - ++ echo ffmpeg, postgresql, postgresql-contrib
2024-09-20 14:43:21,561: DEBUG - ++ grep -oP ‘(?<=php)[0-9.]+(?=-|>|)’
2024-09-20 14:43:21,561: DEBUG - ++ sort -u
2024-09-20 14:43:21,563: DEBUG - + local specific_php_version=
2024-09-20 14:43:21,563: DEBUG - + grep --quiet php
2024-09-20 14:43:21,565: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-09-20 14:43:21,574: DEBUG - ++ dpkg-query --show ‘–showformat=${Status}’ postgresql-13
2024-09-20 14:43:21,574: DEBUG - ++ grep --count ‘ok installed’
2024-09-20 14:43:21,591: DEBUG - ++ echo yes
2024-09-20 14:43:21,591: DEBUG - + local psql_installed=yes
2024-09-20 14:43:21,591: DEBUG - + [[ true == \t\r\u\e ]]
2024-09-20 14:43:21,591: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2024-09-20 14:43:21,591: DEBUG - + cat
2024-09-20 14:43:21,593: DEBUG - + ynh_package_install_from_equivs /tmp/peertube-ynh-deps.control
2024-09-20 14:43:21,593: DEBUG - + local controlfile=/tmp/peertube-ynh-deps.control
2024-09-20 14:43:21,593: DEBUG - ++ grep '^Package: ’ /tmp/peertube-ynh-deps.control
2024-09-20 14:43:21,594: DEBUG - ++ cut '–delimiter= ’ --fields=2
2024-09-20 14:43:21,596: DEBUG - + local pkgname=peertube-ynh-deps
2024-09-20 14:43:21,597: DEBUG - ++ grep '^Version: ’ /tmp/peertube-ynh-deps.control
2024-09-20 14:43:21,597: DEBUG - ++ cut ‘–delimiter= ’ --fields=2
2024-09-20 14:43:21,598: DEBUG - + local pkgversion=6.2.1~ynh1
2024-09-20 14:43:21,599: DEBUG - + [[ -z peertube-ynh-deps ]]
2024-09-20 14:43:21,599: DEBUG - + [[ -z 6.2.1~ynh1 ]]
2024-09-20 14:43:21,599: DEBUG - + ynh_package_update
2024-09-20 14:43:21,599: DEBUG - + ynh_apt update
2024-09-20 14:43:21,599: DEBUG - + ynh_wait_dpkg_free
2024-09-20 14:43:21,771: DEBUG - + return 0
2024-09-20 14:43:21,772: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2024-09-20 14:43:21,966: DEBUG - Hit:1 Index of /debian/ bullseye InRelease
2024-09-20 14:43:21,997: DEBUG - Hit:2 Index of /debian-security bullseye-security InRelease
2024-09-20 14:43:21,997: DEBUG - Hit:3 Index of /debian bullseye InRelease
2024-09-20 14:43:22,022: DEBUG - Hit:4 Index of /debian bullseye-updates InRelease
2024-09-20 14:43:22,058: DEBUG - Hit:5 Index of /php/ bullseye InRelease
2024-09-20 14:43:25,801: DEBUG - Reading package lists…
2024-09-20 14:43:25,816: DEBUG - ++ mktemp --directory
2024-09-20 14:43:25,817: DEBUG - + local TMPDIR=/tmp/tmp.kRzUOlmGwA
2024-09-20 14:43:25,817: DEBUG - + mkdir -p /tmp/tmp.kRzUOlmGwA/peertube-ynh-deps/DEBIAN/
2024-09-20 14:43:25,818: DEBUG - + chmod -R 755 /tmp/tmp.kRzUOlmGwA/peertube-ynh-deps
2024-09-20 14:43:25,819: DEBUG - + ynh_wait_dpkg_free
2024-09-20 14:43:25,984: DEBUG - + return 0
2024-09-20 14:43:25,984: DEBUG - + cp /tmp/peertube-ynh-deps.control /tmp/tmp.kRzUOlmGwA/peertube-ynh-deps/DEBIAN/control
2024-09-20 14:43:25,986: DEBUG - + dpkg-deb --build /tmp/tmp.kRzUOlmGwA/peertube-ynh-deps /tmp/tmp.kRzUOlmGwA/peertube-ynh-deps.deb
2024-09-20 14:43:26,001: DEBUG - + dpkg --force-depends --install /tmp/tmp.kRzUOlmGwA/peertube-ynh-deps.deb
2024-09-20 14:43:26,001: DEBUG - + tee /tmp/tmp.kRzUOlmGwA/dpkg_log
2024-09-20 14:43:26,274: DEBUG - (Reading database … 94467 files and directories currently installed.)
2024-09-20 14:43:26,278: DEBUG - Preparing to unpack …/peertube-ynh-deps.deb …
2024-09-20 14:43:26,289: DEBUG - Unpacking peertube-ynh-deps (6.2.1~ynh1) over (6.1.0~ynh2) …
2024-09-20 14:43:26,309: DEBUG - Setting up peertube-ynh-deps (6.2.1~ynh1) …
2024-09-20 14:43:26,332: DEBUG - + ynh_package_install --fix-broken
2024-09-20 14:43:26,332: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=–force-confdef --option Dpkg::Options::=–force-confold install --fix-broken
2024-09-20 14:43:26,332: DEBUG - + ynh_wait_dpkg_free
2024-09-20 14:43:26,542: DEBUG - + return 0
2024-09-20 14:43:26,542: 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-09-20 14:43:26,762: DEBUG - Reading package lists…
2024-09-20 14:43:27,008: DEBUG - Building dependency tree…
2024-09-20 14:43:27,009: DEBUG - Reading state information…
2024-09-20 14:43:27,397: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2024-09-20 14:43:27,397: DEBUG - + [[ -n /tmp/tmp.kRzUOlmGwA ]]
2024-09-20 14:43:27,398: DEBUG - + rm --recursive --force /tmp/tmp.kRzUOlmGwA
2024-09-20 14:43:27,399: DEBUG - + ynh_package_is_installed peertube-ynh-deps
2024-09-20 14:43:27,408: DEBUG - + dpkg-query --show ‘–showformat=${Status}’ peertube-ynh-deps
2024-09-20 14:43:27,408: DEBUG - + grep --count ‘ok installed’
2024-09-20 14:43:27,425: DEBUG - + rm /tmp/peertube-ynh-deps.control
2024-09-20 14:43:27,426: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-09-20 14:43:27,435: DEBUG - ++ dpkg-query --show ‘–showformat=${Status}’ postgresql-13
2024-09-20 14:43:27,436: DEBUG - ++ grep --count ‘ok installed’
2024-09-20 14:43:27,453: DEBUG - ++ echo yes
2024-09-20 14:43:27,453: DEBUG - + local psql_installed2=yes
2024-09-20 14:43:27,453: DEBUG - + [[ yes != \y\e\s ]]
2024-09-20 14:43:27,453: DEBUG - + ynh_install_extra_app_dependencies ‘–repo=deb https://dl.yarnpkg.com/debian/ stable main’ --key=https://dl.yarnpkg.com/debian/pubkey.gpg --package=yarn
2024-09-20 14:43:27,533: DEBUG - + name=peertube
2024-09-20 14:43:27,533: DEBUG - + key=https://dl.yarnpkg.com/debian/pubkey.gpg
2024-09-20 14:43:27,533: DEBUG - + ‘[’ -n https://dl.yarnpkg.com/debian/pubkey.gpg ‘]’
2024-09-20 14:43:27,533: DEBUG - + key=–key=https://dl.yarnpkg.com/debian/pubkey.gpg
2024-09-20 14:43:27,533: DEBUG - + ynh_install_extra_repo ‘–repo=deb https://dl.yarnpkg.com/debian/ stable main’ --key=https://dl.yarnpkg.com/debian/pubkey.gpg --priority=995 --name=peertube
2024-09-20 14:43:27,648: DEBUG - + name=peertube
2024-09-20 14:43:27,649: DEBUG - + append=0
2024-09-20 14:43:27,649: DEBUG - + key=https://dl.yarnpkg.com/debian/pubkey.gpg
2024-09-20 14:43:27,649: DEBUG - + priority=995
2024-09-20 14:43:27,649: DEBUG - + append=
2024-09-20 14:43:27,649: DEBUG - + wget_append=tee
2024-09-20 14:43:27,649: DEBUG - + [[ https://dl.yarnpkg.com/debian/pubkey.gpg == \t\r\u\s\t\e\d=\y\e\s ]]
2024-09-20 14:43:27,650: DEBUG - + trusted=
2024-09-20 14:43:27,650: DEBUG - + IFS=’, ’
2024-09-20 14:43:27,650: DEBUG - + read -r -a repo_parts
2024-09-20 14:43:27,650: DEBUG - + index=0
2024-09-20 14:43:27,650: DEBUG - + [[ deb == \d\e\b ]]
2024-09-20 14:43:27,650: DEBUG - + index=1
2024-09-20 14:43:27,650: DEBUG - + uri=https://dl.yarnpkg.com/debian/
2024-09-20 14:43:27,650: DEBUG - + index=2
2024-09-20 14:43:27,650: DEBUG - + suite=stable
2024-09-20 14:43:27,650: DEBUG - + index=3
2024-09-20 14:43:27,650: DEBUG - + (( 4 > 0 ))
2024-09-20 14:43:27,651: DEBUG - + component=main
2024-09-20 14:43:27,651: DEBUG - + ynh_add_repo --uri=https://dl.yarnpkg.com/debian/ --suite=stable --component=main --name=peertube
2024-09-20 14:43:27,798: DEBUG - + name=peertube
2024-09-20 14:43:27,798: DEBUG - + append=0
2024-09-20 14:43:27,799: DEBUG - + trusted=0
2024-09-20 14:43:27,799: DEBUG - + append=tee
2024-09-20 14:43:27,799: DEBUG - + [[ 0 -eq 1 ]]
2024-09-20 14:43:27,799: DEBUG - + trust=
2024-09-20 14:43:27,799: DEBUG - + mkdir --parents /etc/apt/sources.list.d
2024-09-20 14:43:27,800: DEBUG - + tee /etc/apt/sources.list.d/peertube.list
2024-09-20 14:43:27,801: DEBUG - deb https://dl.yarnpkg.com/debian/ stable main
2024-09-20 14:43:27,802: DEBUG - + local pin=dl.yarnpkg.com/debian/
2024-09-20 14:43:27,802: DEBUG - + pin=dl.yarnpkg.com
2024-09-20 14:43:27,802: DEBUG - + ‘[’ -n 995 ‘]’
2024-09-20 14:43:27,802: DEBUG - + priority=–priority=995
2024-09-20 14:43:27,802: DEBUG - + ynh_pin_repo ‘–package=’ ‘–pin=origin “dl.yarnpkg.com”’ --priority=995 --name=peertube
2024-09-20 14:43:27,918: DEBUG - + package='’
2024-09-20 14:43:27,919: DEBUG - + priority=995
2024-09-20 14:43:27,919: DEBUG - + name=peertube
2024-09-20 14:43:27,919: DEBUG - + append=0
2024-09-20 14:43:27,919: DEBUG - + append=tee
2024-09-20 14:43:27,919: DEBUG - + [[ peertube != \e\x\t\r\a_\p\h\p_\v\e\r\s\i\o\n ]]
2024-09-20 14:43:27,919: DEBUG - + mkdir --parents /etc/apt/preferences.d
2024-09-20 14:43:27,920: DEBUG - Pin: origin “dl.yarnpkg.com”
2024-09-20 14:43:27,920: DEBUG - Pin-Priority: 995
2024-09-20 14:43:27,920: DEBUG - ’
2024-09-20 14:43:27,921: DEBUG - + tee /etc/apt/preferences.d/peertube
2024-09-20 14:43:27,922: DEBUG - Package: *
2024-09-20 14:43:27,922: DEBUG - Pin: origin “dl.yarnpkg.com”
2024-09-20 14:43:27,922: DEBUG - Pin-Priority: 995
2024-09-20 14:43:27,922: DEBUG -
2024-09-20 14:43:27,923: DEBUG - + ‘[’ -n https://dl.yarnpkg.com/debian/pubkey.gpg ‘]’
2024-09-20 14:43:27,923: DEBUG - + [[ https://dl.yarnpkg.com/debian/pubkey.gpg != \t\r\u\s\t\e\d=\y\e\s ]]
2024-09-20 14:43:27,923: DEBUG - + mkdir --parents /etc/apt/trusted.gpg.d
2024-09-20 14:43:27,924: DEBUG - + wget --timeout 900 --quiet https://dl.yarnpkg.com/debian/pubkey.gpg --output-document=-
2024-09-20 14:43:27,924: DEBUG - + gpg --dearmor
2024-09-20 14:43:27,924: DEBUG - + tee /etc/apt/trusted.gpg.d/peertube.gpg
2024-09-20 14:43:28,110: DEBUG - + ynh_package_update
2024-09-20 14:43:28,111: DEBUG - + ynh_apt update
2024-09-20 14:43:28,111: DEBUG - + ynh_wait_dpkg_free
2024-09-20 14:43:28,316: DEBUG - + return 0
2024-09-20 14:43:28,317: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2024-09-20 14:43:28,445: DEBUG - Hit:1 Index of /debian/ bullseye InRelease
2024-09-20 14:43:28,450: DEBUG - Hit:2 Index of /debian-security bullseye-security InRelease
2024-09-20 14:43:28,454: DEBUG - Hit:3 Index of /debian bullseye InRelease
2024-09-20 14:43:28,477: DEBUG - Hit:4 Index of /debian bullseye-updates InRelease
2024-09-20 14:43:28,521: DEBUG - Hit:5 Index of /php/ bullseye InRelease
2024-09-20 14:43:28,570: DEBUG - Get:6 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
2024-09-20 14:43:29,114: DEBUG - Get:7 https://dl.yarnpkg.com/debian stable/main all Packages [10.9 kB]
2024-09-20 14:43:29,187: DEBUG - Get:8 https://dl.yarnpkg.com/debian stable/main amd64 Packages [10.9 kB]
2024-09-20 14:43:32,665: DEBUG - Fetched 39.0 kB in 1s (47.2 kB/s)
2024-09-20 14:43:33,548: DEBUG - Reading package lists…
2024-09-20 14:43:33,562: DEBUG - + ynh_install_app_dependencies yarn
2024-09-20 14:43:33,562: DEBUG - + local dependencies=yarn
2024-09-20 14:43:33,563: DEBUG - ++ echo yarn
2024-09-20 14:43:33,563: DEBUG - ++ sed ‘s/([^<=>])\ ([^(])/\1, \2/g’
2024-09-20 14:43:33,565: DEBUG - + dependencies=yarn
2024-09-20 14:43:33,566: DEBUG - + local dependencies=yarn
2024-09-20 14:43:33,566: DEBUG - ++ ynh_read_manifest --manifest_key=version
2024-09-20 14:43:33,583: DEBUG - ++ ‘[’ ‘!’ -e ‘’ ‘]’
2024-09-20 14:43:33,583: DEBUG - ++ ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.json ‘]’
2024-09-20 14:43:33,583: DEBUG - ++ ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.toml ‘]’
2024-09-20 14:43:33,583: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.toml
2024-09-20 14:43:33,583: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.toml
2024-09-20 14:43:33,583: DEBUG - ++ grep -q ‘.json$’
2024-09-20 14:43:33,585: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.toml
2024-09-20 14:43:33,586: DEBUG - ++ python3 -c ‘import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))’
2024-09-20 14:43:33,586: DEBUG - ++ jq .version --raw-output
2024-09-20 14:43:33,631: DEBUG - + local version=6.2.1~ynh1
2024-09-20 14:43:33,631: DEBUG - + ‘[’ -z 6.2.1~ynh1 ‘]’
2024-09-20 14:43:33,631: DEBUG - + ‘[’ 6.2.1~ynh1 == null ‘]’
2024-09-20 14:43:33,631: DEBUG - + local dep_app=peertube
2024-09-20 14:43:33,631: DEBUG - + [[ yarn =~ [<=>] ]]
2024-09-20 14:43:33,632: DEBUG - ++ echo yarn
2024-09-20 14:43:33,632: DEBUG - ++ grep -oP ‘(?<=php)[0-9.]+(?=-|>|)’
2024-09-20 14:43:33,632: DEBUG - ++ sort -u
2024-09-20 14:43:33,635: DEBUG - + local specific_php_version=
2024-09-20 14:43:33,635: DEBUG - + grep --quiet php
2024-09-20 14:43:33,637: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-09-20 14:43:33,647: DEBUG - ++ dpkg-query --show ‘–showformat=${Status}’ postgresql-13
2024-09-20 14:43:33,647: DEBUG - ++ grep --count ‘ok installed’
2024-09-20 14:43:33,664: DEBUG - ++ echo yes
2024-09-20 14:43:33,665: DEBUG - + local psql_installed=yes
2024-09-20 14:43:33,665: DEBUG - + [[ false == \t\r\u\e ]]
2024-09-20 14:43:33,665: DEBUG - + local current_dependencies=
2024-09-20 14:43:33,665: DEBUG - + ynh_package_is_installed --package=peertube-ynh-deps
2024-09-20 14:43:33,675: DEBUG - + dpkg-query --show ‘–showformat=${Status}’ peertube-ynh-deps
2024-09-20 14:43:33,675: DEBUG - + grep --count ‘ok installed’
2024-09-20 14:43:33,692: DEBUG - ++ dpkg-query --show ‘–showformat=${Depends}’ peertube-ynh-deps
2024-09-20 14:43:33,710: DEBUG - + current_dependencies='ffmpeg, postgresql, postgresql-contrib ’
2024-09-20 14:43:33,710: DEBUG - + current_dependencies='ffmpeg, postgresql, postgresql-contrib ’
2024-09-20 14:43:33,710: DEBUG - + dependencies=‘ffmpeg, postgresql, postgresql-contrib , yarn’
2024-09-20 14:43:33,710: DEBUG - + cat
2024-09-20 14:43:33,711: DEBUG - + ynh_package_install_from_equivs /tmp/peertube-ynh-deps.control
2024-09-20 14:43:33,711: DEBUG - + local controlfile=/tmp/peertube-ynh-deps.control
2024-09-20 14:43:33,712: DEBUG - ++ grep ‘^Package: ’ /tmp/peertube-ynh-deps.control
2024-09-20 14:43:33,712: DEBUG - ++ cut ‘–delimiter= ’ --fields=2
2024-09-20 14:43:33,714: DEBUG - + local pkgname=peertube-ynh-deps
2024-09-20 14:43:33,715: DEBUG - ++ grep ‘^Version: ’ /tmp/peertube-ynh-deps.control
2024-09-20 14:43:33,715: DEBUG - ++ cut ‘–delimiter= ’ --fields=2
2024-09-20 14:43:33,717: DEBUG - + local pkgversion=6.2.1~ynh1
2024-09-20 14:43:33,718: DEBUG - + [[ -z peertube-ynh-deps ]]
2024-09-20 14:43:33,718: DEBUG - + [[ -z 6.2.1~ynh1 ]]
2024-09-20 14:43:33,718: DEBUG - + ynh_package_update
2024-09-20 14:43:33,718: DEBUG - + ynh_apt update
2024-09-20 14:43:33,718: DEBUG - + ynh_wait_dpkg_free
2024-09-20 14:43:33,890: DEBUG - + return 0
2024-09-20 14:43:33,890: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2024-09-20 14:43:34,027: DEBUG - Hit:1 Index of /debian-security bullseye-security InRelease
2024-09-20 14:43:34,028: DEBUG - Hit:2 Index of /debian bullseye InRelease
2024-09-20 14:43:34,051: DEBUG - Hit:3 Index of /debian bullseye-updates InRelease
2024-09-20 14:43:34,088: DEBUG - Hit:4 Index of /php/ bullseye InRelease
2024-09-20 14:43:34,115: DEBUG - Hit:5 https://dl.yarnpkg.com/debian stable InRelease
2024-09-20 14:43:34,127: DEBUG - Hit:6 Index of /debian/ bullseye InRelease
2024-09-20 14:43:37,952: DEBUG - Reading package lists…
2024-09-20 14:43:37,967: DEBUG - ++ mktemp --directory
2024-09-20 14:43:37,969: DEBUG - + local TMPDIR=/tmp/tmp.9YM8bxhi8I
2024-09-20 14:43:37,969: DEBUG - + mkdir -p /tmp/tmp.9YM8bxhi8I/peertube-ynh-deps/DEBIAN/
2024-09-20 14:43:37,970: DEBUG - + chmod -R 755 /tmp/tmp.9YM8bxhi8I/peertube-ynh-deps
2024-09-20 14:43:37,971: DEBUG - + ynh_wait_dpkg_free
2024-09-20 14:43:38,145: DEBUG - + return 0
2024-09-20 14:43:38,145: DEBUG - + cp /tmp/peertube-ynh-deps.control /tmp/tmp.9YM8bxhi8I/peertube-ynh-deps/DEBIAN/control
2024-09-20 14:43:38,147: DEBUG - + dpkg-deb --build /tmp/tmp.9YM8bxhi8I/peertube-ynh-deps /tmp/tmp.9YM8bxhi8I/peertube-ynh-deps.deb
2024-09-20 14:43:38,159: DEBUG - + dpkg --force-depends --install /tmp/tmp.9YM8bxhi8I/peertube-ynh-deps.deb
2024-09-20 14:43:38,159: DEBUG - + tee /tmp/tmp.9YM8bxhi8I/dpkg_log
2024-09-20 14:43:38,233: DEBUG - (Reading database … 94467 files and directories currently installed.)
2024-09-20 14:43:38,237: DEBUG - Preparing to unpack …/peertube-ynh-deps.deb …
2024-09-20 14:43:38,245: DEBUG - Unpacking peertube-ynh-deps (6.2.1~ynh1) over (6.2.1~ynh1) …
2024-09-20 14:43:38,267: DEBUG - Setting up peertube-ynh-deps (6.2.1~ynh1) …
2024-09-20 14:43:38,292: DEBUG - + ynh_package_install --fix-broken
2024-09-20 14:43:38,292: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=–force-confdef --option Dpkg::Options::=–force-confold install --fix-broken
2024-09-20 14:43:38,292: DEBUG - + ynh_wait_dpkg_free
2024-09-20 14:43:38,458: DEBUG - + return 0
2024-09-20 14:43:38,459: 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-09-20 14:43:38,662: DEBUG - Reading package lists…
2024-09-20 14:43:38,877: DEBUG - Building dependency tree…
2024-09-20 14:43:38,879: DEBUG - Reading state information…
2024-09-20 14:43:39,266: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2024-09-20 14:43:39,267: DEBUG - + [[ -n /tmp/tmp.9YM8bxhi8I ]]
2024-09-20 14:43:39,267: DEBUG - + rm --recursive --force /tmp/tmp.9YM8bxhi8I
2024-09-20 14:43:39,268: DEBUG - + ynh_package_is_installed peertube-ynh-deps
2024-09-20 14:43:39,279: DEBUG - + dpkg-query --show ‘–showformat=${Status}’ peertube-ynh-deps
2024-09-20 14:43:39,279: DEBUG - + grep --count ‘ok installed’
2024-09-20 14:43:39,296: DEBUG - + rm /tmp/peertube-ynh-deps.control
2024-09-20 14:43:39,298: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-09-20 14:43:39,308: DEBUG - ++ dpkg-query --show ‘–showformat=${Status}’ postgresql-13
2024-09-20 14:43:39,308: DEBUG - ++ grep --count ‘ok installed’
2024-09-20 14:43:39,326: DEBUG - ++ echo yes
2024-09-20 14:43:39,326: DEBUG - + local psql_installed2=yes
2024-09-20 14:43:39,326: DEBUG - + [[ yes != \y\e\s ]]
2024-09-20 14:43:39,327: DEBUG - ++ apt-mark showauto yarn
2024-09-20 14:43:39,638: DEBUG - + local apps_auto_installed=yarn
2024-09-20 14:43:39,639: DEBUG - + ynh_package_install yarn
2024-09-20 14:43:39,639: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=–force-confdef --option Dpkg::Options::=–force-confold install yarn
2024-09-20 14:43:39,639: DEBUG - + ynh_wait_dpkg_free
2024-09-20 14:43:39,808: DEBUG - + return 0
2024-09-20 14:43:39,809: 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 yarn
2024-09-20 14:43:39,853: DEBUG - Reading package lists…
2024-09-20 14:43:40,078: DEBUG - Building dependency tree…
2024-09-20 14:43:40,080: DEBUG - Reading state information…
2024-09-20 14:43:40,522: DEBUG - yarn is already the newest version (1.22.22-1).
2024-09-20 14:43:40,522: DEBUG - yarn set to manually installed.
2024-09-20 14:43:40,522: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2024-09-20 14:43:40,522: DEBUG - + ‘[’ -z yarn ‘]’
2024-09-20 14:43:40,523: DEBUG - + apt-mark auto yarn
2024-09-20 14:43:40,875: DEBUG - yarn passé en « installé automatiquement ».
2024-09-20 14:43:40,876: DEBUG - + ynh_remove_extra_repo --name=peertube
2024-09-20 14:43:40,885: DEBUG - + name=peertube
2024-09-20 14:43:40,886: DEBUG - + ynh_secure_remove --file=/etc/apt/sources.list.d/peertube.list
2024-09-20 14:43:40,906: DEBUG - + [[ peertube == \e\x\t\r\a_\p\h\p_\v\e\r\s\i\o\n ]]
2024-09-20 14:43:40,906: DEBUG - + ynh_secure_remove /etc/apt/preferences.d/peertube
2024-09-20 14:43:40,924: DEBUG - + ‘[’ -e /etc/apt/trusted.gpg.d/peertube.gpg ‘]’
2024-09-20 14:43:40,925: DEBUG - + ynh_secure_remove --file=/etc/apt/trusted.gpg.d/peertube.gpg
2024-09-20 14:43:40,943: DEBUG - + ‘[’ -e /etc/apt/trusted.gpg.d/peertube.asc ‘]’
2024-09-20 14:43:40,943: DEBUG - + ynh_package_update
2024-09-20 14:43:40,943: DEBUG - + ynh_apt update
2024-09-20 14:43:40,943: DEBUG - + ynh_wait_dpkg_free
2024-09-20 14:43:41,101: DEBUG - + return 0
2024-09-20 14:43:41,102: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2024-09-20 14:43:41,236: DEBUG - Hit:1 Index of /debian-security bullseye-security InRelease
2024-09-20 14:43:41,237: DEBUG - Hit:2 Index of /debian bullseye InRelease
2024-09-20 14:43:41,242: DEBUG - Hit:3 Index of /debian/ bullseye InRelease
2024-09-20 14:43:41,272: DEBUG - Hit:4 Index of /debian bullseye-updates InRelease
2024-09-20 14:43:41,297: DEBUG - Hit:5 Index of /php/ bullseye InRelease
2024-09-20 14:43:46,159: DEBUG - Reading package lists…
2024-09-20 14:43:46,172: DEBUG - + ynh_exit_properly
2024-09-20 14:43:46,173: DEBUG - + [[ provision_or_update_apt =~ ^install$|^upgrade$|^restore$ ]]
2024-09-20 14:43:47,175: INFO - Updating database…
2024-09-20 14:43:47,351: DEBUG - Executing command ‘[‘sh’, ‘-c’, ‘/bin/bash -x “./upgrade” 7>&1’]’
2024-09-20 14:43:47,361: DEBUG - + source common.sh
2024-09-20 14:43:47,362: DEBUG - ++ nodejs_version=20
2024-09-20 14:43:47,362: DEBUG - +++ echo peertube
2024-09-20 14:43:47,362: DEBUG - +++ sed s/peertube//g
2024-09-20 14:43:47,363: DEBUG - ++ db_suffix=
2024-09-20 14:43:47,364: DEBUG - + source /usr/share/yunohost/helpers
2024-09-20 14:43:47,364: DEBUG - ++++ dirname – /usr/share/yunohost/helpers
2024-09-20 14:43:47,365: DEBUG - +++ cd – /usr/share/yunohost
2024-09-20 14:43:47,365: DEBUG - +++ pwd
2024-09-20 14:43:47,365: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2024-09-20 14:43:47,365: DEBUG - ++ YNH_HELPERS_VERSION=2
2024-09-20 14:43:47,367: DEBUG - ++ readonly ‘XTRACE_ENABLE=set -o xtrace’
2024-09-20 14:43:47,368: DEBUG - ++ XTRACE_ENABLE=‘set -o xtrace’
2024-09-20 14:43:47,393: DEBUG - ++ ynh_user_get_info --username=seb68 --key=mail
2024-09-20 14:43:47,421: DEBUG - ++ yunohost user info seb68 --output-as json --quiet
2024-09-20 14:43:47,934: DEBUG - + admin_mail=seb68@maindomain.tld
2024-09-20 14:43:47,934: DEBUG - ++ ynh_check_app_version_changed
2024-09-20 14:43:47,934: DEBUG - ++ local return_value=UPGRADE_APP
2024-09-20 14:43:47,934: DEBUG - ++ ‘[’ UPGRADE_APP == UPGRADE_SAME ‘]’
2024-09-20 14:43:47,935: DEBUG - ++ ‘[’ UPGRADE_APP == DOWNGRADE ‘]’
2024-09-20 14:43:47,935: DEBUG - ++ echo UPGRADE_APP
2024-09-20 14:43:47,935: DEBUG - + upgrade_type=UPGRADE_APP
2024-09-20 14:43:47,989: INFO - [+…] > Ensuring downward compatibility…
2024-09-20 14:43:47,990: DEBUG - + ‘[’ -z 1 ‘]’
2024-09-20 14:43:47,990: DEBUG - + ‘[’ -z ********** ‘]’
2024-09-20 14:43:47,990: DEBUG - + ynh_exec_warn_less ynh_psql_execute_as_root ‘–sql=CREATE EXTENSION IF NOT EXISTS unaccent;’ --database=peertube
2024-09-20 14:43:47,990: DEBUG - + [[ 3 -eq 1 ]]
2024-09-20 14:43:47,990: DEBUG - + ynh_psql_execute_as_root ‘–sql=CREATE EXTENSION IF NOT EXISTS unaccent;’ --database=peertube
2024-09-20 14:43:48,016: DEBUG - + database=peertube
2024-09-20 14:43:48,016: DEBUG - + ‘[’ -n peertube ‘]’
2024-09-20 14:43:48,016: DEBUG - + database=–database=peertube
2024-09-20 14:43:48,016: DEBUG - ++ cat /etc/yunohost/psql
2024-09-20 14:43:48,017: DEBUG - + ynh_psql_connect_as --user=postgres --password=********** --database=peertube
2024-09-20 14:43:48,073: DEBUG - + database=peertube
2024-09-20 14:43:48,074: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql peertube
2024-09-20 14:43:48,183: DEBUG - NOTICE: l’extension « unaccent » existe déjà, poursuite du traitement
2024-09-20 14:43:48,183: DEBUG - CREATE EXTENSION
2024-09-20 14:43:48,186: DEBUG - + ynh_exec_warn_less ynh_psql_execute_as_root ‘–sql=CREATE EXTENSION IF NOT EXISTS pg_trgm;’ --database=peertube
2024-09-20 14:43:48,186: DEBUG - + [[ 3 -eq 1 ]]
2024-09-20 14:43:48,186: DEBUG - + ynh_psql_execute_as_root ‘–sql=CREATE EXTENSION IF NOT EXISTS pg_trgm;’ --database=peertube
2024-09-20 14:43:48,215: DEBUG - + database=peertube
2024-09-20 14:43:48,215: DEBUG - + ‘[’ -n peertube ‘]’
2024-09-20 14:43:48,216: DEBUG - + database=–database=peertube
2024-09-20 14:43:48,216: DEBUG - ++ cat /etc/yunohost/psql
2024-09-20 14:43:48,217: DEBUG - + ynh_psql_connect_as --user=postgres --password=********** --database=peertube
2024-09-20 14:43:48,274: DEBUG - + database=peertube
2024-09-20 14:43:48,275: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql peertube
2024-09-20 14:43:48,384: DEBUG - NOTICE: l’extension « pg_trgm » existe déjà, poursuite du traitement
2024-09-20 14:43:48,384: DEBUG - CREATE EXTENSION
2024-09-20 14:43:48,387: DEBUG - + ynh_secure_remove --file=/etc/apt/sources.list.d/yarn.list
2024-09-20 14:43:48,405: DEBUG - + [[ -e /usr/share/yunohost/hooks/conf_regen/15-nginx_peertube ]]
2024-09-20 14:43:48,405: INFO - ‘/etc/apt/sources.list.d/yarn.list’ wasn’t deleted because it doesn’t exist.
2024-09-20 14:43:48,406: DEBUG - + ynh_secure_remove --file=/home/yunohost.app/peertube/logs
2024-09-20 14:43:48,425: INFO - ‘/home/yunohost.app/peertube/logs’ wasn’t deleted because it doesn’t exist.
2024-09-20 14:43:48,425: DEBUG - + ‘[’ -d /home/yunohost.app/peertube/storage/videos ‘]’
2024-09-20 14:43:48,466: INFO - [#++…] > Stopping a systemd service…
2024-09-20 14:43:48,467: DEBUG - + ynh_systemd_action --service_name=peertube --action=stop --log_path=systemd
2024-09-20 14:43:48,574: DEBUG - + service_name=peertube
2024-09-20 14:43:48,575: DEBUG - + action=stop
2024-09-20 14:43:48,575: DEBUG - + line_match=
2024-09-20 14:43:48,575: DEBUG - + length=20
2024-09-20 14:43:48,575: DEBUG - + log_path=systemd
2024-09-20 14:43:48,575: DEBUG - + timeout=300
2024-09-20 14:43:48,576: DEBUG - + ‘[’ stop == stop ‘]’
2024-09-20 14:43:48,576: DEBUG - + systemctl is-active --quiet peertube
2024-09-20 14:43:48,579: DEBUG - + ‘[’ stop == reload ‘]’
2024-09-20 14:43:48,579: DEBUG - ++ date --utc --rfc-3339=seconds
2024-09-20 14:43:48,579: DEBUG - ++ cut -d+ -f1
2024-09-20 14:43:48,581: DEBUG - + local ‘time_start=2024-09-20 12:43:48 UTC’
2024-09-20 14:43:48,582: DEBUG - + systemctl stop peertube
2024-09-20 14:43:48,613: DEBUG - + [[ peertube == \p\e\e\r\t\u\b\e_\p\e\e\r\t\u\b\e ]]
2024-09-20 14:43:48,613: DEBUG - + ‘[’ UPGRADE_APP == UPGRADE_APP ‘]’
2024-09-20 14:43:48,657: INFO - [###+…] > Upgrading source files…
2024-09-20 14:43:48,658: DEBUG - + ynh_setup_source --full_replace=1 --dest_dir=/var/www/peertube ‘–keep=config/production.yaml config/local-production.json config/local.yaml’
2024-09-20 14:43:48,733: DEBUG - + keep=‘config/production.yaml config/local-production.json config/local.yaml’
2024-09-20 14:43:48,733: DEBUG - + full_replace=1
2024-09-20 14:43:48,733: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.toml
2024-09-20 14:43:48,733: DEBUG - + cat /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.toml
2024-09-20 14:43:48,733: DEBUG - + jq -e .resources.sources
2024-09-20 14:43:48,734: DEBUG - + toml_to_json
2024-09-20 14:43:48,734: DEBUG - + python3 -c ‘import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))’
2024-09-20 14:43:48,779: DEBUG - + source_id=main
2024-09-20 14:43:48,780: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.toml
2024-09-20 14:43:48,780: DEBUG - ++ toml_to_json
2024-09-20 14:43:48,781: DEBUG - ++ python3 -c ‘import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))’
2024-09-20 14:43:48,781: DEBUG - ++ jq ‘.resources.sources[“main”]’
2024-09-20 14:43:48,826: DEBUG - + local ‘sources_json={
2024-09-20 14:43:48,827: DEBUG - “url”: “https://github.com/Chocobozzz/PeerTube/releases/download/v6.2.1/peertube-v6.2.1.tar.xz”,
2024-09-20 14:43:48,827: DEBUG - “sha256”: “7ac1843b3d10d94f447bc4af818be60cb9a0a200b17ac9e777ccfd11a13721cc”,
2024-09-20 14:43:48,827: DEBUG - “autoupdate”: {
2024-09-20 14:43:48,827: DEBUG - “strategy”: “latest_github_release”,
2024-09-20 14:43:48,827: DEBUG - “asset”: "^peertube-v.\.tar\.xz$"
2024-09-20 14:43:48,827: DEBUG - }
2024-09-20 14:43:48,827: DEBUG - }’
2024-09-20 14:43:48,827: DEBUG - + jq -re .url
2024-09-20 14:43:48,864: DEBUG - https://github.com/Chocobozzz/PeerTube/releases/download/v6.2.1/peertube-v6.2.1.tar.xz
2024-09-20 14:43:48,864: DEBUG - + local arch_prefix=
2024-09-20 14:43:48,904: DEBUG - + local src_url=https://github.com/Chocobozzz/PeerTube/releases/download/v6.2.1/peertube-v6.2.1.tar.xz
2024-09-20 14:43:48,944: DEBUG - + local src_sum=7ac1843b3d10d94f447bc4af818be60cb9a0a200b17ac9e777ccfd11a13721cc
2024-09-20 14:43:48,944: DEBUG - + local src_sumprg=sha256sum
2024-09-20 14:43:48,983: DEBUG - + local src_format=
2024-09-20 14:43:49,022: DEBUG - + local src_in_subdir=
2024-09-20 14:43:49,062: DEBUG - + local src_extract=
2024-09-20 14:43:49,102: DEBUG - + local src_platform=
2024-09-20 14:43:49,141: DEBUG - + local src_rename=
2024-09-20 14:43:49,142: DEBUG - + [[ -n https://github.com/Chocobozzz/PeerTube/releases/download/v6.2.1/peertube-v6.2.1.tar.xz ]]
2024-09-20 14:43:49,142: DEBUG - + [[ -n 7ac1843b3d10d94f447bc4af818be60cb9a0a200b17ac9e777ccfd11a13721cc ]]
2024-09-20 14:43:49,142: DEBUG - + [[ -z ‘’ ]]
2024-09-20 14:43:49,142: DEBUG - + [[ https://github.com/Chocobozzz/PeerTube/releases/download/v6.2.1/peertube-v6.2.1.tar.xz =~ ^..zip$ ]]
2024-09-20 14:43:49,142: DEBUG - + [[ https://github.com/Chocobozzz/PeerTube/releases/download/v6.2.1/peertube-v6.2.1.tar.xz =~ ^./zipball/.$ ]]
2024-09-20 14:43:49,142: DEBUG - + [[ https://github.com/Chocobozzz/PeerTube/releases/download/v6.2.1/peertube-v6.2.1.tar.xz =~ ^..tar.gz$ ]]
2024-09-20 14:43:49,142: DEBUG - + [[ https://github.com/Chocobozzz/PeerTube/releases/download/v6.2.1/peertube-v6.2.1.tar.xz =~ ^..tgz$ ]]
2024-09-20 14:43:49,142: DEBUG - + [[ https://github.com/Chocobozzz/PeerTube/releases/download/v6.2.1/peertube-v6.2.1.tar.xz =~ ^./tar.gz/.$ ]]
2024-09-20 14:43:49,142: DEBUG - + [[ https://github.com/Chocobozzz/PeerTube/releases/download/v6.2.1/peertube-v6.2.1.tar.xz =~ ^./tarball/.$ ]]
2024-09-20 14:43:49,143: DEBUG - + [[ https://github.com/Chocobozzz/PeerTube/releases/download/v6.2.1/peertube-v6.2.1.tar.xz =~ ^..tar.xz$ ]]
2024-09-20 14:43:49,143: DEBUG - + src_format=tar.xz
2024-09-20 14:43:49,143: DEBUG - + src_sumprg=sha256sum
2024-09-20 14:43:49,143: DEBUG - + src_in_subdir=true
2024-09-20 14:43:49,143: DEBUG - + src_format=tar.xz
2024-09-20 14:43:49,143: DEBUG - ++ echo tar.xz
2024-09-20 14:43:49,143: DEBUG - ++ tr ‘[:upper:]’ ‘[:lower:]’
2024-09-20 14:43:49,144: DEBUG - + src_format=tar.xz
2024-09-20 14:43:49,144: DEBUG - + src_extract=true
2024-09-20 14:43:49,145: DEBUG - + [[ true != \t\r\u\e ]]
2024-09-20 14:43:49,145: DEBUG - + local local_src=/opt/yunohost-apps-src/peertube/main
2024-09-20 14:43:49,145: DEBUG - ++ dirname /var/cache/yunohost/download/peertube/main
2024-09-20 14:43:49,146: DEBUG - + mkdir -p /var/cache/yunohost/download/peertube
2024-09-20 14:43:49,148: DEBUG - + src_filename=/var/cache/yunohost/download/peertube/main
2024-09-20 14:43:49,148: DEBUG - + ‘[’ tar.xz = docker ‘]’
2024-09-20 14:43:49,148: DEBUG - + test -e /opt/yunohost-apps-src/peertube/main
2024-09-20 14:43:49,148: DEBUG - + ‘[’ -n https://github.com/Chocobozzz/PeerTube/releases/download/v6.2.1/peertube-v6.2.1.tar.xz ‘]’
2024-09-20 14:43:49,148: DEBUG - + ‘[’ -e /var/cache/yunohost/download/peertube/main ‘]’
2024-09-20 14:43:49,148: DEBUG - + sha256sum --check --status
2024-09-20 14:43:49,385: DEBUG - + ‘[’ ‘!’ -e /var/cache/yunohost/download/peertube/main ‘]’
2024-09-20 14:43:49,386: DEBUG - + sha256sum --check --status
2024-09-20 14:43:49,628: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-09-20 14:43:49,629: DEBUG - + ‘[’ -n ‘config/production.yaml config/local-production.json config/local.yaml’ ‘]’
2024-09-20 14:43:49,629: DEBUG - + ‘[’ -e /var/www/peertube ‘]’
2024-09-20 14:43:49,629: DEBUG - + local keep_dir=/var/cache/yunohost/files_to_keep_during_setup_source/peertube
2024-09-20 14:43:49,630: DEBUG - + mkdir -p /var/cache/yunohost/files_to_keep_during_setup_source/peertube
2024-09-20 14:43:49,632: DEBUG - + for stuff_to_keep in $keep
2024-09-20 14:43:49,632: DEBUG - + ‘[’ -e /var/www/peertube/config/production.yaml ‘]’
2024-09-20 14:43:49,632: DEBUG - ++ dirname /var/cache/yunohost/files_to_keep_during_setup_source/peertube/config/production.yaml
2024-09-20 14:43:49,633: DEBUG - + mkdir --parents /var/cache/yunohost/files_to_keep_during_setup_source/peertube/config
2024-09-20 14:43:49,635: DEBUG - + cp --archive /var/www/peertube/config/production.yaml /var/cache/yunohost/files_to_keep_during_setup_source/peertube/config/production.yaml
2024-09-20 14:43:49,636: DEBUG - + for stuff_to_keep in $keep
2024-09-20 14:43:49,637: DEBUG - + ‘[’ -e /var/www/peertube/config/local-production.json ‘]’
2024-09-20 14:43:49,637: DEBUG - ++ dirname /var/cache/yunohost/files_to_keep_during_setup_source/peertube/config/local-production.json
2024-09-20 14:43:49,638: DEBUG - + mkdir --parents /var/cache/yunohost/files_to_keep_during_setup_source/peertube/config
2024-09-20 14:43:49,640: DEBUG - + cp --archive /var/www/peertube/config/local-production.json /var/cache/yunohost/files_to_keep_during_setup_source/peertube/config/local-production.json
2024-09-20 14:43:49,641: DEBUG - + for stuff_to_keep in $keep
2024-09-20 14:43:49,641: DEBUG - + ‘[’ -e /var/www/peertube/config/local.yaml ‘]’
2024-09-20 14:43:49,642: DEBUG - + ynh_secure_remove --file=/var/www/peertube
2024-09-20 14:43:51,577: DEBUG - + mkdir --parents /var/www/peertube
2024-09-20 14:43:51,578: DEBUG - + ‘[’ -n /var/www/peertube ‘]’
2024-09-20 14:43:51,578: DEBUG - + ‘[’ /var/www/peertube == /var/www/peertube ‘]’
2024-09-20 14:43:51,578: DEBUG - + _ynh_apply_default_permissions /var/www/peertube
2024-09-20 14:43:51,579: DEBUG - + local target=/var/www/peertube
2024-09-20 14:43:51,579: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-09-20 14:43:51,579: DEBUG - ++ tr -d ‘<>= ’
2024-09-20 14:43:51,596: DEBUG - ++ ‘[’ ‘!’ -e ‘’ ‘]’
2024-09-20 14:43:51,597: DEBUG - ++ ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.json ‘]’
2024-09-20 14:43:51,597: DEBUG - ++ ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.toml ‘]’
2024-09-20 14:43:51,597: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.toml
2024-09-20 14:43:51,597: DEBUG - ++ grep -q ‘.json$’
2024-09-20 14:43:51,597: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.toml
2024-09-20 14:43:51,599: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.toml
2024-09-20 14:43:51,600: DEBUG - ++ python3 -c ‘import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))’
2024-09-20 14:43:51,600: DEBUG - ++ jq .requirements.yunohost --raw-output
2024-09-20 14:43:51,652: DEBUG - + local ynh_requirement=null
2024-09-20 14:43:51,652: DEBUG - + dpkg --compare-versions 2.0 ge 2
2024-09-20 14:43:51,653: DEBUG - + chmod o-rwx /var/www/peertube
2024-09-20 14:43:51,654: DEBUG - + chmod g-w /var/www/peertube
2024-09-20 14:43:51,655: DEBUG - + chown -R root:root /var/www/peertube
2024-09-20 14:43:51,656: DEBUG - + ynh_system_user_exists peertube
2024-09-20 14:43:51,665: DEBUG - + getent passwd peertube
2024-09-20 14:43:51,668: DEBUG - + chown peertube:peertube /var/www/peertube
2024-09-20 14:43:51,671: DEBUG - + grep -qE ‘^(/etc/cron|/etc/php|/etc/nginx/conf.d|/etc/fail2ban|/etc/systemd/system)’
2024-09-20 14:43:51,673: DEBUG - + ‘[’ -n ‘’ ‘]’
2024-09-20 14:43:51,673: DEBUG - + [[ true == \f\a\l\s\e ]]
2024-09-20 14:43:51,674: DEBUG - + [[ tar.xz == \d\o\c\k\e\r ]]
2024-09-20 14:43:51,674: DEBUG - + [[ tar.xz == \z\i\p ]]
2024-09-20 14:43:51,674: DEBUG - + local strip=
2024-09-20 14:43:51,674: DEBUG - + ‘[’ true ‘!=’ false ‘]’
2024-09-20 14:43:51,674: DEBUG - + ‘[’ true == true ‘]’
2024-09-20 14:43:51,674: DEBUG - + local sub_dirs=1
2024-09-20 14:43:51,674: DEBUG - + strip=’–strip-components 1’
2024-09-20 14:43:51,674: DEBUG - + [[ tar.xz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2024-09-20 14:43:51,674: DEBUG - + tar --extract --file=/var/cache/yunohost/download/peertube/main --directory=/var/www/peertube --strip-components 1
2024-09-20 14:43:57,499: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/peertube/main
2024-09-20 14:43:57,526: DEBUG - + ‘[’ -d /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/sources/patches/ ‘]’
2024-09-20 14:43:57,526: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/sources/extra_files/main
2024-09-20 14:43:57,527: DEBUG - + ‘[’ -n ‘config/production.yaml config/local-production.json config/local.yaml’ ‘]’
2024-09-20 14:43:57,527: DEBUG - + local keep_dir=/var/cache/yunohost/files_to_keep_during_setup_source/peertube
2024-09-20 14:43:57,527: DEBUG - + for stuff_to_keep in $keep
2024-09-20 14:43:57,527: DEBUG - + ‘[’ -e /var/cache/yunohost/files_to_keep_during_setup_source/peertube/config/production.yaml ‘]’
2024-09-20 14:43:57,527: DEBUG - ++ dirname /var/www/peertube/config/production.yaml
2024-09-20 14:43:57,528: DEBUG - + mkdir --parents /var/www/peertube/config
2024-09-20 14:43:57,529: DEBUG - + cp --archive --no-target-directory /var/cache/yunohost/files_to_keep_during_setup_source/peertube/config/production.yaml /var/www/peertube/config/production.yaml
2024-09-20 14:43:57,531: DEBUG - + for stuff_to_keep in $keep
2024-09-20 14:43:57,531: DEBUG - + ‘[’ -e /var/cache/yunohost/files_to_keep_during_setup_source/peertube/config/local-production.json ‘]’
2024-09-20 14:43:57,531: DEBUG - ++ dirname /var/www/peertube/config/local-production.json
2024-09-20 14:43:57,533: DEBUG - + mkdir --parents /var/www/peertube/config
2024-09-20 14:43:57,534: DEBUG - + cp --archive --no-target-directory /var/cache/yunohost/files_to_keep_during_setup_source/peertube/config/local-production.json /var/www/peertube/config/local-production.json
2024-09-20 14:43:57,536: DEBUG - + for stuff_to_keep in $keep
2024-09-20 14:43:57,536: DEBUG - + ‘[’ -e /var/cache/yunohost/files_to_keep_during_setup_source/peertube/config/local.yaml ‘]’
2024-09-20 14:43:57,536: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-09-20 14:43:57,537: DEBUG - + chmod -R o-rwx /var/www/peertube
2024-09-20 14:43:57,645: DEBUG - + chown -R peertube:www-data /var/www/peertube
2024-09-20 14:43:57,753: DEBUG - + chown -R peertube:www-data /home/yunohost.app/peertube
2024-09-20 14:43:58,087: INFO - [####++…] > Upgrading dependencies…
2024-09-20 14:43:58,088: DEBUG - + ynh_exec_warn_less ynh_install_nodejs --nodejs_version=20
2024-09-20 14:43:58,088: DEBUG - + [[ 2 -eq 1 ]]
2024-09-20 14:43:58,088: DEBUG - + ynh_install_nodejs --nodejs_version=20
2024-09-20 14:43:58,098: DEBUG - + mkdir --parents /opt/node_n
2024-09-20 14:43:58,099: DEBUG - + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-09-20 14:43:58,100: DEBUG - ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-09-20 14:43:58,101: DEBUG - ++ sed s@/usr/local/bin:@@
2024-09-20 14:43:58,103: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
2024-09-20 14:43:58,103: DEBUG - + test -x /usr/bin/node
2024-09-20 14:43:58,103: DEBUG - + mv /usr/bin/node /usr/bin/node_n
2024-09-20 14:43:58,104: DEBUG - + test -x /usr/bin/npm
2024-09-20 14:43:58,105: DEBUG - + mkdir -p /opt/node_n/bin/
2024-09-20 14:43:58,106: DEBUG - + cp /usr/share/yunohost/helpers.v2.d/vendor/n/n /opt/node_n/bin/n
2024-09-20 14:43:58,109: 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-09-20 14:43:58,173: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-09-20 14:43:58,173: DEBUG - + test -x /usr/bin/node_n
2024-09-20 14:43:58,174: DEBUG - + mv /usr/bin/node_n /usr/bin/node
2024-09-20 14:43:58,175: DEBUG - + test -x /usr/bin/npm_n
2024-09-20 14:43:58,175: DEBUG - ++ uname --machine
2024-09-20 14:43:58,177: DEBUG - + uname=x86_64
2024-09-20 14:43:58,177: DEBUG - + [[ x86_64 =~ aarch64 ]]
2024-09-20 14:43:58,177: DEBUG - + [[ x86_64 =~ arm64 ]]
2024-09-20 14:43:58,177: DEBUG - + n 20
2024-09-20 14:43:58,451: DEBUG - copying : node/20.17.0
2024-09-20 14:44:01,345: DEBUG - installed : v20.17.0 (with npm 10.8.2)
2024-09-20 14:44:01,347: DEBUG - ++ sort --version-sort
2024-09-20 14:44:01,347: DEBUG - ++ find /opt/node_n/n/versions/node/20 /opt/node_n/n/versions/node/20.10.0 /opt/node_n/n/versions/node/20.12.2 /opt/node_n/n/versions/node/20.13.1 /opt/node_n/n/versions/node/20.15.0 /opt/node_n/n/versions/node/20.15.1 /opt/node_n/n/versions/node/20.16.0 /opt/node_n/n/versions/node/20.17.0 -maxdepth 0
2024-09-20 14:44:01,347: DEBUG - ++ tail --lines=1
2024-09-20 14:44:01,350: DEBUG - + real_nodejs_version=/opt/node_n/n/versions/node/20.17.0
2024-09-20 14:44:01,350: DEBUG - ++ basename /opt/node_n/n/versions/node/20.17.0
2024-09-20 14:44:01,351: DEBUG - + real_nodejs_version=20.17.0
2024-09-20 14:44:01,352: DEBUG - + ‘[’ ‘!’ -e /opt/node_n/n/versions/node/20 ‘]’
2024-09-20 14:44:01,352: DEBUG - + echo peertube:20
2024-09-20 14:44:01,352: DEBUG - + tee --append /opt/node_n/ynh_app_version
2024-09-20 14:44:01,353: DEBUG - peertube:20
2024-09-20 14:44:01,354: DEBUG - + ynh_app_setting_set --app=peertube --key=nodejs_version --value=20
2024-09-20 14:44:01,417: DEBUG - + [[ nodejs_version =~ (unprotected|protected|skipped) ]]
2024-09-20 14:44:01,474: DEBUG - + ynh_use_nodejs
2024-09-20 14:44:01,475: DEBUG - ++ ynh_app_setting_get --app=peertube --key=nodejs_version
2024-09-20 14:44:01,513: DEBUG - ++ [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
2024-09-20 14:44:01,581: DEBUG - + nodejs_version=20
2024-09-20 14:44:01,582: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/20/bin
2024-09-20 14:44:01,582: DEBUG - + shopt -s expand_aliases
2024-09-20 14:44:01,582: DEBUG - + ynh_node=/opt/node_n/n/versions/node/20/bin/node
2024-09-20 14:44:01,582: DEBUG - + alias ynh_node=/opt/node_n/n/versions/node/20/bin/node
2024-09-20 14:44:01,582: DEBUG - + ynh_npm=/opt/node_n/n/versions/node/20/bin/npm
2024-09-20 14:44:01,582: DEBUG - + alias ynh_npm=/opt/node_n/n/versions/node/20/bin/npm
2024-09-20 14:44:01,582: 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-09-20 14:44:01,582: 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-09-20 14:44:01,582: 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-09-20 14:44:01,583: 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-09-20 14:44:01,583: 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-09-20 14:44:01,583: DEBUG - + export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
2024-09-20 14:44:01,583: DEBUG - + COREPACK_ENABLE_DOWNLOAD_PROMPT=0
2024-09-20 14:44:01,655: INFO - [######+…] > Upgrading system configurations related to peertube…
2024-09-20 14:44:01,656: DEBUG - + ynh_add_nginx_config
2024-09-20 14:44:01,656: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:01,656: DEBUG - + ynh_add_config --template=nginx.conf --destination=/etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:01,700: DEBUG - + jinja=0
2024-09-20 14:44:01,700: DEBUG - + ‘[’ -f /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/conf/nginx.conf ‘]’
2024-09-20 14:44:01,700: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/conf/nginx.conf
2024-09-20 14:44:01,700: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:01,710: DEBUG - ++ ynh_app_setting_get --app=peertube --key=checksum__etc_nginx_conf.d_domain2.tld.d_peertube.conf
2024-09-20 14:44:01,740: DEBUG - ++ [[ checksum__etc_nginx_conf.d_domain2.tld.d_peertube.conf =~ (unprotected|protected|skipped)_ ]]
2024-09-20 14:44:01,795: DEBUG - + local checksum_value=
2024-09-20 14:44:01,795: DEBUG - + backup_file_checksum=
2024-09-20 14:44:01,795: DEBUG - + ‘[’ -n ‘’ ‘]’
2024-09-20 14:44:01,796: DEBUG - + touch /etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:01,797: DEBUG - + chmod 640 /etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:01,798: DEBUG - + ynh_apply_default_permissions /etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:01,798: DEBUG - + local target=/etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:01,799: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-09-20 14:44:01,799: DEBUG - ++ tr -d '<>= ’
2024-09-20 14:44:01,816: DEBUG - ++ ‘[’ ‘!’ -e ‘’ ‘]’
2024-09-20 14:44:01,816: DEBUG - ++ ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.json ‘]’
2024-09-20 14:44:01,816: DEBUG - ++ ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.toml ‘]’
2024-09-20 14:44:01,816: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.toml
2024-09-20 14:44:01,816: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.toml
2024-09-20 14:44:01,816: DEBUG - ++ grep -q ‘.json$’
2024-09-20 14:44:01,819: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.toml
2024-09-20 14:44:01,819: DEBUG - ++ jq .requirements.yunohost --raw-output
2024-09-20 14:44:01,819: DEBUG - ++ python3 -c ‘import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))’
2024-09-20 14:44:01,863: DEBUG - + local ynh_requirement=null
2024-09-20 14:44:01,864: DEBUG - + dpkg --compare-versions 2.0 ge 2
2024-09-20 14:44:01,865: DEBUG - + chmod o-rwx /etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:01,867: DEBUG - + chmod g-w /etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:01,868: DEBUG - + chown -R root:root /etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:01,870: DEBUG - + ynh_system_user_exists peertube
2024-09-20 14:44:01,879: DEBUG - + getent passwd peertube
2024-09-20 14:44:01,881: DEBUG - + chown peertube:peertube /etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:01,882: DEBUG - + grep -qE ‘^(/etc/cron|/etc/php|/etc/nginx/conf.d|/etc/fail2ban|/etc/systemd/system)’
2024-09-20 14:44:01,883: DEBUG - + chmod 400 /etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:01,884: DEBUG - + chown root:root /etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:01,885: DEBUG - + [[ 0 == 1 ]]
2024-09-20 14:44:01,885: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/conf/nginx.conf /etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:01,887: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:01,896: DEBUG - + test -n /
2024-09-20 14:44:01,897: DEBUG - + local path_url_slash_less=
2024-09-20 14:44:01,897: DEBUG - + ynh_replace_string --match_string=PATH/ --replace_string=/ --target_file=/etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:01,962: DEBUG - + ynh_replace_string --match_string=PATH --replace_string=/ --target_file=/etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:02,029: DEBUG - + test -n peertube
2024-09-20 14:44:02,029: DEBUG - + ynh_replace_string --match_string=NAME --replace_string=peertube --target_file=/etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:02,096: DEBUG - + ynh_replace_string --match_string=NAMETOCHANGE --replace_string=peertube --target_file=/etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:02,164: DEBUG - + ynh_replace_string --match_string=USER --replace_string=peertube --target_file=/etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:02,231: DEBUG - + test -n ‘’
2024-09-20 14:44:02,232: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-09-20 14:44:02,233: DEBUG - + test -n 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-09-20 14:44:02,233: DEBUG - + ynh_replace_string --match_string=YNH_NODE_LOAD_PATH --replace_string=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 --target_file=/etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:02,302: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9]?[A-Z0-9]?’ /etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:02,302: DEBUG - ++ sort --unique
2024-09-20 14:44:02,302: DEBUG - ++ sed 's@([^.])@\L\1@g’
2024-09-20 14:44:02,305: DEBUG - + uniques_vars=(‘data_dir’ ‘install_dir’ ‘port’)
2024-09-20 14:44:02,311: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:02,312: DEBUG - + update_only=0
2024-09-20 14:44:02,329: DEBUG - ++ md5sum /etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:02,330: DEBUG - ++ cut '–delimiter= ’ --fields=1
2024-09-20 14:44:02,332: DEBUG - + ynh_app_setting_set --app=peertube --key=checksum__etc_nginx_conf.d_domain2.tld.d_peertube.conf --value=eefd9c0dc7b8add5dfad33e9345c02f0
2024-09-20 14:44:02,398: DEBUG - + [[ checksum__etc_nginx_conf.d_domain2.tld.d_peertube.conf =~ (unprotected|protected|skipped)_ ]]
2024-09-20 14:44:02,456: DEBUG - + ‘[’ -n ‘’ ‘]’
2024-09-20 14:44:02,456: DEBUG - + ‘[’ / ‘!=’ / ‘]’
2024-09-20 14:44:02,456: DEBUG - + ynh_replace_string ‘–match_string=^#root_path_only’ --replace_string= --target_file=/etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:02,521: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:02,522: DEBUG - + update_only=0
2024-09-20 14:44:02,540: DEBUG - ++ md5sum /etc/nginx/conf.d/domain2.tld.d/peertube.conf
2024-09-20 14:44:02,541: DEBUG - ++ cut '–delimiter= ’ --fields=1
2024-09-20 14:44:02,543: DEBUG - + ynh_app_setting_set --app=peertube --key=checksum__etc_nginx_conf.d_domain2.tld.d_peertube.conf --value=eefd9c0dc7b8add5dfad33e9345c02f0
2024-09-20 14:44:02,608: DEBUG - + [[ checksum__etc_nginx_conf.d_domain2.tld.d_peertube.conf =~ (unprotected|protected|skipped)_ ]]
2024-09-20 14:44:02,666: DEBUG - + ‘[’ -n ‘’ ‘]’
2024-09-20 14:44:02,666: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2024-09-20 14:44:02,748: DEBUG - + service_name=nginx
2024-09-20 14:44:02,748: DEBUG - + action=reload
2024-09-20 14:44:02,749: DEBUG - + line_match=
2024-09-20 14:44:02,749: DEBUG - + length=20
2024-09-20 14:44:02,749: DEBUG - + log_path=/var/log/nginx/nginx.log
2024-09-20 14:44:02,749: DEBUG - + timeout=300
2024-09-20 14:44:02,749: DEBUG - + ‘[’ reload == stop ‘]’
2024-09-20 14:44:02,749: DEBUG - + ‘[’ reload == reload ‘]’
2024-09-20 14:44:02,749: DEBUG - + action=reload-or-restart
2024-09-20 14:44:02,749: DEBUG - ++ date --utc --rfc-3339=seconds
2024-09-20 14:44:02,750: DEBUG - ++ cut -d+ -f1
2024-09-20 14:44:02,751: DEBUG - + local ‘time_start=2024-09-20 12:44:02 UTC’
2024-09-20 14:44:02,752: DEBUG - + systemctl reload-or-restart nginx
2024-09-20 14:44:02,950: DEBUG - + ynh_add_systemd_config
2024-09-20 14:44:02,951: DEBUG - + service=peertube
2024-09-20 14:44:02,951: DEBUG - + template=systemd.service
2024-09-20 14:44:02,951: DEBUG - + ynh_add_config --template=systemd.service --destination=/etc/systemd/system/peertube.service
2024-09-20 14:44:03,001: DEBUG - + jinja=0
2024-09-20 14:44:03,001: DEBUG - + ‘[’ -f /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/conf/systemd.service ‘]’
2024-09-20 14:44:03,001: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/conf/systemd.service
2024-09-20 14:44:03,002: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/systemd/system/peertube.service
2024-09-20 14:44:03,012: DEBUG - ++ ynh_app_setting_get --app=peertube --key=checksum__etc_systemd_system_peertube.service
2024-09-20 14:44:03,048: DEBUG - ++ [[ checksum__etc_systemd_system_peertube.service =~ (unprotected|protected|skipped)_ ]]
2024-09-20 14:44:03,109: DEBUG - + local checksum_value=3b6ccc926a59d8a2ee6ba6c7c97a5414
2024-09-20 14:44:03,109: DEBUG - + backup_file_checksum=
2024-09-20 14:44:03,110: DEBUG - + ‘[’ -n 3b6ccc926a59d8a2ee6ba6c7c97a5414 ‘]’
2024-09-20 14:44:03,110: DEBUG - + ‘[’ -e /etc/systemd/system/peertube.service ‘]’
2024-09-20 14:44:03,110: DEBUG - + md5sum --check --status
2024-09-20 14:44:03,112: DEBUG - + touch /etc/systemd/system/peertube.service
2024-09-20 14:44:03,113: DEBUG - + chmod 640 /etc/systemd/system/peertube.service
2024-09-20 14:44:03,114: DEBUG - + _ynh_apply_default_permissions /etc/systemd/system/peertube.service
2024-09-20 14:44:03,114: DEBUG - + local target=/etc/systemd/system/peertube.service
2024-09-20 14:44:03,115: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-09-20 14:44:03,116: DEBUG - ++ tr -d '<>= ’
2024-09-20 14:44:03,132: DEBUG - ++ ‘[’ ‘!’ -e ‘’ ‘]’
2024-09-20 14:44:03,132: DEBUG - ++ ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.json ‘]’
2024-09-20 14:44:03,133: DEBUG - ++ ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.toml ‘]’
2024-09-20 14:44:03,133: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.toml
2024-09-20 14:44:03,133: DEBUG - ++ grep -q ‘.json$’
2024-09-20 14:44:03,133: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.toml
2024-09-20 14:44:03,135: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/manifest.toml
2024-09-20 14:44:03,135: DEBUG - ++ python3 -c ‘import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))’
2024-09-20 14:44:03,136: DEBUG - ++ jq .requirements.yunohost --raw-output
2024-09-20 14:44:03,186: DEBUG - + local ynh_requirement=null
2024-09-20 14:44:03,187: DEBUG - + dpkg --compare-versions 2.0 ge 2
2024-09-20 14:44:03,189: DEBUG - + chmod o-rwx /etc/systemd/system/peertube.service
2024-09-20 14:44:03,191: DEBUG - + chmod g-w /etc/systemd/system/peertube.service
2024-09-20 14:44:03,192: DEBUG - + chown -R root:root /etc/systemd/system/peertube.service
2024-09-20 14:44:03,194: DEBUG - + ynh_system_user_exists peertube
2024-09-20 14:44:03,204: DEBUG - + getent passwd peertube
2024-09-20 14:44:03,205: DEBUG - + chown peertube:peertube /etc/systemd/system/peertube.service
2024-09-20 14:44:03,207: DEBUG - + grep -qE ‘^(/etc/cron|/etc/php|/etc/nginx/conf.d|/etc/fail2ban|/etc/systemd/system)’
2024-09-20 14:44:03,209: DEBUG - + chmod 400 /etc/systemd/system/peertube.service
2024-09-20 14:44:03,210: DEBUG - + chown root:root /etc/systemd/system/peertube.service
2024-09-20 14:44:03,211: DEBUG - + [[ 0 == 1 ]]
2024-09-20 14:44:03,211: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/conf/systemd.service /etc/systemd/system/peertube.service
2024-09-20 14:44:03,213: DEBUG - + ynh_replace_vars --file=/etc/systemd/system/peertube.service
2024-09-20 14:44:03,223: DEBUG - + test -n /
2024-09-20 14:44:03,224: DEBUG - + local path_url_slash_less=
2024-09-20 14:44:03,224: DEBUG - + ynh_replace_string --match_string=PATH/ --replace_string=/ --target_file=/etc/systemd/system/peertube.service
2024-09-20 14:44:03,288: DEBUG - + ynh_replace_string --match_string=PATH --replace_string=/ --target_file=/etc/systemd/system/peertube.service
2024-09-20 14:44:03,354: DEBUG - + test -n peertube
2024-09-20 14:44:03,355: DEBUG - + ynh_replace_string --match_string=NAME --replace_string=peertube --target_file=/etc/systemd/system/peertube.service
2024-09-20 14:44:03,422: DEBUG - + ynh_replace_string --match_string=NAMETOCHANGE --replace_string=peertube --target_file=/etc/systemd/system/peertube.service
2024-09-20 14:44:03,490: DEBUG - + ynh_replace_string --match_string=USER --replace_string=peertube --target_file=/etc/systemd/system/peertube.service
2024-09-20 14:44:03,558: DEBUG - + test -n ‘’
2024-09-20 14:44:03,558: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-09-20 14:44:03,560: DEBUG - + test -n 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-09-20 14:44:03,560: DEBUG - + ynh_replace_string --match_string=YNH_NODE_LOAD_PATH --replace_string=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 --target_file=/etc/systemd/system/peertube.service
2024-09-20 14:44:03,629: DEBUG - ++ grep -oP '[A-Z0-9]+?[A-Z0-9_]?[A-Z0-9]?’ /etc/systemd/system/peertube.service
2024-09-20 14:44:03,629: DEBUG - ++ sort --unique
2024-09-20 14:44:03,629: DEBUG - ++ sed 's@([^.])__@\L\1@g’
2024-09-20 14:44:03,632: DEBUG - + uniques_vars=(‘app’ ‘install_dir’ ‘ynh_node’)
2024-09-20 14:44:03,638: DEBUG - + ynh_store_file_checksum --file=/etc/systemd/system/peertube.service
2024-09-20 14:44:03,639: DEBUG - + update_only=0
2024-09-20 14:44:03,658: DEBUG - ++ md5sum /etc/systemd/system/peertube.service
2024-09-20 14:44:03,658: DEBUG - ++ cut ‘–delimiter= ’ --fields=1
2024-09-20 14:44:03,660: DEBUG - + ynh_app_setting_set --app=peertube --key=checksum__etc_systemd_system_peertube.service --value=3b6ccc926a59d8a2ee6ba6c7c97a5414
2024-09-20 14:44:03,723: DEBUG - + [[ checksum__etc_systemd_system_peertube.service =~ (unprotected|protected|skipped)_ ]]
2024-09-20 14:44:03,781: DEBUG - + ‘[’ -n ‘’ ‘]’
2024-09-20 14:44:03,782: DEBUG - + systemctl enable peertube --quiet
2024-09-20 14:44:04,015: DEBUG - + systemctl daemon-reload
2024-09-20 14:44:04,235: DEBUG - + mkdir -p /var/log/peertube
2024-09-20 14:44:04,236: DEBUG - + touch /var/log/peertube/peertube.log
2024-09-20 14:44:04,238: DEBUG - + chown -R peertube:peertube /var/log/peertube
2024-09-20 14:44:04,240: DEBUG - + ynh_use_logrotate --non-append
2024-09-20 14:44:04,240: DEBUG - + all_args=(’–non-append’)
2024-09-20 14:44:04,241: DEBUG - ++ seq 0 0
2024-09-20 14:44:04,242: DEBUG - + for I in $(seq 0 $(($# - 1)))
2024-09-20 14:44:04,243: DEBUG - + [[ --non-append == --\n\o\n-\a\p\p\e\n\d ]]
2024-09-20 14:44:04,243: DEBUG - + set –
2024-09-20 14:44:04,244: DEBUG - + logfile=
2024-09-20 14:44:04,244: DEBUG - + specific_user=
2024-09-20 14:44:04,244: DEBUG - + set -o noglob
2024-09-20 14:44:04,244: DEBUG - + [[ -z ‘’ ]]
2024-09-20 14:44:04,244: DEBUG - + logfile=’/var/log/peertube/*.log’
2024-09-20 14:44:04,244: DEBUG - + set +o noglob
2024-09-20 14:44:04,244: DEBUG - + for stuff in $logfile
2024-09-20 14:44:04,245: DEBUG - ++ dirname /var/log/peertube/peertube1.log
2024-09-20 14:44:04,245: DEBUG - + mkdir --parents /var/log/peertube
2024-09-20 14:44:04,245: DEBUG - + for stuff in $logfile
2024-09-20 14:44:04,246: DEBUG - ++ dirname /var/log/peertube/peertube2.log
2024-09-20 14:44:04,247: DEBUG - + mkdir --parents /var/log/peertube
2024-09-20 14:44:04,249: DEBUG - + for stuff in $logfile
2024-09-20 14:44:04,249: DEBUG - ++ dirname /var/log/peertube/peertube3.log
2024-09-20 14:44:04,251: DEBUG - + mkdir --parents /var/log/peertube
2024-09-20 14:44:04,252: DEBUG - + for stuff in $logfile
2024-09-20 14:44:04,253: DEBUG - ++ dirname /var/log/peertube/peertube4.log
2024-09-20 14:44:04,254: DEBUG - + mkdir --parents /var/log/peertube
2024-09-20 14:44:04,256: DEBUG - + for stuff in $logfile
2024-09-20 14:44:04,256: DEBUG - ++ dirname /var/log/peertube/peertube-audit.log
2024-09-20 14:44:04,258: DEBUG - + mkdir --parents /var/log/peertube
2024-09-20 14:44:04,259: DEBUG - + for stuff in $logfile
2024-09-20 14:44:04,259: DEBUG - ++ dirname /var/log/peertube/peertube.log
2024-09-20 14:44:04,261: DEBUG - + mkdir --parents /var/log/peertube
2024-09-20 14:44:04,262: DEBUG - + local su_directive=
2024-09-20 14:44:04,263: DEBUG - ++ mktemp
2024-09-20 14:44:04,265: DEBUG - + local tempconf=/tmp/tmp.vsjCmyh6Eo
2024-09-20 14:44:04,265: DEBUG - + cat
2024-09-20 14:44:04,266: DEBUG - + [[ true == \t\r\u\e ]]
2024-09-20 14:44:04,267: DEBUG - + cat /tmp/tmp.vsjCmyh6Eo
2024-09-20 14:44:04,268: DEBUG - + FIRST_CALL_TO_LOGROTATE=false
2024-09-20 14:44:04,268: DEBUG - + chmod 644 /etc/logrotate.d/peertube
2024-09-20 14:44:04,269: DEBUG - + mkdir -p /var/log/peertube
2024-09-20 14:44:04,271: DEBUG - + chmod 750 /var/log/peertube
2024-09-20 14:44:04,272: DEBUG - + yunohost service add peertube ‘–description=Federated video streaming platform’ --log=/var/log/peertube/peertube.log --needs_exposed_ports 1935
2024-09-20 14:44:04,592: DEBUG - Le service ‘peertube’ a été ajouté
2024-09-20 14:44:04,687: INFO - [#######++…] > Building Yarn dependencies…
2024-09-20 14:44:04,688: DEBUG - + pushd /var/www/peertube
2024-09-20 14:44:04,688: DEBUG - /var/www/peertube /var/cache/yunohost/app_tmp_work_dirs/app_36z6qjwh/scripts
2024-09-20 14:44:04,689: DEBUG - + ynh_use_nodejs
2024-09-20 14:44:04,689: DEBUG - ++ ynh_app_setting_get --app=peertube --key=nodejs_version
2024-09-20 14:44:04,729: DEBUG - ++ [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
2024-09-20 14:44:04,796: DEBUG - + nodejs_version=20
2024-09-20 14:44:04,796: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/20/bin
2024-09-20 14:44:04,796: DEBUG - + shopt -s expand_aliases
2024-09-20 14:44:04,796: DEBUG - + ynh_node=/opt/node_n/n/versions/node/20/bin/node
2024-09-20 14:44:04,797: DEBUG - + alias ynh_node=/opt/node_n/n/versions/node/20/bin/node
2024-09-20 14:44:04,797: DEBUG - + ynh_npm=/opt/node_n/n/versions/node/20/bin/npm
2024-09-20 14:44:04,797: DEBUG - + alias ynh_npm=/opt/node_n/n/versions/node/20/bin/npm
2024-09-20 14:44:04,797: DEBUG - + [[ :/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-09-20 14:44:04,797: 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-09-20 14:44:04,797: 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-09-20 14:44:04,797: 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-09-20 14:44:04,797: DEBUG - + export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
2024-09-20 14:44:04,797: DEBUG - + COREPACK_ENABLE_DOWNLOAD_PROMPT=0
2024-09-20 14:44:04,798: DEBUG - + ynh_exec_warn_less ynh_exec_as peertube env 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 COREPACK_ENABLE_DOWNLOAD_PROMPT=0 yarn config set network-timeout 300000
2024-09-20 14:44:04,798: DEBUG - + [[ 10 -eq 1 ]]
2024-09-20 14:44:04,798: DEBUG - + ynh_exec_as peertube env 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 COREPACK_ENABLE_DOWNLOAD_PROMPT=0 yarn config set network-timeout 300000
2024-09-20 14:44:04,798: DEBUG - + local user=peertube
2024-09-20 14:44:04,798: DEBUG - + shift 1
2024-09-20 14:44:04,798: DEBUG - ++ whoami
2024-09-20 14:44:04,800: DEBUG - + [[ peertube = root ]]
2024-09-20 14:44:04,800: DEBUG - + sudo -u peertube env 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 COREPACK_ENABLE_DOWNLOAD_PROMPT=0 yarn config set network-timeout 300000
2024-09-20 14:44:05,220: DEBUG - yarn config v1.22.22
2024-09-20 14:44:05,282: DEBUG - success Set “network-timeout” to “300000”.
2024-09-20 14:44:05,282: DEBUG - Done in 0.07s.
2024-09-20 14:44:05,297: DEBUG - + ynh_exec_warn_less ynh_exec_as peertube env 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 COREPACK_ENABLE_DOWNLOAD_PROMPT=0 yarn install --production --pure-lockfile
2024-09-20 14:44:05,297: DEBUG - + [[ 9 -eq 1 ]]
2024-09-20 14:44:05,297: DEBUG - + ynh_exec_as peertube env 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 COREPACK_ENABLE_DOWNLOAD_PROMPT=0 yarn install --production --pure-lockfile
2024-09-20 14:44:05,297: DEBUG - + local user=peertube
2024-09-20 14:44:05,297: DEBUG - + shift 1
2024-09-20 14:44:05,297: DEBUG - ++ whoami
2024-09-20 14:44:05,299: DEBUG - + [[ peertube = root ]]
2024-09-20 14:44:05,299: DEBUG - + sudo -u peertube env 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 COREPACK_ENABLE_DOWNLOAD_PROMPT=0 yarn install --production --pure-lockfile
2024-09-20 14:44:05,540: DEBUG - yarn install v1.22.22
2024-09-20 14:44:05,741: DEBUG - [1/5] Validating package.json…
2024-09-20 14:44:05,753: DEBUG - [2/5] Resolving packages…
2024-09-20 14:44:06,517: DEBUG - [3/5] Fetching packages…
2024-09-20 14:44:32,476: DEBUG - [4/5] Linking dependencies…
2024-09-20 14:44:32,484: DEBUG - warning " > @typescript-eslint/eslint-plugin@7.13.1" has unmet peer dependency “@typescript-eslint/parser@^7.0.0”.
2024-09-20 14:44:32,485: DEBUG - warning " > chai-json-schema@1.5.1" has incorrect peer dependency “chai@>= 1.6.1 < 5”.
2024-09-20 14:44:32,485: DEBUG - warning " > eslint-config-standard-with-typescript@43.0.1" has incorrect peer dependency “@typescript-eslint/eslint-plugin@^6.4.0”.
2024-09-20 14:44:32,487: DEBUG - warning “swagger-cli > @apidevtools/swagger-cli > @apidevtools/swagger-parser@10.1.0” has unmet peer dependency “openapi-types@>=7”.
2024-09-20 14:44:38,614: DEBUG - [5/5] Building fresh packages…
2024-09-20 14:44:39,768: DEBUG - $ test -n “$NOCLIENT” || (cd client && yarn install --pure-lockfile)
2024-09-20 14:44:39,992: DEBUG - yarn install v1.22.22
2024-09-20 14:44:40,145: DEBUG - [1/4] Resolving packages…
2024-09-20 14:44:40,901: DEBUG - [2/4] Fetching packages…
2024-09-20 14:45:10,661: DEBUG - error @angular-devkit/build-angular@18.0.6: The engine “node” is incompatible with this module. Expected version “^18.19.1 || ^20.11.1 || >=22.0.0”. Got “20.10.0”
2024-09-20 14:45:10,677: DEBUG - error Found incompatible module.
2024-09-20 14:45:10,678: DEBUG - info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
2024-09-20 14:45:10,729: DEBUG - error Command failed with exit code 1.
2024-09-20 14:45:10,730: DEBUG - info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
2024-09-20 14:45:10,773: DEBUG - + ynh_exit_properly
2024-09-20 14:45:10,774: DEBUG - + [[ upgrade =~ ^install$|^upgrade$|^restore$ ]]
2024-09-20 14:45:12,279: ERROR - Impossible de mettre à jour peertube : Une erreur s’est produite durant l’exécution du script de mise à niveau de l’application