Bookstack installation (Via SSH and web interface) unfortunately aborts due to an error.
Logs:
2021-01-09 13:20:04,217: INFO - bookstack wird installiert...
2021-01-09 13:20:04,278: DEBUG - Permission 'bookstack.main' updated
2021-01-09 13:20:04,314: DEBUG - Vollständiges Log dieser Operation: 'Update url related to permission 'bookstack''
2021-01-09 13:20:04,391: DEBUG - The permission database has been resynchronized
2021-01-09 13:20:04,437: DEBUG - Die Konfiguration von SSOwat erstellt
2021-01-09 13:20:04,476: DEBUG - Permission 'bookstack.main' created
2021-01-09 13:20:04,476: DEBUG - Vollständiges Log dieser Operation: 'Create permission 'bookstack''
2021-01-09 13:20:04,484: DEBUG - Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/scripts YNH_APP_MANIFEST_VERSION=0.26.3 YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmp60Hwox/stdinfo YNH_APP_INSTANCE_NAME=bookstack YNH_INTERFACE=api YNH_APP_ID=bookstack YNH_APP_ARG_PATH=/bs YNH_STDRETURN=/tmp/tmp66khZz/stdreturn YNH_APP_ARG_DOMAIN=tectastic.de BASH_XTRACEFD=7 /bin/bash -x "./install" tectastic.de /bs 1 bookstack 7>&1'
2021-01-09 13:20:04,497: DEBUG - + source common.sh
2021-01-09 13:20:04,498: DEBUG - + source /usr/share/yunohost/helpers
2021-01-09 13:20:04,498: DEBUG - +++ set +o
2021-01-09 13:20:04,498: DEBUG - +++ grep xtrace
2021-01-09 13:20:04,498: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-01-09 13:20:04,498: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2021-01-09 13:20:04,598: DEBUG - + ynh_abort_if_errors
2021-01-09 13:20:04,598: DEBUG - + set -o errexit
2021-01-09 13:20:04,598: DEBUG - + set -o nounset
2021-01-09 13:20:04,598: DEBUG - + trap ynh_exit_properly EXIT
2021-01-09 13:20:04,599: DEBUG - + domain=tectastic.de
2021-01-09 13:20:04,599: DEBUG - + path_url=/bs
2021-01-09 13:20:04,599: DEBUG - + is_public=1
2021-01-09 13:20:04,599: DEBUG - + app=bookstack
2021-01-09 13:20:04,599: DEBUG - + final_path=/var/www/bookstack
2021-01-09 13:20:04,599: DEBUG - + test '!' -e /var/www/bookstack
2021-01-09 13:20:04,599: DEBUG - ++ ynh_normalize_url_path /bs
2021-01-09 13:20:04,600: DEBUG - ++ test -n /bs
2021-01-09 13:20:04,600: DEBUG - ++ '[' / '!=' / ']'
2021-01-09 13:20:04,600: DEBUG - ++ '[' s == / ']'
2021-01-09 13:20:04,600: DEBUG - ++ echo /bs
2021-01-09 13:20:04,600: DEBUG - + path_url=/bs
2021-01-09 13:20:04,600: DEBUG - + ynh_webpath_available tectastic.de /bs
2021-01-09 13:20:04,601: DEBUG - + yunohost domain url-available tectastic.de /bs
2021-01-09 13:20:04,801: DEBUG - True
2021-01-09 13:20:04,801: DEBUG - + ynh_webpath_register bookstack tectastic.de /bs
2021-01-09 13:20:04,802: DEBUG - + yunohost app register-url bookstack tectastic.de /bs
2021-01-09 13:20:05,403: DEBUG - + ynh_app_setting_set bookstack domain tectastic.de
2021-01-09 13:20:05,404: DEBUG - + [[ domain =~ (unprotected|protected|skipped) ]]
2021-01-09 13:20:05,404: DEBUG - + ynh_app_setting set bookstack domain tectastic.de
2021-01-09 13:20:05,404: DEBUG - + ACTION=set
2021-01-09 13:20:05,404: DEBUG - + APP=bookstack
2021-01-09 13:20:05,404: DEBUG - + KEY=domain
2021-01-09 13:20:05,404: DEBUG - + VALUE=tectastic.de
2021-01-09 13:20:05,404: DEBUG - + python2.7 -
2021-01-09 13:20:05,404: DEBUG - + ynh_app_setting_set bookstack path /bs
2021-01-09 13:20:05,505: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2021-01-09 13:20:05,505: DEBUG - + ynh_app_setting set bookstack path /bs
2021-01-09 13:20:05,505: DEBUG - + ACTION=set
2021-01-09 13:20:05,505: DEBUG - + APP=bookstack
2021-01-09 13:20:05,505: DEBUG - + KEY=path
2021-01-09 13:20:05,505: DEBUG - + VALUE=/bs
2021-01-09 13:20:05,506: DEBUG - + python2.7 -
2021-01-09 13:20:05,506: DEBUG - + ynh_app_setting_set bookstack is_public 1
2021-01-09 13:20:05,506: DEBUG - + [[ is_public =~ (unprotected|protected|skipped)_ ]]
2021-01-09 13:20:05,506: DEBUG - + ynh_app_setting set bookstack is_public 1
2021-01-09 13:20:05,506: DEBUG - + ACTION=set
2021-01-09 13:20:05,506: DEBUG - + APP=bookstack
2021-01-09 13:20:05,506: DEBUG - + KEY=is_public
2021-01-09 13:20:05,507: DEBUG - + VALUE=1
2021-01-09 13:20:05,507: DEBUG - + python2.7 -
2021-01-09 13:20:05,607: DEBUG - + ynh_print_info 'Installing dependencies...'
2021-01-09 13:20:05,607: INFO - Installing dependencies...
2021-01-09 13:20:05,608: DEBUG - + echo 'Installing dependencies...'
2021-01-09 13:20:05,608: DEBUG - + ynh_install_app_dependencies php7.3-fpm php7.3-cli php7.3-curl php7.3-mysql php7.3-ldap php7.3-mbstring php7.3-tidy php7.3-xml php7.3-zip php7.3-gd php7.3-mysql
2021-01-09 13:20:05,608: DEBUG - + local 'dependencies=php7.3-fpm php7.3-cli php7.3-curl php7.3-mysql php7.3-ldap php7.3-mbstring php7.3-tidy php7.3-xml php7.3-zip php7.3-gd php7.3-mysql'
2021-01-09 13:20:05,608: DEBUG - ++ echo 'php7.3-fpm php7.3-cli php7.3-curl php7.3-mysql php7.3-ldap php7.3-mbstring php7.3-tidy php7.3-xml php7.3-zip php7.3-gd php7.3-mysql'
2021-01-09 13:20:05,608: DEBUG - ++ sed 's/([^\<=\>])\ ([^(])/\1, \2/g'
2021-01-09 13:20:05,608: DEBUG - + dependencies='php7.3-fpm, php7.3-cli, php7.3-curl, php7.3-mysql, php7.3-ldap, php7.3-mbstring, php7.3-tidy, php7.3-xml, php7.3-zip, php7.3-gd, php7.3-mysql'
2021-01-09 13:20:05,609: DEBUG - + local 'dependencies=php7.3-fpm, php7.3-cli, php7.3-curl, php7.3-mysql, php7.3-ldap, php7.3-mbstring, php7.3-tidy, php7.3-xml, php7.3-zip, php7.3-gd, php7.3-mysql'
2021-01-09 13:20:05,609: DEBUG - + local manifest_path=../manifest.json
2021-01-09 13:20:05,609: DEBUG - + '[' '!' -e ../manifest.json ']'
2021-01-09 13:20:05,609: DEBUG - ++ grep '"version": ' ../manifest.json
2021-01-09 13:20:05,609: DEBUG - ++ cut '--delimiter="' --fields=4
2021-01-09 13:20:05,609: DEBUG - + local version=0.26.3
2021-01-09 13:20:05,609: DEBUG - + '[' 6 -eq 0 ']'
2021-01-09 13:20:05,609: DEBUG - + local dep_app=bookstack
2021-01-09 13:20:05,609: DEBUG - + [[ php7.3-fpm, php7.3-cli, php7.3-curl, php7.3-mysql, php7.3-ldap, php7.3-mbstring, php7.3-tidy, php7.3-xml, php7.3-zip, php7.3-gd, php7.3-mysql =~ [<=>] ]]
2021-01-09 13:20:05,609: DEBUG - + echo php7.3-fpm, php7.3-cli, php7.3-curl, php7.3-mysql, php7.3-ldap, php7.3-mbstring, php7.3-tidy, php7.3-xml, php7.3-zip, php7.3-gd, php7.3-mysql
2021-01-09 13:20:05,609: DEBUG - + grep --quiet php
2021-01-09 13:20:05,609: DEBUG - + dpkg --list
2021-01-09 13:20:05,609: DEBUG - + grep php7.0
2021-01-09 13:20:05,609: DEBUG - + grep --quiet --invert-match 7.0.33-0+deb9
2021-01-09 13:20:05,609: DEBUG - + cat
2021-01-09 13:20:05,610: DEBUG - + ynh_package_install_from_equivs /tmp/bookstack-ynh-deps.control
2021-01-09 13:20:05,610: DEBUG - + local controlfile=/tmp/bookstack-ynh-deps.control
2021-01-09 13:20:05,610: DEBUG - ++ grep '^Package: ' /tmp/bookstack-ynh-deps.control
2021-01-09 13:20:05,610: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-01-09 13:20:05,610: DEBUG - + local pkgname=bookstack-ynh-deps
2021-01-09 13:20:05,610: DEBUG - ++ grep '^Version: ' /tmp/bookstack-ynh-deps.control
2021-01-09 13:20:05,610: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-01-09 13:20:05,610: DEBUG - + local pkgversion=0.26.3
2021-01-09 13:20:05,610: DEBUG - + [[ -z bookstack-ynh-deps ]]
2021-01-09 13:20:05,610: DEBUG - + [[ -z 0.26.3 ]]
2021-01-09 13:20:05,610: DEBUG - + ynh_package_update
2021-01-09 13:20:05,610: DEBUG - + ynh_apt update
2021-01-09 13:20:05,610: DEBUG - + ynh_wait_dpkg_free
2021-01-09 13:20:05,711: DEBUG - + return 0
2021-01-09 13:20:05,711: DEBUG - + LC_ALL=C
2021-01-09 13:20:05,711: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-01-09 13:20:05,711: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-01-09 13:20:05,911: DEBUG - Hit:1 http://forge.yunohost.org/debian buster InRelease
2021-01-09 13:20:06,012: DEBUG - Hit:2 http://ftp.debian.org/debian buster InRelease
2021-01-09 13:20:06,012: DEBUG - Hit:3 http://security.debian.org/debian-security buster/updates InRelease
2021-01-09 13:20:06,012: DEBUG - Hit:4 http://ftp.debian.org/debian buster-updates InRelease
2021-01-09 13:20:06,713: DEBUG - Reading package lists...
2021-01-09 13:20:06,713: DEBUG - ++ mktemp --directory
2021-01-09 13:20:06,713: DEBUG - + local TMPDIR=/tmp/tmp.zHapHhJhLV
2021-01-09 13:20:06,713: DEBUG - + echo 10
2021-01-09 13:20:06,714: DEBUG - + ynh_wait_dpkg_free
2021-01-09 13:20:06,814: DEBUG - + return 0
2021-01-09 13:20:06,814: DEBUG - + cp /tmp/bookstack-ynh-deps.control /tmp/tmp.zHapHhJhLV/control
2021-01-09 13:20:06,814: DEBUG - + cd /tmp/tmp.zHapHhJhLV
2021-01-09 13:20:06,814: DEBUG - + LC_ALL=C
2021-01-09 13:20:06,814: DEBUG - + equivs-build ./control
2021-01-09 13:20:07,215: DEBUG - + LC_ALL=C
2021-01-09 13:20:07,215: DEBUG - + dpkg --force-depends --install ./bookstack-ynh-deps_0.26.3_all.deb
2021-01-09 13:20:07,215: DEBUG - + tee ./dpkg_log
2021-01-09 13:20:07,215: DEBUG - Selecting previously unselected package bookstack-ynh-deps.
2021-01-09 13:20:07,215: DEBUG - (Reading database ... 57398 files and directories currently installed.)
2021-01-09 13:20:07,215: DEBUG - Preparing to unpack .../bookstack-ynh-deps_0.26.3_all.deb ...
2021-01-09 13:20:07,215: DEBUG - Unpacking bookstack-ynh-deps (0.26.3) ...
2021-01-09 13:20:07,316: DEBUG - dpkg: bookstack-ynh-deps: dependency problems, but configuring anyway as you requested:
2021-01-09 13:20:07,316: DEBUG - bookstack-ynh-deps depends on php7.3-tidy; however:
2021-01-09 13:20:07,316: DEBUG - Package php7.3-tidy is not installed.
2021-01-09 13:20:07,316: DEBUG -
2021-01-09 13:20:07,316: DEBUG - Setting up bookstack-ynh-deps (0.26.3) ...
2021-01-09 13:20:07,316: DEBUG - + ynh_package_install --fix-broken
2021-01-09 13:20:07,316: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-01-09 13:20:07,316: DEBUG - + ynh_wait_dpkg_free
2021-01-09 13:20:07,417: DEBUG - + return 0
2021-01-09 13:20:07,417: DEBUG - + LC_ALL=C
2021-01-09 13:20:07,417: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-01-09 13:20:07,417: 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-01-09 13:20:07,417: DEBUG - Reading package lists...
2021-01-09 13:20:07,517: DEBUG - Building dependency tree...
2021-01-09 13:20:07,517: DEBUG - Reading state information...
2021-01-09 13:20:07,618: DEBUG - Correcting dependencies... Done
2021-01-09 13:20:07,618: DEBUG - The following additional packages will be installed:
2021-01-09 13:20:07,618: DEBUG - libtidy5deb1 php7.3-tidy
2021-01-09 13:20:07,618: DEBUG - The following NEW packages will be installed:
2021-01-09 13:20:07,618: DEBUG - libtidy5deb1 php7.3-tidy
2021-01-09 13:20:07,919: DEBUG - 0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
2021-01-09 13:20:07,919: DEBUG - Need to get 0 B/227 kB of archives.
2021-01-09 13:20:07,919: DEBUG - After this operation, 1139 kB of additional disk space will be used.
2021-01-09 13:20:07,919: DEBUG - Selecting previously unselected package libtidy5deb1:amd64.
2021-01-09 13:20:07,919: DEBUG - (Reading database ... 57402 files and directories currently installed.)
2021-01-09 13:20:07,919: DEBUG - Preparing to unpack .../libtidy5deb1_2%3a5.6.0-10_amd64.deb ...
2021-01-09 13:20:07,919: DEBUG - Unpacking libtidy5deb1:amd64 (2:5.6.0-10) ...
2021-01-09 13:20:07,919: DEBUG - Selecting previously unselected package php7.3-tidy.
2021-01-09 13:20:07,919: DEBUG - Preparing to unpack .../php7.3-tidy_7.3.19-1deb10u1_amd64.deb ...
2021-01-09 13:20:08,020: DEBUG - Unpacking php7.3-tidy (7.3.19-1deb10u1) ...
2021-01-09 13:20:08,020: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-01-09 13:20:08,020: DEBUG - Setting up libtidy5deb1:amd64 (2:5.6.0-10) ...
2021-01-09 13:20:08,020: DEBUG - Setting up php7.3-tidy (7.3.19-1deb10u1) ...
2021-01-09 13:20:08,120: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-01-09 13:20:08,120: DEBUG -
2021-01-09 13:20:08,120: DEBUG - Creating config file /etc/php/7.3/mods-available/tidy.ini with new version
2021-01-09 13:20:08,120: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-01-09 13:20:08,221: DEBUG - Processing triggers for libc-bin (2.28-10) ...
2021-01-09 13:20:08,221: DEBUG - Processing triggers for php7.3-fpm (7.3.19-1deb10u1) ...
2021-01-09 13:20:08,421: DEBUG - + [[ -n /tmp/tmp.zHapHhJhLV ]]
2021-01-09 13:20:08,421: DEBUG - + rm --recursive --force /tmp/tmp.zHapHhJhLV
2021-01-09 13:20:08,422: DEBUG - + ynh_package_is_installed bookstack-ynh-deps
2021-01-09 13:20:08,422: DEBUG - + ynh_wait_dpkg_free
2021-01-09 13:20:08,522: DEBUG - + return 0
2021-01-09 13:20:08,523: DEBUG - + dpkg-query --show '--showformat=${Status}' bookstack-ynh-deps
2021-01-09 13:20:08,523: DEBUG - + grep --count 'ok installed'
2021-01-09 13:20:08,523: DEBUG - + rm /tmp/bookstack-ynh-deps.control
2021-01-09 13:20:08,523: DEBUG - + ynh_app_setting_set --app=bookstack --key=apt_dependencies '--value=php7.3-fpm, php7.3-cli, php7.3-curl, php7.3-mysql, php7.3-ldap, php7.3-mbstring, php7.3-tidy, php7.3-xml, php7.3-zip, php7.3-gd, php7.3-mysql'
2021-01-09 13:20:08,624: DEBUG - + [[ apt_dependencies =~ (unprotected|protected|skipped)_ ]]
2021-01-09 13:20:08,624: WARNING - Synchronizing state of php7.3-fpm.service with SysV service script with /lib/systemd/systemd-sysv-install.
2021-01-09 13:20:08,624: DEBUG - + ynh_app_setting set bookstack apt_dependencies 'php7.3-fpm, php7.3-cli, php7.3-curl, php7.3-mysql, php7.3-ldap, php7.3-mbstring, php7.3-tidy, php7.3-xml, php7.3-zip, php7.3-gd, php7.3-mysql'
2021-01-09 13:20:08,624: WARNING - Executing: /lib/systemd/systemd-sysv-install enable php7.3-fpm
2021-01-09 13:20:08,624: DEBUG - + ACTION=set
2021-01-09 13:20:08,624: DEBUG - + APP=bookstack
2021-01-09 13:20:08,624: DEBUG - + KEY=apt_dependencies
2021-01-09 13:20:08,625: DEBUG - + VALUE='php7.3-fpm, php7.3-cli, php7.3-curl, php7.3-mysql, php7.3-ldap, php7.3-mbstring, php7.3-tidy, php7.3-xml, php7.3-zip, php7.3-gd, php7.3-mysql'
2021-01-09 13:20:08,625: DEBUG - + python2.7 -
2021-01-09 13:20:08,625: DEBUG - + systemctl enable php7.3-fpm
2021-01-09 13:20:08,925: DEBUG - + systemctl start php7.3-fpm
2021-01-09 13:20:08,925: INFO - Creating a MySQL database...
2021-01-09 13:20:08,926: DEBUG - + ynh_print_info 'Creating a MySQL database...'
2021-01-09 13:20:08,926: DEBUG - + echo 'Creating a MySQL database...'
2021-01-09 13:20:08,926: DEBUG - ++ ynh_sanitize_dbid bookstack
2021-01-09 13:20:08,927: DEBUG - ++ echo bookstack
2021-01-09 13:20:08,927: DEBUG - + db_name=bookstack
2021-01-09 13:20:08,927: DEBUG - + ynh_app_setting_set bookstack db_name bookstack
2021-01-09 13:20:08,928: DEBUG - + [[ db_name =~ (unprotected|protected|skipped)_ ]]
2021-01-09 13:20:08,928: DEBUG - + ynh_app_setting set bookstack db_name bookstack
2021-01-09 13:20:08,928: DEBUG - + ACTION=set
2021-01-09 13:20:08,928: DEBUG - + APP=bookstack
2021-01-09 13:20:08,928: DEBUG - + KEY=db_name
2021-01-09 13:20:08,928: DEBUG - + VALUE=bookstack
2021-01-09 13:20:08,928: DEBUG - + python2.7 -
2021-01-09 13:20:09,028: DEBUG - + ynh_mysql_setup_db bookstack bookstack
2021-01-09 13:20:09,029: DEBUG - + db_pwd=
2021-01-09 13:20:09,029: DEBUG - ++ ynh_string_random
2021-01-09 13:20:09,030: DEBUG - ++ length=24
2021-01-09 13:20:09,030: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2021-01-09 13:20:09,030: DEBUG - ++ tr --complement --delete A-Za-z0-9
2021-01-09 13:20:09,030: DEBUG - ++ sed --quiet 's/(.{24})./\1/p'
2021-01-09 13:20:09,030: DEBUG - + local new_db_pwd=*********
2021-01-09 13:20:09,030: DEBUG - + db_pwd=**********
2021-01-09 13:20:09,030: DEBUG - + ynh_mysql_create_db bookstack bookstack **********
2021-01-09 13:20:09,030: DEBUG - + local db=bookstack
2021-01-09 13:20:09,030: DEBUG - + local 'sql=CREATE DATABASE bookstack;'
2021-01-09 13:20:09,030: DEBUG - + [[ 3 -gt 1 ]]
2021-01-09 13:20:09,030: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON bookstack.* TO '''bookstack'''@'''localhost''''
2021-01-09 13:20:09,030: DEBUG - + [[ -n ********** ]]
2021-01-09 13:20:09,031: DEBUG - + sql+=' IDENTIFIED BY '''''''
2021-01-09 13:20:09,031: DEBUG - + sql+=' WITH GRANT OPTION;'
2021-01-09 13:20:09,031: DEBUG - + ynh_mysql_execute_as_root '--sql=CREATE DATABASE bookstack; GRANT ALL PRIVILEGES ON bookstack. TO '''bookstack'''@'''localhost''' IDENTIFIED BY '''''' WITH GRANT OPTION;'
2021-01-09 13:20:09,031: DEBUG - + database=
2021-01-09 13:20:09,031: DEBUG - + '[' -n '' ']'
2021-01-09 13:20:09,031: DEBUG - ++ cat /etc/yunohost/mysql
2021-01-09 13:20:09,031: DEBUG - + ynh_mysql_connect_as --user=root --password=*********
2021-01-09 13:20:09,132: DEBUG - + database=
2021-01-09 13:20:09,132: DEBUG - + mysql --user=root --password=********** --batch ''
2021-01-09 13:20:09,132: DEBUG - + ynh_app_setting_set --app=bookstack --key=mysqlpwd --value=**********
2021-01-09 13:20:09,133: DEBUG - + [[ mysqlpwd =~ (unprotected|protected|skipped)_ ]]
2021-01-09 13:20:09,133: DEBUG - + ynh_app_setting set bookstack mysqlpwd **********
2021-01-09 13:20:09,133: DEBUG - + ACTION=set
2021-01-09 13:20:09,133: DEBUG - + APP=bookstack
2021-01-09 13:20:09,133: DEBUG - + KEY=mysqlpwd
2021-01-09 13:20:09,133: DEBUG - + VALUE=**********
2021-01-09 13:20:09,133: DEBUG - + python2.7 -
2021-01-09 13:20:09,133: DEBUG - + ynh_print_info 'Download BookStack'
2021-01-09 13:20:09,134: DEBUG - + echo 'Download BookStack'
2021-01-09 13:20:09,134: DEBUG - + ynh_app_setting_set bookstack final_path /var/www/bookstack
2021-01-09 13:20:09,235: INFO - Download BookStack
2021-01-09 13:20:09,235: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)_ ]]
2021-01-09 13:20:09,235: DEBUG - + ynh_app_setting set bookstack final_path /var/www/bookstack
2021-01-09 13:20:09,236: DEBUG - + ACTION=set
2021-01-09 13:20:09,236: DEBUG - + APP=bookstack
2021-01-09 13:20:09,236: DEBUG - + KEY=final_path
2021-01-09 13:20:09,236: DEBUG - + VALUE=/var/www/bookstack
2021-01-09 13:20:09,236: DEBUG - + python2.7 -
2021-01-09 13:20:09,236: DEBUG - + ynh_setup_source /var/www/bookstack
2021-01-09 13:20:09,237: DEBUG - + source_id=app
2021-01-09 13:20:09,237: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/scripts/../conf/app.src
2021-01-09 13:20:09,237: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/scripts/../conf/app.src ']'
2021-01-09 13:20:09,237: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/scripts/../conf/app.src
2021-01-09 13:20:09,237: DEBUG - ++ cut --delimiter== --fields=2-
2021-01-09 13:20:09,237: DEBUG - + local src_url=https://github.com/BookStackApp/BookStack/archive/v0.26.3.tar.gz
2021-01-09 13:20:09,237: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/scripts/../conf/app.src
2021-01-09 13:20:09,237: DEBUG - ++ cut --delimiter== --fields=2-
2021-01-09 13:20:09,237: DEBUG - + local src_sum=9b577a5d7a2347b2a386bce78ad3ba9e8ee99f61f759cdf91f88a9ba76757c34b09d46ec9e1fb51d62b99aefc153a652d976aa4bcb49c2e38e0c2620ab8dcd9e
2021-01-09 13:20:09,237: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/scripts/../conf/app.src
2021-01-09 13:20:09,237: DEBUG - ++ cut --delimiter== --fields=2-
2021-01-09 13:20:09,237: DEBUG - + local src_sumprg=sha512sum
2021-01-09 13:20:09,237: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/scripts/../conf/app.src
2021-01-09 13:20:09,237: DEBUG - ++ cut --delimiter== --fields=2-
2021-01-09 13:20:09,238: DEBUG - + local src_format=tar.gz
2021-01-09 13:20:09,238: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/scripts/../conf/app.src
2021-01-09 13:20:09,238: DEBUG - ++ cut --delimiter== --fields=2-
2021-01-09 13:20:09,238: DEBUG - + local src_extract=true
2021-01-09 13:20:09,238: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/scripts/../conf/app.src
2021-01-09 13:20:09,238: DEBUG - ++ cut --delimiter== --fields=2-
2021-01-09 13:20:09,238: DEBUG - + local src_in_subdir=true
2021-01-09 13:20:09,238: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/scripts/../conf/app.src
2021-01-09 13:20:09,238: DEBUG - ++ cut --delimiter== --fields=2-
2021-01-09 13:20:09,238: DEBUG - + local src_filename=bookstack.tar.gz
2021-01-09 13:20:09,238: DEBUG - + src_sumprg=sha512sum
2021-01-09 13:20:09,238: DEBUG - + src_in_subdir=true
2021-01-09 13:20:09,238: DEBUG - + src_format=tar.gz
2021-01-09 13:20:09,238: DEBUG - ++ echo tar.gz
2021-01-09 13:20:09,238: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2021-01-09 13:20:09,239: DEBUG - + src_format=tar.gz
2021-01-09 13:20:09,239: DEBUG - + src_extract=true
2021-01-09 13:20:09,239: DEBUG - + '[' bookstack.tar.gz = '' ']'
2021-01-09 13:20:09,239: DEBUG - + local local_src=/opt/yunohost-apps-src/bookstack/bookstack.tar.gz
2021-01-09 13:20:09,239: DEBUG - + test -e /opt/yunohost-apps-src/bookstack/bookstack.tar.gz
2021-01-09 13:20:09,239: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=bookstack.tar.gz https://github.com/BookStackApp/BookStack/archive/v0.26.3.tar.gz
2021-01-09 13:20:10,040: DEBUG - + out='2021-01-09 13:20:10 URL:https://codeload.github.com/BookStackApp/BookStack/tar.gz/v0.26.3 [1460488] -> "bookstack.tar.gz" [1]'
2021-01-09 13:20:10,040: DEBUG - + echo '9b577a5d7a2347b2a386bce78ad3ba9e8ee99f61f759cdf91f88a9ba76757c34b09d46ec9e1fb51d62b99aefc153a652d976aa4bcb49c2e38e0c2620ab8dcd9e bookstack.tar.gz'
2021-01-09 13:20:10,041: DEBUG - + sha512sum --check --status
2021-01-09 13:20:10,041: DEBUG - + mkdir --parents /var/www/bookstack
2021-01-09 13:20:10,041: DEBUG - + true
2021-01-09 13:20:10,041: DEBUG - + '[' tar.gz = zip ']'
2021-01-09 13:20:10,041: DEBUG - + local strip=
2021-01-09 13:20:10,041: DEBUG - + '[' true '!=' false ']'
2021-01-09 13:20:10,041: DEBUG - + '[' true == true ']'
2021-01-09 13:20:10,041: DEBUG - + local sub_dirs=1
2021-01-09 13:20:10,041: DEBUG - + strip='--strip-components 1'
2021-01-09 13:20:10,041: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2021-01-09 13:20:10,041: DEBUG - + tar --extract --file=bookstack.tar.gz --directory=/var/www/bookstack --strip-components 1
2021-01-09 13:20:10,142: DEBUG - ++ find /var/cache/yunohost/from_file/scripts/../sources/patches/ -type f -name 'app-*.patch'
2021-01-09 13:20:10,142: INFO - Install BookStack composer dependancies
2021-01-09 13:20:10,142: DEBUG - ++ wc --lines
2021-01-09 13:20:10,142: DEBUG - + (( 0 > 0 ))
2021-01-09 13:20:10,142: DEBUG - + test -e /var/cache/yunohost/from_file/scripts/../sources/extra_files/app
2021-01-09 13:20:10,142: DEBUG - + ynh_print_info 'Install BookStack composer dependancies'
2021-01-09 13:20:10,143: DEBUG - + echo 'Install BookStack composer dependancies'
2021-01-09 13:20:10,143: DEBUG - + pushd /var/www/bookstack
2021-01-09 13:20:10,143: DEBUG - /var/www/bookstack /var/cache/yunohost/from_file/scripts
2021-01-09 13:20:10,143: DEBUG - + php -r 'readfile('''https://getcomposer.org/installer'\'');'
2021-01-09 13:20:10,143: DEBUG - + php
2021-01-09 13:20:10,344: DEBUG - All settings correct for using Composer
2021-01-09 13:20:10,344: DEBUG - The HOME or COMPOSER_HOME environment variable must be set for composer to run correctly
2021-01-09 13:20:10,344: DEBUG - + ynh_exit_properly
2021-01-09 13:20:10,344: DEBUG - + local exit_code=1
2021-01-09 13:20:10,344: DEBUG - + '[' 1 -eq 0 ']'
2021-01-09 13:20:10,345: DEBUG - + trap '' EXIT
2021-01-09 13:20:10,345: DEBUG - + set +o errexit
2021-01-09 13:20:10,345: DEBUG - + set +o nounset
2021-01-09 13:20:10,345: DEBUG - + sleep 0.5
2021-01-09 13:20:10,846: DEBUG - + type -t ynh_clean_setup
2021-01-09 13:20:10,846: DEBUG - + ynh_clean_setup
2021-01-09 13:20:10,847: DEBUG - + true
2021-01-09 13:20:10,847: DEBUG - + exit 1
2021-01-09 13:20:10,862: ERROR - bookstack kann nicht installiert werden: Im Installationsscript ist ein Fehler aufgetreten