Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install #106

Closed
ImaCrea opened this issue Sep 30, 2021 · 2 comments
Closed

Can't install #106

ImaCrea opened this issue Sep 30, 2021 · 2 comments

Comments

@ImaCrea
Copy link

ImaCrea commented Sep 30, 2021

Hey there, Kresus looks interesting and I'd love to try out this app. Unfortunately I'm not able to install it. Script seems to crash at some point. Any help would be greatly appreciated :)

Context

  • Hardware: VPS Hetzner
  • YunoHost version: 4.2.8.3

Logs

args:
  app: kresus
  args: domain=maindomain.tld&path=%2Fkresus
  force: false
  label: Kresus
  no_remove_on_failure: false
ended_at: 2021-09-30 22:52:03.227329
env:
  YNH_APP_ARG_DOMAIN: maindomain.tld
  YNH_APP_ARG_PATH: /kresus
  YNH_APP_ID: kresus
  YNH_APP_INSTANCE_NAME: kresus
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 0.17.4~ynh1
error: "Une erreur est survenue dans le script d\u2019installation de l\u2019application"
interface: api
operation: app_install
parent: null
related_to:
- - app
  - kresus
started_at: 2021-09-30 22:49:40.938656
success: false
yunohost_version: 4.2.8.3

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

2021-10-01 00:49:40,952: INFO - Installation de kresus...
2021-10-01 00:49:41,108: DEBUG - Permission 'kresus.main' mise à jour
2021-10-01 00:49:41,186: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20210930-224941-permission_url-kresus" style="text-decoration:underline"> Mise à jour de l’URL associée à l’autorisation 'kresus' </a>'
2021-10-01 00:49:41,350: DEBUG - The permission database has been resynchronized
2021-10-01 00:49:41,464: DEBUG - La configuration de SSOwat a été regénérée
2021-10-01 00:49:41,553: DEBUG - Permission 'kresus.main' créée
2021-10-01 00:49:41,555: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20210930-224940-permission_create-kresus" style="text-decoration:underline"> Créer permission 'kresus' </a>'
2021-10-01 00:49:41,569: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install"  7>&1']'
2021-10-01 00:49:41,577: DEBUG - + source _common.sh
2021-10-01 00:49:41,578: DEBUG - ++ pkg_dependencies='dh-autoreconf	python3-pip python3-dev python3-lxml python3-pillow virtualenv postgresql libffi-dev'
2021-10-01 00:49:41,578: DEBUG - ++ nodejs_version=14
2021-10-01 00:49:41,578: DEBUG - + source /usr/share/yunohost/helpers
2021-10-01 00:49:41,579: DEBUG - +++ grep xtrace
2021-10-01 00:49:41,581: DEBUG - +++ set +o
2021-10-01 00:49:41,582: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-10-01 00:49:41,582: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2021-10-01 00:49:41,639: DEBUG - + ynh_abort_if_errors
2021-10-01 00:49:41,639: DEBUG - + set -o errexit
2021-10-01 00:49:41,639: DEBUG - + set -o nounset
2021-10-01 00:49:41,639: DEBUG - + trap ynh_exit_properly EXIT
2021-10-01 00:49:41,640: DEBUG - + domain=maindomain.tld
2021-10-01 00:49:41,640: DEBUG - + path_url=/kresus
2021-10-01 00:49:41,640: DEBUG - + app=kresus
2021-10-01 00:49:41,723: DEBUG - + echo '[+...................] > Validating installation parameters...'
2021-10-01 00:49:41,723: INFO - [+...................] > Validating installation parameters...
2021-10-01 00:49:41,725: DEBUG - ++ ynh_detect_arch
2021-10-01 00:49:41,726: DEBUG - +++ grep arm64
2021-10-01 00:49:41,729: DEBUG - +++ uname -m
2021-10-01 00:49:41,733: DEBUG - ++ '[' -n '' ']'
2021-10-01 00:49:41,735: DEBUG - +++ grep aarch64
2021-10-01 00:49:41,737: DEBUG - +++ uname -m
2021-10-01 00:49:41,741: DEBUG - ++ '[' -n '' ']'
2021-10-01 00:49:41,742: DEBUG - +++ grep 64
2021-10-01 00:49:41,745: DEBUG - +++ uname -m
2021-10-01 00:49:41,749: DEBUG - ++ '[' -n x86_64 ']'
2021-10-01 00:49:41,749: DEBUG - ++ architecture=x86-64
2021-10-01 00:49:41,749: DEBUG - ++ echo x86-64
2021-10-01 00:49:41,750: DEBUG - + architecture=x86-64
2021-10-01 00:49:41,750: DEBUG - + '[' x86-64 == i386 ']'
2021-10-01 00:49:41,750: DEBUG - + final_path=/var/www/kresus
2021-10-01 00:49:41,750: DEBUG - + test '!' -e /var/www/kresus
2021-10-01 00:49:41,750: DEBUG - + ynh_webpath_register --app=kresus --domain=maindomain.tld --path_url=/kresus
2021-10-01 00:49:41,825: DEBUG - + yunohost app register-url kresus maindomain.tld /kresus
2021-10-01 00:49:43,402: DEBUG - + echo '[#+..................] > Storing installation settings...'
2021-10-01 00:49:43,402: DEBUG - + ynh_app_setting_set --app=kresus --key=domain --value=maindomain.tld
2021-10-01 00:49:43,403: INFO - [#+..................] > Storing installation settings...
2021-10-01 00:49:43,473: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2021-10-01 00:49:43,473: DEBUG - + ynh_app_setting set kresus domain maindomain.tld
2021-10-01 00:49:43,518: DEBUG - + ynh_app_setting_set --app=kresus --key=path --value=/kresus
2021-10-01 00:49:43,582: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2021-10-01 00:49:43,583: DEBUG - + ynh_app_setting set kresus path /kresus
2021-10-01 00:49:43,674: DEBUG - + echo '[##++................] > Finding an available port...'
2021-10-01 00:49:43,674: INFO - [##++................] > Finding an available port...
2021-10-01 00:49:43,675: DEBUG - ++ ynh_find_port --port=9876
2021-10-01 00:49:43,688: DEBUG - ++ test -n 9876
2021-10-01 00:49:43,688: DEBUG - ++ ynh_port_available --port=9876
2021-10-01 00:49:43,700: DEBUG - ++ grep --quiet --extended-regexp ':9876$'
2021-10-01 00:49:43,703: DEBUG - ++ awk '{print$5}'
2021-10-01 00:49:43,703: DEBUG - ++ ss --numeric --listening --tcp --udp
2021-10-01 00:49:43,716: DEBUG - ++ grep -q 'port: '\''9876'\''' /etc/yunohost/apps/kresus/settings.yml /etc/yunohost/apps/monitorix/settings.yml /etc/yunohost/apps/nextcloud/settings.yml /etc/yunohost/apps/rainloop/settings.yml /etc/yunohost/apps/synapse/settings.yml /etc/yunohost/apps/ttrss/settings.yml /etc/yunohost/apps/wallabag2/settings.yml
2021-10-01 00:49:43,718: DEBUG - ++ return 0
2021-10-01 00:49:43,718: DEBUG - ++ echo 9876
2021-10-01 00:49:43,718: DEBUG - + port=9876
2021-10-01 00:49:43,719: DEBUG - ++ ynh_string_random 40
2021-10-01 00:49:43,732: DEBUG - ++ length=40
2021-10-01 00:49:43,733: DEBUG - ++ sed --quiet 's/\(.\{40\}\).*/\1/p'
2021-10-01 00:49:43,735: DEBUG - ++ tr --complement --delete A-Za-z0-9
2021-10-01 00:49:43,736: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2021-10-01 00:49:43,743: DEBUG - + salt=HPvzdeL14mp5CBJ2k8XsplU1kZqWYSCPYT4fdlr5
2021-10-01 00:49:43,743: DEBUG - + ynh_app_setting_set --app=kresus --key=port --value=9876
2021-10-01 00:49:43,818: DEBUG - + [[ port =~ (unprotected|protected|skipped)_ ]]
2021-10-01 00:49:43,818: DEBUG - + ynh_app_setting set kresus port 9876
2021-10-01 00:49:43,863: DEBUG - + ynh_app_setting_set --app=kresus --key=salt --value=HPvzdeL14mp5CBJ2k8XsplU1kZqWYSCPYT4fdlr5
2021-10-01 00:49:43,932: DEBUG - + [[ salt =~ (unprotected|protected|skipped)_ ]]
2021-10-01 00:49:43,933: DEBUG - + ynh_app_setting set kresus salt HPvzdeL14mp5CBJ2k8XsplU1kZqWYSCPYT4fdlr5
2021-10-01 00:49:44,024: DEBUG - + echo '[####+...............] > Installing app dependencies'
2021-10-01 00:49:44,025: DEBUG - + ynh_exec_warn_less ynh_install_app_dependencies dh-autoreconf python3-pip python3-dev python3-lxml python3-pillow virtualenv postgresql libffi-dev
2021-10-01 00:49:44,025: DEBUG - + eval ynh_install_app_dependencies dh-autoreconf python3-pip python3-dev python3-lxml python3-pillow virtualenv postgresql libffi-dev
2021-10-01 00:49:44,025: DEBUG - ++ ynh_install_app_dependencies dh-autoreconf python3-pip python3-dev python3-lxml python3-pillow virtualenv postgresql libffi-dev
2021-10-01 00:49:44,025: DEBUG - ++ local 'dependencies=dh-autoreconf python3-pip python3-dev python3-lxml python3-pillow virtualenv postgresql libffi-dev'
2021-10-01 00:49:44,025: INFO - [####+...............] > Installing app dependencies
2021-10-01 00:49:44,026: DEBUG - +++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2021-10-01 00:49:44,028: DEBUG - +++ echo 'dh-autoreconf python3-pip python3-dev python3-lxml python3-pillow virtualenv postgresql libffi-dev'
2021-10-01 00:49:44,030: DEBUG - ++ dependencies='dh-autoreconf, python3-pip, python3-dev, python3-lxml, python3-pillow, virtualenv, postgresql, libffi-dev'
2021-10-01 00:49:44,030: DEBUG - ++ local 'dependencies=dh-autoreconf, python3-pip, python3-dev, python3-lxml, python3-pillow, virtualenv, postgresql, libffi-dev'
2021-10-01 00:49:44,030: DEBUG - ++ local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/manifest.json
2021-10-01 00:49:44,030: DEBUG - +++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/manifest.json
2021-10-01 00:49:44,040: DEBUG - ++ local version=0.17.4~ynh1
2021-10-01 00:49:44,040: DEBUG - ++ '[' -z 0.17.4~ynh1 ']'
2021-10-01 00:49:44,040: DEBUG - ++ '[' 0.17.4~ynh1 == null ']'
2021-10-01 00:49:44,040: DEBUG - ++ local dep_app=kresus
2021-10-01 00:49:44,041: DEBUG - ++ [[ dh-autoreconf, python3-pip, python3-dev, python3-lxml, python3-pillow, virtualenv, postgresql, libffi-dev =~ [<=>] ]]
2021-10-01 00:49:44,041: DEBUG - ++ grep --quiet php
2021-10-01 00:49:44,043: DEBUG - ++ echo dh-autoreconf, python3-pip, python3-dev, python3-lxml, python3-pillow, virtualenv, postgresql, libffi-dev
2021-10-01 00:49:44,045: DEBUG - ++ cat
2021-10-01 00:49:44,048: DEBUG - ++ ynh_package_install_from_equivs /tmp/kresus-ynh-deps.control
2021-10-01 00:49:44,048: DEBUG - ++ local controlfile=/tmp/kresus-ynh-deps.control
2021-10-01 00:49:44,049: DEBUG - +++ cut '--delimiter= ' --fields=2
2021-10-01 00:49:44,051: DEBUG - +++ grep '^Package: ' /tmp/kresus-ynh-deps.control
2021-10-01 00:49:44,055: DEBUG - ++ local pkgname=kresus-ynh-deps
2021-10-01 00:49:44,056: DEBUG - +++ cut '--delimiter= ' --fields=2
2021-10-01 00:49:44,057: DEBUG - +++ grep '^Version: ' /tmp/kresus-ynh-deps.control
2021-10-01 00:49:44,060: DEBUG - ++ local pkgversion=0.17.4~ynh1
2021-10-01 00:49:44,060: DEBUG - ++ [[ -z kresus-ynh-deps ]]
2021-10-01 00:49:44,060: DEBUG - ++ [[ -z 0.17.4~ynh1 ]]
2021-10-01 00:49:44,060: DEBUG - ++ ynh_package_update
2021-10-01 00:49:44,060: DEBUG - ++ ynh_apt update
2021-10-01 00:49:44,060: DEBUG - ++ ynh_wait_dpkg_free
2021-10-01 00:49:44,243: DEBUG - ++ return 0
2021-10-01 00:49:44,244: DEBUG - ++ LC_ALL=C
2021-10-01 00:49:44,244: DEBUG - ++ DEBIAN_FRONTEND=noninteractive
2021-10-01 00:49:44,244: DEBUG - ++ apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-10-01 00:49:44,518: DEBUG - Hit:1 http://security.debian.org buster/updates InRelease
2021-10-01 00:49:44,519: DEBUG - Hit:2 http://deb.debian.org/debian buster InRelease
2021-10-01 00:49:44,524: DEBUG - Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
2021-10-01 00:49:44,550: DEBUG - Hit:4 http://mirror.hetzner.de/debian/packages buster InRelease
2021-10-01 00:49:44,551: DEBUG - Get:5 http://mirror.hetzner.de/debian/packages buster-updates InRelease [51.9 kB]
2021-10-01 00:49:44,554: DEBUG - Get:6 http://mirror.hetzner.de/debian/security buster/updates InRelease [65.4 kB]
2021-10-01 00:49:44,600: DEBUG - Hit:7 https://packages.sury.org/php buster InRelease
2021-10-01 00:49:44,655: DEBUG - Hit:8 http://forge.yunohost.org/debian buster InRelease
2021-10-01 00:49:45,547: DEBUG - Fetched 169 kB in 1s (151 kB/s)
2021-10-01 00:49:47,409: DEBUG - Reading package lists...
2021-10-01 00:49:47,482: DEBUG - +++ mktemp --directory
2021-10-01 00:49:47,490: DEBUG - ++ local TMPDIR=/tmp/tmp.Rj9gNcqVLV
2021-10-01 00:49:47,490: DEBUG - ++ echo 10
2021-10-01 00:49:47,492: DEBUG - ++ ynh_wait_dpkg_free
2021-10-01 00:49:47,662: DEBUG - ++ return 0
2021-10-01 00:49:47,663: DEBUG - ++ cp /tmp/kresus-ynh-deps.control /tmp/tmp.Rj9gNcqVLV/control
2021-10-01 00:49:47,667: DEBUG - ++ cd /tmp/tmp.Rj9gNcqVLV
2021-10-01 00:49:47,668: DEBUG - ++ LC_ALL=C
2021-10-01 00:49:47,668: DEBUG - ++ equivs-build ./control
2021-10-01 00:49:48,660: DEBUG - ++ tee ./dpkg_log
2021-10-01 00:49:48,661: DEBUG - ++ LC_ALL=C
2021-10-01 00:49:48,662: DEBUG - ++ dpkg --force-depends --install ./kresus-ynh-deps_0.17.4~ynh1_all.deb
2021-10-01 00:49:48,700: DEBUG - Selecting previously unselected package kresus-ynh-deps.
2021-10-01 00:49:49,150: DEBUG - (Reading database ... 65329 files and directories currently installed.)
2021-10-01 00:49:49,156: DEBUG - Preparing to unpack .../kresus-ynh-deps_0.17.4~ynh1_all.deb ...
2021-10-01 00:49:49,159: DEBUG - Unpacking kresus-ynh-deps (0.17.4~ynh1) ...
2021-10-01 00:49:49,212: DEBUG - dpkg: kresus-ynh-deps: dependency problems, but configuring anyway as you requested:
2021-10-01 00:49:49,212: DEBUG -  kresus-ynh-deps depends on python3-pillow; however:
2021-10-01 00:49:49,212: DEBUG -   Package python3-pillow is not installed.
2021-10-01 00:49:49,212: DEBUG -  kresus-ynh-deps depends on virtualenv; however:
2021-10-01 00:49:49,212: DEBUG -   Package virtualenv is not installed.
2021-10-01 00:49:49,212: DEBUG - 
2021-10-01 00:49:49,213: DEBUG - Setting up kresus-ynh-deps (0.17.4~ynh1) ...
2021-10-01 00:49:49,232: DEBUG - ++ ynh_package_install --fix-broken
2021-10-01 00:49:49,233: DEBUG - ++ ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-10-01 00:49:49,233: DEBUG - ++ ynh_wait_dpkg_free
2021-10-01 00:49:49,412: DEBUG - ++ return 0
2021-10-01 00:49:49,413: DEBUG - ++ LC_ALL=C
2021-10-01 00:49:49,413: DEBUG - ++ DEBIAN_FRONTEND=noninteractive
2021-10-01 00:49:49,413: 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
2021-10-01 00:49:49,689: DEBUG - Reading package lists...
2021-10-01 00:49:49,920: DEBUG - Building dependency tree...
2021-10-01 00:49:49,922: DEBUG - Reading state information...
2021-10-01 00:49:50,038: DEBUG - Correcting dependencies... Done
2021-10-01 00:49:50,186: DEBUG - The following packages were automatically installed and are no longer required:
2021-10-01 00:49:50,187: DEBUG -   gir1.2-glib-2.0 libgirepository-1.0-1 libjs-sphinxdoc libjs-underscore
2021-10-01 00:49:50,187: DEBUG -   libpython-all-dev libpython-dev libpython2-dev libpython2.7-dev
2021-10-01 00:49:50,188: DEBUG -   php7.3-smbclient python-all python-all-dev python-argcomplete
2021-10-01 00:49:50,188: DEBUG -   python-asn1crypto python-bottle python-certifi python-cffi-backend
2021-10-01 00:49:50,188: DEBUG -   python-chardet python-configparser python-crypto python-cryptography
2021-10-01 00:49:50,188: DEBUG -   python-dbus python-dev python-dnspython python-entrypoints python-enum34
2021-10-01 00:49:50,188: DEBUG -   python-gevent python-gevent-websocket python-gi python-greenlet python-idna
2021-10-01 00:49:50,188: DEBUG -   python-ipaddress python-jinja2 python-keyring python-keyrings.alt
2021-10-01 00:49:50,188: DEBUG -   python-ldap python-markupsafe python-miniupnpc python-openssl
2021-10-01 00:49:50,188: DEBUG -   python-packaging python-pip python-pkg-resources python-psutil
2021-10-01 00:49:50,188: DEBUG -   python-publicsuffix python-pyasn1 python-pyasn1-modules python-pyparsing
2021-10-01 00:49:50,189: DEBUG -   python-requests python-secretstorage python-setuptools python-six
2021-10-01 00:49:50,189: DEBUG -   python-toml python-tz python-urllib3 python-wheel python-xdg python-yaml
2021-10-01 00:49:50,189: DEBUG -   python2-dev python2.7-dev
2021-10-01 00:49:50,189: DEBUG - Use 'apt autoremove' to remove them.
2021-10-01 00:49:50,190: DEBUG - The following additional packages will be installed:
2021-10-01 00:49:50,191: DEBUG -   libimagequant0 libwebpdemux2 python3-pil python3-virtualenv virtualenv
2021-10-01 00:49:50,192: DEBUG - Suggested packages:
2021-10-01 00:49:50,192: DEBUG -   python-pil-doc python3-pil-dbg
2021-10-01 00:49:50,192: DEBUG - Recommended packages:
2021-10-01 00:49:50,192: DEBUG -   python3-olefile
2021-10-01 00:49:50,309: DEBUG - The following NEW packages will be installed:
2021-10-01 00:49:50,311: DEBUG -   libimagequant0 libwebpdemux2 python3-pil python3-virtualenv virtualenv
2021-10-01 00:49:50,375: DEBUG - 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
2021-10-01 00:49:50,376: DEBUG - Need to get 593 kB of archives.
2021-10-01 00:49:50,376: DEBUG - After this operation, 1837 kB of additional disk space will be used.
2021-10-01 00:49:50,376: DEBUG - Get:1 http://deb.debian.org/debian buster/main amd64 libimagequant0 amd64 2.12.2-1.1 [32.5 kB]
2021-10-01 00:49:50,391: DEBUG - Get:2 http://deb.debian.org/debian buster/main amd64 libwebpdemux2 amd64 0.6.1-2+deb10u1 [87.6 kB]
2021-10-01 00:49:50,423: DEBUG - Get:3 http://deb.debian.org/debian buster/main amd64 python3-pil amd64 5.4.1-2+deb10u2 [395 kB]
2021-10-01 00:49:50,464: DEBUG - Get:4 http://deb.debian.org/debian buster/main amd64 python3-virtualenv all 15.1.0+ds-2 [58.1 kB]
2021-10-01 00:49:50,481: DEBUG - Get:5 http://deb.debian.org/debian buster/main amd64 virtualenv all 15.1.0+ds-2 [20.1 kB]
2021-10-01 00:49:51,006: DEBUG - Fetched 593 kB in 0s (3920 kB/s)
2021-10-01 00:49:51,039: DEBUG - Selecting previously unselected package libimagequant0:amd64.
2021-10-01 00:49:51,084: DEBUG - (Reading database ... 65333 files and directories currently installed.)
2021-10-01 00:49:51,087: DEBUG - Preparing to unpack .../libimagequant0_2.12.2-1.1_amd64.deb ...
2021-10-01 00:49:51,093: DEBUG - Unpacking libimagequant0:amd64 (2.12.2-1.1) ...
2021-10-01 00:49:51,123: DEBUG - Selecting previously unselected package libwebpdemux2:amd64.
2021-10-01 00:49:51,131: DEBUG - Preparing to unpack .../libwebpdemux2_0.6.1-2+deb10u1_amd64.deb ...
2021-10-01 00:49:51,133: DEBUG - Unpacking libwebpdemux2:amd64 (0.6.1-2+deb10u1) ...
2021-10-01 00:49:51,171: DEBUG - Selecting previously unselected package python3-pil:amd64.
2021-10-01 00:49:51,178: DEBUG - Preparing to unpack .../python3-pil_5.4.1-2+deb10u2_amd64.deb ...
2021-10-01 00:49:51,180: DEBUG - Unpacking python3-pil:amd64 (5.4.1-2+deb10u2) ...
2021-10-01 00:49:51,283: DEBUG - Selecting previously unselected package python3-virtualenv.
2021-10-01 00:49:51,290: DEBUG - Preparing to unpack .../python3-virtualenv_15.1.0+ds-2_all.deb ...
2021-10-01 00:49:51,292: DEBUG - Unpacking python3-virtualenv (15.1.0+ds-2) ...
2021-10-01 00:49:51,327: DEBUG - Selecting previously unselected package virtualenv.
2021-10-01 00:49:51,331: DEBUG - Preparing to unpack .../virtualenv_15.1.0+ds-2_all.deb ...
2021-10-01 00:49:51,333: DEBUG - Unpacking virtualenv (15.1.0+ds-2) ...
2021-10-01 00:49:51,393: DEBUG - Setting up libwebpdemux2:amd64 (0.6.1-2+deb10u1) ...
2021-10-01 00:49:51,398: DEBUG - Setting up python3-virtualenv (15.1.0+ds-2) ...
2021-10-01 00:49:51,696: DEBUG - Setting up virtualenv (15.1.0+ds-2) ...
2021-10-01 00:49:51,703: DEBUG - Setting up libimagequant0:amd64 (2.12.2-1.1) ...
2021-10-01 00:49:51,715: DEBUG - Setting up python3-pil:amd64 (5.4.1-2+deb10u2) ...
2021-10-01 00:49:52,048: DEBUG - Processing triggers for man-db (2.8.5-2) ...
2021-10-01 00:49:55,283: DEBUG - Processing triggers for libc-bin (2.28-10) ...
2021-10-01 00:49:55,565: DEBUG - ++ [[ -n /tmp/tmp.Rj9gNcqVLV ]]
2021-10-01 00:49:55,566: DEBUG - ++ rm --recursive --force /tmp/tmp.Rj9gNcqVLV
2021-10-01 00:49:55,568: DEBUG - ++ ynh_package_is_installed kresus-ynh-deps
2021-10-01 00:49:55,580: DEBUG - ++ ynh_wait_dpkg_free
2021-10-01 00:49:55,740: DEBUG - ++ return 0
2021-10-01 00:49:55,741: DEBUG - ++ grep --count 'ok installed'
2021-10-01 00:49:55,742: DEBUG - ++ dpkg-query --show '--showformat=${Status}' kresus-ynh-deps
2021-10-01 00:49:55,759: DEBUG - ++ rm /tmp/kresus-ynh-deps.control
2021-10-01 00:49:55,761: DEBUG - ++ ynh_app_setting_set --app=kresus --key=apt_dependencies '--value=dh-autoreconf, python3-pip, python3-dev, python3-lxml, python3-pillow, virtualenv, postgresql, libffi-dev'
2021-10-01 00:49:55,827: DEBUG - ++ [[ apt_dependencies =~ (unprotected|protected|skipped)_ ]]
2021-10-01 00:49:55,828: DEBUG - ++ ynh_app_setting set kresus apt_dependencies 'dh-autoreconf, python3-pip, python3-dev, python3-lxml, python3-pillow, virtualenv, postgresql, libffi-dev'
2021-10-01 00:49:55,948: DEBUG - + echo '[#####+..............] > Setting up source files...'
2021-10-01 00:49:55,948: DEBUG - + ynh_app_setting_set --app=kresus --key=final_path --value=/var/www/kresus
2021-10-01 00:49:55,949: INFO - [#####+..............] > Setting up source files...
2021-10-01 00:49:56,051: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)_ ]]
2021-10-01 00:49:56,051: DEBUG - + ynh_app_setting set kresus final_path /var/www/kresus
2021-10-01 00:49:56,099: DEBUG - + ynh_setup_source --dest_dir=/var/www/kresus
2021-10-01 00:49:56,124: DEBUG - + source_id=app
2021-10-01 00:49:56,125: DEBUG - + keep=
2021-10-01 00:49:56,125: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf/app.src
2021-10-01 00:49:56,126: DEBUG - ++ cut --delimiter== --fields=2-
2021-10-01 00:49:56,127: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf/app.src
2021-10-01 00:49:56,130: DEBUG - + local src_url=https://framagit.org/kresusapp/kresus/-/archive/0.17.4/kresus-0.17.4.tar.bz2
2021-10-01 00:49:56,131: DEBUG - ++ cut --delimiter== --fields=2-
2021-10-01 00:49:56,133: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf/app.src
2021-10-01 00:49:56,135: DEBUG - + local src_sum=bf08050b9f704c5727f2e6a8410f2a2914f589372a2de539c429fd1fec0e7613
2021-10-01 00:49:56,136: DEBUG - ++ cut --delimiter== --fields=2-
2021-10-01 00:49:56,137: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf/app.src
2021-10-01 00:49:56,139: DEBUG - + local src_sumprg=sha256sum
2021-10-01 00:49:56,140: DEBUG - ++ cut --delimiter== --fields=2-
2021-10-01 00:49:56,142: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf/app.src
2021-10-01 00:49:56,144: DEBUG - + local src_format=tar.bz2
2021-10-01 00:49:56,145: DEBUG - ++ cut --delimiter== --fields=2-
2021-10-01 00:49:56,146: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf/app.src
2021-10-01 00:49:56,149: DEBUG - + local src_extract=
2021-10-01 00:49:56,149: DEBUG - ++ cut --delimiter== --fields=2-
2021-10-01 00:49:56,151: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf/app.src
2021-10-01 00:49:56,153: DEBUG - + local src_in_subdir=true
2021-10-01 00:49:56,154: DEBUG - ++ cut --delimiter== --fields=2-
2021-10-01 00:49:56,155: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf/app.src
2021-10-01 00:49:56,158: DEBUG - + local src_filename=
2021-10-01 00:49:56,158: DEBUG - + src_sumprg=sha256sum
2021-10-01 00:49:56,158: DEBUG - + src_in_subdir=true
2021-10-01 00:49:56,158: DEBUG - + src_format=tar.bz2
2021-10-01 00:49:56,159: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2021-10-01 00:49:56,160: DEBUG - ++ echo tar.bz2
2021-10-01 00:49:56,162: DEBUG - + src_format=tar.bz2
2021-10-01 00:49:56,162: DEBUG - + src_extract=true
2021-10-01 00:49:56,162: DEBUG - + '[' '' = '' ']'
2021-10-01 00:49:56,162: DEBUG - + src_filename=app.tar.bz2
2021-10-01 00:49:56,162: DEBUG - + local local_src=/opt/yunohost-apps-src/kresus/app.tar.bz2
2021-10-01 00:49:56,162: DEBUG - + mkdir -p /var/cache/yunohost/download/kresus/
2021-10-01 00:49:56,167: DEBUG - + src_filename=/var/cache/yunohost/download/kresus/app.tar.bz2
2021-10-01 00:49:56,167: DEBUG - + test -e /opt/yunohost-apps-src/kresus/app.tar.bz2
2021-10-01 00:49:56,167: DEBUG - + '[' -n https://framagit.org/kresusapp/kresus/-/archive/0.17.4/kresus-0.17.4.tar.bz2 ']'
2021-10-01 00:49:56,168: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/kresus/app.tar.bz2 https://framagit.org/kresusapp/kresus/-/archive/0.17.4/kresus-0.17.4.tar.bz2
2021-10-01 00:49:56,879: DEBUG - + out='2021-10-01 00:49:56 URL:https://framagit.org/kresusapp/kresus/-/archive/0.17.4/kresus-0.17.4.tar.bz2 [2535227] -> "/var/cache/yunohost/download/kresus/app.tar.bz2" [1]'
2021-10-01 00:49:56,880: DEBUG - + sha256sum --check --status
2021-10-01 00:49:56,882: DEBUG - + echo 'bf08050b9f704c5727f2e6a8410f2a2914f589372a2de539c429fd1fec0e7613 /var/cache/yunohost/download/kresus/app.tar.bz2'
2021-10-01 00:49:56,906: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2021-10-01 00:49:56,909: DEBUG - + '[' -n '' ']'
2021-10-01 00:49:56,909: DEBUG - + mkdir --parents /var/www/kresus
2021-10-01 00:49:56,913: DEBUG - + '[' -n /var/www/kresus ']'
2021-10-01 00:49:56,914: DEBUG - + '[' /var/www/kresus == /var/www/kresus ']'
2021-10-01 00:49:56,914: DEBUG - + _ynh_apply_default_permissions /var/www/kresus
2021-10-01 00:49:56,914: DEBUG - + local target=/var/www/kresus
2021-10-01 00:49:56,917: DEBUG - ++ tr -d '>= '
2021-10-01 00:49:56,919: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/manifest.json
2021-10-01 00:49:56,934: DEBUG - + local ynh_requirement=3.8.1
2021-10-01 00:49:56,934: DEBUG - + '[' -z 3.8.1 ']'
2021-10-01 00:49:56,935: DEBUG - + '[' 3.8.1 == null ']'
2021-10-01 00:49:56,935: DEBUG - + dpkg --compare-versions 3.8.1 ge 4.2
2021-10-01 00:49:56,941: DEBUG - + true
2021-10-01 00:49:56,941: DEBUG - + '[' tar.bz2 = zip ']'
2021-10-01 00:49:56,941: DEBUG - + local strip=
2021-10-01 00:49:56,941: DEBUG - + '[' true '!=' false ']'
2021-10-01 00:49:56,941: DEBUG - + '[' true == true ']'
2021-10-01 00:49:56,941: DEBUG - + local sub_dirs=1
2021-10-01 00:49:56,942: DEBUG - + strip='--strip-components 1'
2021-10-01 00:49:56,942: DEBUG - + [[ tar.bz2 =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2021-10-01 00:49:56,942: DEBUG - + tar --extract --file=/var/cache/yunohost/download/kresus/app.tar.bz2 --directory=/var/www/kresus --strip-components 1
2021-10-01 00:49:57,380: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/kresus/app.tar.bz2
2021-10-01 00:49:57,391: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
2021-10-01 00:49:57,392: DEBUG - + '[' 1 -ge 2 ']'
2021-10-01 00:49:57,392: DEBUG - + [[ -z /var/cache/yunohost/download/kresus/app.tar.bz2 ]]
2021-10-01 00:49:57,392: DEBUG - + [[      /var/www     /home/yunohost.app =~ /var/cache/yunohost/download/kresus/app\.tar\.bz2 ]]
2021-10-01 00:49:57,392: DEBUG - + [[ /var/cache/yunohost/download/kresus/app.tar.bz2 =~ ^/[[:alnum:]]+$ ]]
2021-10-01 00:49:57,392: DEBUG - + [[ 2 = \/ ]]
2021-10-01 00:49:57,392: DEBUG - + '[' -e /var/cache/yunohost/download/kresus/app.tar.bz2 ']'
2021-10-01 00:49:57,392: DEBUG - + rm --recursive /var/cache/yunohost/download/kresus/app.tar.bz2
2021-10-01 00:49:57,394: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/sources/patches/ ']'
2021-10-01 00:49:57,394: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/sources/extra_files/app
2021-10-01 00:49:57,394: DEBUG - + '[' -n '' ']'
2021-10-01 00:49:57,394: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2021-10-01 00:49:57,396: DEBUG - + mkdir /var/www/kresus/data
2021-10-01 00:49:57,448: DEBUG - + echo '[######++............] > Configuring NGINX web server...'
2021-10-01 00:49:57,448: DEBUG - + ynh_add_nginx_config
2021-10-01 00:49:57,448: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:57,448: DEBUG - + '[' /kresus '!=' / ']'
2021-10-01 00:49:57,448: DEBUG - + ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf/nginx.conf
2021-10-01 00:49:57,449: INFO - [######++............] > Configuring NGINX web server...
2021-10-01 00:49:57,522: DEBUG - + local delimit=@
2021-10-01 00:49:57,522: DEBUG - + match_string='^#sub_path_only'
2021-10-01 00:49:57,522: DEBUG - + replace_string=
2021-10-01 00:49:57,522: DEBUG - + sed --in-place 's@^#sub_path_only@@g' /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf/nginx.conf
2021-10-01 00:49:57,525: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf/nginx.conf --destination=/etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:57,562: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf//var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf/nginx.conf ']'
2021-10-01 00:49:57,562: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf/nginx.conf ']'
2021-10-01 00:49:57,562: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf/nginx.conf
2021-10-01 00:49:57,562: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:57,573: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_kresus.conf
2021-10-01 00:49:57,574: DEBUG - ++ ynh_app_setting_get --app=kresus --key=checksum__etc_nginx_conf.d_maindomain.tld.d_kresus.conf
2021-10-01 00:49:57,609: DEBUG - ++ [[ checksum__etc_nginx_conf.d_maindomain.tld.d_kresus.conf =~ (unprotected|protected|skipped)_ ]]
2021-10-01 00:49:57,610: DEBUG - ++ ynh_app_setting get kresus checksum__etc_nginx_conf.d_maindomain.tld.d_kresus.conf
2021-10-01 00:49:57,654: DEBUG - + local checksum_value=
2021-10-01 00:49:57,654: DEBUG - + backup_file_checksum=
2021-10-01 00:49:57,654: DEBUG - + '[' -n '' ']'
2021-10-01 00:49:57,654: DEBUG - + touch /etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:57,657: DEBUG - + chown root:root /etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:57,658: DEBUG - + chmod 640 /etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:57,660: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf/nginx.conf /etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:57,663: DEBUG - + _ynh_apply_default_permissions /etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:57,663: DEBUG - + local target=/etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:57,664: DEBUG - ++ tr -d '>= '
2021-10-01 00:49:57,666: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/manifest.json
2021-10-01 00:49:57,670: DEBUG - + local ynh_requirement=3.8.1
2021-10-01 00:49:57,670: DEBUG - + '[' -z 3.8.1 ']'
2021-10-01 00:49:57,670: DEBUG - + '[' 3.8.1 == null ']'
2021-10-01 00:49:57,670: DEBUG - + dpkg --compare-versions 3.8.1 ge 4.2
2021-10-01 00:49:57,673: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:57,686: DEBUG - + test -n /kresus
2021-10-01 00:49:57,686: DEBUG - + local path_url_slash_less=/kresus
2021-10-01 00:49:57,686: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/kresus/ --target_file=/etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:57,759: DEBUG - + local delimit=@
2021-10-01 00:49:57,759: DEBUG - + match_string=__PATH__/
2021-10-01 00:49:57,759: DEBUG - + replace_string=/kresus/
2021-10-01 00:49:57,760: DEBUG - + sed --in-place s@__PATH__/@/kresus/@g /etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:57,762: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/kresus --target_file=/etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:57,830: DEBUG - + local delimit=@
2021-10-01 00:49:57,830: DEBUG - + match_string=__PATH__
2021-10-01 00:49:57,830: DEBUG - + replace_string=/kresus
2021-10-01 00:49:57,830: DEBUG - + sed --in-place s@__PATH__@/kresus@g /etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:57,833: DEBUG - + test -n kresus
2021-10-01 00:49:57,833: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=kresus --target_file=/etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:57,902: DEBUG - + local delimit=@
2021-10-01 00:49:57,902: DEBUG - + match_string=__NAME__
2021-10-01 00:49:57,902: DEBUG - + replace_string=kresus
2021-10-01 00:49:57,902: DEBUG - + sed --in-place s@__NAME__@kresus@g /etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:57,905: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=kresus --target_file=/etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:57,975: DEBUG - + local delimit=@
2021-10-01 00:49:57,976: DEBUG - + match_string=__NAMETOCHANGE__
2021-10-01 00:49:57,976: DEBUG - + replace_string=kresus
2021-10-01 00:49:57,976: DEBUG - + sed --in-place s@__NAMETOCHANGE__@kresus@g /etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:57,978: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=kresus --target_file=/etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:58,053: DEBUG - + local delimit=@
2021-10-01 00:49:58,053: DEBUG - + match_string=__USER__
2021-10-01 00:49:58,053: DEBUG - + replace_string=kresus
2021-10-01 00:49:58,053: DEBUG - + sed --in-place s@__USER__@kresus@g /etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:58,056: DEBUG - + test -n /var/www/kresus
2021-10-01 00:49:58,056: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/kresus --target_file=/etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:58,128: DEBUG - + local delimit=@
2021-10-01 00:49:58,129: DEBUG - + match_string=__FINALPATH__
2021-10-01 00:49:58,129: DEBUG - + replace_string=/var/www/kresus
2021-10-01 00:49:58,129: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/kresus@g /etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:58,131: DEBUG - + test -n 7.3
2021-10-01 00:49:58,132: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:58,229: DEBUG - + local delimit=@
2021-10-01 00:49:58,229: DEBUG - + match_string=__PHPVERSION__
2021-10-01 00:49:58,229: DEBUG - + replace_string=7.3
2021-10-01 00:49:58,229: DEBUG - + sed --in-place s@[email protected]@g /etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:58,232: DEBUG - + test -n ''
2021-10-01 00:49:58,232: DEBUG - + uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g" ))
2021-10-01 00:49:58,233: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2021-10-01 00:49:58,235: DEBUG - ++ sort --unique
2021-10-01 00:49:58,236: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:58,242: DEBUG - + local delimit=@
2021-10-01 00:49:58,242: DEBUG - + for one_var in "${uniques_vars[@]}"
2021-10-01 00:49:58,242: DEBUG - + [[ -v port ]]
2021-10-01 00:49:58,243: DEBUG - + match_string=__PORT__
2021-10-01 00:49:58,243: DEBUG - + match_string=__PORT__
2021-10-01 00:49:58,243: DEBUG - + replace_string=9876
2021-10-01 00:49:58,243: DEBUG - + replace_string=9876
2021-10-01 00:49:58,243: DEBUG - + replace_string=9876
2021-10-01 00:49:58,243: DEBUG - + sed --in-place s@__PORT__@9876@g /etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:58,246: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:58,259: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_kresus.conf
2021-10-01 00:49:58,261: DEBUG - ++ cut '--delimiter= ' --fields=1
2021-10-01 00:49:58,262: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/kresus.conf
2021-10-01 00:49:58,267: DEBUG - + ynh_app_setting_set --app=kresus --key=checksum__etc_nginx_conf.d_maindomain.tld.d_kresus.conf --value=0f55d2af338638f3a70f1447f6708035
2021-10-01 00:49:58,342: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_kresus.conf =~ (unprotected|protected|skipped)_ ]]
2021-10-01 00:49:58,342: DEBUG - + ynh_app_setting set kresus checksum__etc_nginx_conf.d_maindomain.tld.d_kresus.conf 0f55d2af338638f3a70f1447f6708035
2021-10-01 00:49:58,388: DEBUG - + '[' -n '' ']'
2021-10-01 00:49:58,389: DEBUG - + unset backup_file_checksum
2021-10-01 00:49:58,389: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2021-10-01 00:49:58,477: DEBUG - + service_name=nginx
2021-10-01 00:49:58,477: DEBUG - + action=reload
2021-10-01 00:49:58,477: DEBUG - + line_match=
2021-10-01 00:49:58,477: DEBUG - + length=20
2021-10-01 00:49:58,477: DEBUG - + log_path=/var/log/nginx/nginx.log
2021-10-01 00:49:58,478: DEBUG - + timeout=300
2021-10-01 00:49:58,478: DEBUG - + '[' reload == stop ']'
2021-10-01 00:49:58,478: DEBUG - + [[ -n '' ]]
2021-10-01 00:49:58,478: DEBUG - + '[' reload == reload ']'
2021-10-01 00:49:58,478: DEBUG - + action=reload-or-restart
2021-10-01 00:49:58,478: DEBUG - + systemctl reload-or-restart nginx
2021-10-01 00:49:58,698: DEBUG - + [[ -n '' ]]
2021-10-01 00:49:58,876: DEBUG - + echo '[########+...........] > Creating system user'
2021-10-01 00:49:58,876: DEBUG - + ynh_system_user_create --username=kresus
2021-10-01 00:49:58,877: INFO - [########+...........] > Creating system user
2021-10-01 00:49:58,942: DEBUG - + use_shell=0
2021-10-01 00:49:58,942: DEBUG - + home_dir=
2021-10-01 00:49:58,942: DEBUG - + groups=
2021-10-01 00:49:58,942: DEBUG - + ynh_system_user_exists kresus
2021-10-01 00:49:58,955: DEBUG - + getent passwd kresus
2021-10-01 00:49:58,961: DEBUG - + '[' -n '' ']'
2021-10-01 00:49:58,961: DEBUG - + local user_home_dir=--no-create-home
2021-10-01 00:49:58,961: DEBUG - + '[' 0 -eq 1 ']'
2021-10-01 00:49:58,961: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2021-10-01 00:49:58,961: DEBUG - + useradd --no-create-home --system --user-group kresus --shell /usr/sbin/nologin
2021-10-01 00:49:59,074: DEBUG - + echo '[#########+..........] > Installing nodejs'
2021-10-01 00:49:59,075: DEBUG - + ynh_exec_warn_less ynh_install_nodejs --nodejs_version=14
2021-10-01 00:49:59,075: DEBUG - + eval ynh_install_nodejs --nodejs_version=14
2021-10-01 00:49:59,075: DEBUG - ++ ynh_install_nodejs --nodejs_version=14
2021-10-01 00:49:59,075: INFO - [#########+..........] > Installing nodejs
2021-10-01 00:49:59,087: DEBUG - ++ mkdir --parents /opt/node_n
2021-10-01 00:49:59,089: DEBUG - ++ CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-10-01 00:49:59,090: DEBUG - +++ sed s@/usr/local/bin:@@
2021-10-01 00:49:59,092: DEBUG - +++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-10-01 00:49:59,094: DEBUG - ++ PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
2021-10-01 00:49:59,094: DEBUG - ++ test -x /usr/bin/node
2021-10-01 00:49:59,094: DEBUG - ++ test -x /usr/bin/npm
2021-10-01 00:49:59,094: DEBUG - ++ /opt/node_n/bin/n --version
2021-10-01 00:49:59,095: DEBUG - ++ ynh_install_n
2021-10-01 00:49:59,095: DEBUG - ++ ynh_print_info '--message=Installation of N - Node.js version management'
2021-10-01 00:49:59,107: DEBUG - ++ echo 'Installation of N - Node.js version management'
2021-10-01 00:49:59,107: DEBUG - ++ echo 'SOURCE_URL=https://github.com/tj/n/archive/v7.3.0.tar.gz
2021-10-01 00:49:59,107: DEBUG - SOURCE_SUM=b908b0fc86922ede37e89d1030191285209d7d521507bf136e62895e5797847f'
2021-10-01 00:49:59,107: DEBUG - ++ ynh_setup_source --dest_dir=/opt/node_n/git --source_id=n
2021-10-01 00:49:59,108: INFO - Installation of N - Node.js version management
2021-10-01 00:49:59,153: DEBUG - ++ source_id=n
2021-10-01 00:49:59,153: DEBUG - ++ keep=
2021-10-01 00:49:59,153: DEBUG - ++ local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf/n.src
2021-10-01 00:49:59,154: DEBUG - +++ cut --delimiter== --fields=2-
2021-10-01 00:49:59,156: DEBUG - +++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf/n.src
2021-10-01 00:49:59,158: DEBUG - ++ local src_url=https://github.com/tj/n/archive/v7.3.0.tar.gz
2021-10-01 00:49:59,159: DEBUG - +++ cut --delimiter== --fields=2-
2021-10-01 00:49:59,161: DEBUG - +++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf/n.src
2021-10-01 00:49:59,163: DEBUG - ++ local src_sum=b908b0fc86922ede37e89d1030191285209d7d521507bf136e62895e5797847f
2021-10-01 00:49:59,164: DEBUG - +++ cut --delimiter== --fields=2-
2021-10-01 00:49:59,165: DEBUG - +++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf/n.src
2021-10-01 00:49:59,167: DEBUG - ++ local src_sumprg=
2021-10-01 00:49:59,168: DEBUG - +++ cut --delimiter== --fields=2-
2021-10-01 00:49:59,170: DEBUG - +++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf/n.src
2021-10-01 00:49:59,172: DEBUG - ++ local src_format=
2021-10-01 00:49:59,173: DEBUG - +++ cut --delimiter== --fields=2-
2021-10-01 00:49:59,175: DEBUG - +++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf/n.src
2021-10-01 00:49:59,177: DEBUG - ++ local src_extract=
2021-10-01 00:49:59,178: DEBUG - +++ cut --delimiter== --fields=2-
2021-10-01 00:49:59,180: DEBUG - +++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf/n.src
2021-10-01 00:49:59,182: DEBUG - ++ local src_in_subdir=
2021-10-01 00:49:59,183: DEBUG - +++ cut --delimiter== --fields=2-
2021-10-01 00:49:59,185: DEBUG - +++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/conf/n.src
2021-10-01 00:49:59,187: DEBUG - ++ local src_filename=
2021-10-01 00:49:59,187: DEBUG - ++ src_sumprg=sha256sum
2021-10-01 00:49:59,187: DEBUG - ++ src_in_subdir=true
2021-10-01 00:49:59,187: DEBUG - ++ src_format=tar.gz
2021-10-01 00:49:59,188: DEBUG - +++ tr '[:upper:]' '[:lower:]'
2021-10-01 00:49:59,189: DEBUG - +++ echo tar.gz
2021-10-01 00:49:59,191: DEBUG - ++ src_format=tar.gz
2021-10-01 00:49:59,191: DEBUG - ++ src_extract=true
2021-10-01 00:49:59,191: DEBUG - ++ '[' '' = '' ']'
2021-10-01 00:49:59,191: DEBUG - ++ src_filename=n.tar.gz
2021-10-01 00:49:59,191: DEBUG - ++ local local_src=/opt/yunohost-apps-src/kresus/n.tar.gz
2021-10-01 00:49:59,191: DEBUG - ++ mkdir -p /var/cache/yunohost/download/kresus/
2021-10-01 00:49:59,193: DEBUG - ++ src_filename=/var/cache/yunohost/download/kresus/n.tar.gz
2021-10-01 00:49:59,193: DEBUG - ++ test -e /opt/yunohost-apps-src/kresus/n.tar.gz
2021-10-01 00:49:59,193: DEBUG - ++ '[' -n https://github.com/tj/n/archive/v7.3.0.tar.gz ']'
2021-10-01 00:49:59,194: DEBUG - +++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/kresus/n.tar.gz https://github.com/tj/n/archive/v7.3.0.tar.gz
2021-10-01 00:50:00,349: DEBUG - ++ out='2021-10-01 00:50:00 URL:https://codeload.github.com/tj/n/tar.gz/v7.3.0 [33486] -> "/var/cache/yunohost/download/kresus/n.tar.gz" [1]'
2021-10-01 00:50:00,353: DEBUG - ++ sha256sum --check --status
2021-10-01 00:50:00,354: DEBUG - ++ echo 'b908b0fc86922ede37e89d1030191285209d7d521507bf136e62895e5797847f /var/cache/yunohost/download/kresus/n.tar.gz'
2021-10-01 00:50:00,356: DEBUG - ++ rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2021-10-01 00:50:00,359: DEBUG - ++ '[' -n '' ']'
2021-10-01 00:50:00,359: DEBUG - ++ mkdir --parents /opt/node_n/git
2021-10-01 00:50:00,364: DEBUG - ++ '[' -n /var/www/kresus ']'
2021-10-01 00:50:00,365: DEBUG - ++ '[' /opt/node_n/git == /var/www/kresus ']'
2021-10-01 00:50:00,365: DEBUG - ++ true
2021-10-01 00:50:00,365: DEBUG - ++ '[' tar.gz = zip ']'
2021-10-01 00:50:00,365: DEBUG - ++ local strip=
2021-10-01 00:50:00,365: DEBUG - ++ '[' true '!=' false ']'
2021-10-01 00:50:00,365: DEBUG - ++ '[' true == true ']'
2021-10-01 00:50:00,365: DEBUG - ++ local sub_dirs=1
2021-10-01 00:50:00,365: DEBUG - ++ strip='--strip-components 1'
2021-10-01 00:50:00,365: DEBUG - ++ [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2021-10-01 00:50:00,365: DEBUG - ++ tar --extract --file=/var/cache/yunohost/download/kresus/n.tar.gz --directory=/opt/node_n/git --strip-components 1
2021-10-01 00:50:00,386: DEBUG - ++ ynh_secure_remove --file=/var/cache/yunohost/download/kresus/n.tar.gz
2021-10-01 00:50:00,429: DEBUG - ++ local 'forbidden_path=     /var/www     /home/yunohost.app'
2021-10-01 00:50:00,429: DEBUG - ++ '[' 1 -ge 2 ']'
2021-10-01 00:50:00,429: DEBUG - ++ [[ -z /var/cache/yunohost/download/kresus/n.tar.gz ]]
2021-10-01 00:50:00,429: DEBUG - ++ [[      /var/www     /home/yunohost.app =~ /var/cache/yunohost/download/kresus/n\.tar\.gz ]]
2021-10-01 00:50:00,429: DEBUG - ++ [[ /var/cache/yunohost/download/kresus/n.tar.gz =~ ^/[[:alnum:]]+$ ]]
2021-10-01 00:50:00,429: DEBUG - ++ [[ z = \/ ]]
2021-10-01 00:50:00,429: DEBUG - ++ '[' -e /var/cache/yunohost/download/kresus/n.tar.gz ']'
2021-10-01 00:50:00,430: DEBUG - ++ rm --recursive /var/cache/yunohost/download/kresus/n.tar.gz
2021-10-01 00:50:00,438: DEBUG - ++ '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/sources/patches/ ']'
2021-10-01 00:50:00,438: DEBUG - ++ test -e /var/cache/yunohost/app_tmp_work_dirs/app_3x1vr5m_/sources/extra_files/n
2021-10-01 00:50:00,439: DEBUG - ++ '[' -n '' ']'
2021-10-01 00:50:00,439: DEBUG - ++ rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2021-10-01 00:50:00,447: DEBUG - ++ cd /opt/node_n/git
2021-10-01 00:50:00,447: DEBUG - ++ PREFIX=/opt/node_n
2021-10-01 00:50:00,448: DEBUG - ++ make install
2021-10-01 00:50:00,454: DEBUG - mkdir -p /opt/node_n/bin/
2021-10-01 00:50:00,460: DEBUG - cp bin/n /opt/node_n/bin/n
2021-10-01 00:50:00,465: 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
2021-10-01 00:50:00,745: DEBUG - ++ local delimit=@
2021-10-01 00:50:00,746: DEBUG - ++ match_string='^N_PREFIX=${N_PREFIX-.*}$'
2021-10-01 00:50:00,746: DEBUG - ++ replace_string='N_PREFIX=${N_PREFIX-/opt/node_n}'
2021-10-01 00:50:00,746: DEBUG - ++ sed --in-place 's@^N_PREFIX=${N_PREFIX-.*}$@N_PREFIX=${N_PREFIX-/opt/node_n}@g' /opt/node_n/bin/n
2021-10-01 00:50:00,754: DEBUG - ++ PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-10-01 00:50:00,754: DEBUG - ++ test -x /usr/bin/node_n
2021-10-01 00:50:00,754: DEBUG - ++ test -x /usr/bin/npm_n
2021-10-01 00:50:00,759: DEBUG - +++ uname --machine
2021-10-01 00:50:00,767: DEBUG - ++ uname=x86_64
2021-10-01 00:50:00,767: DEBUG - ++ [[ x86_64 =~ aarch64 ]]
2021-10-01 00:50:00,768: DEBUG - ++ [[ x86_64 =~ arm64 ]]
2021-10-01 00:50:00,768: DEBUG - ++ n 14
2021-10-01 00:50:01,217: DEBUG -   installing : node-v14.18.0
2021-10-01 00:50:01,520: DEBUG -        mkdir : /opt/node_n/n/versions/node/14.18.0
2021-10-01 00:50:01,532: DEBUG -        fetch : https://nodejs.org/dist/v14.18.0/node-v14.18.0-linux-x64.tar.xz
2021-10-01 00:50:07,291: DEBUG -    installed : v14.18.0 (with npm 6.14.15)
2021-10-01 00:50:07,294: DEBUG - +++ tail --lines=1
2021-10-01 00:50:07,295: DEBUG - +++ sort --version-sort
2021-10-01 00:50:07,296: DEBUG - +++ find /opt/node_n/n/versions/node/14.18.0 -maxdepth 0
2021-10-01 00:50:07,301: DEBUG - ++ real_nodejs_version=/opt/node_n/n/versions/node/14.18.0
2021-10-01 00:50:07,301: DEBUG - +++ basename /opt/node_n/n/versions/node/14.18.0
2021-10-01 00:50:07,304: DEBUG - ++ real_nodejs_version=14.18.0
2021-10-01 00:50:07,305: DEBUG - ++ '[' '!' -e /opt/node_n/n/versions/node/14 ']'
2021-10-01 00:50:07,305: DEBUG - ++ ln --symbolic --force --no-target-directory /opt/node_n/n/versions/node/14.18.0 /opt/node_n/n/versions/node/14
2021-10-01 00:50:07,307: DEBUG - ++ tee --append /opt/node_n/ynh_app_version
2021-10-01 00:50:07,309: DEBUG - ++ echo kresus:14
2021-10-01 00:50:07,310: DEBUG - kresus:14
2021-10-01 00:50:07,310: DEBUG - ++ ynh_app_setting_set --app=kresus --key=nodejs_version --value=14
2021-10-01 00:50:07,386: DEBUG - ++ [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
2021-10-01 00:50:07,386: DEBUG - ++ ynh_app_setting set kresus nodejs_version 14
2021-10-01 00:50:07,452: DEBUG - ++ ynh_cron_upgrade_node
2021-10-01 00:50:07,452: DEBUG - ++ cat
2021-10-01 00:50:07,455: DEBUG - ++ chmod +x /opt/node_n/node_update.sh
2021-10-01 00:50:07,460: DEBUG - ++ cat
2021-10-01 00:50:07,465: DEBUG - ++ chmod +x /etc/cron.daily/node_update
2021-10-01 00:50:07,468: DEBUG - ++ ynh_use_nodejs
2021-10-01 00:50:07,470: DEBUG - +++ ynh_app_setting_get --app=kresus --key=nodejs_version
2021-10-01 00:50:07,510: DEBUG - +++ [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
2021-10-01 00:50:07,510: DEBUG - +++ ynh_app_setting get kresus nodejs_version
2021-10-01 00:50:07,556: DEBUG - ++ nodejs_version=14
2021-10-01 00:50:07,556: DEBUG - ++ nodejs_path=/opt/node_n/n/versions/node/14/bin
2021-10-01 00:50:07,556: DEBUG - ++ shopt -s expand_aliases
2021-10-01 00:50:07,556: DEBUG - ++ ynh_node=/opt/node_n/n/versions/node/14/bin/node
2021-10-01 00:50:07,556: DEBUG - ++ alias ynh_node=/opt/node_n/n/versions/node/14/bin/node
2021-10-01 00:50:07,556: DEBUG - ++ ynh_npm=/opt/node_n/n/versions/node/14/bin/npm
2021-10-01 00:50:07,556: DEBUG - ++ alias ynh_npm=/opt/node_n/n/versions/node/14/bin/npm
2021-10-01 00:50:07,556: 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\4\/\b\i\n* ]]
2021-10-01 00:50:07,556: DEBUG - ++ PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-10-01 00:50:07,557: DEBUG - ++ node_PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-10-01 00:50:07,557: DEBUG - ++ ynh_node_load_PATH=PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-10-01 00:50:07,557: DEBUG - ++ ynh_node_load_path=PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-10-01 00:50:07,612: DEBUG - + echo '[##########++........] > Installing woob'
2021-10-01 00:50:07,612: DEBUG - + virtualenv --python=python3 --system-site-packages /var/www/kresus/venv
2021-10-01 00:50:07,612: INFO - [##########++........] > Installing woob
2021-10-01 00:50:08,139: DEBUG - Already using interpreter /usr/bin/python3
2021-10-01 00:50:08,139: DEBUG - Using base prefix '/usr'
2021-10-01 00:50:08,140: DEBUG - New python executable in /var/www/kresus/venv/bin/python3
2021-10-01 00:50:08,140: DEBUG - Also creating executable in /var/www/kresus/venv/bin/python
2021-10-01 00:50:14,503: DEBUG - Installing setuptools, pkg_resources, pip, wheel...done.
2021-10-01 00:50:14,532: DEBUG - + set +o nounset
2021-10-01 00:50:14,533: DEBUG - + source /var/www/kresus/venv/bin/activate
2021-10-01 00:50:14,534: DEBUG - ++ deactivate nondestructive
2021-10-01 00:50:14,534: DEBUG - ++ unset -f pydoc
2021-10-01 00:50:14,535: DEBUG - ++ '[' -z '' ']'
2021-10-01 00:50:14,535: DEBUG - ++ '[' -z '' ']'
2021-10-01 00:50:14,535: DEBUG - ++ '[' -n /bin/bash ']'
2021-10-01 00:50:14,535: DEBUG - ++ hash -r
2021-10-01 00:50:14,535: DEBUG - ++ '[' -z '' ']'
2021-10-01 00:50:14,535: DEBUG - ++ unset VIRTUAL_ENV
2021-10-01 00:50:14,535: DEBUG - ++ '[' '!' nondestructive = nondestructive ']'
2021-10-01 00:50:14,536: DEBUG - ++ VIRTUAL_ENV=/var/www/kresus/venv
2021-10-01 00:50:14,536: DEBUG - ++ export VIRTUAL_ENV
2021-10-01 00:50:14,536: DEBUG - ++ _OLD_VIRTUAL_PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-10-01 00:50:14,536: DEBUG - ++ PATH=/var/www/kresus/venv/bin:/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-10-01 00:50:14,536: DEBUG - ++ export PATH
2021-10-01 00:50:14,536: DEBUG - ++ '[' -z '' ']'
2021-10-01 00:50:14,537: DEBUG - ++ '[' -z '' ']'
2021-10-01 00:50:14,537: DEBUG - ++ _OLD_VIRTUAL_PS1=
2021-10-01 00:50:14,537: DEBUG - ++ '[' x '!=' x ']'
2021-10-01 00:50:14,538: DEBUG - +++ basename /var/www/kresus/venv
2021-10-01 00:50:14,541: DEBUG - ++ PS1='(venv) '
2021-10-01 00:50:14,542: DEBUG - ++ export PS1
2021-10-01 00:50:14,542: DEBUG - ++ alias pydoc
2021-10-01 00:50:14,542: DEBUG - ++ '[' -n /bin/bash ']'
2021-10-01 00:50:14,542: DEBUG - ++ hash -r
2021-10-01 00:50:14,542: DEBUG - + set -o nounset
2021-10-01 00:50:14,542: DEBUG - + pip install --upgrade pip
2021-10-01 00:50:14,987: DEBUG - Requirement already satisfied: pip in /var/www/kresus/venv/lib/python3.7/site-packages (21.2.4)
2021-10-01 00:50:15,473: DEBUG - + pip install woob html2text simplejson BeautifulSoup4 PyExecJS pdfminer.six --ignore-installed
2021-10-01 00:50:16,043: DEBUG - Collecting woob
2021-10-01 00:50:16,643: DEBUG -   Downloading woob-3.0-py2.py3-none-any.whl (606 kB)
2021-10-01 00:50:17,374: DEBUG - Collecting html2text
2021-10-01 00:50:17,530: DEBUG -   Downloading html2text-2020.1.16-py3-none-any.whl (32 kB)
2021-10-01 00:50:17,729: DEBUG - Collecting simplejson
2021-10-01 00:50:17,890: DEBUG -   Downloading simplejson-3.17.5-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (129 kB)
2021-10-01 00:50:17,984: DEBUG - Collecting BeautifulSoup4
2021-10-01 00:50:18,143: DEBUG -   Downloading beautifulsoup4-4.10.0-py3-none-any.whl (97 kB)
2021-10-01 00:50:18,292: DEBUG - Collecting PyExecJS
2021-10-01 00:50:18,442: DEBUG -   Downloading PyExecJS-1.5.1.tar.gz (13 kB)
2021-10-01 00:50:18,766: DEBUG - Collecting pdfminer.six
2021-10-01 00:50:18,920: DEBUG -   Downloading pdfminer.six-20201018-py3-none-any.whl (5.6 MB)
2021-10-01 00:50:19,615: DEBUG - Collecting requests>=2.0.0
2021-10-01 00:50:19,765: DEBUG -   Downloading requests-2.26.0-py2.py3-none-any.whl (62 kB)
2021-10-01 00:50:19,877: DEBUG - Collecting PyYAML
2021-10-01 00:50:20,030: DEBUG -   Downloading PyYAML-5.4.1-cp37-cp37m-manylinux1_x86_64.whl (636 kB)
2021-10-01 00:50:20,097: DEBUG - Collecting unidecode
2021-10-01 00:50:20,257: DEBUG -   Downloading Unidecode-1.3.2-py3-none-any.whl (235 kB)
2021-10-01 00:50:20,336: DEBUG - Collecting python-dateutil
2021-10-01 00:50:20,496: DEBUG -   Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
2021-10-01 00:50:20,551: DEBUG - Collecting cssselect
2021-10-01 00:50:20,706: DEBUG -   Downloading cssselect-1.1.0-py2.py3-none-any.whl (16 kB)
2021-10-01 00:50:21,109: DEBUG - Collecting lxml
2021-10-01 00:50:21,253: DEBUG -   Downloading lxml-4.6.3-cp37-cp37m-manylinux2014_x86_64.whl (6.3 MB)
2021-10-01 00:50:21,648: DEBUG - Collecting six
2021-10-01 00:50:21,814: DEBUG -   Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
2021-10-01 00:50:22,383: DEBUG - Collecting Pillow
2021-10-01 00:50:22,523: DEBUG -   Downloading Pillow-8.3.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB)
2021-10-01 00:50:22,678: DEBUG - Collecting Babel
2021-10-01 00:50:22,823: DEBUG -   Downloading Babel-2.9.1-py2.py3-none-any.whl (8.8 MB)
2021-10-01 00:50:23,358: DEBUG - Collecting soupsieve>1.2
2021-10-01 00:50:23,503: DEBUG -   Downloading soupsieve-2.2.1-py3-none-any.whl (33 kB)
2021-10-01 00:50:23,979: DEBUG - Collecting cryptography
2021-10-01 00:50:24,135: DEBUG -   Downloading cryptography-35.0.0-cp36-abi3-manylinux_2_24_x86_64.whl (3.5 MB)
2021-10-01 00:50:24,389: DEBUG - Collecting sortedcontainers
2021-10-01 00:50:24,544: DEBUG -   Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
2021-10-01 00:50:24,600: DEBUG - Collecting chardet
2021-10-01 00:50:24,609: DEBUG -   Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
2021-10-01 00:50:24,736: DEBUG - Collecting urllib3<1.27,>=1.21.1
2021-10-01 00:50:24,895: DEBUG -   Downloading urllib3-1.26.7-py2.py3-none-any.whl (138 kB)
2021-10-01 00:50:24,957: DEBUG - Collecting idna<4,>=2.5
2021-10-01 00:50:25,118: DEBUG -   Downloading idna-3.2-py3-none-any.whl (59 kB)
2021-10-01 00:50:25,182: DEBUG - Collecting charset-normalizer~=2.0.0
2021-10-01 00:50:25,327: DEBUG -   Downloading charset_normalizer-2.0.6-py3-none-any.whl (37 kB)
2021-10-01 00:50:25,404: DEBUG - Collecting certifi>=2017.4.17
2021-10-01 00:50:25,550: DEBUG -   Downloading certifi-2021.5.30-py2.py3-none-any.whl (145 kB)
2021-10-01 00:50:25,752: DEBUG - Collecting pytz>=2015.7
2021-10-01 00:50:25,898: DEBUG -   Downloading pytz-2021.1-py2.py3-none-any.whl (510 kB)
2021-10-01 00:50:26,637: DEBUG - Collecting cffi>=1.12
2021-10-01 00:50:26,663: DEBUG -   Using cached cffi-1.14.6-cp37-cp37m-manylinux1_x86_64.whl (402 kB)
2021-10-01 00:50:26,725: DEBUG - Collecting pycparser
2021-10-01 00:50:26,736: DEBUG -   Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
2021-10-01 00:50:26,796: DEBUG - Building wheels for collected packages: PyExecJS
2021-10-01 00:50:26,797: DEBUG -   Building wheel for PyExecJS (setup.py): started
2021-10-01 00:50:27,103: DEBUG -   Building wheel for PyExecJS (setup.py): finished with status 'done'
2021-10-01 00:50:27,103: DEBUG -   Created wheel for PyExecJS: filename=PyExecJS-1.5.1-py3-none-any.whl size=14596 sha256=fd806b5608dfeffabde7e79da5271688de87f4d96ccb919fe1c6dcdcac3c4488
2021-10-01 00:50:27,103: DEBUG -   Stored in directory: /root/.cache/pip/wheels/9a/ee/03/da5c0b4a8c13362beeb844eb913bbe58a89bde1de2b9157007
2021-10-01 00:50:27,105: DEBUG - Successfully built PyExecJS
2021-10-01 00:50:27,294: DEBUG - Installing collected packages: pycparser, urllib3, six, pytz, idna, charset-normalizer, cffi, certifi, unidecode, soupsieve, sortedcontainers, requests, PyYAML, python-dateutil, Pillow, lxml, html2text, cssselect, cryptography, chardet, Babel, woob, simplejson, PyExecJS, pdfminer.six, BeautifulSoup4
2021-10-01 00:50:30,708: DEBUG - Successfully installed Babel-2.9.1 BeautifulSoup4-4.10.0 Pillow-8.3.2 PyExecJS-1.5.1 PyYAML-5.4.1 certifi-2021.5.30 cffi-1.14.6 chardet-4.0.0 charset-normalizer-2.0.6 cryptography-35.0.0 cssselect-1.1.0 html2text-2020.1.16 idna-3.2 lxml-4.6.3 pdfminer.six-20201018 pycparser-2.20 python-dateutil-2.8.2 pytz-2021.1 requests-2.26.0 simplejson-3.17.5 six-1.16.0 sortedcontainers-2.4.0 soupsieve-2.2.1 unidecode-1.3.2 urllib3-1.26.7 woob-3.0
2021-10-01 00:50:30,994: DEBUG - + echo '[############+.......] > Installing app'
2021-10-01 00:50:30,994: DEBUG - + ynh_use_nodejs
2021-10-01 00:50:30,994: INFO - [############+.......] > Installing app
2021-10-01 00:50:30,997: DEBUG - ++ ynh_app_setting_get --app=kresus --key=nodejs_version
2021-10-01 00:50:31,036: DEBUG - ++ [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
2021-10-01 00:50:31,037: DEBUG - ++ ynh_app_setting get kresus nodejs_version
2021-10-01 00:50:31,093: DEBUG - + nodejs_version=14
2021-10-01 00:50:31,093: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/14/bin
2021-10-01 00:50:31,093: DEBUG - + shopt -s expand_aliases
2021-10-01 00:50:31,093: DEBUG - + ynh_node=/opt/node_n/n/versions/node/14/bin/node
2021-10-01 00:50:31,093: DEBUG - + alias ynh_node=/opt/node_n/n/versions/node/14/bin/node
2021-10-01 00:50:31,093: DEBUG - + ynh_npm=/opt/node_n/n/versions/node/14/bin/npm
2021-10-01 00:50:31,094: DEBUG - + alias ynh_npm=/opt/node_n/n/versions/node/14/bin/npm
2021-10-01 00:50:31,094: DEBUG - + [[ :/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: != *\:\/\o\p\t\/\n\o\d\e\_\n\/\n\/\v\e\r\s\i\o\n\s\/\n\o\d\e\/\1\4\/\b\i\n* ]]
2021-10-01 00:50:31,094: DEBUG - + node_PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-10-01 00:50:31,094: DEBUG - + ynh_node_load_PATH=PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-10-01 00:50:31,094: DEBUG - + ynh_node_load_path=PATH=/opt/node_n/n/versions/node/14/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-10-01 00:50:31,094: DEBUG - + cd /var/www/kresus
2021-10-01 00:50:31,095: DEBUG - + chown -R kresus: /var/www/kresus
2021-10-01 00:50:31,160: DEBUG - + ynh_exec_warn_less ynh_npm install --production --unsafe-perm
2021-10-01 00:50:31,161: DEBUG - + eval ynh_npm install --production --unsafe-perm
2021-10-01 00:50:31,161: DEBUG - ++ /opt/node_n/n/versions/node/14/bin/npm install --production --unsafe-perm
2021-10-01 00:50:32,499: DEBUG - npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but npm-shrinkwrap.json was generated for lockfileVersion@2. I'll try to do my best with it!
2021-10-01 00:50:35,994: DEBUG - npm WARN deprecated [email protected]: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
2021-10-01 00:50:46,802: DEBUG - npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
2021-10-01 00:50:49,343: DEBUG - npm WARN deprecated [email protected]: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
2021-10-01 00:50:50,288: DEBUG - npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
2021-10-01 00:50:59,498: DEBUG - npm WARN deprecated [email protected]: "Please update to latest v2.3 or v2.2"
2021-10-01 00:51:00,530: DEBUG - npm WARN deprecated [email protected]: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
2021-10-01 00:51:00,742: DEBUG - npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
2021-10-01 00:51:02,085: DEBUG - npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2021-10-01 00:51:02,578: DEBUG - npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
2021-10-01 00:51:03,325: DEBUG - npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
2021-10-01 00:51:05,988: DEBUG - npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
2021-10-01 00:51:06,140: DEBUG - npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
2021-10-01 00:51:07,860: DEBUG - npm WARN deprecated [email protected]: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
2021-10-01 00:51:07,977: DEBUG - npm WARN deprecated [email protected]: this library is no longer supported
2021-10-01 00:51:10,082: DEBUG - npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
2021-10-01 00:51:10,761: DEBUG - npm WARN deprecated [email protected]: This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
2021-10-01 00:51:12,080: DEBUG - npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
2021-10-01 00:51:12,239: DEBUG - npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
2021-10-01 00:51:12,811: DEBUG - npm WARN deprecated [email protected]: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
2021-10-01 00:51:52,329: DEBUG - 
2021-10-01 00:51:52,335: DEBUG - > [email protected] install /var/www/kresus/node_modules/node-expat
2021-10-01 00:51:52,335: DEBUG - > node-gyp rebuild
2021-10-01 00:51:52,335: DEBUG - 
2021-10-01 00:52:01,577: DEBUG - 
2021-10-01 00:52:01,685: DEBUG - + ynh_exit_properly
2021-10-01 00:52:01,687: DEBUG - + local exit_code=244
2021-10-01 00:52:01,687: DEBUG - + rm -rf /var/cache/yunohost/download/
2021-10-01 00:52:01,710: DEBUG - + '[' 244 -eq 0 ']'
2021-10-01 00:52:01,710: DEBUG - + trap '' EXIT
2021-10-01 00:52:01,711: DEBUG - + set +o errexit
2021-10-01 00:52:01,711: DEBUG - + set +o nounset
2021-10-01 00:52:01,711: DEBUG - + sleep 0.5
2021-10-01 00:52:02,218: DEBUG - + type -t ynh_clean_setup
2021-10-01 00:52:02,219: DEBUG - + exit 1
2021-10-01 00:52:03,223: ERROR - Impossible d’installer kresus : Une erreur est survenue dans le script d’installation de l’application
@nicofrand
Copy link
Collaborator

Hi,

did you try several times? The logs are not really helpful but I know node-gyp rebuild might fail sometimes on some low memory configurations (or other random cases).

@nicofrand
Copy link
Collaborator

Closing in favor of #71

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants