Bonjour
Mon serveur YunoHost
**Matériel: Raspberry Pi à la maison
**Version de YunoHost: 4.3.6.3
**J’ai accès à mon serveur : En SSH
Je n’arrivais pas à mettre à jour PeerTube (ni Yourls d’ailleurs), après plusieurs essais, bien que PeerTube marchait, j’ai décidé de le supprimer, après avoir supprimer mes vidéos, et sans réussir à supprimer mon compte “root” PeerTube, pour le ré-installer avec une version à jour. Or, malgré plusieurs essais également, je n’arrive pas à le ré-installer, voici le log (en 2 parties car trop long):
args:
app: peertube
force: false
label: PeerTube
no_remove_on_failure: false
ended_at: 2022-07-09 22:35:44.522761
env:
YNH_APP_ARG_ADMIN: kryztovru
YNH_APP_ARG_DOMAIN: peertube.maindomain.tld
YNH_APP_ARG_IS_PUBLIC: ‘1’
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh
YNH_APP_ID: peertube
YNH_APP_INSTANCE_NAME: peertube
YNH_APP_INSTANCE_NUMBER: ‘1’
YNH_APP_MANIFEST_VERSION: 4.2.2~ynh1
YNH_ARCH: armhf
error: Une erreur est survenue dans le script d’installation de l’application
interface: api
operation: app_install
parent: null
related_to:
-
- app
- peertube
started_at: 2022-07-09 22:18:08.621538
success: false
yunohost_version: 4.3.6.3
2022-07-10 00:18:08,643: INFO - Installation de peertube…
2022-07-10 00:18:08,999: DEBUG - Nothing to update in LDAP
2022-07-10 00:18:09,000: DEBUG - Permission ‘peertube.main’ mise à jour
2022-07-10 00:18:09,286: DEBUG - Journal complet de cette opération : ’ Mise à jour de l’URL associée à l’autorisation ‘peertube’ ’
2022-07-10 00:18:09,904: DEBUG - The permission database has been resynchronized
2022-07-10 00:18:10,280: DEBUG - La configuration de SSOwat a été regénérée
2022-07-10 00:18:10,602: DEBUG - Executing command ‘[‘sh’, ‘-c’, ‘/bin/bash -x “./50-opensondage” peertube kryztovru main all_users 7>&1’]’
2022-07-10 00:18:10,625: DEBUG - + source /usr/share/yunohost/helpers
2022-07-10 00:18:10,627: DEBUG - +++ set +o
2022-07-10 00:18:10,628: DEBUG - +++ grep xtrace
2022-07-10 00:18:10,632: DEBUG - ++ readonly ‘XTRACE_ENABLE=set -o xtrace’
2022-07-10 00:18:10,633: DEBUG - ++ XTRACE_ENABLE=‘set -o xtrace’
2022-07-10 00:18:10,713: DEBUG - + app=peertube
2022-07-10 00:18:10,713: DEBUG - + added_users=kryztovru
2022-07-10 00:18:10,714: DEBUG - + permission=main
2022-07-10 00:18:10,714: DEBUG - + added_groups=all_users
2022-07-10 00:18:10,714: DEBUG - + ‘[’ peertube == opensondage ‘]’
2022-07-10 00:18:11,719: DEBUG - Permission ‘peertube.main’ créée
2022-07-10 00:18:11,721: DEBUG - Journal complet de cette opération : ’ Créer permission ‘peertube’ ’
2022-07-10 00:18:11,813: DEBUG - Executing command ‘[‘sh’, ‘-c’, ‘/bin/bash -x “./install” 7>&1’]’
2022-07-10 00:18:11,853: DEBUG - + source _common.sh
2022-07-10 00:18:11,854: DEBUG - ++ pkg_dependencies=‘ffmpeg postgresql postgresql-contrib openssl g++ mailutils apt-transport-https’
2022-07-10 00:18:11,854: DEBUG - ++ ynh_app_dependencies=prosody
2022-07-10 00:18:11,855: DEBUG - ++ nodejs_version=16
2022-07-10 00:18:11,855: DEBUG - + source ynh_redis
2022-07-10 00:18:11,855: DEBUG - + source ynh_send_readme_to_admin__2
2022-07-10 00:18:11,856: DEBUG - + source ynh_apps
2022-07-10 00:18:11,856: DEBUG - + source /usr/share/yunohost/helpers
2022-07-10 00:18:11,858: DEBUG - +++ set +o
2022-07-10 00:18:11,860: DEBUG - +++ grep xtrace
2022-07-10 00:18:11,863: DEBUG - ++ readonly ‘XTRACE_ENABLE=set -o xtrace’
2022-07-10 00:18:11,864: DEBUG - ++ XTRACE_ENABLE=‘set -o xtrace’
2022-07-10 00:18:11,940: DEBUG - + ynh_abort_if_errors
2022-07-10 00:18:11,942: DEBUG - + trap ynh_exit_properly EXIT
2022-07-10 00:18:11,942: DEBUG - + domain=peertube.maindomain.tld
2022-07-10 00:18:11,943: DEBUG - + path_url=/
2022-07-10 00:18:11,943: DEBUG - + is_public=1
2022-07-10 00:18:11,944: DEBUG - + admin=kryztovru
2022-07-10 00:18:11,944: DEBUG - ++ ynh_user_get_info --username=kryztovru --key=mail
2022-07-10 00:18:12,030: DEBUG - ++ yunohost user info kryztovru --output-as json --quiet
2022-07-10 00:18:12,030: DEBUG - ++ jq -r .mail
2022-07-10 00:18:13,118: DEBUG - + admin_mail=kryztovru@maindomain.tld
2022-07-10 00:18:13,120: DEBUG - ++ ynh_string_random --length=24
2022-07-10 00:18:13,148: DEBUG - ++ length=24
2022-07-10 00:18:13,149: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2022-07-10 00:18:13,150: DEBUG - ++ tr --complement --delete A-Za-z0-9
2022-07-10 00:18:13,151: DEBUG - ++ sed --quiet ‘s/(.{24})./\1/p’
2022-07-10 00:18:13,166: DEBUG - + admin_pass=*********
2022-07-10 00:18:13,166: DEBUG - + app=peertube
2022-07-10 00:18:13,167: DEBUG - + datadir=/home/yunohost.app/peertube/storage
2022-07-10 00:18:13,332: DEBUG - + final_path=/var/www/peertube
2022-07-10 00:18:13,332: DEBUG - + test ‘!’ -e /var/www/peertube
2022-07-10 00:18:13,333: DEBUG - + ynh_webpath_register --app=peertube --domain=peertube.maindomain.tld --path_url=/
2022-07-10 00:18:13,334: INFO - […] > Validating installation parameters…
2022-07-10 00:18:13,522: DEBUG - + yunohost app register-url peertube peertube.maindomain.tld /
2022-07-10 00:18:17,435: DEBUG - + ynh_app_setting_set --app=peertube --key=domain --value=peertube.maindomain.tld
2022-07-10 00:18:17,435: DEBUG - + local globalapp=peertube
2022-07-10 00:18:17,438: INFO - [+…] > Storing installation settings…
2022-07-10 00:18:17,636: DEBUG - + app=peertube
2022-07-10 00:18:17,637: DEBUG - + [[ domain =~ (unprotected|protected|skipped) ]]
2022-07-10 00:18:17,637: DEBUG - + ynh_app_setting set peertube domain peertube.maindomain.tld
2022-07-10 00:18:17,766: DEBUG - + ynh_app_setting_set --app=peertube --key=admin --value=kryztovru
2022-07-10 00:18:17,767: DEBUG - + local globalapp=peertube
2022-07-10 00:18:17,970: DEBUG - + app=peertube
2022-07-10 00:18:17,971: DEBUG - + [[ admin =~ (unprotected|protected|skipped) ]]
2022-07-10 00:18:17,971: DEBUG - + ynh_app_setting set peertube admin kryztovru
2022-07-10 00:18:18,242: INFO - [#+…] > Finding an available port…
2022-07-10 00:18:18,244: DEBUG - ++ ynh_find_port --port=8095
2022-07-10 00:18:18,290: DEBUG - ++ test -n 8095
2022-07-10 00:18:18,291: DEBUG - ++ ynh_port_available --port=8095
2022-07-10 00:18:18,336: DEBUG - ++ ss --numeric --listening --tcp --udp
2022-07-10 00:18:18,337: DEBUG - ++ awk ‘{print$5}’
2022-07-10 00:18:18,338: DEBUG - ++ grep --quiet --extended-regexp ‘:8095$’
2022-07-10 00:18:18,364: DEBUG - ++ grep -q ‘port: ‘’‘8095’’’’ /etc/yunohost/apps/alltube/settings.yml /etc/yunohost/apps/cryptpad/settings.yml /etc/yunohost/apps/funkwhale/settings.yml /etc/yunohost/apps/lufi/settings.yml /etc/yunohost/apps/nextcloud/settings.yml /etc/yunohost/apps/opensondage/settings.yml /etc/yunohost/apps/peertube/settings.yml /etc/yunohost/apps/qr/settings.yml /etc/yunohost/apps/roundcube/settings.yml /etc/yunohost/apps/spip/settings.yml
2022-07-10 00:18:18,371: DEBUG - ++ return 0
2022-07-10 00:18:18,372: DEBUG - ++ echo 8095
2022-07-10 00:18:18,372: DEBUG - + port=8095
2022-07-10 00:18:18,373: DEBUG - + ynh_app_setting_set --app=peertube --key=port --value=8095
2022-07-10 00:18:18,374: DEBUG - + local globalapp=peertube
2022-07-10 00:18:18,670: DEBUG - + app=peertube
2022-07-10 00:18:18,677: DEBUG - + [[ port =~ (unprotected|protected|skipped) ]]
2022-07-10 00:18:18,678: DEBUG - + ynh_app_setting set peertube port 8095
2022-07-10 00:18:18,843: DEBUG - + rtmp_port=1935
2022-07-10 00:18:18,844: DEBUG - + ynh_port_available --port=1935
2022-07-10 00:18:18,873: DEBUG - + ss --numeric --listening --tcp --udp
2022-07-10 00:18:18,874: DEBUG - + awk ‘{print$5}’
2022-07-10 00:18:18,875: DEBUG - + grep --quiet --extended-regexp ‘:1935$’
2022-07-10 00:18:18,889: DEBUG - + grep -q ‘port: ‘’‘1935’’’’ /etc/yunohost/apps/alltube/settings.yml /etc/yunohost/apps/cryptpad/settings.yml /etc/yunohost/apps/funkwhale/settings.yml /etc/yunohost/apps/lufi/settings.yml /etc/yunohost/apps/nextcloud/settings.yml /etc/yunohost/apps/opensondage/settings.yml /etc/yunohost/apps/peertube/settings.yml /etc/yunohost/apps/qr/settings.yml /etc/yunohost/apps/roundcube/settings.yml /etc/yunohost/apps/spip/settings.yml
2022-07-10 00:18:18,894: DEBUG - + return 0
2022-07-10 00:18:18,894: DEBUG - + ynh_app_setting_set --app=peertube --key=rtmp_port --value=1935
2022-07-10 00:18:18,895: DEBUG - + local globalapp=peertube
2022-07-10 00:18:19,084: DEBUG - + app=peertube
2022-07-10 00:18:19,085: DEBUG - + [[ rtmp_port =~ (unprotected|protected|skipped) ]]
2022-07-10 00:18:19,085: DEBUG - + ynh_app_setting set peertube rtmp_port 1935
2022-07-10 00:18:19,346: DEBUG - + ynh_exec_warn_less yunohost firewall allow TCP 1935
2022-07-10 00:18:19,346: DEBUG - + [[ 5 -eq 1 ]]
2022-07-10 00:18:19,347: DEBUG - + yunohost firewall allow TCP 1935
2022-07-10 00:18:19,347: INFO - [##+…] > Configuring firewall…
2022-07-10 00:18:20,784: DEBUG - Firewall reloaded
2022-07-10 00:18:20,796: DEBUG - opened_ports:
2022-07-10 00:18:20,796: DEBUG - - 22
2022-07-10 00:18:20,797: DEBUG - - 25
2022-07-10 00:18:20,797: DEBUG - - 53
2022-07-10 00:18:20,797: DEBUG - - 80
2022-07-10 00:18:20,798: DEBUG - - 443
2022-07-10 00:18:20,798: DEBUG - - 587
2022-07-10 00:18:20,799: DEBUG - - 993
2022-07-10 00:18:20,799: DEBUG - - 1935
2022-07-10 00:18:20,799: DEBUG - - 5222
2022-07-10 00:18:20,800: DEBUG - - 5269
2022-07-10 00:18:20,800: DEBUG - - 5353
2022-07-10 00:18:21,009: DEBUG - + ynh_install_apps --apps=prosody
2022-07-10 00:18:21,011: INFO - [###+…] > Installing dependencies…
2022-07-10 00:18:21,039: DEBUG - + apps_list=($(echo $apps | tr " " “\n”))
2022-07-10 00:18:21,041: DEBUG - ++ echo prosody
2022-07-10 00:18:21,042: DEBUG - ++ tr ’ ’ ‘\n’
2022-07-10 00:18:21,048: DEBUG - + local apps_dependencies=
2022-07-10 00:18:21,049: DEBUG - + for one_app_and_its_args in “${apps_list[@]}”
2022-07-10 00:18:21,050: DEBUG - ++ cut -d ‘?’ -f1
2022-07-10 00:18:21,056: DEBUG - + local one_app=prosody
2022-07-10 00:18:21,056: DEBUG - + ‘[’ -z prosody ‘]’
2022-07-10 00:18:21,057: DEBUG - + yunohost tools update apps
2022-07-10 00:18:21,515: DEBUG - Updating application catalog…
2022-07-10 00:18:22,484: DEBUG - The application catalog has been updated!
2022-07-10 00:18:23,380: DEBUG - Nothing to do. Everything is already up-to-date.
2022-07-10 00:18:23,381: DEBUG - apps:
2022-07-10 00:18:23,381: DEBUG - system:
2022-07-10 00:18:23,499: DEBUG - + yunohost app list --output-as json --quiet
2022-07-10 00:18:23,500: DEBUG - + jq -e --arg id prosody ‘.apps[] | select(.id == $id)’
2022-07-10 00:18:24,569: DEBUG - ++ cut -d ‘?’ -f2-
2022-07-10 00:18:24,575: DEBUG - + local one_argument=prosody
2022-07-10 00:18:24,576: DEBUG - + ‘[’ ‘!’ -z prosody ‘]’
2022-07-10 00:18:24,576: DEBUG - + one_argument=’–args prosody’
2022-07-10 00:18:24,577: DEBUG - + yunohost app install prosody --args prosody
2022-07-10 00:18:29,764: DEBUG - Installing prosody…
2022-07-10 00:18:33,413: DEBUG - [+…] > Disabling Metronome…
2022-07-10 00:18:34,723: WARNING - insserv: warning: current start runlevel(s) (empty) of scriptmetronome' overrides LSB defaults (2 3 4 5). 2022-07-10 00:18:34,725: WARNING - insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script
metronome’ overrides LSB defaults (0 1 6).
2022-07-10 00:18:36,114: DEBUG - [#+…] > Storing installation settings…
2022-07-10 00:18:36,254: DEBUG - [##++…] > Finding an available port…
2022-07-10 00:18:38,698: DEBUG - [####+…] > Installing dependencies…
2022-07-10 00:19:07,726: DEBUG - [#####++…] > Configuring system user…
2022-07-10 00:19:08,212: DEBUG - [#######+…] > Setting up source files…
2022-07-10 00:19:09,095: DEBUG - [########++…] > Building Prosody…
2022-07-10 00:19:11,780: WARNING - Generating a RSA private key
2022-07-10 00:19:12,958: WARNING - …+++++
2022-07-10 00:19:13,791: WARNING - …+++++
2022-07-10 00:19:13,793: WARNING - writing new private key to ‘localhost.key’
2022-07-10 00:19:13,794: WARNING - -----
2022-07-10 00:19:13,827: WARNING - Generating a RSA private key
2022-07-10 00:19:13,912: WARNING - …+++++
2022-07-10 00:19:13,992: WARNING - …+++++
2022-07-10 00:19:13,993: WARNING - writing new private key to ‘example.com.key’
2022-07-10 00:19:13,995: WARNING - -----
2022-07-10 00:19:14,489: DEBUG - [##########+…] > Creating a data directory…
2022-07-10 00:19:15,022: DEBUG - [###########+…] > Adding a configuration file…
2022-07-10 00:19:19,783: DEBUG - [############++…] > Configuring a systemd service…
2022-07-10 00:19:23,274: DEBUG - [##############+…] > Configuring log rotation…
2022-07-10 00:19:23,450: DEBUG - [###############++…] > Integrating service in YunoHost…
2022-07-10 00:19:24,231: DEBUG - [#################+…] > Starting a systemd service…
2022-07-10 00:19:25,005: DEBUG - [##################++] > Installation of prosody completed
2022-07-10 00:19:28,598: DEBUG - Installation completed
2022-07-10 00:19:28,718: DEBUG - + ‘[’ ‘!’ -z ‘’ ‘]’
2022-07-10 00:19:28,719: DEBUG - + apps_dependencies=prosody
2022-07-10 00:19:28,719: DEBUG - + ynh_app_setting_set --app=peertube --key=apps_dependencies --value=prosody
2022-07-10 00:19:28,719: DEBUG - + local globalapp=peertube
2022-07-10 00:19:28,917: DEBUG - + app=peertube
2022-07-10 00:19:28,927: DEBUG - + [[ apps_dependencies =~ (unprotected|protected|skipped) ]]
2022-07-10 00:19:28,927: DEBUG - + ynh_app_setting set peertube apps_dependencies prosody
2022-07-10 00:19:29,056: DEBUG - + ynh_install_app_dependencies ffmpeg postgresql postgresql-contrib openssl g++ mailutils apt-transport-https
2022-07-10 00:19:29,057: DEBUG - + local ‘dependencies=ffmpeg postgresql postgresql-contrib openssl g++ mailutils apt-transport-https’
2022-07-10 00:19:29,061: DEBUG - ++ echo ‘ffmpeg postgresql postgresql-contrib openssl g++ mailutils apt-transport-https’
2022-07-10 00:19:29,063: DEBUG - ++ sed ‘s/([^<=>])\ ([^(])/\1, \2/g’
2022-07-10 00:19:29,074: DEBUG - + dependencies=‘ffmpeg, postgresql, postgresql-contrib, openssl, g++, mailutils, apt-transport-https’
2022-07-10 00:19:29,075: DEBUG - + local ‘dependencies=ffmpeg, postgresql, postgresql-contrib, openssl, g++, mailutils, apt-transport-https’
2022-07-10 00:19:29,076: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/manifest.json
2022-07-10 00:19:29,080: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/manifest.json
2022-07-10 00:19:29,094: DEBUG - + local version=4.2.2~ynh1
2022-07-10 00:19:29,095: DEBUG - + ‘[’ -z 4.2.2~ynh1 ‘]’
2022-07-10 00:19:29,096: DEBUG - + ‘[’ 4.2.2~ynh1 == null ‘]’
2022-07-10 00:19:29,097: DEBUG - + local dep_app=peertube
2022-07-10 00:19:29,097: DEBUG - + [[ ffmpeg, postgresql, postgresql-contrib, openssl, g++, mailutils, apt-transport-https =~ [<=>] ]]
2022-07-10 00:19:29,103: DEBUG - ++ echo ffmpeg, postgresql, postgresql-contrib, openssl, g++, mailutils, apt-transport-https
2022-07-10 00:19:29,104: DEBUG - ++ grep -oP ‘(?<=php)[0-9.]+(?=-|>)’
2022-07-10 00:19:29,105: DEBUG - ++ sort -u
2022-07-10 00:19:29,113: DEBUG - + local specific_php_version=
2022-07-10 00:19:29,114: DEBUG - + [[ ‘’ != \7.\3 ]]
2022-07-10 00:19:29,117: DEBUG - + [[ true == \t\r\u\e ]]
2022-07-10 00:19:29,117: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2022-07-10 00:19:29,118: DEBUG - + grep --quiet php
2022-07-10 00:19:29,124: DEBUG - + cat
2022-07-10 00:19:29,131: DEBUG - + ynh_package_install_from_equivs /tmp/peertube-ynh-deps.control
2022-07-10 00:19:29,132: DEBUG - + local controlfile=/tmp/peertube-ynh-deps.control
2022-07-10 00:19:29,136: DEBUG - ++ grep '^Package: ’ /tmp/peertube-ynh-deps.control
2022-07-10 00:19:29,138: DEBUG - ++ cut '–delimiter= ’ --fields=2
2022-07-10 00:19:29,145: DEBUG - + local pkgname=peertube-ynh-deps
2022-07-10 00:19:29,150: DEBUG - ++ grep '^Version: ’ /tmp/peertube-ynh-deps.control
2022-07-10 00:19:29,150: DEBUG - ++ cut '–delimiter= ’ --fields=2
2022-07-10 00:19:29,155: DEBUG - + local pkgversion=4.2.2~ynh1
2022-07-10 00:19:29,156: DEBUG - + [[ -z peertube-ynh-deps ]]
2022-07-10 00:19:29,156: DEBUG - + [[ -z 4.2.2~ynh1 ]]
2022-07-10 00:19:29,157: DEBUG - + ynh_package_update
2022-07-10 00:19:29,157: DEBUG - + ynh_apt update
2022-07-10 00:19:29,157: DEBUG - + ynh_wait_dpkg_free
2022-07-10 00:19:29,697: DEBUG - + return 0
2022-07-10 00:19:29,697: DEBUG - + LC_ALL=C
2022-07-10 00:19:29,698: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-07-10 00:19:29,698: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2022-07-10 00:19:29,957: DEBUG - Hit:1 Index of /raspbian buster InRelease
2022-07-10 00:19:29,958: DEBUG - Hit:2 Index of /debian buster InRelease
2022-07-10 00:19:29,958: DEBUG - Hit:3 Index of /debian/ buster InRelease
2022-07-10 00:19:30,043: DEBUG - Hit:4 Index of /php/ buster InRelease
2022-07-10 00:19:34,321: DEBUG - Reading package lists…
2022-07-10 00:19:34,374: DEBUG - ++ mktemp --directory
2022-07-10 00:19:34,521: DEBUG - + local TMPDIR=/tmp/tmp.lGhE38g2q2
2022-07-10 00:19:34,522: DEBUG - + echo 10
2022-07-10 00:19:34,522: DEBUG - + ynh_wait_dpkg_free
2022-07-10 00:19:35,052: DEBUG - + return 0
2022-07-10 00:19:35,053: DEBUG - + cp /tmp/peertube-ynh-deps.control /tmp/tmp.lGhE38g2q2/control
2022-07-10 00:19:35,059: DEBUG - + cd /tmp/tmp.lGhE38g2q2
2022-07-10 00:19:35,060: DEBUG - + LC_ALL=C
2022-07-10 00:19:35,060: DEBUG - + equivs-build ./control
2022-07-10 00:19:38,771: DEBUG - + LC_ALL=C
2022-07-10 00:19:38,772: DEBUG - + tee ./dpkg_log
2022-07-10 00:19:38,772: DEBUG - + dpkg --force-depends --install ./peertube-ynh-deps_4.2.2~ynh1_all.deb
2022-07-10 00:19:38,916: DEBUG - Selecting previously unselected package peertube-ynh-deps.
2022-07-10 00:19:39,046: DEBUG - (Reading database … 65313 files and directories currently installed.)
2022-07-10 00:19:39,053: DEBUG - Preparing to unpack …/peertube-ynh-deps_4.2.2~ynh1_all.deb …
2022-07-10 00:19:39,062: DEBUG - Unpacking peertube-ynh-deps (4.2.2~ynh1) …
2022-07-10 00:19:39,136: DEBUG - Setting up peertube-ynh-deps (4.2.2~ynh1) …
2022-07-10 00:19:39,260: DEBUG - + ynh_package_install --fix-broken
2022-07-10 00:19:39,261: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=–force-confdef --option Dpkg::Options::=–force-confold install --fix-broken
2022-07-10 00:19:39,261: DEBUG - + ynh_wait_dpkg_free
2022-07-10 00:19:39,840: DEBUG - + return 0
2022-07-10 00:19:39,842: DEBUG - + LC_ALL=C
2022-07-10 00:19:39,842: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-07-10 00:19:39,843: 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
2022-07-10 00:19:42,287: DEBUG - Reading package lists…
2022-07-10 00:19:42,891: DEBUG - Building dependency tree…
2022-07-10 00:19:42,894: DEBUG - Reading state information…
2022-07-10 00:19:43,795: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2022-07-10 00:19:43,798: DEBUG - + [[ -n /tmp/tmp.lGhE38g2q2 ]]
2022-07-10 00:19:43,799: DEBUG - + rm --recursive --force /tmp/tmp.lGhE38g2q2
2022-07-10 00:19:43,803: DEBUG - + ynh_package_is_installed peertube-ynh-deps
2022-07-10 00:19:43,836: DEBUG - + ynh_wait_dpkg_free
2022-07-10 00:19:45,629: DEBUG - + return 0
2022-07-10 00:19:45,633: DEBUG - + dpkg-query --show ‘–showformat=${Status}’ peertube-ynh-deps
2022-07-10 00:19:45,634: DEBUG - + grep --count ‘ok installed’
2022-07-10 00:19:45,728: DEBUG - + rm /tmp/peertube-ynh-deps.control
2022-07-10 00:19:45,735: DEBUG - + grep --quiet php
2022-07-10 00:19:45,744: DEBUG - + ynh_install_nodejs --nodejs_version=16
2022-07-10 00:19:45,784: DEBUG - + mkdir --parents /opt/node_n
2022-07-10 00:19:45,788: DEBUG - + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-07-10 00:19:45,791: DEBUG - ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-07-10 00:19:45,792: DEBUG - ++ sed s@/usr/local/bin:@@
2022-07-10 00:19:45,799: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
2022-07-10 00:19:45,803: DEBUG - + test -x /usr/bin/node
2022-07-10 00:19:45,803: DEBUG - + test -x /usr/bin/npm
2022-07-10 00:19:45,804: DEBUG - + /opt/node_n/bin/n --version
2022-07-10 00:19:45,837: DEBUG - ++ /opt/node_n/bin/n --version
2022-07-10 00:19:45,863: DEBUG - + dpkg --compare-versions v8.0.1 lt 8.0.1
2022-07-10 00:19:45,868: WARNING - dpkg: warning: version ‘v8.0.1’ has bad syntax: version number does not start with digit
2022-07-10 00:19:45,870: 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
2022-07-10 00:19:46,059: DEBUG - + sed --in-place 's@^N_PREFIX=${N_PREFIX-.}$@N_PREFIX=${N_PREFIX-/opt/node_n}@g’ /opt/node_n/bin/n
2022-07-10 00:19:46,065: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-07-10 00:19:46,065: DEBUG - + test -x /usr/bin/node_n
2022-07-10 00:19:46,066: DEBUG - + test -x /usr/bin/npm_n
2022-07-10 00:19:46,067: DEBUG - ++ uname --machine
2022-07-10 00:19:46,070: DEBUG - + uname=armv7l
2022-07-10 00:19:46,071: DEBUG - + [[ armv7l =~ aarch64 ]]
2022-07-10 00:19:46,071: DEBUG - + [[ armv7l =~ arm64 ]]
2022-07-10 00:19:46,071: DEBUG - + n 16
2022-07-10 00:19:46,262: DEBUG - installing : node-v16.16.0
2022-07-10 00:19:46,396: DEBUG - mkdir : /opt/node_n/n/versions/node/16.16.0
2022-07-10 00:19:46,403: DEBUG - fetch : https://nodejs.org/dist/v16.16.0/node-v16.16.0-linux-armv7l.tar.xz
2022-07-10 00:20:08,466: DEBUG - installed : v16.16.0 (with npm 8.11.0)
2022-07-10 00:20:08,475: DEBUG - ++ find /opt/node_n/n/versions/node/16 /opt/node_n/n/versions/node/16.13.2 /opt/node_n/n/versions/node/16.14.0 /opt/node_n/n/versions/node/16.15.1 /opt/node_n/n/versions/node/16.16.0 -maxdepth 0
2022-07-10 00:20:08,476: DEBUG - ++ sort --version-sort
2022-07-10 00:20:08,477: DEBUG - ++ tail --lines=1
2022-07-10 00:20:08,490: DEBUG - + real_nodejs_version=/opt/node_n/n/versions/node/16.16.0
2022-07-10 00:20:08,492: DEBUG - ++ basename /opt/node_n/n/versions/node/16.16.0
2022-07-10 00:20:08,495: DEBUG - + real_nodejs_version=16.16.0
2022-07-10 00:20:08,496: DEBUG - + ‘[’ ‘!’ -e /opt/node_n/n/versions/node/16 ‘]’
2022-07-10 00:20:08,497: DEBUG - + echo peertube:16
2022-07-10 00:20:08,498: DEBUG - + tee --append /opt/node_n/ynh_app_version
2022-07-10 00:20:08,501: DEBUG - peertube:16
2022-07-10 00:20:08,501: DEBUG - + ynh_app_setting_set --app=peertube --key=nodejs_version --value=16
2022-07-10 00:20:08,502: DEBUG - + local globalapp=peertube
2022-07-10 00:20:08,690: DEBUG - + app=peertube
2022-07-10 00:20:08,690: DEBUG - + [[ nodejs_version =~ (unprotected|protected|skipped) ]]
2022-07-10 00:20:08,691: DEBUG - + ynh_app_setting set peertube nodejs_version 16
2022-07-10 00:20:08,817: DEBUG - + ynh_cron_upgrade_node
2022-07-10 00:20:08,818: DEBUG - + cat
2022-07-10 00:20:08,821: DEBUG - + chmod +x /opt/node_n/node_update.sh
2022-07-10 00:20:08,824: DEBUG - + cat
2022-07-10 00:20:08,829: DEBUG - + chmod +x /etc/cron.daily/node_update
2022-07-10 00:20:08,832: DEBUG - + ynh_use_nodejs
2022-07-10 00:20:08,833: DEBUG - ++ ynh_app_setting_get --app=peertube --key=nodejs_version
2022-07-10 00:20:08,834: DEBUG - ++ local globalapp=peertube
2022-07-10 00:20:08,925: DEBUG - ++ app=peertube
2022-07-10 00:20:08,926: DEBUG - ++ [[ nodejs_version =~ (unprotected|protected|skipped) ]]
2022-07-10 00:20:08,926: DEBUG - ++ ynh_app_setting get peertube nodejs_version
2022-07-10 00:20:09,051: DEBUG - + nodejs_version=16
2022-07-10 00:20:09,052: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/16/bin
2022-07-10 00:20:09,052: DEBUG - + shopt -s expand_aliases
2022-07-10 00:20:09,053: DEBUG - + ynh_node=/opt/node_n/n/versions/node/16/bin/node
2022-07-10 00:20:09,053: DEBUG - + alias ynh_node=/opt/node_n/n/versions/node/16/bin/node
2022-07-10 00:20:09,053: DEBUG - + ynh_npm=/opt/node_n/n/versions/node/16/bin/npm
2022-07-10 00:20:09,054: DEBUG - + alias ynh_npm=/opt/node_n/n/versions/node/16/bin/npm
2022-07-10 00:20:09,054: 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/\1\6/\b\i\n ]]
2022-07-10 00:20:09,054: DEBUG - + PATH=/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-07-10 00:20:09,055: DEBUG - + node_PATH=/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-07-10 00:20:09,055: DEBUG - + ynh_node_load_PATH=PATH=/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-07-10 00:20:09,055: DEBUG - + ynh_node_load_path=PATH=/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-07-10 00:20:09,056: DEBUG - + ynh_install_extra_app_dependencies ‘–repo=deb https://dl.yarnpkg.com/debian/ stable main’ --package=yarn --key=https://dl.yarnpkg.com/debian/pubkey.gpg
2022-07-10 00:20:09,376: DEBUG - + name=peertube
2022-07-10 00:20:09,377: DEBUG - + key=https://dl.yarnpkg.com/debian/pubkey.gpg
2022-07-10 00:20:09,378: DEBUG - + ‘[’ -n https://dl.yarnpkg.com/debian/pubkey.gpg ‘]’
2022-07-10 00:20:09,379: DEBUG - + key=–key=https://dl.yarnpkg.com/debian/pubkey.gpg
2022-07-10 00:20:09,379: 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
2022-07-10 00:20:09,999: DEBUG - + name=peertube
2022-07-10 00:20:10,008: DEBUG - + append=0
2022-07-10 00:20:10,009: DEBUG - + key=https://dl.yarnpkg.com/debian/pubkey.gpg
2022-07-10 00:20:10,010: DEBUG - + priority=995
2022-07-10 00:20:10,011: DEBUG - + append=
2022-07-10 00:20:10,011: DEBUG - + wget_append=tee
2022-07-10 00:20:10,012: DEBUG - + repo=‘https://dl.yarnpkg.com/debian/ stable main’
2022-07-10 00:20:10,012: DEBUG - ++ echo ‘https://dl.yarnpkg.com/debian/ stable main’
2022-07-10 00:20:10,013: DEBUG - ++ awk ‘{ print $1 }’
2022-07-10 00:20:10,018: DEBUG - + local uri=https://dl.yarnpkg.com/debian/
2022-07-10 00:20:10,023: DEBUG - ++ echo ‘https://dl.yarnpkg.com/debian/ stable main’
2022-07-10 00:20:10,024: DEBUG - ++ awk ‘{ print $2 }’
2022-07-10 00:20:10,037: DEBUG - + local suite=stable
2022-07-10 00:20:10,038: DEBUG - + local component=main
2022-07-10 00:20:10,039: DEBUG - + ynh_add_repo --uri=https://dl.yarnpkg.com/debian/ --suite=stable --component=main --name=peertube
2022-07-10 00:20:10,489: DEBUG - + name=peertube
2022-07-10 00:20:10,489: DEBUG - + append=0
2022-07-10 00:20:10,490: DEBUG - + append=tee
2022-07-10 00:20:10,491: DEBUG - + mkdir --parents /etc/apt/sources.list.d
2022-07-10 00:20:10,495: DEBUG - + tee /etc/apt/sources.list.d/peertube.list
2022-07-10 00:20:10,499: DEBUG - deb https://dl.yarnpkg.com/debian/ stable main
2022-07-10 00:20:10,501: DEBUG - + local pin=dl.yarnpkg.com/debian/
2022-07-10 00:20:10,501: DEBUG - + pin=dl.yarnpkg.com
2022-07-10 00:20:10,502: DEBUG - + ‘[’ -n 995 ‘]’
2022-07-10 00:20:10,502: DEBUG - + priority=–priority=995
2022-07-10 00:20:10,503: DEBUG - + ynh_pin_repo ‘–package=’ ‘–pin=origin “dl.yarnpkg.com”’ --priority=995 --name=peertube
2022-07-10 00:20:10,934: DEBUG - + package=’’
2022-07-10 00:20:10,935: DEBUG - + priority=995
2022-07-10 00:20:10,936: DEBUG - + name=peertube
2022-07-10 00:20:10,936: DEBUG - + append=0
2022-07-10 00:20:10,937: DEBUG - + append=tee
2022-07-10 00:20:10,938: DEBUG - + [[ peertube != \e\x\t\r\a_\p\h\p_\v\e\r\s\i\o\n ]]
2022-07-10 00:20:10,939: DEBUG - + mkdir --parents /etc/apt/preferences.d
2022-07-10 00:20:10,943: DEBUG - Pin: origin “dl.yarnpkg.com”
2022-07-10 00:20:10,944: DEBUG - Pin-Priority: 995
2022-07-10 00:20:10,945: DEBUG - ’
2022-07-10 00:20:10,945: DEBUG - + tee /etc/apt/preferences.d/peertube
2022-07-10 00:20:10,950: DEBUG - Package: *
2022-07-10 00:20:10,951: DEBUG - Pin: origin “dl.yarnpkg.com”
2022-07-10 00:20:10,952: DEBUG - Pin-Priority: 995
2022-07-10 00:20:10,952: DEBUG -
2022-07-10 00:20:10,953: DEBUG - + ‘[’ -n https://dl.yarnpkg.com/debian/pubkey.gpg ‘]’
2022-07-10 00:20:10,954: DEBUG - + mkdir --parents /etc/apt/trusted.gpg.d
2022-07-10 00:20:10,960: DEBUG - + wget --timeout 900 --quiet https://dl.yarnpkg.com/debian/pubkey.gpg --output-document=-
2022-07-10 00:20:10,961: DEBUG - + gpg --dearmor
2022-07-10 00:20:10,963: DEBUG - + tee /etc/apt/trusted.gpg.d/peertube.gpg
2022-07-10 00:20:11,154: DEBUG - + ynh_package_update
2022-07-10 00:20:11,155: DEBUG - + ynh_apt update
2022-07-10 00:20:11,155: DEBUG - + ynh_wait_dpkg_free
2022-07-10 00:20:11,695: DEBUG - + return 0
2022-07-10 00:20:11,696: DEBUG - + LC_ALL=C
2022-07-10 00:20:11,696: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-07-10 00:20:11,696: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2022-07-10 00:20:11,974: DEBUG - Hit:1 Index of /debian buster InRelease
2022-07-10 00:20:11,975: DEBUG - Hit:2 Index of /raspbian buster InRelease
2022-07-10 00:20:11,976: DEBUG - Hit:3 Index of /debian/ buster InRelease
2022-07-10 00:20:12,023: DEBUG - Get:4 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
2022-07-10 00:20:12,060: DEBUG - Hit:5 Index of /php/ buster InRelease
2022-07-10 00:20:13,477: DEBUG - Get:6 https://dl.yarnpkg.com/debian stable/main all Packages [10.9 kB]
2022-07-10 00:20:13,631: DEBUG - Get:7 https://dl.yarnpkg.com/debian stable/main armhf Packages [10.9 kB]
2022-07-10 00:20:13,768: DEBUG - Fetched 38.9 kB in 2s (21.0 kB/s)
2022-07-10 00:20:16,703: DEBUG - Reading package lists…
2022-07-10 00:20:16,808: DEBUG - + ynh_install_app_dependencies yarn
2022-07-10 00:20:16,809: DEBUG - + local dependencies=yarn
2022-07-10 00:20:16,810: DEBUG - ++ echo yarn
2022-07-10 00:20:16,812: DEBUG - ++ sed ‘s/([^<=>])\ ([^(])/\1, \2/g’
2022-07-10 00:20:16,819: DEBUG - + dependencies=yarn
2022-07-10 00:20:16,819: DEBUG - + local dependencies=yarn
2022-07-10 00:20:16,820: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/manifest.json
2022-07-10 00:20:16,821: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/manifest.json
2022-07-10 00:20:16,830: DEBUG - + local version=4.2.2~ynh1
2022-07-10 00:20:16,831: DEBUG - + ‘[’ -z 4.2.2~ynh1 ‘]’
2022-07-10 00:20:16,831: DEBUG - + ‘[’ 4.2.2~ynh1 == null ‘]’
2022-07-10 00:20:16,832: DEBUG - + local dep_app=peertube
2022-07-10 00:20:16,832: DEBUG - + [[ yarn =~ [<=>] ]]
2022-07-10 00:20:16,834: DEBUG - ++ echo yarn
2022-07-10 00:20:16,835: DEBUG - ++ sort -u
2022-07-10 00:20:16,835: DEBUG - ++ grep -oP ‘(?<=php)[0-9.]+(?=-|>)’
2022-07-10 00:20:16,841: DEBUG - + local specific_php_version=
2022-07-10 00:20:16,842: DEBUG - + [[ ‘’ != \7.\3 ]]
2022-07-10 00:20:16,843: DEBUG - + [[ false == \t\r\u\e ]]
2022-07-10 00:20:16,843: DEBUG - + local current_dependencies=
2022-07-10 00:20:16,844: DEBUG - + ynh_package_is_installed --package=peertube-ynh-deps
2022-07-10 00:20:16,872: DEBUG - + ynh_wait_dpkg_free
2022-07-10 00:20:17,450: DEBUG - + return 0
2022-07-10 00:20:17,452: DEBUG - + dpkg-query --show ‘–showformat=${Status}’ peertube-ynh-deps
2022-07-10 00:20:17,453: DEBUG - + grep --count ‘ok installed’
2022-07-10 00:20:17,506: DEBUG - ++ dpkg-query --show ‘–showformat=${Depends}’ peertube-ynh-deps
2022-07-10 00:20:17,556: DEBUG - + current_dependencies='ffmpeg, postgresql, postgresql-contrib, openssl, g++, mailutils, apt-transport-https ’
2022-07-10 00:20:17,557: DEBUG - + current_dependencies='ffmpeg, postgresql, postgresql-contrib, openssl, g++, mailutils, apt-transport-https ’
2022-07-10 00:20:17,557: DEBUG - + dependencies=‘ffmpeg, postgresql, postgresql-contrib, openssl, g++, mailutils, apt-transport-https , yarn’
2022-07-10 00:20:17,558: DEBUG - + grep --quiet php
2022-07-10 00:20:17,562: DEBUG - + cat
2022-07-10 00:20:17,567: DEBUG - + ynh_package_install_from_equivs /tmp/peertube-ynh-deps.control
2022-07-10 00:20:17,567: DEBUG - + local controlfile=/tmp/peertube-ynh-deps.control
2022-07-10 00:20:17,570: DEBUG - ++ grep ‘^Package: ’ /tmp/peertube-ynh-deps.control
2022-07-10 00:20:17,571: DEBUG - ++ cut ‘–delimiter= ’ --fields=2
2022-07-10 00:20:17,576: DEBUG - + local pkgname=peertube-ynh-deps
2022-07-10 00:20:17,579: DEBUG - ++ grep ‘^Version: ’ /tmp/peertube-ynh-deps.control
2022-07-10 00:20:17,579: DEBUG - ++ cut ‘–delimiter= ’ --fields=2
2022-07-10 00:20:17,585: DEBUG - + local pkgversion=4.2.2~ynh1
2022-07-10 00:20:17,585: DEBUG - + [[ -z peertube-ynh-deps ]]
2022-07-10 00:20:17,586: DEBUG - + [[ -z 4.2.2~ynh1 ]]
2022-07-10 00:20:17,586: DEBUG - + ynh_package_update
2022-07-10 00:20:17,587: DEBUG - + ynh_apt update
2022-07-10 00:20:17,587: DEBUG - + ynh_wait_dpkg_free
2022-07-10 00:20:18,170: DEBUG - + return 0
2022-07-10 00:20:18,171: DEBUG - + LC_ALL=C
2022-07-10 00:20:18,172: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-07-10 00:20:18,172: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2022-07-10 00:20:18,433: DEBUG - Hit:1 Index of /raspbian buster InRelease
2022-07-10 00:20:18,434: DEBUG - Hit:2 Index of /debian buster InRelease
2022-07-10 00:20:18,435: DEBUG - Hit:3 Index of /debian/ buster InRelease
2022-07-10 00:20:18,491: DEBUG - Hit:4 https://dl.yarnpkg.com/debian stable InRelease
2022-07-10 00:20:18,515: DEBUG - Hit:5 Index of /php/ buster InRelease
2022-07-10 00:20:22,954: DEBUG - Reading package lists…
2022-07-10 00:20:23,060: DEBUG - ++ mktemp --directory
2022-07-10 00:20:23,065: DEBUG - + local TMPDIR=/tmp/tmp.LGIvPbRCD6
2022-07-10 00:20:23,065: DEBUG - + echo 10
2022-07-10 00:20:23,066: DEBUG - + ynh_wait_dpkg_free
2022-07-10 00:20:23,614: DEBUG - + return 0
2022-07-10 00:20:23,615: DEBUG - + cp /tmp/peertube-ynh-deps.control /tmp/tmp.LGIvPbRCD6/control
2022-07-10 00:20:23,620: DEBUG - + cd /tmp/tmp.LGIvPbRCD6
2022-07-10 00:20:23,621: DEBUG - + LC_ALL=C
2022-07-10 00:20:23,621: DEBUG - + equivs-build ./control
2022-07-10 00:20:25,685: DEBUG - + LC_ALL=C
2022-07-10 00:20:25,685: DEBUG - + dpkg --force-depends --install ./peertube-ynh-deps_4.2.2~ynh1_all.deb
2022-07-10 00:20:25,686: DEBUG - + tee ./dpkg_log
2022-07-10 00:20:25,901: DEBUG - (Reading database … 65317 files and directories currently installed.)
2022-07-10 00:20:25,908: DEBUG - Preparing to unpack …/peertube-ynh-deps_4.2.2~ynh1_all.deb …
2022-07-10 00:20:25,943: DEBUG - Unpacking peertube-ynh-deps (4.2.2~ynh1) over (4.2.2~ynh1) …
2022-07-10 00:20:26,116: DEBUG - dpkg: peertube-ynh-deps: dependency problems, but configuring anyway as you requested:
2022-07-10 00:20:26,117: DEBUG - peertube-ynh-deps depends on yarn; however:
2022-07-10 00:20:26,117: DEBUG - Package yarn is not installed.
2022-07-10 00:20:26,117: DEBUG -
2022-07-10 00:20:26,117: DEBUG - Setting up peertube-ynh-deps (4.2.2~ynh1) …
2022-07-10 00:20:26,237: DEBUG - + ynh_package_install --fix-broken
2022-07-10 00:20:26,237: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=–force-confdef --option Dpkg::Options::=–force-confold install --fix-broken
2022-07-10 00:20:26,238: DEBUG - + ynh_wait_dpkg_free
2022-07-10 00:20:26,766: DEBUG - + return 0
2022-07-10 00:20:26,767: DEBUG - + LC_ALL=C
2022-07-10 00:20:26,768: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-07-10 00:20:26,768: 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
2022-07-10 00:20:32,986: DEBUG - Reading package lists…
2022-07-10 00:20:33,589: DEBUG - Building dependency tree…
2022-07-10 00:20:33,593: DEBUG - Reading state information…
2022-07-10 00:20:34,059: DEBUG - Correcting dependencies… Done
2022-07-10 00:20:34,761: DEBUG - The following additional packages will be installed:
2022-07-10 00:20:34,765: DEBUG - libbrotli1 libc-ares2 libnode64 libuv1 nodejs nodejs-doc yarn
2022-07-10 00:20:34,770: DEBUG - Suggested packages:
2022-07-10 00:20:34,772: DEBUG - npm
2022-07-10 00:20:34,814: DEBUG - The following NEW packages will be installed:
2022-07-10 00:20:34,818: DEBUG - libbrotli1 libc-ares2 libnode64 libuv1 nodejs nodejs-doc yarn
2022-07-10 00:20:36,243: DEBUG - 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
2022-07-10 00:20:36,243: DEBUG - Need to get 0 B/7249 kB of archives.
2022-07-10 00:20:36,243: DEBUG - After this operation, 33.8 MB of additional disk space will be used.
2022-07-10 00:20:36,345: DEBUG - Selecting previously unselected package libbrotli1:armhf.
2022-07-10 00:20:36,473: DEBUG - (Reading database … 65317 files and directories currently installed.)
2022-07-10 00:20:36,480: DEBUG - Preparing to unpack …/0-libbrotli1_1.0.7-2+deb10u1_armhf.deb …
2022-07-10 00:20:36,503: DEBUG - Unpacking libbrotli1:armhf (1.0.7-2+deb10u1) …
2022-07-10 00:20:36,699: DEBUG - Selecting previously unselected package libc-ares2:armhf.
2022-07-10 00:20:36,706: DEBUG - Preparing to unpack …/1-libc-ares2_1.14.0-1+deb10u1_armhf.deb …
2022-07-10 00:20:36,719: DEBUG - Unpacking libc-ares2:armhf (1.14.0-1+deb10u1) …
2022-07-10 00:20:36,889: DEBUG - Selecting previously unselected package libuv1:armhf.
2022-07-10 00:20:36,904: DEBUG - Preparing to unpack …/2-libuv1_1.24.1-1+deb10u1_armhf.deb …
2022-07-10 00:20:36,917: DEBUG - Unpacking libuv1:armhf (1.24.1-1+deb10u1) …
2022-07-10 00:20:37,089: DEBUG - Selecting previously unselected package libnode64:armhf.
2022-07-10 00:20:37,100: DEBUG - Preparing to unpack …/3-libnode64_10.24.0~dfsg-1~deb10u1_armhf.deb …
2022-07-10 00:20:37,113: DEBUG - Unpacking libnode64:armhf (10.24.0~dfsg-1~deb10u1) …
2022-07-10 00:20:40,115: DEBUG - Selecting previously unselected package nodejs.
2022-07-10 00:20:40,131: DEBUG - Preparing to unpack …/4-nodejs_10.24.0~dfsg-1~deb10u1_armhf.deb …
2022-07-10 00:20:40,144: DEBUG - Unpacking nodejs (10.24.0~dfsg-1~deb10u1) …
2022-07-10 00:20:40,307: DEBUG - Selecting previously unselected package nodejs-doc.
2022-07-10 00:20:40,320: DEBUG - Preparing to unpack …/5-nodejs-doc_10.24.0~dfsg-1~deb10u1_all.deb …
2022-07-10 00:20:40,338: DEBUG - Unpacking nodejs-doc (10.24.0~dfsg-1~deb10u1) …
2022-07-10 00:20:40,897: DEBUG - Selecting previously unselected package yarn.
2022-07-10 00:20:40,911: DEBUG - Preparing to unpack …/6-yarn_1.22.19-1_all.deb …
2022-07-10 00:20:40,919: DEBUG - Unpacking yarn (1.22.19-1) …
2022-07-10 00:20:41,511: DEBUG - Setting up libbrotli1:armhf (1.0.7-2+deb10u1) …
2022-07-10 00:20:41,548: DEBUG - Setting up libc-ares2:armhf (1.14.0-1+deb10u1) …
2022-07-10 00:20:41,583: DEBUG - Setting up libuv1:armhf (1.24.1-1+deb10u1) …
2022-07-10 00:20:41,615: DEBUG - Setting up libnode64:armhf (10.24.0~dfsg-1~deb10u1) …
2022-07-10 00:20:41,651: DEBUG - Setting up nodejs-doc (10.24.0~dfsg-1~deb10u1) …
2022-07-10 00:20:41,683: DEBUG - Setting up yarn (1.22.19-1) …
2022-07-10 00:20:41,719: DEBUG - Setting up nodejs (10.24.0~dfsg-1~deb10u1) …
2022-07-10 00:20:41,758: DEBUG - update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
2022-07-10 00:20:41,790: DEBUG - Processing triggers for libc-bin (2.28-10+rpt2+rpi1) …
2022-07-10 00:20:41,903: DEBUG - Processing triggers for man-db (2.8.5-2) …
2022-07-10 00:20:43,091: DEBUG - + [[ -n /tmp/tmp.LGIvPbRCD6 ]]
2022-07-10 00:20:43,092: DEBUG - + rm --recursive --force /tmp/tmp.LGIvPbRCD6
2022-07-10 00:20:43,095: DEBUG - + ynh_package_is_installed peertube-ynh-deps
2022-07-10 00:20:43,123: DEBUG - + ynh_wait_dpkg_free
2022-07-10 00:20:43,663: DEBUG - + return 0
2022-07-10 00:20:43,665: DEBUG - + dpkg-query --show ‘–showformat=${Status}’ peertube-ynh-deps
2022-07-10 00:20:43,666: DEBUG - + grep --count ‘ok installed’
2022-07-10 00:20:43,717: DEBUG - + rm /tmp/peertube-ynh-deps.control
2022-07-10 00:20:43,722: DEBUG - + grep --quiet php
2022-07-10 00:20:43,730: DEBUG - ++ apt-mark showauto yarn
2022-07-10 00:20:44,440: DEBUG - + local apps_auto_installed=yarn
2022-07-10 00:20:44,441: DEBUG - + ynh_package_install yarn
2022-07-10 00:20:44,441: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=–force-confdef --option Dpkg::Options::=–force-confold install yarn
2022-07-10 00:20:44,442: DEBUG - + ynh_wait_dpkg_free
2022-07-10 00:20:44,977: DEBUG - + return 0
2022-07-10 00:20:44,978: DEBUG - + LC_ALL=C
2022-07-10 00:20:44,978: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-07-10 00:20:44,979: 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
2022-07-10 00:20:45,058: DEBUG - Reading package lists…
2022-07-10 00:20:45,580: DEBUG - Building dependency tree…
2022-07-10 00:20:45,583: DEBUG - Reading state information…
2022-07-10 00:20:46,560: DEBUG - yarn is already the newest version (1.22.19-1).
2022-07-10 00:20:46,560: DEBUG - yarn set to manually installed.
2022-07-10 00:20:46,561: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2022-07-10 00:20:46,562: DEBUG - + ‘[’ -z yarn ‘]’
2022-07-10 00:20:46,562: DEBUG - + apt-mark auto yarn
2022-07-10 00:20:47,358: DEBUG - yarn set to automatically installed.
2022-07-10 00:20:47,360: DEBUG - + ynh_remove_extra_repo --name=peertube
2022-07-10 00:20:47,393: DEBUG - + name=peertube
2022-07-10 00:20:47,393: DEBUG - + ynh_secure_remove --file=/etc/apt/sources.list.d/peertube.list
2022-07-10 00:20:47,456: DEBUG - + [[ peertube == \e\x\t\r\a_\p\h\p_\v\e\r\s\i\o\n ]]
2022-07-10 00:20:47,458: DEBUG - + ynh_secure_remove /etc/apt/preferences.d/peertube
2022-07-10 00:20:47,515: DEBUG - + ynh_secure_remove --file=/etc/apt/trusted.gpg.d/peertube.gpg
2022-07-10 00:20:47,577: DEBUG - + ynh_secure_remove --file=/etc/apt/trusted.gpg.d/peertube.asc
2022-07-10 00:20:47,641: INFO - ‘/etc/apt/trusted.gpg.d/peertube.asc’ wasn’t deleted because it doesn’t exist.
2022-07-10 00:20:47,643: DEBUG - + ynh_package_update
2022-07-10 00:20:47,643: DEBUG - + ynh_apt update
2022-07-10 00:20:47,644: DEBUG - + ynh_wait_dpkg_free
2022-07-10 00:20:48,236: DEBUG - + return 0
2022-07-10 00:20:48,236: DEBUG - + LC_ALL=C
2022-07-10 00:20:48,237: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-07-10 00:20:48,237: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2022-07-10 00:20:48,480: DEBUG - Hit:1 Index of /raspbian buster InRelease
2022-07-10 00:20:48,481: DEBUG - Hit:2 Index of /debian buster InRelease
2022-07-10 00:20:48,481: DEBUG - Hit:3 Index of /debian/ buster InRelease
2022-07-10 00:20:48,559: DEBUG - Hit:4 Index of /php/ buster InRelease
2022-07-10 00:20:52,690: DEBUG - Reading package lists…
2022-07-10 00:20:52,883: INFO - [####…] > Configuring system user…
2022-07-10 00:20:52,885: DEBUG - + ynh_system_user_create --username=peertube --home_dir=/var/www/peertube
2022-07-10 00:20:53,076: DEBUG - + use_shell=0
2022-07-10 00:20:53,077: DEBUG - + home_dir=/var/www/peertube
2022-07-10 00:20:53,077: DEBUG - + groups=
2022-07-10 00:20:53,078: DEBUG - + ynh_system_user_exists peertube
2022-07-10 00:20:53,109: DEBUG - + getent passwd peertube
2022-07-10 00:20:53,118: DEBUG - + ‘[’ -n /var/www/peertube ‘]’
2022-07-10 00:20:53,119: DEBUG - + local ‘user_home_dir=–home-dir /var/www/peertube’
2022-07-10 00:20:53,119: DEBUG - + local ‘shell=–shell /usr/sbin/nologin’
2022-07-10 00:20:53,120: DEBUG - + useradd --home-dir /var/www/peertube --system --user-group peertube --shell /usr/sbin/nologin
2022-07-10 00:20:54,865: INFO - [####+…] > Creating a PostgreSQL database…
2022-07-10 00:20:54,867: DEBUG - + db_name=peertube_peertube
2022-07-10 00:20:54,868: DEBUG - ++ ynh_sanitize_dbid --db_name=peertube
2022-07-10 00:20:54,900: DEBUG - ++ echo peertube
2022-07-10 00:20:54,901: DEBUG - + db_user=peertube
2022-07-10 00:20:54,902: DEBUG - + ynh_app_setting_set --app=peertube --key=db_name --value=peertube_peertube
2022-07-10 00:20:54,902: DEBUG - + local globalapp=peertube
2022-07-10 00:20:55,108: DEBUG - + app=peertube
2022-07-10 00:20:55,108: DEBUG - + [[ db_name =~ (unprotected|protected|skipped) ]]
2022-07-10 00:20:55,109: DEBUG - + ynh_app_setting set peertube db_name peertube_peertube
2022-07-10 00:20:55,240: DEBUG - + ynh_app_setting_set --app=peertube --key=db_user --value=peertube
2022-07-10 00:20:55,241: DEBUG - + local globalapp=peertube
2022-07-10 00:20:55,432: DEBUG - + app=peertube
2022-07-10 00:20:55,433: DEBUG - + [[ db_user =~ (unprotected|protected|skipped) ]]
2022-07-10 00:20:55,434: DEBUG - + ynh_app_setting set peertube db_user peertube
2022-07-10 00:20:55,583: DEBUG - + ynh_psql_test_if_first_run
2022-07-10 00:20:55,586: DEBUG - + dpkg --list
2022-07-10 00:20:55,588: DEBUG - + grep -q ‘ii postgresql-11’
2022-07-10 00:20:55,667: DEBUG - + ‘[’ -e /etc/postgresql/11 ‘]’
2022-07-10 00:20:55,668: DEBUG - + systemctl is-active postgresql@11-main -q
2022-07-10 00:20:55,682: DEBUG - + systemctl is-enabled postgresql -q
2022-07-10 00:20:55,698: DEBUG - + ‘[’ ‘!’ -f /etc/yunohost/psql ‘]’
2022-07-10 00:20:55,699: DEBUG - + ynh_psql_setup_db --db_user=peertube --db_name=peertube_peertube
2022-07-10 00:20:55,702: DEBUG - + db_pwd=
2022-07-10 00:20:55,849: DEBUG - + ynh_psql_user_exists --user=peertube
2022-07-10 00:20:55,884: DEBUG - + grep --quiet peertube
2022-07-10 00:20:55,886: DEBUG - ++ cat /etc/yunohost/psql
2022-07-10 00:20:55,891: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql -tAc ‘SELECT rolname FROM pg_roles WHERE rolname=’’‘peertube’’’;’
2022-07-10 00:20:56,142: DEBUG - + return 1
2022-07-10 00:20:56,143: DEBUG - ++ ynh_string_random
2022-07-10 00:20:56,147: DEBUG - ++ length=24
2022-07-10 00:20:56,147: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2022-07-10 00:20:56,148: DEBUG - ++ tr --complement --delete A-Za-z0-9
2022-07-10 00:20:56,149: DEBUG - ++ sed --quiet 's/(.{24})./\1/p’
2022-07-10 00:20:56,162: DEBUG - + local new_db_pwd=*********
2022-07-10 00:20:56,163: DEBUG - + db_pwd=**********
2022-07-10 00:20:56,163: DEBUG - + ynh_psql_create_user peertube **********
2022-07-10 00:20:56,163: DEBUG - + local user=peertube
2022-07-10 00:20:56,164: DEBUG - + local pwd=**********
2022-07-10 00:20:56,164: DEBUG - + ynh_psql_execute_as_root '–sql=CREATE USER peertube WITH ENCRYPTED PASSWORD ‘’‘’’’’
2022-07-10 00:20:56,217: DEBUG - + database=
2022-07-10 00:20:56,217: DEBUG - + ‘[’ -n ‘’ ‘]’
2022-07-10 00:20:56,218: DEBUG - ++ cat /etc/yunohost/psql
2022-07-10 00:20:56,222: DEBUG - + ynh_psql_connect_as --user=postgres --password=
2022-07-10 00:20:56,378: DEBUG - + database=
2022-07-10 00:20:56,379: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql ‘’
2022-07-10 00:20:56,461: DEBUG -
2022-07-10 00:20:56,463: DEBUG - Wi-Fi is currently blocked by rfkill.
2022-07-10 00:20:56,466: DEBUG - Use raspi-config to set the country before use.
2022-07-10 00:20:56,467: DEBUG -
2022-07-10 00:20:56,612: DEBUG - CREATE ROLE
2022-07-10 00:20:56,627: DEBUG - + ynh_psql_create_db peertube_peertube peertube
2022-07-10 00:20:56,628: DEBUG - + local db=peertube_peertube
2022-07-10 00:20:56,628: DEBUG - + local user=peertube
2022-07-10 00:20:56,629: DEBUG - + local ‘sql=CREATE DATABASE peertube_peertube;’
2022-07-10 00:20:56,629: DEBUG - + ‘[’ -n peertube ‘]’
2022-07-10 00:20:56,629: DEBUG - + sql+=‘ALTER DATABASE peertube_peertube OWNER TO peertube;’
2022-07-10 00:20:56,630: DEBUG - + sql+=‘GRANT ALL PRIVILEGES ON DATABASE peertube_peertube TO peertube WITH GRANT OPTION;’
2022-07-10 00:20:56,630: DEBUG - + ynh_psql_execute_as_root ‘–sql=CREATE DATABASE peertube_peertube;ALTER DATABASE peertube_peertube OWNER TO peertube;GRANT ALL PRIVILEGES ON DATABASE peertube_peertube TO peertube WITH GRANT OPTION;’
2022-07-10 00:20:56,678: DEBUG - + database=
2022-07-10 00:20:56,679: DEBUG - + ‘[’ -n ‘’ ‘]’
2022-07-10 00:20:56,680: DEBUG - ++ cat /etc/yunohost/psql
2022-07-10 00:20:56,683: DEBUG - + ynh_psql_connect_as --user=postgres --password=**********
2022-07-10 00:20:56,818: DEBUG - + database=
2022-07-10 00:20:56,818: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql ‘’
2022-07-10 00:20:56,880: DEBUG -
2022-07-10 00:20:56,883: DEBUG - Wi-Fi is currently blocked by rfkill.
2022-07-10 00:20:56,886: DEBUG - Use raspi-config to set the country before use.
2022-07-10 00:20:56,887: DEBUG -
2022-07-10 00:21:02,198: DEBUG - CREATE DATABASE
2022-07-10 00:21:02,201: DEBUG - ALTER DATABASE
2022-07-10 00:21:02,204: DEBUG - GRANT
2022-07-10 00:21:02,217: DEBUG - + ynh_app_setting_set --app=peertube --key=psqlpwd --value=**********
2022-07-10 00:21:02,218: DEBUG - + local globalapp=peertube
2022-07-10 00:21:02,479: DEBUG - + app=peertube
2022-07-10 00:21:02,479: DEBUG - + [[ psqlpwd =~ (unprotected|protected|skipped) ]]
2022-07-10 00:21:02,480: DEBUG - + ynh_app_setting set peertube psqlpwd **********
2022-07-10 00:21:02,611: DEBUG - ++ ynh_app_setting_get --app=peertube --key=psqlpwd
2022-07-10 00:21:02,611: DEBUG - ++ local globalapp=peertube
2022-07-10 00:21:02,708: DEBUG - ++ app=peertube
2022-07-10 00:21:02,709: DEBUG - ++ [[ psqlpwd =~ (unprotected|protected|skipped) ]]
2022-07-10 00:21:02,709: DEBUG - ++ ynh_app_setting get peertube psqlpwd
2022-07-10 00:21:02,840: DEBUG - + db_pwd=**********
2022-07-10 00:21:02,841: DEBUG - + ynh_psql_execute_as_root ‘–sql=CREATE EXTENSION IF NOT EXISTS unaccent;’ --database=peertube_peertube
2022-07-10 00:21:02,937: DEBUG - + database=peertube_peertube
2022-07-10 00:21:02,938: DEBUG - + ‘[’ -n peertube_peertube ‘]’
2022-07-10 00:21:02,938: DEBUG - + database=–database=peertube_peertube
2022-07-10 00:21:02,939: DEBUG - ++ cat /etc/yunohost/psql
2022-07-10 00:21:02,943: DEBUG - + ynh_psql_connect_as --user=postgres --password=********** --database=peertube_peertube
2022-07-10 00:21:03,136: DEBUG - + database=peertube_peertube
2022-07-10 00:21:03,137: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql peertube_peertube
2022-07-10 00:21:03,197: DEBUG -
2022-07-10 00:21:03,199: DEBUG - Wi-Fi is currently blocked by rfkill.
2022-07-10 00:21:03,202: DEBUG - Use raspi-config to set the country before use.
2022-07-10 00:21:03,203: DEBUG -
2022-07-10 00:21:03,385: DEBUG - CREATE EXTENSION
2022-07-10 00:21:03,393: DEBUG - + ynh_psql_execute_as_root ‘–sql=CREATE EXTENSION IF NOT EXISTS pg_trgm;’ --database=peertube_peertube
2022-07-10 00:21:03,494: DEBUG - + database=peertube_peertube
2022-07-10 00:21:03,495: DEBUG - + ‘[’ -n peertube_peertube ‘]’
2022-07-10 00:21:03,495: DEBUG - + database=–database=peertube_peertube
2022-07-10 00:21:03,496: DEBUG - ++ cat /etc/yunohost/psql
2022-07-10 00:21:03,500: DEBUG - + ynh_psql_connect_as --user=postgres --password=********** --database=peertube_peertube
2022-07-10 00:21:03,696: DEBUG - + database=peertube_peertube
2022-07-10 00:21:03,697: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql peertube_peertube
2022-07-10 00:21:03,762: DEBUG -
2022-07-10 00:21:03,766: DEBUG - Wi-Fi is currently blocked by rfkill.
2022-07-10 00:21:03,770: DEBUG - Use raspi-config to set the country before use.
2022-07-10 00:21:03,772: DEBUG -
2022-07-10 00:21:04,005: DEBUG - CREATE EXTENSION
2022-07-10 00:21:04,014: DEBUG - ++ ynh_redis_get_free_db
2022-07-10 00:21:04,015: DEBUG - ++ local result max db
2022-07-10 00:21:04,017: DEBUG - +++ redis-cli INFO keyspace
2022-07-10 00:21:04,024: DEBUG - ++ result=’# Keyspace
2022-07-10 00:21:04,024: DEBUG - db1:keys=2,expires=2,avg_ttl=5381783800
’
2022-07-10 00:21:04,027: DEBUG - +++ cat /etc/redis/redis.conf
2022-07-10 00:21:04,028: DEBUG - +++ grep ‘^databases’
2022-07-10 00:21:04,029: DEBUG - +++ grep -Eow ‘[0-9]+’
2022-07-10 00:21:04,038: DEBUG - ++ max=16
2022-07-10 00:21:04,039: DEBUG - ++ db=0
2022-07-10 00:21:04,040: DEBUG - +++ seq 0 16
2022-07-10 00:21:04,045: DEBUG - ++ for i in $(seq 0 “$max”)
2022-07-10 00:21:04,045: DEBUG - ++ echo ‘# Keyspace
2022-07-10 00:21:04,046: DEBUG - db1:keys=2,expires=2,avg_ttl=5381783800
’
2022-07-10 00:21:04,046: DEBUG - ++ grep -q db0
2022-07-10 00:21:04,051: DEBUG - ++ db=0
2022-07-10 00:21:04,051: DEBUG - ++ break 1
2022-07-10 00:21:04,052: DEBUG - ++ test 0 -eq -1
2022-07-10 00:21:04,052: DEBUG - ++ echo 0
2022-07-10 00:21:04,053: DEBUG - + redis_db=0
2022-07-10 00:21:04,053: DEBUG - + ynh_app_setting_set --app=peertube --key=redis_db --value=0
2022-07-10 00:21:04,054: DEBUG - + local globalapp=peertube
2022-07-10 00:21:04,261: DEBUG - + app=peertube
2022-07-10 00:21:04,262: DEBUG - + [[ redis_db =~ (unprotected|protected|skipped) ]]
2022-07-10 00:21:04,263: DEBUG - + ynh_app_setting set peertube redis_db 0
2022-07-10 00:21:04,536: INFO - [#####+…] > Setting up source files…
2022-07-10 00:21:04,538: DEBUG - + ynh_app_setting_set --app=peertube --key=final_path --value=/var/www/peertube
2022-07-10 00:21:04,539: DEBUG - + local globalapp=peertube
2022-07-10 00:21:04,851: DEBUG - + app=peertube
2022-07-10 00:21:04,852: DEBUG - + [[ final_path =~ (unprotected|protected|skipped) ]]
2022-07-10 00:21:04,852: DEBUG - + ynh_app_setting set peertube final_path /var/www/peertube
2022-07-10 00:21:05,022: DEBUG - + ynh_setup_source --dest_dir=/var/www/peertube
2022-07-10 00:21:05,095: DEBUG - + source_id=app
2022-07-10 00:21:05,095: DEBUG - + keep=
2022-07-10 00:21:05,096: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/conf/app.src
2022-07-10 00:21:05,097: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/conf/app.src
2022-07-10 00:21:05,098: DEBUG - ++ cut --delimiter== --fields=2-
2022-07-10 00:21:05,104: DEBUG - + local src_url=https://github.com/Chocobozzz/PeerTube/releases/download/v4.2.2/peertube-v4.2.2.tar.xz
2022-07-10 00:21:05,106: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/conf/app.src
2022-07-10 00:21:05,107: DEBUG - ++ cut --delimiter== --fields=2-
2022-07-10 00:21:05,113: DEBUG - + local src_sum=4b9e36aaa86f2e0dfb1cb36ed894eaf853a024a9e9407d3a73751d0655999089
2022-07-10 00:21:05,116: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/conf/app.src
2022-07-10 00:21:05,116: DEBUG - ++ cut --delimiter== --fields=2-
2022-07-10 00:21:05,122: DEBUG - + local src_sumprg=sha256sum
2022-07-10 00:21:05,125: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/conf/app.src
2022-07-10 00:21:05,126: DEBUG - ++ cut --delimiter== --fields=2-
2022-07-10 00:21:05,131: DEBUG - + local src_format=tar.xz
2022-07-10 00:21:05,134: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/conf/app.src
2022-07-10 00:21:05,134: DEBUG - ++ cut --delimiter== --fields=2-
2022-07-10 00:21:05,141: DEBUG - + local src_extract=true
2022-07-10 00:21:05,144: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/conf/app.src
2022-07-10 00:21:05,144: DEBUG - ++ cut --delimiter== --fields=2-
2022-07-10 00:21:05,150: DEBUG - + local src_in_subdir=true
2022-07-10 00:21:05,153: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/conf/app.src
2022-07-10 00:21:05,154: DEBUG - ++ cut --delimiter== --fields=2-
2022-07-10 00:21:05,160: DEBUG - + local src_filename=
2022-07-10 00:21:05,160: DEBUG - + src_sumprg=sha256sum
2022-07-10 00:21:05,161: DEBUG - + src_in_subdir=true
2022-07-10 00:21:05,161: DEBUG - + src_format=tar.xz
2022-07-10 00:21:05,162: DEBUG - ++ echo tar.xz
2022-07-10 00:21:05,163: DEBUG - ++ tr ‘[:upper:]’ ‘[:lower:]’
2022-07-10 00:21:05,168: DEBUG - + src_format=tar.xz
2022-07-10 00:21:05,169: DEBUG - + src_extract=true
2022-07-10 00:21:05,169: DEBUG - + ‘[’ ‘’ = ‘’ ‘]’
2022-07-10 00:21:05,169: DEBUG - + src_filename=app.tar.xz
2022-07-10 00:21:05,170: DEBUG - + local local_src=/opt/yunohost-apps-src/peertube/app.tar.xz
2022-07-10 00:21:05,170: DEBUG - + mkdir -p /var/cache/yunohost/download/peertube/
2022-07-10 00:21:05,172: DEBUG - + src_filename=/var/cache/yunohost/download/peertube/app.tar.xz
2022-07-10 00:21:05,173: DEBUG - + test -e /opt/yunohost-apps-src/peertube/app.tar.xz
2022-07-10 00:21:05,173: DEBUG - + ‘[’ -n https://github.com/Chocobozzz/PeerTube/releases/download/v4.2.2/peertube-v4.2.2.tar.xz ‘]’
2022-07-10 00:21:05,174: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/peertube/app.tar.xz https://github.com/Chocobozzz/PeerTube/releases/download/v4.2.2/peertube-v4.2.2.tar.xz
2022-07-10 00:21:07,029: DEBUG - + out=‘2022-07-10 00:21:07 URL:https://objects.githubusercontent.com/github-production-release-asset-2e65be/45213667/e7b32b29-5421-4322-84cf-240a87f16496?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220709%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220709T222105Z&X-Amz-Expires=300&X-Amz-Signature=18fb5af4c01b82b083a6a957e0b9779a2ac784f9c99bda1382b378d2790bf419&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=45213667&response-content-disposition=attachment%3B%20filename%3Dpeertube-v4.2.2.tar.xz&response-content-type=application%2Foctet-stream [26293092/26293092] → “/var/cache/yunohost/download/peertube/app.tar.xz” [1]’
2022-07-10 00:21:07,031: DEBUG - + sha256sum --check --status
2022-07-10 00:21:07,309: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2022-07-10 00:21:07,318: DEBUG - + ‘[’ -n ‘’ ‘]’
2022-07-10 00:21:07,318: DEBUG - + mkdir --parents /var/www/peertube
2022-07-10 00:21:07,319: DEBUG - + ‘[’ -n /var/www/peertube ‘]’
2022-07-10 00:21:07,319: DEBUG - + ‘[’ /var/www/peertube == /var/www/peertube ‘]’
2022-07-10 00:21:07,320: DEBUG - + ynh_apply_default_permissions /var/www/peertube
2022-07-10 00:21:07,320: DEBUG - + local target=/var/www/peertube
2022-07-10 00:21:07,322: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/manifest.json
2022-07-10 00:21:07,323: DEBUG - ++ tr -d ‘>= ’
2022-07-10 00:21:07,334: DEBUG - + local ynh_requirement=4.3.0
2022-07-10 00:21:07,334: DEBUG - + ‘[’ -z 4.3.0 ‘]’
2022-07-10 00:21:07,335: DEBUG - + ‘[’ 4.3.0 == null ‘]’
2022-07-10 00:21:07,335: DEBUG - + dpkg --compare-versions 4.3.0 ge 4.2
2022-07-10 00:21:07,340: DEBUG - + chmod o-rwx /var/www/peertube
2022-07-10 00:21:07,343: DEBUG - + chmod g-w /var/www/peertube
2022-07-10 00:21:07,346: DEBUG - + chown -R root:root /var/www/peertube
2022-07-10 00:21:07,353: DEBUG - + ynh_system_user_exists peertube
2022-07-10 00:21:07,385: DEBUG - + getent passwd peertube
2022-07-10 00:21:07,393: DEBUG - + chown peertube:peertube /var/www/peertube
2022-07-10 00:21:07,401: DEBUG - + echo /var/www/peertube
2022-07-10 00:21:07,402: DEBUG - + grep -q ‘^/etc/cron’
2022-07-10 00:21:07,407: DEBUG - + true
2022-07-10 00:21:07,407: DEBUG - + ‘[’ tar.xz = zip ‘]’
2022-07-10 00:21:07,408: DEBUG - + local strip=
2022-07-10 00:21:07,408: DEBUG - + ‘[’ true ‘!=’ false ‘]’
2022-07-10 00:21:07,409: DEBUG - + ‘[’ true == true ‘]’
2022-07-10 00:21:07,409: DEBUG - + local sub_dirs=1
2022-07-10 00:21:07,410: DEBUG - + strip=’–strip-components 1’
2022-07-10 00:21:07,410: DEBUG - + [[ tar.xz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2022-07-10 00:21:07,410: DEBUG - + tar --extract --file=/var/cache/yunohost/download/peertube/app.tar.xz --directory=/var/www/peertube --strip-components 1
2022-07-10 00:22:16,984: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/peertube/app.tar.xz
2022-07-10 00:22:17,057: DEBUG - + ‘[’ -d /var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/sources/patches/ ‘]’
2022-07-10 00:22:17,058: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/sources/extra_files/app
2022-07-10 00:22:17,058: DEBUG - + ‘[’ -n ‘’ ‘]’
2022-07-10 00:22:17,059: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2022-07-10 00:22:17,063: DEBUG - + chmod 750 /var/www/peertube
2022-07-10 00:22:17,067: DEBUG - + chmod -R o-rwx /var/www/peertube
2022-07-10 00:22:17,236: DEBUG - + chown -R peertube:www-data /var/www/peertube
2022-07-10 00:22:17,597: INFO - [######+…] > Configuring NGINX web server…
2022-07-10 00:22:17,600: DEBUG - + ynh_add_nginx_config
2022-07-10 00:22:17,600: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:17,600: DEBUG - + ‘[’ / ‘!=’ / ‘]’
2022-07-10 00:22:17,601: DEBUG - + ynh_replace_string ‘–match_string=^#root_path_only’ --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/conf/nginx.conf
2022-07-10 00:22:17,835: DEBUG - + sed --in-place ‘s@^#root_path_only@@g’ /var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/conf/nginx.conf
2022-07-10 00:22:17,842: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/conf/nginx.conf --destination=/etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:17,951: DEBUG - + ‘[’ -f /var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/conf//var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/conf/nginx.conf ‘]’
2022-07-10 00:22:17,951: DEBUG - + ‘[’ -f /var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/conf/nginx.conf ‘]’
2022-07-10 00:22:17,951: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/conf/nginx.conf
2022-07-10 00:22:17,952: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:17,983: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_peertube.maindomain.tld.d_peertube.conf
2022-07-10 00:22:17,984: DEBUG - ++ ynh_app_setting_get --app=peertube --key=checksum__etc_nginx_conf.d_peertube.maindomain.tld.d_peertube.conf
2022-07-10 00:22:17,985: DEBUG - ++ local globalapp=peertube
2022-07-10 00:22:18,088: DEBUG - ++ app=peertube
2022-07-10 00:22:18,089: DEBUG - ++ [[ checksum__etc_nginx_conf.d_peertube.maindomain.tld.d_peertube.conf =~ (unprotected|protected|skipped) ]]
2022-07-10 00:22:18,089: DEBUG - ++ ynh_app_setting get peertube checksum__etc_nginx_conf.d_peertube.maindomain.tld.d_peertube.conf
2022-07-10 00:22:18,259: DEBUG - + local checksum_value=
2022-07-10 00:22:18,259: DEBUG - + backup_file_checksum=
2022-07-10 00:22:18,260: DEBUG - + ‘[’ -n ‘’ ‘]’
2022-07-10 00:22:18,260: DEBUG - + touch /etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:18,262: DEBUG - + chown root:root /etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:18,266: DEBUG - + chmod 640 /etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:18,269: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/conf/nginx.conf /etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:18,274: DEBUG - + ynh_apply_default_permissions /etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:18,275: DEBUG - + local target=/etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:18,277: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/manifest.json
2022-07-10 00:22:18,278: DEBUG - ++ tr -d '>= ’
2022-07-10 00:22:18,289: DEBUG - + local ynh_requirement=4.3.0
2022-07-10 00:22:18,289: DEBUG - + ‘[’ -z 4.3.0 ‘]’
2022-07-10 00:22:18,290: DEBUG - + ‘[’ 4.3.0 == null ‘]’
2022-07-10 00:22:18,290: DEBUG - + dpkg --compare-versions 4.3.0 ge 4.2
2022-07-10 00:22:18,296: DEBUG - + chmod o-rwx /etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:18,299: DEBUG - + chmod g-w /etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:18,302: DEBUG - + chown -R root:root /etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:18,306: DEBUG - + ynh_system_user_exists peertube
2022-07-10 00:22:18,338: DEBUG - + getent passwd peertube
2022-07-10 00:22:18,341: DEBUG - + chown peertube:peertube /etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:18,346: DEBUG - + echo /etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:18,347: DEBUG - + grep -q ‘^/etc/cron’
2022-07-10 00:22:18,353: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:18,389: DEBUG - + test -n /
2022-07-10 00:22:18,389: DEBUG - + local path_url_slash_less=
2022-07-10 00:22:18,390: DEBUG - + ynh_replace_string --match_string=PATH/ --replace_string=/ --target_file=/etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:18,593: DEBUG - + sed --in-place s@PATH/@/@g /etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:19,868: DEBUG - + ynh_replace_string --match_string=PATH --replace_string=/ --target_file=/etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:20,182: DEBUG - + sed --in-place s@PATH@/@g /etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:20,190: DEBUG - + test -n peertube
2022-07-10 00:22:20,191: DEBUG - + ynh_replace_string --match_string=NAME --replace_string=peertube --target_file=/etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:20,500: DEBUG - + sed --in-place s@NAME@peertube@g /etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:20,508: DEBUG - + ynh_replace_string --match_string=NAMETOCHANGE --replace_string=peertube --target_file=/etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:20,814: DEBUG - + sed --in-place s@NAMETOCHANGE@peertube@g /etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:20,952: DEBUG - + ynh_replace_string --match_string=USER --replace_string=peertube --target_file=/etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:21,294: DEBUG - + sed --in-place s@USER@peertube@g /etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:21,302: DEBUG - + test -n /var/www/peertube
2022-07-10 00:22:21,303: DEBUG - + ynh_replace_string --match_string=FINALPATH --replace_string=/var/www/peertube --target_file=/etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:21,631: DEBUG - + sed --in-place s@FINALPATH@/var/www/peertube@g /etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:21,639: DEBUG - + test -n 7.3
2022-07-10 00:22:21,640: DEBUG - + ynh_replace_string --match_string=PHPVERSION --replace_string=7.3 --target_file=/etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:21,930: DEBUG - + sed --in-place s@PHPVERSION@7.3@g /etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:21,935: DEBUG - + test -n PATH=/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-07-10 00:22:21,935: DEBUG - + ynh_replace_string --match_string=YNH_NODE_LOAD_PATH --replace_string=PATH=/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --target_file=/etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:22,144: DEBUG - + sed --in-place s@YNH_NODE_LOAD_PATH@PATH=/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin@g /etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:22,149: DEBUG - + uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9]?[A-Z0-9]?’ $file | sort --unique | sed "s@([^.]*)@\L\1@g"))
2022-07-10 00:22:22,153: DEBUG - ++ grep -oP '[A-Z0-9]+?[A-Z0-9]?[A-Z0-9]?’ /etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:22,154: DEBUG - ++ sort --unique
2022-07-10 00:22:22,154: DEBUG - ++ sed 's@([^.]*)__@\L\1@g’
2022-07-10 00:22:22,163: DEBUG - + local delimit=@
2022-07-10 00:22:22,164: DEBUG - + for one_var in “${uniques_vars[@]}”
2022-07-10 00:22:22,164: DEBUG - + [[ -v datadir ]]
2022-07-10 00:22:22,165: DEBUG - + match_string=DATADIR
2022-07-10 00:22:22,165: DEBUG - + match_string=DATADIR
2022-07-10 00:22:22,166: DEBUG - + replace_string=/home/yunohost.app/peertube/storage
2022-07-10 00:22:22,166: DEBUG - + replace_string=/home/yunohost.app/peertube/storage
2022-07-10 00:22:22,166: DEBUG - + replace_string=/home/yunohost.app/peertube/storage
2022-07-10 00:22:22,167: DEBUG - + sed --in-place s@DATADIR@/home/yunohost.app/peertube/storage@g /etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:22,169: DEBUG - + for one_var in “${uniques_vars[@]}”
2022-07-10 00:22:22,169: DEBUG - + [[ -v port ]]
2022-07-10 00:22:22,170: DEBUG - + match_string=PORT
2022-07-10 00:22:22,170: DEBUG - + match_string=PORT
2022-07-10 00:22:22,171: DEBUG - + replace_string=8095
2022-07-10 00:22:22,171: DEBUG - + replace_string=8095
2022-07-10 00:22:22,171: DEBUG - + replace_string=8095
2022-07-10 00:22:22,172: DEBUG - + sed --in-place s@PORT@8095@g /etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:22,574: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:22,580: DEBUG - + update_only=0
2022-07-10 00:22:22,673: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_peertube.maindomain.tld.d_peertube.conf
2022-07-10 00:22:22,676: DEBUG - ++ md5sum /etc/nginx/conf.d/peertube.maindomain.tld.d/peertube.conf
2022-07-10 00:22:22,677: DEBUG - ++ cut '–delimiter= ’ --fields=1
2022-07-10 00:22:22,684: DEBUG - + ynh_app_setting_set --app=peertube --key=checksum__etc_nginx_conf.d_peertube.maindomain.tld.d_peertube.conf --value=5b69a65ba2e4c221e7b37739ab503795
2022-07-10 00:22:22,685: DEBUG - + local globalapp=peertube
2022-07-10 00:22:22,892: DEBUG - + app=peertube
2022-07-10 00:22:22,893: DEBUG - + [[ checksum__etc_nginx_conf.d_peertube.maindomain.tld.d_peertube.conf =~ (unprotected|protected|skipped) ]]
2022-07-10 00:22:22,894: DEBUG - + ynh_app_setting set peertube checksum__etc_nginx_conf.d_peertube.maindomain.tld.d_peertube.conf 5b69a65ba2e4c221e7b37739ab503795
2022-07-10 00:22:25,817: DEBUG - + ‘[’ -n ‘’ ‘]’
2022-07-10 00:22:25,817: DEBUG - + unset backup_file_checksum
2022-07-10 00:22:25,818: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2022-07-10 00:22:26,107: DEBUG - + service_name=nginx
2022-07-10 00:22:26,107: DEBUG - + action=reload
2022-07-10 00:22:26,108: DEBUG - + line_match=
2022-07-10 00:22:26,108: DEBUG - + length=20
2022-07-10 00:22:26,109: DEBUG - + log_path=/var/log/nginx/nginx.log
2022-07-10 00:22:26,109: DEBUG - + timeout=300
2022-07-10 00:22:26,110: DEBUG - + ‘[’ reload == stop ‘]’
2022-07-10 00:22:26,111: DEBUG - + ‘[’ reload == reload ‘]’
2022-07-10 00:22:26,111: DEBUG - + action=reload-or-restart
2022-07-10 00:22:26,112: DEBUG - + systemctl reload-or-restart nginx
2022-07-10 00:22:27,136: INFO - [#######+…] > Creating a data directory…
2022-07-10 00:22:27,139: DEBUG - + ynh_app_setting_set --app=peertube --key=datadir --value=/home/yunohost.app/peertube/storage
2022-07-10 00:22:27,140: DEBUG - + local globalapp=peertube
2022-07-10 00:22:27,357: DEBUG - + app=peertube
2022-07-10 00:22:27,358: DEBUG - + [[ datadir =~ (unprotected|protected|skipped) ]]
2022-07-10 00:22:27,358: DEBUG - + ynh_app_setting set peertube datadir /home/yunohost.app/peertube/storage
2022-07-10 00:22:27,504: DEBUG - + mkdir -p /home/yunohost.app/peertube/storage
2022-07-10 00:22:27,510: DEBUG - + chmod 750 /home/yunohost.app/peertube/storage
2022-07-10 00:22:27,513: DEBUG - + chmod -R o-rwx /home/yunohost.app/peertube/storage
2022-07-10 00:22:28,516: DEBUG - + chown -R peertube:www-data /home/yunohost.app/peertube/storage
2022-07-10 00:22:28,987: INFO - [########…] > Building Yarn dependencies…
2022-07-10 00:22:28,990: DEBUG - + pushd /var/www/peertube
2022-07-10 00:22:28,990: DEBUG - /var/www/peertube /var/cache/yunohost/app_tmp_work_dirs/app_gj27ydmh/scripts