Install of Invidious failed

Hello Together,

My YunoHost server

Hardware:Old computer at home
YunoHost version: 11.1.5
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen | …
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If your request is related to an app, specify its name and version: invidious 23.01.29~ynh1

Description of my issue

I have problems to install Invidious an get the following message

“Installation of invidious failed: An error occurred in the installation script.”

Here are some error messages

args:
  app: invidious
  force: false
  label: Invidious
  no_remove_on_failure: false
ended_at: 2023-02-02 08:23:30.580381
env:
  YNH_APP_ACTION: install
  YNH_APP_ARG_ADMIN: paul
  YNH_APP_ARG_DOMAIN: invi.maindomain.tld
  YNH_APP_ARG_IS_PUBLIC: '1'
  YNH_APP_ARG_LANGUAGE: de
  YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_d8vv55ly
  YNH_APP_ID: invidious
  YNH_APP_INSTANCE_NAME: invidious
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 23.01.29~ynh1
  YNH_APP_PACKAGING_FORMAT: '1.0'
  YNH_ARCH: amd64
error: Im Installationsscript ist ein Fehler aufgetreten
interface: api
operation: app_install
parent: null
related_to:
- - app
  - invidious
started_at: 2023-02-02 08:19:48.298642
success: false
yunohost_version: 11.1.5

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

2023-02-02 09:19:48,318: INFO - invidious wird installiert...
2023-02-02 09:19:48,489: DEBUG - Nothing to update in LDAP
2023-02-02 09:19:48,490: DEBUG - Berechtigung 'invidious.main' aktualisiert
2023-02-02 09:19:48,584: DEBUG - Vollständiges Log dieser Operation: '<a href="#/tools/logs/20230202-081948-permission_url-invidious" style="text-decoration:underline">Aktualisiere URL, die mit der Berechtigung 'invidious' verknüpft ist</a>'
2023-02-02 09:19:48,809: DEBUG - The permission database has been resynchronized
2023-02-02 09:19:49,026: DEBUG - SSOwat-Konfiguration neu generiert
2023-02-02 09:19:49,139: DEBUG - Berechtigung 'invidious.main' erstellt
2023-02-02 09:19:49,140: DEBUG - Vollständiges Log dieser Operation: '<a href="#/tools/logs/20230202-081948-permission_create-invidious" style="text-decoration:underline">Erstelle Berechtigung 'invidious'</a>'
2023-02-02 09:19:49,178: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install"  7>&1']'
2023-02-02 09:19:49,199: DEBUG - + source _common.sh
2023-02-02 09:19:49,200: DEBUG - ++ version_commit=3b8e6c6040fe341fe4b9fc16cdbd3aea697dfad3
2023-02-02 09:19:49,200: DEBUG - ++ pkg_dependencies='apt-transport-https libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin imagemagick libsqlite3-dev zlib1g-dev libevent-dev pkg-config libpcre3-dev'
2023-02-02 09:19:49,200: DEBUG - + source /usr/share/yunohost/helpers
2023-02-02 09:19:49,201: DEBUG - +++ set +o
2023-02-02 09:19:49,201: DEBUG - +++ grep xtrace
2023-02-02 09:19:49,205: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2023-02-02 09:19:49,205: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2023-02-02 09:19:49,248: DEBUG - + ynh_abort_if_errors
2023-02-02 09:19:49,249: DEBUG - + trap ynh_exit_properly EXIT
2023-02-02 09:19:49,250: DEBUG - + domain=invi.maindomain.tld
2023-02-02 09:19:49,250: DEBUG - + path_url=/
2023-02-02 09:19:49,250: DEBUG - + is_public=1
2023-02-02 09:19:49,251: DEBUG - + language=de
2023-02-02 09:19:49,251: DEBUG - + admin=paul
2023-02-02 09:19:49,251: DEBUG - ++ ynh_user_get_info --username=paul --key=mail
2023-02-02 09:19:49,313: DEBUG - ++ jq -r .mail
2023-02-02 09:19:49,313: DEBUG - ++ yunohost user info paul --output-as json --quiet
2023-02-02 09:19:50,504: DEBUG - + email=paul@maindomain.tld
2023-02-02 09:19:50,504: DEBUG - + app=invidious
2023-02-02 09:19:50,505: DEBUG - + registration_enabled=true
2023-02-02 09:19:50,505: DEBUG - + login_enabled=true
2023-02-02 09:19:50,505: DEBUG - + captcha_enabled=true
2023-02-02 09:19:50,683: INFO - [....................] > Validating installation parameters...
2023-02-02 09:19:50,684: DEBUG - + final_path=/var/www/invidious
2023-02-02 09:19:50,685: DEBUG - + test '!' -e /var/www/invidious
2023-02-02 09:19:50,685: DEBUG - + ynh_webpath_register --app=invidious --domain=invi.maindomain.tld --path_url=/
2023-02-02 09:19:50,813: DEBUG - + yunohost app register-url invidious invi.maindomain.tld /
2023-02-02 09:19:52,922: DEBUG - + ynh_app_setting_set --app=invidious --key=domain --value=invi.maindomain.tld
2023-02-02 09:19:52,923: DEBUG - + local _globalapp=invidious
2023-02-02 09:19:52,924: INFO - [....................] > Storing installation settings...
2023-02-02 09:19:53,059: DEBUG - + app=invidious
2023-02-02 09:19:53,060: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2023-02-02 09:19:53,060: DEBUG - + ynh_app_setting set invidious domain invi.maindomain.tld
2023-02-02 09:19:53,194: DEBUG - + ynh_app_setting_set --app=invidious --key=path --value=/
2023-02-02 09:19:53,195: DEBUG - + local _globalapp=invidious
2023-02-02 09:19:53,348: DEBUG - + app=invidious
2023-02-02 09:19:53,349: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2023-02-02 09:19:53,349: DEBUG - + ynh_app_setting set invidious path /
2023-02-02 09:19:53,478: DEBUG - + ynh_app_setting_set --app=invidious --key=language --value=de
2023-02-02 09:19:53,478: DEBUG - + local _globalapp=invidious
2023-02-02 09:19:53,633: DEBUG - + app=invidious
2023-02-02 09:19:53,634: DEBUG - + [[ language =~ (unprotected|protected|skipped)_ ]]
2023-02-02 09:19:53,634: DEBUG - + ynh_app_setting set invidious language de
2023-02-02 09:19:53,761: DEBUG - + ynh_app_setting_set --app=invidious --key=admin --value=paul
2023-02-02 09:19:53,763: DEBUG - + local _globalapp=invidious
2023-02-02 09:19:53,917: DEBUG - + app=invidious
2023-02-02 09:19:53,918: DEBUG - + [[ admin =~ (unprotected|protected|skipped)_ ]]
2023-02-02 09:19:53,918: DEBUG - + ynh_app_setting set invidious admin paul
2023-02-02 09:19:54,047: DEBUG - + ynh_app_setting_set --app=invidious --key=email --value=paul@maindomain.tld
2023-02-02 09:19:54,047: DEBUG - + local _globalapp=invidious
2023-02-02 09:19:54,207: DEBUG - + app=invidious
2023-02-02 09:19:54,207: DEBUG - + [[ email =~ (unprotected|protected|skipped)_ ]]
2023-02-02 09:19:54,208: DEBUG - + ynh_app_setting set invidious email paul@maindomain.tld
2023-02-02 09:19:54,345: DEBUG - + ynh_app_setting_set --app=invidious --key=registration_enabled --value=true
2023-02-02 09:19:54,346: DEBUG - + local _globalapp=invidious
2023-02-02 09:19:54,500: DEBUG - + app=invidious
2023-02-02 09:19:54,500: DEBUG - + [[ registration_enabled =~ (unprotected|protected|skipped)_ ]]
2023-02-02 09:19:54,501: DEBUG - + ynh_app_setting set invidious registration_enabled true
2023-02-02 09:19:54,640: DEBUG - + ynh_app_setting_set --app=invidious --key=login_enabled --value=true
2023-02-02 09:19:54,641: DEBUG - + local _globalapp=invidious
2023-02-02 09:19:54,797: DEBUG - + app=invidious
2023-02-02 09:19:54,798: DEBUG - + [[ login_enabled =~ (unprotected|protected|skipped)_ ]]
2023-02-02 09:19:54,798: DEBUG - + ynh_app_setting set invidious login_enabled true
2023-02-02 09:19:54,937: DEBUG - + ynh_app_setting_set --app=invidious --key=captcha_enabled --value=true
2023-02-02 09:19:54,938: DEBUG - + local _globalapp=invidious
2023-02-02 09:19:55,094: DEBUG - + app=invidious
2023-02-02 09:19:55,095: DEBUG - + [[ captcha_enabled =~ (unprotected|protected|skipped)_ ]]
2023-02-02 09:19:55,095: DEBUG - + ynh_app_setting set invidious captcha_enabled true
2023-02-02 09:19:55,404: INFO - [....................] > Finding an available port...
2023-02-02 09:19:55,406: DEBUG - ++ ynh_find_port --port=3000
2023-02-02 09:19:55,429: DEBUG - ++ test -n 3000
2023-02-02 09:19:55,430: DEBUG - ++ ynh_port_available --port=3000
2023-02-02 09:19:55,453: DEBUG - ++ awk '{print$5}'
2023-02-02 09:19:55,453: DEBUG - ++ ss --numeric --listening --tcp --udp
2023-02-02 09:19:55,454: DEBUG - ++ grep --quiet --extended-regexp ':3000$'
2023-02-02 09:19:55,463: DEBUG - ++ grep -q 'port: '\''3000'\''' /etc/yunohost/apps/invidious/settings.yml /etc/yunohost/apps/librex/settings.yml /etc/yunohost/apps/nextcloud/settings.yml /etc/yunohost/apps/webmin/settings.yml
2023-02-02 09:19:55,466: DEBUG - ++ return 0
2023-02-02 09:19:55,467: DEBUG - ++ echo 3000
2023-02-02 09:19:55,467: DEBUG - + port=3000
2023-02-02 09:19:55,468: DEBUG - + ynh_app_setting_set --app=invidious --key=port --value=3000
2023-02-02 09:19:55,468: DEBUG - + local _globalapp=invidious
2023-02-02 09:19:55,613: DEBUG - + app=invidious
2023-02-02 09:19:55,614: DEBUG - + [[ port =~ (unprotected|protected|skipped)_ ]]
2023-02-02 09:19:55,614: DEBUG - + ynh_app_setting set invidious port 3000
2023-02-02 09:19:55,920: INFO - [+++.................] > Installing dependencies...
2023-02-02 09:19:55,922: DEBUG - + ynh_exec_warn_less ynh_install_app_dependencies apt-transport-https libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin imagemagick libsqlite3-dev zlib1g-dev libevent-dev pkg-config libpcre3-dev
2023-02-02 09:19:55,923: DEBUG - + [[ 15 -eq 1 ]]
2023-02-02 09:19:55,923: DEBUG - + ynh_install_app_dependencies apt-transport-https libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin imagemagick libsqlite3-dev zlib1g-dev libevent-dev pkg-config libpcre3-dev
2023-02-02 09:19:55,924: DEBUG - + local 'dependencies=apt-transport-https libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin imagemagick libsqlite3-dev zlib1g-dev libevent-dev pkg-config libpcre3-dev'
2023-02-02 09:19:55,924: DEBUG - ++ echo 'apt-transport-https libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin imagemagick libsqlite3-dev zlib1g-dev libevent-dev pkg-config libpcre3-dev'
2023-02-02 09:19:55,925: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2023-02-02 09:19:55,928: DEBUG - + dependencies='apt-transport-https, libssl-dev, libxml2-dev, libyaml-dev, libgmp-dev, libreadline-dev, postgresql, librsvg2-bin, imagemagick, libsqlite3-dev, zlib1g-dev, libevent-dev, pkg-config, libpcre3-dev'
2023-02-02 09:19:55,929: DEBUG - + local 'dependencies=apt-transport-https, libssl-dev, libxml2-dev, libyaml-dev, libgmp-dev, libreadline-dev, postgresql, librsvg2-bin, imagemagick, libsqlite3-dev, zlib1g-dev, libevent-dev, pkg-config, libpcre3-dev'
2023-02-02 09:19:55,930: DEBUG - ++ ynh_read_manifest --manifest_key=version
2023-02-02 09:19:55,968: DEBUG - ++ '[' '!' -e '' ']'
2023-02-02 09:19:55,968: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_d8vv55ly/manifest.json ']'
2023-02-02 09:19:55,969: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_d8vv55ly/manifest.json
2023-02-02 09:19:55,969: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_d8vv55ly/manifest.json
2023-02-02 09:19:55,970: DEBUG - ++ grep -q '\.json$'
2023-02-02 09:19:55,972: DEBUG - ++ jq .version /var/cache/yunohost/app_tmp_work_dirs/app_d8vv55ly/manifest.json --raw-output
2023-02-02 09:19:56,065: DEBUG - + local version=23.01.29~ynh1
2023-02-02 09:19:56,066: DEBUG - + '[' -z 23.01.29~ynh1 ']'
2023-02-02 09:19:56,067: DEBUG - + '[' 23.01.29~ynh1 == null ']'
2023-02-02 09:19:56,067: DEBUG - + local dep_app=invidious
2023-02-02 09:19:56,068: DEBUG - + [[ apt-transport-https, libssl-dev, libxml2-dev, libyaml-dev, libgmp-dev, libreadline-dev, postgresql, librsvg2-bin, imagemagick, libsqlite3-dev, zlib1g-dev, libevent-dev, pkg-config, libpcre3-dev =~ [<=>] ]]
2023-02-02 09:19:56,069: DEBUG - ++ echo apt-transport-https, libssl-dev, libxml2-dev, libyaml-dev, libgmp-dev, libreadline-dev, postgresql, librsvg2-bin, imagemagick, libsqlite3-dev, zlib1g-dev, libevent-dev, pkg-config, libpcre3-dev
2023-02-02 09:19:56,069: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
2023-02-02 09:19:56,070: DEBUG - ++ sort -u
2023-02-02 09:19:56,075: DEBUG - + local specific_php_version=
2023-02-02 09:19:56,076: DEBUG - + grep --quiet php
2023-02-02 09:19:56,079: DEBUG - ++ ynh_package_is_installed postgresql-13
2023-02-02 09:19:56,103: DEBUG - ++ ynh_wait_dpkg_free
2023-02-02 09:19:56,429: DEBUG - ++ return 0
2023-02-02 09:19:56,429: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2023-02-02 09:19:56,431: DEBUG - ++ grep --count 'ok installed'
2023-02-02 09:19:56,466: DEBUG - ++ echo yes
2023-02-02 09:19:56,467: DEBUG - + local psql_installed=yes
2023-02-02 09:19:56,468: DEBUG - + [[ true == \t\r\u\e ]]
2023-02-02 09:19:56,468: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2023-02-02 09:19:56,469: DEBUG - + cat
2023-02-02 09:19:56,471: DEBUG - + ynh_package_install_from_equivs /tmp/invidious-ynh-deps.control
2023-02-02 09:19:56,472: DEBUG - + local controlfile=/tmp/invidious-ynh-deps.control
2023-02-02 09:19:56,473: DEBUG - ++ grep '^Package: ' /tmp/invidious-ynh-deps.control
2023-02-02 09:19:56,474: DEBUG - ++ cut '--delimiter= ' --fields=2
2023-02-02 09:19:56,477: DEBUG - + local pkgname=invidious-ynh-deps
2023-02-02 09:19:56,479: DEBUG - ++ grep '^Version: ' /tmp/invidious-ynh-deps.control
2023-02-02 09:19:56,480: DEBUG - ++ cut '--delimiter= ' --fields=2
2023-02-02 09:19:56,484: DEBUG - + local pkgversion=23.01.29~ynh1
2023-02-02 09:19:56,485: DEBUG - + [[ -z invidious-ynh-deps ]]
2023-02-02 09:19:56,485: DEBUG - + [[ -z 23.01.29~ynh1 ]]
2023-02-02 09:19:56,486: DEBUG - + ynh_package_update
2023-02-02 09:19:56,486: DEBUG - + ynh_apt update
2023-02-02 09:19:56,487: DEBUG - + ynh_wait_dpkg_free
2023-02-02 09:19:56,824: DEBUG - + return 0
2023-02-02 09:19:56,825: DEBUG - + LC_ALL=C
2023-02-02 09:19:56,825: DEBUG - + DEBIAN_FRONTEND=noninteractive
2023-02-02 09:19:56,826: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2023-02-02 09:19:57,174: DEBUG - Hit:1 http://forge.yunohost.org/debian bullseye InRelease
2023-02-02 09:19:57,174: DEBUG - Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
2023-02-02 09:19:57,272: DEBUG - Hit:4 https://packages.sury.org/php bullseye InRelease
2023-02-02 09:19:57,278: DEBUG - Get:3 http://download.opensuse.org/repositories/devel:languages:crystal/Debian_Unstable  InRelease [1557 B]
2023-02-02 09:20:04,241: DEBUG - Hit:5 http://ftp.halifax.rwth-aachen.de/debian bullseye InRelease
2023-02-02 09:20:04,268: DEBUG - Hit:6 http://ftp.halifax.rwth-aachen.de/debian bullseye-updates InRelease
2023-02-02 09:20:11,261: DEBUG - Fetched 1557 B in 8s (194 B/s)
2023-02-02 09:20:13,308: DEBUG - Reading package lists...
2023-02-02 09:20:13,347: DEBUG - ++ mktemp --directory
2023-02-02 09:20:13,351: DEBUG - + local TMPDIR=/tmp/tmp.w2BbeBVD2g
2023-02-02 09:20:13,352: DEBUG - + rm -f /usr/share/equivs/template/debian/compat
2023-02-02 09:20:13,354: DEBUG - + ynh_wait_dpkg_free
2023-02-02 09:20:13,670: DEBUG - + return 0
2023-02-02 09:20:13,670: DEBUG - + cp /tmp/invidious-ynh-deps.control /tmp/tmp.w2BbeBVD2g/control
2023-02-02 09:20:13,674: DEBUG - + cd /tmp/tmp.w2BbeBVD2g
2023-02-02 09:20:13,675: DEBUG - + LC_ALL=C
2023-02-02 09:20:13,675: DEBUG - + equivs-build ./control
2023-02-02 09:20:14,172: DEBUG - dpkg-buildpackage: info: source package invidious-ynh-deps
2023-02-02 09:20:14,173: DEBUG - dpkg-buildpackage: info: source version 23.01.29~ynh1
2023-02-02 09:20:14,173: DEBUG - dpkg-buildpackage: info: source distribution unstable
2023-02-02 09:20:14,174: DEBUG - dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator <root@pk.maindomain.tld>
2023-02-02 09:20:14,303: DEBUG -  dpkg-source --before-build .
2023-02-02 09:20:14,303: DEBUG - dpkg-buildpackage: info: host architecture amd64
2023-02-02 09:20:14,669: DEBUG -  debian/rules clean
2023-02-02 09:20:14,673: DEBUG - dh clean
2023-02-02 09:20:14,962: DEBUG -    dh_clean
2023-02-02 09:20:15,082: DEBUG -  debian/rules binary
2023-02-02 09:20:15,087: DEBUG - dh binary
2023-02-02 09:20:15,330: DEBUG -    dh_update_autotools_config
2023-02-02 09:20:15,437: DEBUG -    dh_autoreconf
2023-02-02 09:20:15,586: DEBUG -    create-stamp debian/debhelper-build-stamp
2023-02-02 09:20:15,587: DEBUG -    dh_prep
2023-02-02 09:20:15,688: DEBUG -    dh_install
2023-02-02 09:20:15,807: DEBUG -    dh_installdocs
2023-02-02 09:20:15,943: DEBUG -    dh_installchangelogs
2023-02-02 09:20:16,243: DEBUG -    dh_perl
2023-02-02 09:20:16,371: DEBUG -    dh_link
2023-02-02 09:20:16,492: DEBUG -    dh_strip_nondeterminism
2023-02-02 09:20:16,695: DEBUG -    dh_compress
2023-02-02 09:20:16,843: DEBUG -    dh_fixperms
2023-02-02 09:20:16,987: DEBUG -    dh_missing
2023-02-02 09:20:17,079: DEBUG -    dh_installdeb
2023-02-02 09:20:17,199: DEBUG -    dh_gencontrol
2023-02-02 09:20:17,622: DEBUG -    dh_md5sums
2023-02-02 09:20:17,740: DEBUG -    dh_builddeb
2023-02-02 09:20:17,834: DEBUG - dpkg-deb: building package 'invidious-ynh-deps' in '../invidious-ynh-deps_23.01.29~ynh1_all.deb'.
2023-02-02 09:20:17,887: DEBUG -  dpkg-genbuildinfo --build=binary
2023-02-02 09:20:19,342: DEBUG -  dpkg-genchanges --build=binary >../invidious-ynh-deps_23.01.29~ynh1_amd64.changes
2023-02-02 09:20:19,633: DEBUG - dpkg-genchanges: info: binary-only upload (no source code included)
2023-02-02 09:20:19,643: DEBUG -  dpkg-source --after-build .
2023-02-02 09:20:20,018: DEBUG - dpkg-buildpackage: info: binary-only upload (no source included)
2023-02-02 09:20:20,030: DEBUG - 
2023-02-02 09:20:20,030: DEBUG - The package has been created.
2023-02-02 09:20:20,031: DEBUG - Attention, the package has been created in the current directory,
2023-02-02 09:20:20,031: DEBUG - not in ".." as indicated by the message above!
2023-02-02 09:20:20,034: DEBUG - + LC_ALL=C
2023-02-02 09:20:20,035: DEBUG - + dpkg --force-depends --install ./invidious-ynh-deps_23.01.29~ynh1_all.deb
2023-02-02 09:20:20,035: DEBUG - + tee ./dpkg_log
2023-02-02 09:20:20,153: DEBUG - Selecting previously unselected package invidious-ynh-deps.
2023-02-02 09:20:20,261: DEBUG - (Reading database ... 92776 files and directories currently installed.)
2023-02-02 09:20:20,272: DEBUG - Preparing to unpack .../invidious-ynh-deps_23.01.29~ynh1_all.deb ...
2023-02-02 09:20:20,291: DEBUG - Unpacking invidious-ynh-deps (23.01.29~ynh1) ...
2023-02-02 09:20:20,385: DEBUG - dpkg: invidious-ynh-deps: dependency problems, but configuring anyway as you requested:
2023-02-02 09:20:20,385: DEBUG -  invidious-ynh-deps depends on libssl-dev; however:
2023-02-02 09:20:20,386: DEBUG -   Package libssl-dev is not installed.
2023-02-02 09:20:20,386: DEBUG -  invidious-ynh-deps depends on libxml2-dev; however:
2023-02-02 09:20:20,386: DEBUG -   Package libxml2-dev is not installed.
2023-02-02 09:20:20,387: DEBUG -  invidious-ynh-deps depends on libyaml-dev; however:
2023-02-02 09:20:20,387: DEBUG -   Package libyaml-dev is not installed.
2023-02-02 09:20:20,387: DEBUG -  invidious-ynh-deps depends on libgmp-dev; however:
2023-02-02 09:20:20,387: DEBUG -   Package libgmp-dev is not installed.
2023-02-02 09:20:20,388: DEBUG -  invidious-ynh-deps depends on libreadline-dev; however:
2023-02-02 09:20:20,388: DEBUG -   Package libreadline-dev is not installed.
2023-02-02 09:20:20,388: DEBUG -  invidious-ynh-deps depends on postgresql; however:
2023-02-02 09:20:20,389: DEBUG -   Package postgresql is not installed.
2023-02-02 09:20:20,389: DEBUG -  invidious-ynh-deps depends on libsqlite3-dev; however:
2023-02-02 09:20:20,390: DEBUG -   Package libsqlite3-dev is not installed.
2023-02-02 09:20:20,390: DEBUG -  invidious-ynh-deps depends on libevent-dev; however:
2023-02-02 09:20:20,390: DEBUG -   Package libevent-dev is not installed.
2023-02-02 09:20:20,391: DEBUG -  invidious-ynh-deps depends on pkg-config; however:
2023-02-02 09:20:20,391: DEBUG -   Package pkg-config is not installed.
2023-02-02 09:20:20,391: DEBUG -  invidious-ynh-deps depends on libpcre3-dev; however:
2023-02-02 09:20:20,392: DEBUG -   Package libpcre3-dev is not installed.
2023-02-02 09:20:20,392: DEBUG - 
2023-02-02 09:20:20,393: DEBUG - Setting up invidious-ynh-deps (23.01.29~ynh1) ...
2023-02-02 09:20:20,458: DEBUG - + ynh_package_install --fix-broken
2023-02-02 09:20:20,459: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2023-02-02 09:20:20,459: DEBUG - + ynh_wait_dpkg_free
2023-02-02 09:20:20,791: DEBUG - + return 0
2023-02-02 09:20:20,792: DEBUG - + LC_ALL=C
2023-02-02 09:20:20,792: DEBUG - + DEBIAN_FRONTEND=noninteractive
2023-02-02 09:20:20,793: 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
2023-02-02 09:20:21,266: DEBUG - Reading package lists...
2023-02-02 09:20:21,633: DEBUG - Building dependency tree...
2023-02-02 09:20:21,636: DEBUG - Reading state information...
2023-02-02 09:20:22,088: DEBUG - Correcting dependencies... Done
2023-02-02 09:20:22,684: DEBUG - The following additional packages will be installed:
2023-02-02 09:20:22,685: DEBUG -   icu-devtools libevent-dev libevent-extra-2.1-7 libevent-openssl-2.1-7
2023-02-02 09:20:22,685: DEBUG -   libgmp-dev libgmpxx4ldbl libicu-dev libncurses-dev libpcre16-3 libpcre3-dev
2023-02-02 09:20:22,686: DEBUG -   libpcre32-3 libpcrecpp0v5 libreadline-dev libsqlite3-dev libssl-dev
2023-02-02 09:20:22,688: DEBUG -   libxml2-dev libyaml-dev pkg-config postgresql
2023-02-02 09:20:22,692: DEBUG - Suggested packages:
2023-02-02 09:20:22,693: DEBUG -   gmp-doc libgmp10-doc libmpfr-dev icu-doc ncurses-doc readline-doc
2023-02-02 09:20:22,693: DEBUG -   sqlite3-doc libssl-doc libyaml-doc postgresql-doc
2023-02-02 09:20:22,738: DEBUG - The following NEW packages will be installed:
2023-02-02 09:20:22,739: DEBUG -   icu-devtools libevent-dev libevent-extra-2.1-7 libevent-openssl-2.1-7
2023-02-02 09:20:22,740: DEBUG -   libgmp-dev libgmpxx4ldbl libicu-dev libncurses-dev libpcre16-3 libpcre3-dev
2023-02-02 09:20:22,740: DEBUG -   libpcre32-3 libpcrecpp0v5 libreadline-dev libsqlite3-dev libssl-dev
2023-02-02 09:20:22,742: DEBUG -   libxml2-dev libyaml-dev pkg-config postgresql
2023-02-02 09:20:24,031: DEBUG - 0 upgraded, 19 newly installed, 0 to remove and 0 not upgraded.
2023-02-02 09:20:24,031: DEBUG - Need to get 0 B/16.9 MB of archives.
2023-02-02 09:20:24,032: DEBUG - After this operation, 72.2 MB of additional disk space will be used.
2023-02-02 09:20:24,116: DEBUG - Selecting previously unselected package icu-devtools.
2023-02-02 09:20:24,216: DEBUG - (Reading database ... 92780 files and directories currently installed.)
2023-02-02 09:20:24,227: DEBUG - Preparing to unpack .../00-icu-devtools_67.1-7_amd64.deb ...
2023-02-02 09:20:24,236: DEBUG - Unpacking icu-devtools (67.1-7) ...
2023-02-02 09:20:24,371: DEBUG - Selecting previously unselected package libevent-extra-2.1-7:amd64.
2023-02-02 09:20:24,390: DEBUG - Preparing to unpack .../01-libevent-extra-2.1-7_2.1.12-stable-1_amd64.deb ...
2023-02-02 09:20:24,408: DEBUG - Unpacking libevent-extra-2.1-7:amd64 (2.1.12-stable-1) ...
2023-02-02 09:20:24,504: DEBUG - Selecting previously unselected package libevent-openssl-2.1-7:amd64.
2023-02-02 09:20:24,523: DEBUG - Preparing to unpack .../02-libevent-openssl-2.1-7_2.1.12-stable-1_amd64.deb ...
2023-02-02 09:20:24,531: DEBUG - Unpacking libevent-openssl-2.1-7:amd64 (2.1.12-stable-1) ...
2023-02-02 09:20:24,643: DEBUG - Selecting previously unselected package libevent-dev.
2023-02-02 09:20:24,662: DEBUG - Preparing to unpack .../03-libevent-dev_2.1.12-stable-1_amd64.deb ...
2023-02-02 09:20:24,670: DEBUG - Unpacking libevent-dev (2.1.12-stable-1) ...
2023-02-02 09:20:24,823: DEBUG - Selecting previously unselected package libgmpxx4ldbl:amd64.
2023-02-02 09:20:24,841: DEBUG - Preparing to unpack .../04-libgmpxx4ldbl_2%3a6.2.1+dfsg-1+deb11u1_amd64.deb ...
2023-02-02 09:20:24,847: DEBUG - Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-1+deb11u1) ...
2023-02-02 09:20:24,943: DEBUG - Selecting previously unselected package libgmp-dev:amd64.
2023-02-02 09:20:24,962: DEBUG - Preparing to unpack .../05-libgmp-dev_2%3a6.2.1+dfsg-1+deb11u1_amd64.deb ...
2023-02-02 09:20:24,969: DEBUG - Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg-1+deb11u1) ...
2023-02-02 09:20:25,110: DEBUG - Selecting previously unselected package libicu-dev:amd64.
2023-02-02 09:20:25,129: DEBUG - Preparing to unpack .../06-libicu-dev_67.1-7_amd64.deb ...
2023-02-02 09:20:25,138: DEBUG - Unpacking libicu-dev:amd64 (67.1-7) ...
2023-02-02 09:20:26,759: DEBUG - Selecting previously unselected package libncurses-dev:amd64.
2023-02-02 09:20:26,778: DEBUG - Preparing to unpack .../07-libncurses-dev_6.2+20201114-2_amd64.deb ...
2023-02-02 09:20:26,784: DEBUG - Unpacking libncurses-dev:amd64 (6.2+20201114-2) ...
2023-02-02 09:20:26,980: DEBUG - Selecting previously unselected package libpcre16-3:amd64.
2023-02-02 09:20:26,999: DEBUG - Preparing to unpack .../08-libpcre16-3_2%3a8.44-2+0~20210301.9+debian11~1.gbpa278ad_amd64.deb ...
2023-02-02 09:20:27,007: DEBUG - Unpacking libpcre16-3:amd64 (2:8.44-2+0~20210301.9+debian11~1.gbpa278ad) ...
2023-02-02 09:20:27,118: DEBUG - Selecting previously unselected package libpcre32-3:amd64.
2023-02-02 09:20:27,137: DEBUG - Preparing to unpack .../09-libpcre32-3_2%3a8.44-2+0~20210301.9+debian11~1.gbpa278ad_amd64.deb ...
2023-02-02 09:20:27,143: DEBUG - Unpacking libpcre32-3:amd64 (2:8.44-2+0~20210301.9+debian11~1.gbpa278ad) ...
2023-02-02 09:20:27,252: DEBUG - Selecting previously unselected package libpcrecpp0v5:amd64.
2023-02-02 09:20:27,271: DEBUG - Preparing to unpack .../10-libpcrecpp0v5_2%3a8.44-2+0~20210301.9+debian11~1.gbpa278ad_amd64.deb ...
2023-02-02 09:20:27,279: DEBUG - Unpacking libpcrecpp0v5:amd64 (2:8.44-2+0~20210301.9+debian11~1.gbpa278ad) ...
2023-02-02 09:20:27,370: DEBUG - Selecting previously unselected package libpcre3-dev:amd64.
2023-02-02 09:20:27,389: DEBUG - Preparing to unpack .../11-libpcre3-dev_2%3a8.44-2+0~20210301.9+debian11~1.gbpa278ad_amd64.deb ...
2023-02-02 09:20:27,397: DEBUG - Unpacking libpcre3-dev:amd64 (2:8.44-2+0~20210301.9+debian11~1.gbpa278ad) ...
2023-02-02 09:20:27,600: DEBUG - Selecting previously unselected package libreadline-dev:amd64.
2023-02-02 09:20:27,621: DEBUG - Preparing to unpack .../12-libreadline-dev_8.1-1_amd64.deb ...
2023-02-02 09:20:27,629: DEBUG - Unpacking libreadline-dev:amd64 (8.1-1) ...
2023-02-02 09:20:27,751: DEBUG - Selecting previously unselected package libsqlite3-dev:amd64.
2023-02-02 09:20:27,770: DEBUG - Preparing to unpack .../13-libsqlite3-dev_3.34.1-3_amd64.deb ...
2023-02-02 09:20:27,777: DEBUG - Unpacking libsqlite3-dev:amd64 (3.34.1-3) ...
2023-02-02 09:20:27,974: DEBUG - Selecting previously unselected package libssl-dev:amd64.
2023-02-02 09:20:27,993: DEBUG - Preparing to unpack .../14-libssl-dev_1.1.1n-0+deb11u3_amd64.deb ...
2023-02-02 09:20:27,999: DEBUG - Unpacking libssl-dev:amd64 (1.1.1n-0+deb11u3) ...
2023-02-02 09:20:28,345: DEBUG - Selecting previously unselected package libxml2-dev:amd64.
2023-02-02 09:20:28,364: DEBUG - Preparing to unpack .../15-libxml2-dev_2.9.14+dfsg-0+0~20220524.12+debian11~1.gbpc5dc45_amd64.deb ...
2023-02-02 09:20:28,371: DEBUG - Unpacking libxml2-dev:amd64 (2.9.14+dfsg-0+0~20220524.12+debian11~1.gbpc5dc45) ...
2023-02-02 09:20:28,594: DEBUG - Selecting previously unselected package libyaml-dev:amd64.
2023-02-02 09:20:28,616: DEBUG - Preparing to unpack .../16-libyaml-dev_0.2.2-1_amd64.deb ...
2023-02-02 09:20:28,624: DEBUG - Unpacking libyaml-dev:amd64 (0.2.2-1) ...
2023-02-02 09:20:28,726: DEBUG - Selecting previously unselected package pkg-config.
2023-02-02 09:20:28,750: DEBUG - Preparing to unpack .../17-pkg-config_0.29.2-1_amd64.deb ...
2023-02-02 09:20:28,759: DEBUG - Unpacking pkg-config (0.29.2-1) ...
2023-02-02 09:20:28,851: DEBUG - Selecting previously unselected package postgresql.
2023-02-02 09:20:28,869: DEBUG - Preparing to unpack .../18-postgresql_13+225_all.deb ...
2023-02-02 09:20:28,876: DEBUG - Unpacking postgresql (13+225) ...
2023-02-02 09:20:29,027: DEBUG - Setting up libpcrecpp0v5:amd64 (2:8.44-2+0~20210301.9+debian11~1.gbpa278ad) ...
2023-02-02 09:20:29,059: DEBUG - Setting up libevent-extra-2.1-7:amd64 (2.1.12-stable-1) ...
2023-02-02 09:20:29,082: DEBUG - Setting up libncurses-dev:amd64 (6.2+20201114-2) ...
2023-02-02 09:20:29,104: DEBUG - Setting up libpcre16-3:amd64 (2:8.44-2+0~20210301.9+debian11~1.gbpa278ad) ...
2023-02-02 09:20:29,124: DEBUG - Setting up libyaml-dev:amd64 (0.2.2-1) ...
2023-02-02 09:20:29,146: DEBUG - Setting up libevent-openssl-2.1-7:amd64 (2.1.12-stable-1) ...
2023-02-02 09:20:29,167: DEBUG - Setting up libreadline-dev:amd64 (8.1-1) ...
2023-02-02 09:20:29,188: DEBUG - Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-1+deb11u1) ...
2023-02-02 09:20:29,209: DEBUG - Setting up libsqlite3-dev:amd64 (3.34.1-3) ...
2023-02-02 09:20:29,232: DEBUG - Setting up libevent-dev (2.1.12-stable-1) ...
2023-02-02 09:20:29,255: DEBUG - Setting up libssl-dev:amd64 (1.1.1n-0+deb11u3) ...
2023-02-02 09:20:29,279: DEBUG - Setting up libpcre32-3:amd64 (2:8.44-2+0~20210301.9+debian11~1.gbpa278ad) ...
2023-02-02 09:20:29,303: DEBUG - Setting up icu-devtools (67.1-7) ...
2023-02-02 09:20:29,327: DEBUG - Setting up pkg-config (0.29.2-1) ...
2023-02-02 09:20:29,483: DEBUG - Setting up postgresql (13+225) ...
2023-02-02 09:20:29,503: DEBUG - Setting up libicu-dev:amd64 (67.1-7) ...
2023-02-02 09:20:29,525: DEBUG - Setting up libgmp-dev:amd64 (2:6.2.1+dfsg-1+deb11u1) ...
2023-02-02 09:20:29,545: DEBUG - Setting up libpcre3-dev:amd64 (2:8.44-2+0~20210301.9+debian11~1.gbpa278ad) ...
2023-02-02 09:20:29,567: DEBUG - Setting up libxml2-dev:amd64 (2.9.14+dfsg-0+0~20220524.12+debian11~1.gbpc5dc45) ...
2023-02-02 09:20:29,593: DEBUG - Processing triggers for man-db (2.9.4-2) ...
2023-02-02 09:20:33,263: DEBUG - Processing triggers for libc-bin (2.31-13+deb11u5) ...
2023-02-02 09:20:33,736: DEBUG - + [[ -n /tmp/tmp.w2BbeBVD2g ]]
2023-02-02 09:20:33,736: DEBUG - + rm --recursive --force /tmp/tmp.w2BbeBVD2g
2023-02-02 09:20:33,740: DEBUG - + ynh_package_is_installed invidious-ynh-deps
2023-02-02 09:20:33,763: DEBUG - + ynh_wait_dpkg_free
2023-02-02 09:20:34,101: DEBUG - + return 0
2023-02-02 09:20:34,102: DEBUG - + dpkg-query --show '--showformat=${Status}' invidious-ynh-deps
2023-02-02 09:20:34,102: DEBUG - + grep --count 'ok installed'
2023-02-02 09:20:34,147: DEBUG - + rm /tmp/invidious-ynh-deps.control
2023-02-02 09:20:34,151: DEBUG - ++ ynh_package_is_installed postgresql-13
2023-02-02 09:20:34,177: DEBUG - ++ ynh_wait_dpkg_free
2023-02-02 09:20:34,499: DEBUG - ++ return 0
2023-02-02 09:20:34,499: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2023-02-02 09:20:34,500: DEBUG - ++ grep --count 'ok installed'
2023-02-02 09:20:34,538: DEBUG - ++ echo yes
2023-02-02 09:20:34,539: DEBUG - + local psql_installed2=yes
2023-02-02 09:20:34,539: DEBUG - + [[ yes != \y\e\s ]]
2023-02-02 09:20:34,540: DEBUG - + ynh_exec_warn_less curl -fsSL https://crystal-lang.org/install.sh
2023-02-02 09:20:34,541: DEBUG - + [[ 3 -eq 1 ]]
2023-02-02 09:20:34,542: DEBUG - + curl -fsSL https://crystal-lang.org/install.sh
2023-02-02 09:20:34,542: DEBUG - + bash -s -- --channel=stable
2023-02-02 09:20:35,120: DEBUG - deb http://download.opensuse.org/repositories/devel:languages:crystal/Debian_Unstable/ /
2023-02-02 09:20:35,368: DEBUG - OK:2 http://security.debian.org/debian-security bullseye-security InRelease
2023-02-02 09:20:35,368: DEBUG - OK:3 http://ftp.halifax.rwth-aachen.de/debian bullseye InRelease
2023-02-02 09:20:35,388: DEBUG - Holen:1 http://download.opensuse.org/repositories/devel:languages:crystal/Debian_Unstable  InRelease [1.557 B]
2023-02-02 09:20:35,390: DEBUG - OK:4 http://ftp.halifax.rwth-aachen.de/debian bullseye-updates InRelease
2023-02-02 09:20:35,486: DEBUG - OK:5 https://packages.sury.org/php bullseye InRelease
2023-02-02 09:20:35,492: DEBUG - OK:6 http://forge.yunohost.org/debian bullseye InRelease
2023-02-02 09:20:45,874: DEBUG - Es wurden 1.557 B in 2 s geholt (769 B/s).
2023-02-02 09:20:47,919: DEBUG - Paketlisten werden gelesen…
2023-02-02 09:20:48,037: DEBUG - Paketlisten werden gelesen…
2023-02-02 09:20:48,434: DEBUG - Abhängigkeitsbaum wird aufgebaut…
2023-02-02 09:20:48,437: DEBUG - Statusinformationen werden eingelesen…
2023-02-02 09:20:49,234: DEBUG - Die folgenden NEUEN Pakete werden installiert:
2023-02-02 09:20:49,239: DEBUG -   crystal
2023-02-02 09:20:50,255: WARNING - debconf: kann Oberfläche nicht initialisieren: Dialog
2023-02-02 09:20:50,256: WARNING - debconf: (TERM ist nicht gesetzt, die Dialog-Oberfläche kann daher nicht verwendet werden.)
2023-02-02 09:20:50,257: WARNING - debconf: greife zurück auf die Oberfläche: Readline
2023-02-02 09:20:50,277: WARNING - debconf: kann Oberfläche nicht initialisieren: Readline
2023-02-02 09:20:50,278: WARNING - debconf: (Diese Oberfläche bedarf eines steuernden Terminals.)
2023-02-02 09:20:50,279: WARNING - debconf: greife zurück auf die Oberfläche: Teletype
2023-02-02 09:20:50,291: WARNING - dpkg-preconfigure: kann Stdin nicht wieder öffnen:
2023-02-02 09:20:50,470: DEBUG - 0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
2023-02-02 09:20:50,470: DEBUG - Es müssen noch 0 B von 27,9 MB an Archiven heruntergeladen werden.
2023-02-02 09:20:50,471: DEBUG - Nach dieser Operation werden 119 MB Plattenplatz zusätzlich benutzt.
2023-02-02 09:20:50,560: DEBUG - Vormals nicht ausgewähltes Paket crystal wird gewählt.
2023-02-02 09:20:50,660: DEBUG - (Lese Datenbank ... 
(Lese Datenbank ... 5%
(Lese Datenbank ... 10%
(Lese Datenbank ... 15%
(Lese Datenbank ... 20%
(Lese Datenbank ... 25%
(Lese Datenbank ... 30%
(Lese Datenbank ... 35%
(Lese Datenbank ... 40%
(Lese Datenbank ... 45%
(Lese Datenbank ... 50%
(Lese Datenbank ... 55%
(Lese Datenbank ... 60%
(Lese Datenbank ... 65%
(Lese Datenbank ... 70%
(Lese Datenbank ... 75%
(Lese Datenbank ... 80%
(Lese Datenbank ... 85%
(Lese Datenbank ... 90%
(Lese Datenbank ... 95%
(Lese Datenbank ... 100%
(Lese Datenbank ... 93604 Dateien und Verzeichnisse sind derzeit installiert.)
2023-02-02 09:20:50,671: DEBUG - Vorbereitung zum Entpacken von .../crystal_1.7.2-1+2.6_amd64.deb ...
2023-02-02 09:20:50,679: DEBUG - Entpacken von crystal (1.7.2-1+2.6) ...
2023-02-02 09:20:55,832: DEBUG - crystal (1.7.2-1+2.6) wird eingerichtet ...
2023-02-02 09:20:55,867: DEBUG - Trigger für man-db (2.9.4-2) werden verarbeitet ...
2023-02-02 09:21:00,569: INFO - [###.................] > Configuring system user...
2023-02-02 09:21:00,570: DEBUG - + ynh_system_user_create --username=invidious --home_dir=/var/www/invidious
2023-02-02 09:21:00,701: DEBUG - + use_shell=0
2023-02-02 09:21:00,702: DEBUG - + home_dir=/var/www/invidious
2023-02-02 09:21:00,702: DEBUG - + groups=
2023-02-02 09:21:00,702: DEBUG - + ynh_system_user_exists invidious
2023-02-02 09:21:00,724: DEBUG - + getent passwd invidious
2023-02-02 09:21:00,735: DEBUG - + '[' -n /var/www/invidious ']'
2023-02-02 09:21:00,736: DEBUG - + local 'user_home_dir=--home-dir /var/www/invidious'
2023-02-02 09:21:00,736: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2023-02-02 09:21:00,737: DEBUG - + useradd --home-dir /var/www/invidious --system --user-group invidious --shell /usr/sbin/nologin
2023-02-02 09:21:01,033: INFO - [###+................] > Creating a PostgreSQL database...
2023-02-02 09:21:01,034: DEBUG - ++ ynh_sanitize_dbid --db_name=invidious
2023-02-02 09:21:01,058: DEBUG - ++ echo invidious
2023-02-02 09:21:01,059: DEBUG - + db_name=invidious
2023-02-02 09:21:01,059: DEBUG - + db_user=invidious
2023-02-02 09:21:01,060: DEBUG - + ynh_app_setting_set --app=invidious --key=db_name --value=invidious
2023-02-02 09:21:01,060: DEBUG - + local _globalapp=invidious
2023-02-02 09:21:01,208: DEBUG - + app=invidious
2023-02-02 09:21:01,209: DEBUG - + [[ db_name =~ (unprotected|protected|skipped)_ ]]
2023-02-02 09:21:01,209: DEBUG - + ynh_app_setting set invidious db_name invidious
2023-02-02 09:21:01,349: DEBUG - + ynh_psql_test_if_first_run
2023-02-02 09:21:01,350: DEBUG - + dpkg --list
2023-02-02 09:21:01,350: DEBUG - + grep -q 'ii  postgresql-13'
2023-02-02 09:21:01,409: DEBUG - + yunohost tools regen-conf postgresql
2023-02-02 09:21:05,213: DEBUG - + ynh_psql_setup_db --db_user=invidious --db_name=invidious
2023-02-02 09:21:05,215: DEBUG - + db_pwd=
2023-02-02 09:21:05,326: DEBUG - + ynh_psql_user_exists --user=invidious
2023-02-02 09:21:05,350: DEBUG - + grep --quiet invidious
2023-02-02 09:21:05,351: DEBUG - ++ cat /etc/yunohost/psql
2023-02-02 09:21:05,354: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql -tAc 'SELECT rolname FROM pg_roles WHERE rolname='\''invidious'\'';'
2023-02-02 09:21:05,557: DEBUG - + return 1
2023-02-02 09:21:05,558: DEBUG - ++ ynh_string_random
2023-02-02 09:21:05,562: DEBUG - ++ length=24
2023-02-02 09:21:05,563: DEBUG - ++ filter=A-Za-z0-9
2023-02-02 09:21:05,563: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2023-02-02 09:21:05,564: DEBUG - ++ tr --complement --delete A-Za-z0-9
2023-02-02 09:21:05,564: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2023-02-02 09:21:05,572: DEBUG - + local new_db_pwd=**********
2023-02-02 09:21:05,572: DEBUG - + db_pwd=**********
2023-02-02 09:21:05,573: DEBUG - + ynh_psql_create_user invidious **********
2023-02-02 09:21:05,573: DEBUG - + local user=invidious
2023-02-02 09:21:05,573: DEBUG - + local pwd=**********
2023-02-02 09:21:05,574: DEBUG - + ynh_psql_execute_as_root '--sql=CREATE USER invidious WITH ENCRYPTED PASSWORD '\''**********'\'''
2023-02-02 09:21:05,608: DEBUG - + database=
2023-02-02 09:21:05,609: DEBUG - + '[' -n '' ']'
2023-02-02 09:21:05,610: DEBUG - ++ cat /etc/yunohost/psql
2023-02-02 09:21:05,613: DEBUG - + ynh_psql_connect_as --user=postgres --password=**********
2023-02-02 09:21:05,710: DEBUG - + database=
2023-02-02 09:21:05,710: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql ''
2023-02-02 09:21:05,899: DEBUG - CREATE ROLE
2023-02-02 09:21:05,904: DEBUG - + ynh_psql_create_db invidious invidious
2023-02-02 09:21:05,905: DEBUG - + local db=invidious
2023-02-02 09:21:05,906: DEBUG - + local user=invidious
2023-02-02 09:21:05,906: DEBUG - + local 'sql=CREATE DATABASE invidious;'
2023-02-02 09:21:05,906: DEBUG - + '[' -n invidious ']'
2023-02-02 09:21:05,906: DEBUG - + sql+='ALTER DATABASE invidious OWNER TO invidious;'
2023-02-02 09:21:05,907: DEBUG - + sql+='GRANT ALL PRIVILEGES ON DATABASE invidious TO invidious WITH GRANT OPTION;'
2023-02-02 09:21:05,907: DEBUG - + ynh_psql_execute_as_root '--sql=CREATE DATABASE invidious;ALTER DATABASE invidious OWNER TO invidious;GRANT ALL PRIVILEGES ON DATABASE invidious TO invidious WITH GRANT OPTION;'
2023-02-02 09:21:05,943: DEBUG - + database=
2023-02-02 09:21:05,943: DEBUG - + '[' -n '' ']'
2023-02-02 09:21:05,944: DEBUG - ++ cat /etc/yunohost/psql
2023-02-02 09:21:05,947: DEBUG - + ynh_psql_connect_as --user=postgres --password=**********
2023-02-02 09:21:06,048: DEBUG - + database=
2023-02-02 09:21:06,049: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql ''
2023-02-02 09:21:06,361: DEBUG - CREATE DATABASE
2023-02-02 09:21:06,362: DEBUG - ALTER DATABASE
2023-02-02 09:21:06,364: DEBUG - GRANT
2023-02-02 09:21:06,369: DEBUG - + ynh_app_setting_set --app=invidious --key=psqlpwd --value=**********
2023-02-02 09:21:06,369: DEBUG - + local _globalapp=invidious
2023-02-02 09:21:06,520: DEBUG - + app=invidious
2023-02-02 09:21:06,521: DEBUG - + [[ psqlpwd =~ (unprotected|protected|skipped)_ ]]
2023-02-02 09:21:06,521: DEBUG - + ynh_app_setting set invidious psqlpwd **********
2023-02-02 09:21:06,834: INFO - [####+...............] > Setting up source files...
2023-02-02 09:21:06,835: DEBUG - + ynh_app_setting_set --app=invidious --key=final_path --value=/var/www/invidious
2023-02-02 09:21:06,836: DEBUG - + local _globalapp=invidious
2023-02-02 09:21:06,991: DEBUG - + app=invidious
2023-02-02 09:21:06,991: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)_ ]]
2023-02-02 09:21:06,992: DEBUG - + ynh_app_setting set invidious final_path /var/www/invidious
2023-02-02 09:21:07,130: DEBUG - + git clone https://github.com/iv-org/invidious /var/www/invidious --quiet
2023-02-02 09:21:11,613: DEBUG - + pushd /var/www/invidious
2023-02-02 09:21:11,614: DEBUG - /var/www/invidious /var/cache/yunohost/app_tmp_work_dirs/app_d8vv55ly/scripts
2023-02-02 09:21:11,614: DEBUG - + git reset --hard --quiet 3b8e6c6040fe341fe4b9fc16cdbd3aea697dfad3
2023-02-02 09:21:11,760: DEBUG - + popd
2023-02-02 09:21:11,761: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_d8vv55ly/scripts
2023-02-02 09:21:11,762: DEBUG - + for i in $final_path/config/sql/*.sql
2023-02-02 09:21:11,762: DEBUG - + ynh_replace_string --match_string=kemal --replace_string=invidious --target_file=/var/www/invidious/config/sql/annotations.sql
2023-02-02 09:21:11,926: DEBUG - + sed --in-place s@kemal@invidious@g /var/www/invidious/config/sql/annotations.sql
2023-02-02 09:21:11,930: DEBUG - + ynh_psql_connect_as --user=invidious --password=********** --database=invidious
2023-02-02 09:21:12,073: DEBUG - + database=invidious
2023-02-02 09:21:12,073: DEBUG - + sudo --login --user=postgres PGUSER=invidious PGPASSWORD=********** psql invidious
2023-02-02 09:21:12,296: DEBUG - CREATE TABLE
2023-02-02 09:21:12,298: DEBUG - GRANT
2023-02-02 09:21:12,303: DEBUG - + for i in $final_path/config/sql/*.sql
2023-02-02 09:21:12,303: DEBUG - + ynh_replace_string --match_string=kemal --replace_string=invidious --target_file=/var/www/invidious/config/sql/channels.sql
2023-02-02 09:21:12,454: DEBUG - + sed --in-place s@kemal@invidious@g /var/www/invidious/config/sql/channels.sql
2023-02-02 09:21:12,457: DEBUG - + ynh_psql_connect_as --user=invidious --password=********** --database=invidious
2023-02-02 09:21:12,603: DEBUG - + database=invidious
2023-02-02 09:21:12,603: DEBUG - + sudo --login --user=postgres PGUSER=invidious PGPASSWORD=********** psql invidious
2023-02-02 09:21:12,806: DEBUG - CREATE TABLE
2023-02-02 09:21:12,807: DEBUG - GRANT
2023-02-02 09:21:12,813: DEBUG - CREATE INDEX
2023-02-02 09:21:12,820: DEBUG - + for i in $final_path/config/sql/*.sql
2023-02-02 09:21:12,821: DEBUG - + ynh_replace_string --match_string=kemal --replace_string=invidious --target_file=/var/www/invidious/config/sql/channel_videos.sql
2023-02-02 09:21:12,978: DEBUG - + sed --in-place s@kemal@invidious@g /var/www/invidious/config/sql/channel_videos.sql
2023-02-02 09:21:12,982: DEBUG - + ynh_psql_connect_as --user=invidious --password=********** --database=invidious
2023-02-02 09:21:13,124: DEBUG - + database=invidious
2023-02-02 09:21:13,124: DEBUG - + sudo --login --user=postgres PGUSER=invidious PGPASSWORD=********** psql invidious
2023-02-02 09:21:13,331: DEBUG - CREATE TABLE
2023-02-02 09:21:13,334: DEBUG - GRANT
2023-02-02 09:21:13,341: DEBUG - CREATE INDEX
2023-02-02 09:21:13,347: DEBUG - + for i in $final_path/config/sql/*.sql
2023-02-02 09:21:13,347: DEBUG - + ynh_replace_string --match_string=kemal --replace_string=invidious --target_file=/var/www/invidious/config/sql/nonces.sql
2023-02-02 09:21:13,501: DEBUG - + sed --in-place s@kemal@invidious@g /var/www/invidious/config/sql/nonces.sql
2023-02-02 09:21:13,505: DEBUG - + ynh_psql_connect_as --user=invidious --password=********** --database=invidious
2023-02-02 09:21:13,649: DEBUG - + database=invidious
2023-02-02 09:21:13,649: DEBUG - + sudo --login --user=postgres PGUSER=invidious PGPASSWORD=********** psql invidious
2023-02-02 09:21:13,858: DEBUG - CREATE TABLE
2023-02-02 09:21:13,860: DEBUG - GRANT
2023-02-02 09:21:13,866: DEBUG - CREATE INDEX
2023-02-02 09:21:13,871: DEBUG - + for i in $final_path/config/sql/*.sql
2023-02-02 09:21:13,872: DEBUG - + ynh_replace_string --match_string=kemal --replace_string=invidious --target_file=/var/www/invidious/config/sql/playlists.sql
2023-02-02 09:21:14,023: DEBUG - + sed --in-place s@kemal@invidious@g /var/www/invidious/config/sql/playlists.sql
2023-02-02 09:21:14,027: DEBUG - + ynh_psql_connect_as --user=invidious --password=********** --database=invidious
2023-02-02 09:21:14,177: DEBUG - + database=invidious
2023-02-02 09:21:14,177: DEBUG - + sudo --login --user=postgres PGUSER=invidious PGPASSWORD=********** psql invidious
2023-02-02 09:21:14,371: DEBUG - CREATE TYPE
2023-02-02 09:21:14,388: DEBUG - CREATE TABLE
2023-02-02 09:21:14,390: DEBUG - GRANT
2023-02-02 09:21:14,395: DEBUG - + for i in $final_path/config/sql/*.sql
2023-02-02 09:21:14,396: DEBUG - + ynh_replace_string --match_string=kemal --replace_string=invidious --target_file=/var/www/invidious/config/sql/playlist_videos.sql
2023-02-02 09:21:14,544: DEBUG - + sed --in-place s@kemal@invidious@g /var/www/invidious/config/sql/playlist_videos.sql
2023-02-02 09:21:14,549: DEBUG - + ynh_psql_connect_as --user=invidious --password=********** --database=invidious
2023-02-02 09:21:14,691: DEBUG - + database=invidious
2023-02-02 09:21:14,691: DEBUG - + sudo --login --user=postgres PGUSER=invidious PGPASSWORD=********** psql invidious
2023-02-02 09:21:14,901: DEBUG - CREATE TABLE
2023-02-02 09:21:14,903: DEBUG - GRANT
2023-02-02 09:21:14,908: DEBUG - + for i in $final_path/config/sql/*.sql
2023-02-02 09:21:14,908: DEBUG - + ynh_replace_string --match_string=kemal --replace_string=invidious --target_file=/var/www/invidious/config/sql/session_ids.sql
2023-02-02 09:21:15,048: DEBUG - + sed --in-place s@kemal@invidious@g /var/www/invidious/config/sql/session_ids.sql
2023-02-02 09:21:15,052: DEBUG - + ynh_psql_connect_as --user=invidious --password=********** --database=invidious
2023-02-02 09:21:15,190: DEBUG - + database=invidious
2023-02-02 09:21:15,191: DEBUG - + sudo --login --user=postgres PGUSER=invidious PGPASSWORD=********** psql invidious
2023-02-02 09:21:15,395: DEBUG - CREATE TABLE
2023-02-02 09:21:15,396: DEBUG - GRANT
2023-02-02 09:21:15,401: DEBUG - CREATE INDEX
2023-02-02 09:21:15,406: DEBUG - + for i in $final_path/config/sql/*.sql
2023-02-02 09:21:15,407: DEBUG - + ynh_replace_string --match_string=kemal --replace_string=invidious --target_file=/var/www/invidious/config/sql/users.sql
2023-02-02 09:21:15,574: DEBUG - + sed --in-place s@kemal@invidious@g /var/www/invidious/config/sql/users.sql
2023-02-02 09:21:15,579: DEBUG - + ynh_psql_connect_as --user=invidious --password=********** --database=invidious
2023-02-02 09:21:15,736: DEBUG - + database=invidious
2023-02-02 09:21:15,736: DEBUG - + sudo --login --user=postgres PGUSER=invidious PGPASSWORD=********** psql invidious
2023-02-02 09:21:15,956: DEBUG - CREATE TABLE
2023-02-02 09:21:15,959: DEBUG - GRANT
2023-02-02 09:21:15,967: DEBUG - CREATE INDEX
2023-02-02 09:21:15,973: DEBUG - + for i in $final_path/config/sql/*.sql
2023-02-02 09:21:15,973: DEBUG - + ynh_replace_string --match_string=kemal --replace_string=invidious --target_file=/var/www/invidious/config/sql/videos.sql
2023-02-02 09:21:16,129: DEBUG - + sed --in-place s@kemal@invidious@g /var/www/invidious/config/sql/videos.sql
2023-02-02 09:21:16,134: DEBUG - + ynh_psql_connect_as --user=invidious --password=********** --database=invidious
2023-02-02 09:21:16,288: DEBUG - + database=invidious
2023-02-02 09:21:16,289: DEBUG - + sudo --login --user=postgres PGUSER=invidious PGPASSWORD=********** psql invidious
2023-02-02 09:21:16,506: DEBUG - CREATE TABLE
2023-02-02 09:21:16,508: DEBUG - GRANT
2023-02-02 09:21:16,513: DEBUG - CREATE INDEX
2023-02-02 09:21:16,519: DEBUG - + chmod 750 /var/www/invidious
2023-02-02 09:21:16,521: DEBUG - + chmod -R o-rwx /var/www/invidious
2023-02-02 09:21:16,531: DEBUG - + chown -R invidious:www-data /var/www/invidious
2023-02-02 09:21:16,721: INFO - [#####...............] > Configuring NGINX web server...
2023-02-02 09:21:16,722: DEBUG - + ynh_add_nginx_config
2023-02-02 09:21:16,722: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:16,722: DEBUG - + ynh_add_config --template=nginx.conf --destination=/etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:16,792: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_d8vv55ly/conf/nginx.conf ']'
2023-02-02 09:21:16,793: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_d8vv55ly/conf/nginx.conf
2023-02-02 09:21:16,793: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:16,815: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_invi.maindomain.tld.d_invidious.conf
2023-02-02 09:21:16,817: DEBUG - ++ ynh_app_setting_get --app=invidious --key=checksum__etc_nginx_conf.d_invi.maindomain.tld.d_invidious.conf
2023-02-02 09:21:16,818: DEBUG - ++ local _globalapp=invidious
2023-02-02 09:21:16,885: DEBUG - ++ app=invidious
2023-02-02 09:21:16,885: DEBUG - ++ [[ checksum__etc_nginx_conf.d_invi.maindomain.tld.d_invidious.conf =~ (unprotected|protected|skipped)_ ]]
2023-02-02 09:21:16,886: DEBUG - ++ ynh_app_setting get invidious checksum__etc_nginx_conf.d_invi.maindomain.tld.d_invidious.conf
2023-02-02 09:21:17,019: DEBUG - + local checksum_value=
2023-02-02 09:21:17,019: DEBUG - + backup_file_checksum=
2023-02-02 09:21:17,020: DEBUG - + '[' -n '' ']'
2023-02-02 09:21:17,021: DEBUG - + touch /etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:17,021: DEBUG - + chown root:root /etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:17,030: DEBUG - + chmod 640 /etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:17,034: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_d8vv55ly/conf/nginx.conf /etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:17,039: DEBUG - + _ynh_apply_default_permissions /etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:17,040: DEBUG - + local target=/etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:17,042: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2023-02-02 09:21:17,043: DEBUG - ++ tr -d '<>= '
2023-02-02 09:21:17,081: DEBUG - ++ '[' '!' -e '' ']'
2023-02-02 09:21:17,081: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_d8vv55ly/manifest.json ']'
2023-02-02 09:21:17,082: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_d8vv55ly/manifest.json
2023-02-02 09:21:17,082: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_d8vv55ly/manifest.json
2023-02-02 09:21:17,082: DEBUG - ++ grep -q '\.json$'
2023-02-02 09:21:17,085: DEBUG - ++ jq .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_d8vv55ly/manifest.json --raw-output
2023-02-02 09:21:17,167: DEBUG - + local ynh_requirement=11.0.9
2023-02-02 09:21:17,168: DEBUG - + dpkg --compare-versions 1.0 ge 2
2023-02-02 09:21:17,173: DEBUG - + '[' -z 11.0.9 ']'
2023-02-02 09:21:17,173: DEBUG - + '[' 11.0.9 == null ']'
2023-02-02 09:21:17,174: DEBUG - + dpkg --compare-versions 11.0.9 ge 4.2
2023-02-02 09:21:17,177: DEBUG - + chmod o-rwx /etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:17,180: DEBUG - + chmod g-w /etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:17,183: DEBUG - + chown -R root:root /etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:17,187: DEBUG - + ynh_system_user_exists invidious
2023-02-02 09:21:17,213: DEBUG - + getent passwd invidious
2023-02-02 09:21:17,217: DEBUG - + chown invidious:invidious /etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:17,229: DEBUG - + echo /etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:17,229: DEBUG - + grep -q '^/etc/cron'
2023-02-02 09:21:17,234: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:17,259: DEBUG - + test -n /
2023-02-02 09:21:17,260: DEBUG - + local path_url_slash_less=
2023-02-02 09:21:17,260: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:17,406: DEBUG - + sed --in-place s@__PATH__/@/@g /etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:17,410: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:17,559: DEBUG - + sed --in-place s@__PATH__@/@g /etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:17,564: DEBUG - + test -n invidious
2023-02-02 09:21:17,564: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=invidious --target_file=/etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:17,711: DEBUG - + sed --in-place s@__NAME__@invidious@g /etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:17,714: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=invidious --target_file=/etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:17,860: DEBUG - + sed --in-place s@__NAMETOCHANGE__@invidious@g /etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:17,865: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=invidious --target_file=/etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:18,016: DEBUG - + sed --in-place s@__USER__@invidious@g /etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:18,020: DEBUG - + test -n /var/www/invidious
2023-02-02 09:21:18,021: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/invidious --target_file=/etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:18,166: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/invidious@g /etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:18,170: DEBUG - + ynh_replace_string --match_string=__INSTALL_DIR__ --replace_string=/var/www/invidious --target_file=/etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:18,322: DEBUG - + sed --in-place s@__INSTALL_DIR__@/var/www/invidious@g /etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:18,326: DEBUG - + test -n 7.4
2023-02-02 09:21:18,327: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.4 --target_file=/etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:18,473: DEBUG - + sed --in-place s@__PHPVERSION__@7.4@g /etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:18,476: DEBUG - + test -n ''
2023-02-02 09:21:18,478: DEBUG - ++ sort --unique
2023-02-02 09:21:18,479: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:18,479: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2023-02-02 09:21:18,485: DEBUG - + uniques_vars=('port')
2023-02-02 09:21:18,486: DEBUG - + local delimit=@
2023-02-02 09:21:18,486: DEBUG - + for one_var in "${uniques_vars[@]}"
2023-02-02 09:21:18,486: DEBUG - + [[ -v port ]]
2023-02-02 09:21:18,487: DEBUG - + match_string=__PORT__
2023-02-02 09:21:18,487: DEBUG - + match_string=__PORT__
2023-02-02 09:21:18,487: DEBUG - + replace_string=3000
2023-02-02 09:21:18,487: DEBUG - + replace_string=3000
2023-02-02 09:21:18,488: DEBUG - + replace_string=3000
2023-02-02 09:21:18,488: DEBUG - + sed --in-place s@__PORT__@3000@g /etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:18,489: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:18,491: DEBUG - + update_only=0
2023-02-02 09:21:18,527: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_invi.maindomain.tld.d_invidious.conf
2023-02-02 09:21:18,528: DEBUG - ++ md5sum /etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:18,529: DEBUG - ++ cut '--delimiter= ' --fields=1
2023-02-02 09:21:18,533: DEBUG - + ynh_app_setting_set --app=invidious --key=checksum__etc_nginx_conf.d_invi.maindomain.tld.d_invidious.conf --value=39db1c0f8e11cbba33ad3392010877bd
2023-02-02 09:21:18,534: DEBUG - + local _globalapp=invidious
2023-02-02 09:21:18,685: DEBUG - + app=invidious
2023-02-02 09:21:18,685: DEBUG - + [[ checksum__etc_nginx_conf.d_invi.maindomain.tld.d_invidious.conf =~ (unprotected|protected|skipped)_ ]]
2023-02-02 09:21:18,686: DEBUG - + ynh_app_setting set invidious checksum__etc_nginx_conf.d_invi.maindomain.tld.d_invidious.conf 39db1c0f8e11cbba33ad3392010877bd
2023-02-02 09:21:18,821: DEBUG - + '[' -n '' ']'
2023-02-02 09:21:18,822: DEBUG - + unset backup_file_checksum
2023-02-02 09:21:18,822: DEBUG - + '[' / '!=' / ']'
2023-02-02 09:21:18,823: DEBUG - + ynh_replace_string '--match_string=^#root_path_only' --replace_string= --target_file=/etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:18,991: DEBUG - + sed --in-place 's@^#root_path_only@@g' /etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:18,995: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:18,998: DEBUG - + update_only=0
2023-02-02 09:21:19,039: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_invi.maindomain.tld.d_invidious.conf
2023-02-02 09:21:19,041: DEBUG - ++ md5sum /etc/nginx/conf.d/invi.maindomain.tld.d/invidious.conf
2023-02-02 09:21:19,042: DEBUG - ++ cut '--delimiter= ' --fields=1
2023-02-02 09:21:19,046: DEBUG - + ynh_app_setting_set --app=invidious --key=checksum__etc_nginx_conf.d_invi.maindomain.tld.d_invidious.conf --value=39db1c0f8e11cbba33ad3392010877bd
2023-02-02 09:21:19,047: DEBUG - + local _globalapp=invidious
2023-02-02 09:21:19,201: DEBUG - + app=invidious
2023-02-02 09:21:19,202: DEBUG - + [[ checksum__etc_nginx_conf.d_invi.maindomain.tld.d_invidious.conf =~ (unprotected|protected|skipped)_ ]]
2023-02-02 09:21:19,202: DEBUG - + ynh_app_setting set invidious checksum__etc_nginx_conf.d_invi.maindomain.tld.d_invidious.conf 39db1c0f8e11cbba33ad3392010877bd
2023-02-02 09:21:19,337: DEBUG - + '[' -n '' ']'
2023-02-02 09:21:19,338: DEBUG - + unset backup_file_checksum
2023-02-02 09:21:19,338: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2023-02-02 09:21:19,545: DEBUG - + service_name=nginx
2023-02-02 09:21:19,545: DEBUG - + action=reload
2023-02-02 09:21:19,545: DEBUG - + line_match=
2023-02-02 09:21:19,546: DEBUG - + length=20
2023-02-02 09:21:19,546: DEBUG - + log_path=/var/log/nginx/nginx.log
2023-02-02 09:21:19,546: DEBUG - + timeout=300
2023-02-02 09:21:19,547: DEBUG - + '[' reload == stop ']'
2023-02-02 09:21:19,547: DEBUG - + '[' reload == reload ']'
2023-02-02 09:21:19,548: DEBUG - + action=reload-or-restart
2023-02-02 09:21:19,548: DEBUG - + systemctl reload-or-restart nginx
2023-02-02 09:21:19,934: INFO - [#####++++++++++++...] > Building Invidious.. (this will take some time and resources!)
2023-02-02 09:21:19,935: DEBUG - + pushd /var/www/invidious
2023-02-02 09:21:19,936: DEBUG - /var/www/invidious /var/cache/yunohost/app_tmp_work_dirs/app_d8vv55ly/scripts
2023-02-02 09:21:19,936: DEBUG - + ynh_exec_warn_less shards install --production
2023-02-02 09:21:19,936: DEBUG - + [[ 3 -eq 1 ]]
2023-02-02 09:21:19,937: DEBUG - + shards install --production
2023-02-02 09:21:19,941: DEBUG - e[32mResolvinge[0m dependencies
2023-02-02 09:21:19,948: DEBUG - e[32mFetchinge[0m https://github.com/will/crystal-pg.git
2023-02-02 09:21:19,948: DEBUG - e[32mFetchinge[0m https://github.com/crystal-lang/crystal-sqlite3.git
2023-02-02 09:21:19,949: DEBUG - e[32mFetchinge[0m https://github.com/kemalcr/kemal.git
2023-02-02 09:21:19,949: DEBUG - e[32mFetchinge[0m https://github.com/jeromegn/kilt.git
2023-02-02 09:21:19,950: DEBUG - e[32mFetchinge[0m https://github.com/iv-org/protodec.git
2023-02-02 09:21:19,950: DEBUG - e[32mFetchinge[0m https://github.com/iv-org/lsquic.cr.git
2023-02-02 09:21:19,951: DEBUG - e[32mFetchinge[0m https://github.com/athena-framework/negotiation.git
2023-02-02 09:21:24,993: DEBUG - e[32mFetchinge[0m https://github.com/crystal-lang/crystal-db.git
2023-02-02 09:21:26,431: DEBUG - e[32mFetchinge[0m https://github.com/luislavena/radix.git
2023-02-02 09:21:26,432: DEBUG - e[32mFetchinge[0m https://github.com/crystal-loot/exception_page.git
2023-02-02 09:21:27,258: DEBUG - e[32mFetchinge[0m https://github.com/sija/backtracer.cr.git
2023-02-02 09:21:28,529: DEBUG - e[32mInstallinge[0m db (0.10.1)
2023-02-02 09:21:28,548: DEBUG - e[32mInstallinge[0m pg (0.24.0)
2023-02-02 09:21:28,568: DEBUG - e[32mInstallinge[0m sqlite3 (0.18.0)
2023-02-02 09:21:28,580: DEBUG - e[32mInstallinge[0m radix (0.4.1)
2023-02-02 09:21:28,596: DEBUG - e[32mInstallinge[0m backtracer (1.2.1)
2023-02-02 09:21:28,608: DEBUG - e[32mInstallinge[0m exception_page (0.2.2)
2023-02-02 09:21:28,623: DEBUG - e[32mInstallinge[0m kemal (1.1.2)
2023-02-02 09:21:28,645: DEBUG - e[32mInstallinge[0m kilt (0.6.1)
2023-02-02 09:21:28,658: DEBUG - e[32mInstallinge[0m protodec (0.1.5)
2023-02-02 09:21:28,670: DEBUG - e[32mInstallinge[0m lsquic (2.18.1-2)
2023-02-02 09:21:28,857: DEBUG - e[32mInstallinge[0m athena-negotiation (0.1.1)
2023-02-02 09:21:28,894: DEBUG - + ynh_exec_warn_less crystal build /var/www/invidious/src/invidious.cr --release
2023-02-02 09:21:28,894: DEBUG - + [[ 4 -eq 1 ]]
2023-02-02 09:21:28,895: DEBUG - + crystal build /var/www/invidious/src/invidious.cr --release
2023-02-02 09:21:31,382: DEBUG - 
2023-02-02 09:21:31,382: DEBUG - Checking player dependencies, this may take more than 20 minutes... If it is stuck, check your internet connection.
2023-02-02 09:23:24,856: DEBUG - e[32mResolvinge[0m e[34mplayere[0m dependencies
2023-02-02 09:23:24,857: DEBUG - e[32mFetchede[0m e[34mvideojs-contrib-quality-levelse[0m
2023-02-02 09:23:24,857: DEBUG - e[32mFetchede[0m e[34mvideojs-http-source-selectore[0m
2023-02-02 09:23:24,858: DEBUG - e[32mFetchede[0m e[34mvideojs-mobile-uie[0m
2023-02-02 09:23:24,858: DEBUG - e[32mFetchede[0m e[34mvideojs-overlaye[0m
2023-02-02 09:23:24,858: DEBUG - e[32mFetchede[0m e[34mvideojs-markerse[0m
2023-02-02 09:23:24,859: DEBUG - e[32mFetchede[0m e[34mvideojs-sharee[0m
2023-02-02 09:23:24,859: DEBUG - e[32mFetchede[0m e[34mvideojs-vre[0m
2023-02-02 09:23:24,860: DEBUG - e[32mFetchede[0m e[34mvideojs-vtt-thumbnailse[0m
2023-02-02 09:23:24,860: DEBUG - e[32mFetchede[0m e[34mvideo.jse[0m
2023-02-02 09:23:24,861: DEBUG - 
2023-02-02 09:23:24,861: DEBUG - Done checking player dependencies, now compiling Invidious...
2023-02-02 09:23:29,013: DEBUG - fatal: detected dubious ownership in repository at '/var/www/invidious'
2023-02-02 09:23:29,014: DEBUG - To add an exception for this directory, call:
2023-02-02 09:23:29,014: DEBUG - 
2023-02-02 09:23:29,015: DEBUG - 	git config --global --add safe.directory /var/www/invidious
2023-02-02 09:23:29,036: DEBUG - fatal: detected dubious ownership in repository at '/var/www/invidious'
2023-02-02 09:23:29,037: DEBUG - To add an exception for this directory, call:
2023-02-02 09:23:29,037: DEBUG - 
2023-02-02 09:23:29,038: DEBUG - 	git config --global --add safe.directory /var/www/invidious
2023-02-02 09:23:29,038: DEBUG - e[2mShowing last frame. Use --error-trace for full trace.e[0m
2023-02-02 09:23:29,039: DEBUG - 
2023-02-02 09:23:29,039: DEBUG - In e[4msrc/invidious.cr:79:25e[0m
2023-02-02 09:23:29,040: DEBUG - 
2023-02-02 09:23:29,040: DEBUG - e[2m 79 | e[0me[1mCURRENT_COMMIT  = {{ "#{`git rev-list HEAD --max-count=1 --abbrev-commit`.strip}" }}e[0m
2023-02-02 09:23:29,040: DEBUG -                               e[32;1m^e[0m
2023-02-02 09:23:29,041: DEBUG - e[33;1mError: error executing command: git rev-list HEAD --max-count=1 --abbrev-commit, got exit status 128e[0m
2023-02-02 09:23:29,066: DEBUG - + ynh_exit_properly
2023-02-02 09:23:29,574: DEBUG - + ynh_clean_setup
2023-02-02 09:23:29,574: DEBUG - + ynh_clean_check_starting
2023-02-02 09:23:29,575: DEBUG - + '[' -n '' ']'
2023-02-02 09:23:29,575: DEBUG - + '[' -n '' ']'
2023-02-02 09:23:30,579: ERROR - Installation von invidious fehlgeschlagen: Im Installationsscript ist ein Fehler aufgetreten

BR Paul

Hmyeah this is related to a recent change in git behavior which is a bit annoying :confused:

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