YunoHost-Apps / invoiceninja5_ynh

InvoiceNinja5 package for YunoHost
https://www.invoiceninja.org/
GNU General Public License v3.0
12 stars 6 forks source link

Unable to Install #4

Closed navanchauhan closed 2 years ago

navanchauhan commented 3 years ago

Describe the bug Installing via GitHub URL

Versions

To Reproduce Steps to reproduce the behaviour.

Logs

Link to Paste

View Raw Paste
``` args: app: https://github.com/YunoHost-Apps/invoiceninja5_ynh/ args: domain=invoice.maindomain.tld&path=%2F&admin=navan&language=en force: false label: InvoiceNinja 5 no_remove_on_failure: false ended_at: 2021-06-02 13:21:52.062833 env: YNH_APP_ARG_ADMIN: navan YNH_APP_ARG_DOMAIN: invoice.maindomain.tld YNH_APP_ARG_LANGUAGE: en YNH_APP_ARG_PATH: / YNH_APP_ID: invoiceninja5 YNH_APP_INSTANCE_NAME: invoiceninja5 YNH_APP_INSTANCE_NUMBER: '1' YNH_APP_MANIFEST_VERSION: 5.0.35~ynh1 error: An error occurred inside the app installation script interface: api operation: app_install parent: null related_to: - - app - invoiceninja5 started_at: 2021-06-02 13:20:52.913010 success: false yunohost_version: 4.2.5.2 ============ 2021-06-02 14:20:52,932: INFO - Installing invoiceninja5... 2021-06-02 14:20:53,606: DEBUG - Permission 'invoiceninja5.main' updated 2021-06-02 14:20:54,183: DEBUG - Full log of this operation: 'Update url related to permission 'invoiceninja5'' 2021-06-02 14:20:55,344: DEBUG - The permission database has been resynchronized 2021-06-02 14:20:56,095: DEBUG - SSOwat configuration regenerated 2021-06-02 14:20:56,709: DEBUG - Permission 'invoiceninja5.main' created 2021-06-02 14:20:56,711: DEBUG - Full log of this operation: 'Create permission 'invoiceninja5'' 2021-06-02 14:20:56,738: DEBUG - Executing command '/bin/bash -x "./install" 7>&1' 2021-06-02 14:20:56,756: DEBUG - + source _common.sh 2021-06-02 14:20:56,758: DEBUG - ++ YNH_PHP_VERSION=7.4 2021-06-02 14:20:56,759: DEBUG - ++ nodejs_version=12 2021-06-02 14:20:56,759: DEBUG - ++ pkg_dependencies='phantomjs php7.4-zip php7.4-gmp php7.4-gd php7.4-bcmath php7.4-fileinfo php7.4-json php7.4-mbstring php7.4-pdo php7.4-tokenizer php7.4-xml php7.4-curl php7.4-mysql gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget' 2021-06-02 14:20:56,760: DEBUG - + source /usr/share/yunohost/helpers 2021-06-02 14:20:56,761: DEBUG - +++ set +o 2021-06-02 14:20:56,761: DEBUG - +++ grep xtrace 2021-06-02 14:20:56,762: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace' 2021-06-02 14:20:56,763: DEBUG - ++ XTRACE_ENABLE='set -o xtrace' 2021-06-02 14:20:56,830: DEBUG - + ynh_abort_if_errors 2021-06-02 14:20:56,831: DEBUG - + set -o errexit 2021-06-02 14:20:56,831: DEBUG - + set -o nounset 2021-06-02 14:20:56,832: DEBUG - + trap ynh_exit_properly EXIT 2021-06-02 14:20:56,832: DEBUG - + domain=invoice.maindomain.tld 2021-06-02 14:20:56,833: DEBUG - + path_url=/ 2021-06-02 14:20:56,833: DEBUG - + admin=navan 2021-06-02 14:20:56,834: DEBUG - + language=en 2021-06-02 14:20:56,834: DEBUG - + app=invoiceninja5 2021-06-02 14:20:56,967: DEBUG - + echo '[+...................] > Validating installation parameters...' 2021-06-02 14:20:56,968: INFO - [+...................] > Validating installation parameters... 2021-06-02 14:20:56,970: DEBUG - + final_path=/var/www/invoiceninja5 2021-06-02 14:20:56,970: DEBUG - + test '!' -e /var/www/invoiceninja5 2021-06-02 14:20:56,971: DEBUG - + ynh_webpath_register --app=invoiceninja5 --domain=invoice.maindomain.tld --path_url=/ 2021-06-02 14:20:57,127: DEBUG - + yunohost app register-url invoiceninja5 invoice.maindomain.tld / 2021-06-02 14:21:04,078: DEBUG - + echo '[#+..................] > Storing installation settings...' 2021-06-02 14:21:04,079: INFO - [#+..................] > Storing installation settings... 2021-06-02 14:21:04,080: DEBUG - + ynh_app_setting_set --app=invoiceninja5 --key=domain --value=invoice.maindomain.tld 2021-06-02 14:21:04,239: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]] 2021-06-02 14:21:04,240: DEBUG - + ynh_app_setting set invoiceninja5 domain invoice.maindomain.tld 2021-06-02 14:21:04,404: DEBUG - + ynh_app_setting_set --app=invoiceninja5 --key=path --value=/ 2021-06-02 14:21:04,552: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]] 2021-06-02 14:21:04,553: DEBUG - + ynh_app_setting set invoiceninja5 path / 2021-06-02 14:21:04,713: DEBUG - + ynh_app_setting_set --app=invoiceninja5 --key=admin --value=navan 2021-06-02 14:21:04,867: DEBUG - + [[ admin =~ (unprotected|protected|skipped)_ ]] 2021-06-02 14:21:04,867: DEBUG - + ynh_app_setting set invoiceninja5 admin navan 2021-06-02 14:21:05,027: DEBUG - + ynh_app_setting_set --app=invoiceninja5 --key=language --value=en 2021-06-02 14:21:05,176: DEBUG - + [[ language =~ (unprotected|protected|skipped)_ ]] 2021-06-02 14:21:05,177: DEBUG - + ynh_app_setting set invoiceninja5 language en 2021-06-02 14:21:05,339: DEBUG - ++ ynh_string_random --length=32 2021-06-02 14:21:05,368: DEBUG - ++ length=32 2021-06-02 14:21:05,369: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000 2021-06-02 14:21:05,370: DEBUG - ++ tr --complement --delete A-Za-z0-9 2021-06-02 14:21:05,371: DEBUG - ++ sed --quiet 's/\(.\{32\}\).*/\1/p' 2021-06-02 14:21:05,392: DEBUG - + ynh_app_setting_set --app=invoiceninja5 --key=api_secret --value=RMTi2RXWAcODeLtJ7xSaxRgvCCKBHtzG 2021-06-02 14:21:05,542: DEBUG - + [[ api_secret =~ (unprotected|protected|skipped)_ ]] 2021-06-02 14:21:05,543: DEBUG - + ynh_app_setting set invoiceninja5 api_secret RMTi2RXWAcODeLtJ7xSaxRgvCCKBHtzG 2021-06-02 14:21:05,713: DEBUG - ++ ynh_string_random --length=32 2021-06-02 14:21:05,739: DEBUG - ++ length=32 2021-06-02 14:21:05,740: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000 2021-06-02 14:21:05,740: DEBUG - ++ tr --complement --delete A-Za-z0-9 2021-06-02 14:21:05,756: DEBUG - ++ sed --quiet 's/\(.\{32\}\).*/\1/p' 2021-06-02 14:21:05,769: DEBUG - + ynh_app_setting_set --app=invoiceninja5 --key=app_key --value=x4z9HRcOWuemZst1elSUNGoHCVOeFp5F 2021-06-02 14:21:05,930: DEBUG - + [[ app_key =~ (unprotected|protected|skipped)_ ]] 2021-06-02 14:21:05,931: DEBUG - + ynh_app_setting set invoiceninja5 app_key x4z9HRcOWuemZst1elSUNGoHCVOeFp5F 2021-06-02 14:21:06,101: DEBUG - ++ ynh_string_random --length=32 2021-06-02 14:21:06,128: DEBUG - ++ length=32 2021-06-02 14:21:06,129: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000 2021-06-02 14:21:06,130: DEBUG - ++ tr --complement --delete A-Za-z0-9 2021-06-02 14:21:06,131: DEBUG - ++ sed --quiet 's/\(.\{32\}\).*/\1/p' 2021-06-02 14:21:06,141: DEBUG - + ynh_app_setting_set --app=invoiceninja5 --key=phantomjs_key --value=1WeKTb3klVKgboj9DlnCWOkUSIZRkeaB 2021-06-02 14:21:06,296: DEBUG - + [[ phantomjs_key =~ (unprotected|protected|skipped)_ ]] 2021-06-02 14:21:06,296: DEBUG - + ynh_app_setting set invoiceninja5 phantomjs_key 1WeKTb3klVKgboj9DlnCWOkUSIZRkeaB 2021-06-02 14:21:06,477: DEBUG - ++ ynh_user_get_info navan mail 2021-06-02 14:21:06,548: DEBUG - ++ yunohost user info navan --output-as json --quiet 2021-06-02 14:21:06,549: DEBUG - ++ jq -r .mail 2021-06-02 14:21:08,172: DEBUG - + ynh_app_setting_set --app=invoiceninja5 --key=mail_from_address --value=navan@maindomain.tld 2021-06-02 14:21:08,314: DEBUG - + [[ mail_from_address =~ (unprotected|protected|skipped)_ ]] 2021-06-02 14:21:08,315: DEBUG - + ynh_app_setting set invoiceninja5 mail_from_address navan@maindomain.tld 2021-06-02 14:21:08,480: DEBUG - ++ ynh_user_get_info navan firstname 2021-06-02 14:21:08,553: DEBUG - ++ yunohost user info navan --output-as json --quiet 2021-06-02 14:21:08,554: DEBUG - ++ jq -r .firstname 2021-06-02 14:21:10,173: DEBUG - ++ ynh_user_get_info navan lastname 2021-06-02 14:21:10,242: DEBUG - ++ yunohost user info navan --output-as json --quiet 2021-06-02 14:21:10,243: DEBUG - ++ jq -r .lastname 2021-06-02 14:21:11,845: DEBUG - + ynh_app_setting_set --app=invoiceninja5 --key=mail_from_name '--value=Navan Chauhan' 2021-06-02 14:21:11,995: DEBUG - + [[ mail_from_name =~ (unprotected|protected|skipped)_ ]] 2021-06-02 14:21:11,996: DEBUG - + ynh_app_setting set invoiceninja5 mail_from_name 'Navan Chauhan' 2021-06-02 14:21:12,270: DEBUG - + echo '[##++................] > Creating a MySQL database...' 2021-06-02 14:21:12,271: INFO - [##++................] > Creating a MySQL database... 2021-06-02 14:21:12,273: DEBUG - ++ ynh_sanitize_dbid --db_name=invoiceninja5 2021-06-02 14:21:12,299: DEBUG - ++ echo invoiceninja5 2021-06-02 14:21:12,300: DEBUG - + db_name=invoiceninja5 2021-06-02 14:21:12,300: DEBUG - + db_user=invoiceninja5 2021-06-02 14:21:12,301: DEBUG - + ynh_app_setting_set --app=invoiceninja5 --key=db_name --value=invoiceninja5 2021-06-02 14:21:12,461: DEBUG - + [[ db_name =~ (unprotected|protected|skipped)_ ]] 2021-06-02 14:21:12,462: DEBUG - + ynh_app_setting set invoiceninja5 db_name invoiceninja5 2021-06-02 14:21:12,625: DEBUG - + ynh_mysql_setup_db --db_user=invoiceninja5 --db_name=invoiceninja5 2021-06-02 14:21:12,628: DEBUG - + db_pwd= 2021-06-02 14:21:12,731: DEBUG - ++ ynh_string_random 2021-06-02 14:21:12,738: DEBUG - ++ length=24 2021-06-02 14:21:12,739: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000 2021-06-02 14:21:12,739: DEBUG - ++ tr --complement --delete A-Za-z0-9 2021-06-02 14:21:12,740: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p' 2021-06-02 14:21:12,748: DEBUG - + local new_db_pwd=********** 2021-06-02 14:21:12,748: DEBUG - + db_pwd=********** 2021-06-02 14:21:12,749: DEBUG - + ynh_mysql_create_db invoiceninja5 invoiceninja5 ********** 2021-06-02 14:21:12,750: DEBUG - + local db=invoiceninja5 2021-06-02 14:21:12,750: DEBUG - + local 'sql=CREATE DATABASE invoiceninja5;' 2021-06-02 14:21:12,750: DEBUG - + [[ 3 -gt 1 ]] 2021-06-02 14:21:12,751: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON invoiceninja5.* TO '\''invoiceninja5'\''@'\''localhost'\''' 2021-06-02 14:21:12,751: DEBUG - + [[ -n ********** ]] 2021-06-02 14:21:12,752: DEBUG - + sql+=' IDENTIFIED BY '\''**********'\''' 2021-06-02 14:21:12,752: DEBUG - + sql+=' WITH GRANT OPTION;' 2021-06-02 14:21:12,753: DEBUG - + ynh_mysql_execute_as_root '--sql=CREATE DATABASE invoiceninja5; GRANT ALL PRIVILEGES ON invoiceninja5.* TO '\''invoiceninja5'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;' 2021-06-02 14:21:12,791: DEBUG - + database= 2021-06-02 14:21:12,792: DEBUG - + '[' -n '' ']' 2021-06-02 14:21:12,792: DEBUG - + mysql -B '' 2021-06-02 14:21:12,812: DEBUG - + ynh_app_setting_set --app=invoiceninja5 --key=mysqlpwd --value=********** 2021-06-02 14:21:13,001: DEBUG - + [[ mysqlpwd =~ (unprotected|protected|skipped)_ ]] 2021-06-02 14:21:13,002: DEBUG - + ynh_app_setting set invoiceninja5 mysqlpwd ********** 2021-06-02 14:21:13,271: DEBUG - + echo '[####+...............] > Installing dependencies...' 2021-06-02 14:21:13,272: INFO - [####+...............] > Installing dependencies... 2021-06-02 14:21:13,273: DEBUG - + ynh_install_app_dependencies phantomjs php7.4-zip php7.4-gmp php7.4-gd php7.4-bcmath php7.4-fileinfo php7.4-json php7.4-mbstring php7.4-pdo php7.4-tokenizer php7.4-xml php7.4-curl php7.4-mysql gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget 2021-06-02 14:21:13,275: DEBUG - + local 'dependencies=phantomjs php7.4-zip php7.4-gmp php7.4-gd php7.4-bcmath php7.4-fileinfo php7.4-json php7.4-mbstring php7.4-pdo php7.4-tokenizer php7.4-xml php7.4-curl php7.4-mysql gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget' 2021-06-02 14:21:13,275: DEBUG - ++ echo 'phantomjs php7.4-zip php7.4-gmp php7.4-gd php7.4-bcmath php7.4-fileinfo php7.4-json php7.4-mbstring php7.4-pdo php7.4-tokenizer php7.4-xml php7.4-curl php7.4-mysql gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget' 2021-06-02 14:21:13,276: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g' 2021-06-02 14:21:13,279: DEBUG - + dependencies='phantomjs, php7.4-zip, php7.4-gmp, php7.4-gd, php7.4-bcmath, php7.4-fileinfo, php7.4-json, php7.4-mbstring, php7.4-pdo, php7.4-tokenizer, php7.4-xml, php7.4-curl, php7.4-mysql, gconf-service, libasound2, libatk1.0-0, libc6, libcairo2, libcups2, libdbus-1-3, libexpat1, libfontconfig1, libgcc1, libgconf-2-4, libgdk-pixbuf2.0-0, libglib2.0-0, libgtk-3-0, libnspr4, libpango-1.0-0, libpangocairo-1.0-0, libstdc++6, libx11-6, libx11-xcb1, libxcb1, libxcomposite1, libxcursor1, libxdamage1, libxext6, libxfixes3, libxi6, libxrandr2, libxrender1, libxss1, libxtst6, ca-certificates, fonts-liberation, libappindicator1, libnss3, lsb-release, xdg-utils, wget' 2021-06-02 14:21:13,280: DEBUG - + local 'dependencies=phantomjs, php7.4-zip, php7.4-gmp, php7.4-gd, php7.4-bcmath, php7.4-fileinfo, php7.4-json, php7.4-mbstring, php7.4-pdo, php7.4-tokenizer, php7.4-xml, php7.4-curl, php7.4-mysql, gconf-service, libasound2, libatk1.0-0, libc6, libcairo2, libcups2, libdbus-1-3, libexpat1, libfontconfig1, libgcc1, libgconf-2-4, libgdk-pixbuf2.0-0, libglib2.0-0, libgtk-3-0, libnspr4, libpango-1.0-0, libpangocairo-1.0-0, libstdc++6, libx11-6, libx11-xcb1, libxcb1, libxcomposite1, libxcursor1, libxdamage1, libxext6, libxfixes3, libxi6, libxrandr2, libxrender1, libxss1, libxtst6, ca-certificates, fonts-liberation, libappindicator1, libnss3, lsb-release, xdg-utils, wget' 2021-06-02 14:21:13,281: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_n1t0wcxt/manifest.json 2021-06-02 14:21:13,281: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_n1t0wcxt/manifest.json 2021-06-02 14:21:13,291: DEBUG - + local version=5.0.35~ynh1 2021-06-02 14:21:13,291: DEBUG - + '[' -z 5.0.35~ynh1 ']' 2021-06-02 14:21:13,292: DEBUG - + '[' 5.0.35~ynh1 == null ']' 2021-06-02 14:21:13,292: DEBUG - + local dep_app=invoiceninja5 2021-06-02 14:21:13,293: DEBUG - + [[ phantomjs, php7.4-zip, php7.4-gmp, php7.4-gd, php7.4-bcmath, php7.4-fileinfo, php7.4-json, php7.4-mbstring, php7.4-pdo, php7.4-tokenizer, php7.4-xml, php7.4-curl, php7.4-mysql, gconf-service, libasound2, libatk1.0-0, libc6, libcairo2, libcups2, libdbus-1-3, libexpat1, libfontconfig1, libgcc1, libgconf-2-4, libgdk-pixbuf2.0-0, libglib2.0-0, libgtk-3-0, libnspr4, libpango-1.0-0, libpangocairo-1.0-0, libstdc++6, libx11-6, libx11-xcb1, libxcb1, libxcomposite1, libxcursor1, libxdamage1, libxext6, libxfixes3, libxi6, libxrandr2, libxrender1, libxss1, libxtst6, ca-certificates, fonts-liberation, libappindicator1, libnss3, lsb-release, xdg-utils, wget =~ [<=>] ]] 2021-06-02 14:21:13,293: DEBUG - + echo phantomjs, php7.4-zip, php7.4-gmp, php7.4-gd, php7.4-bcmath, php7.4-fileinfo, php7.4-json, php7.4-mbstring, php7.4-pdo, php7.4-tokenizer, php7.4-xml, php7.4-curl, php7.4-mysql, gconf-service, libasound2, libatk1.0-0, libc6, libcairo2, libcups2, libdbus-1-3, libexpat1, libfontconfig1, libgcc1, libgconf-2-4, libgdk-pixbuf2.0-0, libglib2.0-0, libgtk-3-0, libnspr4, libpango-1.0-0, libpangocairo-1.0-0, libstdc++6, libx11-6, libx11-xcb1, libxcb1, libxcomposite1, libxcursor1, libxdamage1, libxext6, libxfixes3, libxi6, libxrandr2, libxrender1, libxss1, libxtst6, ca-certificates, fonts-liberation, libappindicator1, libnss3, lsb-release, xdg-utils, wget 2021-06-02 14:21:13,295: DEBUG - + grep --quiet php 2021-06-02 14:21:13,296: DEBUG - + dpkg --list 2021-06-02 14:21:13,296: DEBUG - + grep php7.0 2021-06-02 14:21:13,297: DEBUG - + grep --quiet --invert-match 7.0.33-0+deb9 2021-06-02 14:21:13,354: DEBUG - + cat 2021-06-02 14:21:13,358: DEBUG - + ynh_package_install_from_equivs /tmp/invoiceninja5-ynh-deps.control 2021-06-02 14:21:13,358: DEBUG - + local controlfile=/tmp/invoiceninja5-ynh-deps.control 2021-06-02 14:21:13,360: DEBUG - ++ grep '^Package: ' /tmp/invoiceninja5-ynh-deps.control 2021-06-02 14:21:13,361: DEBUG - ++ cut '--delimiter= ' --fields=2 2021-06-02 14:21:13,364: DEBUG - + local pkgname=invoiceninja5-ynh-deps 2021-06-02 14:21:13,366: DEBUG - ++ grep '^Version: ' /tmp/invoiceninja5-ynh-deps.control 2021-06-02 14:21:13,367: DEBUG - ++ cut '--delimiter= ' --fields=2 2021-06-02 14:21:13,371: DEBUG - + local pkgversion=5.0.35~ynh1 2021-06-02 14:21:13,371: DEBUG - + [[ -z invoiceninja5-ynh-deps ]] 2021-06-02 14:21:13,372: DEBUG - + [[ -z 5.0.35~ynh1 ]] 2021-06-02 14:21:13,372: DEBUG - + ynh_package_update 2021-06-02 14:21:13,373: DEBUG - + ynh_apt update 2021-06-02 14:21:13,373: DEBUG - + ynh_wait_dpkg_free 2021-06-02 14:21:13,828: DEBUG - + return 0 2021-06-02 14:21:13,828: DEBUG - + LC_ALL=C 2021-06-02 14:21:13,829: DEBUG - + DEBIAN_FRONTEND=noninteractive 2021-06-02 14:21:13,829: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update 2021-06-02 14:21:14,723: DEBUG - Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.7 kB] 2021-06-02 14:21:14,751: DEBUG - Hit:2 http://forge.yunohost.org/debian buster InRelease 2021-06-02 14:21:14,751: DEBUG - Hit:3 http://deb.debian.org/debian buster InRelease 2021-06-02 14:21:14,916: DEBUG - Hit:4 http://deb.debian.org/debian-security buster/updates InRelease 2021-06-02 14:21:15,082: DEBUG - Get:5 http://deb.debian.org/debian buster-updates InRelease [51.9 kB] 2021-06-02 14:21:15,139: DEBUG - Hit:6 https://download.docker.com/linux/debian buster InRelease 2021-06-02 14:21:15,828: DEBUG - Get:8 http://archive.raspberrypi.org/debian buster/main arm64 Packages [286 kB] 2021-06-02 14:21:16,655: DEBUG - Get:9 http://archive.raspberrypi.org/debian buster/main armhf Packages [376 kB] 2021-06-02 14:21:17,159: DEBUG - Get:7 https://packagecloud.io/swift-arm/release/debian buster InRelease [23.3 kB] 2021-06-02 14:21:19,483: DEBUG - Get:10 https://packagecloud.io/swift-arm/release/debian buster/main arm64 Packages [3807 B] 2021-06-02 14:21:19,517: DEBUG - Fetched 774 kB in 5s (144 kB/s) 2021-06-02 14:21:23,823: DEBUG - Reading package lists... 2021-06-02 14:21:23,971: DEBUG - ++ mktemp --directory 2021-06-02 14:21:23,974: DEBUG - + local TMPDIR=/tmp/tmp.kSEMokLtWY 2021-06-02 14:21:23,974: DEBUG - + echo 10 2021-06-02 14:21:24,455: DEBUG - + ynh_wait_dpkg_free 2021-06-02 14:21:24,896: DEBUG - + return 0 2021-06-02 14:21:24,897: DEBUG - + cp /tmp/invoiceninja5-ynh-deps.control /tmp/tmp.kSEMokLtWY/control 2021-06-02 14:21:24,901: DEBUG - + cd /tmp/tmp.kSEMokLtWY 2021-06-02 14:21:24,902: DEBUG - + LC_ALL=C 2021-06-02 14:21:24,903: DEBUG - + equivs-build ./control 2021-06-02 14:21:27,296: DEBUG - + LC_ALL=C 2021-06-02 14:21:27,297: DEBUG - + dpkg --force-depends --install ./invoiceninja5-ynh-deps_5.0.35~ynh1_all.deb 2021-06-02 14:21:27,297: DEBUG - + tee ./dpkg_log 2021-06-02 14:21:27,414: DEBUG - Selecting previously unselected package invoiceninja5-ynh-deps. 2021-06-02 14:21:28,115: DEBUG - (Reading database ... 70218 files and directories currently installed.) 2021-06-02 14:21:28,123: DEBUG - Preparing to unpack .../invoiceninja5-ynh-deps_5.0.35~ynh1_all.deb ... 2021-06-02 14:21:28,134: DEBUG - Unpacking invoiceninja5-ynh-deps (5.0.35~ynh1) ... 2021-06-02 14:21:28,228: DEBUG - dpkg: invoiceninja5-ynh-deps: dependency problems, but configuring anyway as you requested: 2021-06-02 14:21:28,228: DEBUG - invoiceninja5-ynh-deps depends on phantomjs; however: 2021-06-02 14:21:28,229: DEBUG - Package phantomjs is not installed. 2021-06-02 14:21:28,229: DEBUG - invoiceninja5-ynh-deps depends on php7.4-zip; however: 2021-06-02 14:21:28,229: DEBUG - Package php7.4-zip is not installed. 2021-06-02 14:21:28,229: DEBUG - invoiceninja5-ynh-deps depends on php7.4-gmp; however: 2021-06-02 14:21:28,230: DEBUG - Package php7.4-gmp is not installed. 2021-06-02 14:21:28,230: DEBUG - invoiceninja5-ynh-deps depends on php7.4-gd; however: 2021-06-02 14:21:28,231: DEBUG - Package php7.4-gd is not installed. 2021-06-02 14:21:28,231: DEBUG - invoiceninja5-ynh-deps depends on php7.4-bcmath; however: 2021-06-02 14:21:28,235: DEBUG - Package php7.4-bcmath is not installed. 2021-06-02 14:21:28,236: DEBUG - invoiceninja5-ynh-deps depends on php7.4-fileinfo; however: 2021-06-02 14:21:28,236: DEBUG - Package php7.4-fileinfo is not installed. 2021-06-02 14:21:28,237: DEBUG - invoiceninja5-ynh-deps depends on php7.4-json; however: 2021-06-02 14:21:28,237: DEBUG - Package php7.4-json is not installed. 2021-06-02 14:21:28,238: DEBUG - invoiceninja5-ynh-deps depends on php7.4-mbstring; however: 2021-06-02 14:21:28,238: DEBUG - Package php7.4-mbstring is not installed. 2021-06-02 14:21:28,238: DEBUG - invoiceninja5-ynh-deps depends on php7.4-pdo; however: 2021-06-02 14:21:28,239: DEBUG - Package php7.4-pdo is not installed. 2021-06-02 14:21:28,239: DEBUG - invoiceninja5-ynh-deps depends on php7.4-tokenizer; however: 2021-06-02 14:21:28,240: DEBUG - Package php7.4-tokenizer is not installed. 2021-06-02 14:21:28,242: DEBUG - invoiceninja5-ynh-deps depends on php7.4-xml; however: 2021-06-02 14:21:28,242: DEBUG - Package php7.4-xml is not installed. 2021-06-02 14:21:28,242: DEBUG - invoiceninja5-ynh-deps depends on php7.4-curl; however: 2021-06-02 14:21:28,243: DEBUG - Package php7.4-curl is not installed. 2021-06-02 14:21:28,243: DEBUG - invoiceninja5-ynh-deps depends on php7.4-mysql; however: 2021-06-02 14:21:28,244: DEBUG - Package php7.4-mysql is not installed. 2021-06-02 14:21:28,244: DEBUG - invoiceninja5-ynh-deps depends on gconf-service; however: 2021-06-02 14:21:28,247: DEBUG - Package gconf-service is not installed. 2021-06-02 14:21:28,247: DEBUG - invoiceninja5-ynh-deps depends on libatk1.0-0; however: 2021-06-02 14:21:28,247: DEBUG - Package libatk1.0-0 is not installed. 2021-06-02 14:21:28,248: DEBUG - invoiceninja5-ynh-deps depends on libgconf-2-4; however: 2021-06-02 14:21:28,249: DEBUG - Package libgconf-2-4 is not installed. 2021-06-02 14:21:28,250: DEBUG - invoiceninja5-ynh-deps depends on libgtk-3-0; however: 2021-06-02 14:21:28,250: DEBUG - Package libgtk-3-0 is not installed. 2021-06-02 14:21:28,250: DEBUG - invoiceninja5-ynh-deps depends on libxcomposite1; however: 2021-06-02 14:21:28,251: DEBUG - Package libxcomposite1 is not installed. 2021-06-02 14:21:28,251: DEBUG - invoiceninja5-ynh-deps depends on fonts-liberation; however: 2021-06-02 14:21:28,251: DEBUG - Package fonts-liberation is not installed. 2021-06-02 14:21:28,256: DEBUG - invoiceninja5-ynh-deps depends on libappindicator1; however: 2021-06-02 14:21:28,256: DEBUG - Package libappindicator1 is not installed. 2021-06-02 14:21:28,257: DEBUG - invoiceninja5-ynh-deps depends on xdg-utils; however: 2021-06-02 14:21:28,259: DEBUG - Package xdg-utils is not installed. 2021-06-02 14:21:28,259: DEBUG - 2021-06-02 14:21:28,260: DEBUG - Setting up invoiceninja5-ynh-deps (5.0.35~ynh1) ... 2021-06-02 14:21:28,351: DEBUG - + ynh_package_install --fix-broken 2021-06-02 14:21:28,352: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken 2021-06-02 14:21:28,352: DEBUG - + ynh_wait_dpkg_free 2021-06-02 14:21:28,803: DEBUG - + return 0 2021-06-02 14:21:28,803: DEBUG - + LC_ALL=C 2021-06-02 14:21:28,804: DEBUG - + DEBIAN_FRONTEND=noninteractive 2021-06-02 14:21:28,804: 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-06-02 14:21:47,171: DEBUG - Reading package lists... 2021-06-02 14:21:47,956: DEBUG - Building dependency tree... 2021-06-02 14:21:47,963: DEBUG - Reading state information... 2021-06-02 14:21:48,686: DEBUG - Correcting dependencies... Done 2021-06-02 14:21:49,505: DEBUG - The following additional packages will be installed: 2021-06-02 14:21:49,507: DEBUG - dbus-user-session fonts-liberation libfile-basedir-perl 2021-06-02 14:21:49,509: DEBUG - libfile-desktopentry-perl libfile-mimeinfo-perl libfontenc1 2021-06-02 14:21:49,511: DEBUG - libio-stringy-perl libipc-system-simple-perl libnet-dbus-perl 2021-06-02 14:21:49,512: DEBUG - libtie-ixhash-perl libx11-protocol-perl libxaw7 libxcomposite1 libxft2 2021-06-02 14:21:49,514: DEBUG - libxml-parser-perl libxml-twig-perl libxml-xpathengine-perl libxmu6 libxt6 2021-06-02 14:21:49,516: DEBUG - libxxf86dga1 x11-utils x11-xserver-utils xdg-utils 2021-06-02 14:21:49,523: DEBUG - Suggested packages: 2021-06-02 14:21:49,524: DEBUG - libunicode-map8-perl libunicode-string-perl xml-twig-tools mesa-utils nickle 2021-06-02 14:21:49,525: DEBUG - cairo-5c xorg-docs-core 2021-06-02 14:21:49,627: DEBUG - The following packages will be REMOVED: 2021-06-02 14:21:49,634: DEBUG - invoiceninja5-ynh-deps 2021-06-02 14:21:49,635: DEBUG - The following NEW packages will be installed: 2021-06-02 14:21:49,637: DEBUG - dbus-user-session fonts-liberation libfile-basedir-perl 2021-06-02 14:21:49,639: DEBUG - libfile-desktopentry-perl libfile-mimeinfo-perl libfontenc1 2021-06-02 14:21:49,640: DEBUG - libio-stringy-perl libipc-system-simple-perl libnet-dbus-perl 2021-06-02 14:21:49,642: DEBUG - libtie-ixhash-perl libx11-protocol-perl libxaw7 libxcomposite1 libxft2 2021-06-02 14:21:49,644: DEBUG - libxml-parser-perl libxml-twig-perl libxml-xpathengine-perl libxmu6 libxt6 2021-06-02 14:21:49,645: DEBUG - libxxf86dga1 x11-utils x11-xserver-utils xdg-utils 2021-06-02 14:21:49,718: DEBUG - 0 upgraded, 23 newly installed, 1 to remove and 1 not upgraded. 2021-06-02 14:21:49,719: WARNING - E: Packages need to be removed but remove is disabled. 2021-06-02 14:21:49,723: DEBUG - ++ cat /tmp/tmp.kSEMokLtWY/dpkg_log 2021-06-02 14:21:49,724: DEBUG - ++ grep -oP '(?<=-ynh-deps depends on ).*(?=; however)' 2021-06-02 14:21:49,727: DEBUG - ++ tr '\n' ' ' 2021-06-02 14:21:49,729: DEBUG - + local 'problematic_dependencies=phantomjs php7.4-zip php7.4-gmp php7.4-gd php7.4-bcmath php7.4-fileinfo php7.4-json php7.4-mbstring php7.4-pdo php7.4-tokenizer php7.4-xml php7.4-curl php7.4-mysql gconf-service libatk1.0-0 libgconf-2-4 libgtk-3-0 libxcomposite1 fonts-liberation libappindicator1 xdg-utils ' 2021-06-02 14:21:49,730: DEBUG - + [[ -n phantomjs php7.4-zip php7.4-gmp php7.4-gd php7.4-bcmath php7.4-fileinfo php7.4-json php7.4-mbstring php7.4-pdo php7.4-tokenizer php7.4-xml php7.4-curl php7.4-mysql gconf-service libatk1.0-0 libgconf-2-4 libgtk-3-0 libxcomposite1 fonts-liberation libappindicator1 xdg-utils ]] 2021-06-02 14:21:49,732: DEBUG - + ynh_package_install phantomjs php7.4-zip php7.4-gmp php7.4-gd php7.4-bcmath php7.4-fileinfo php7.4-json php7.4-mbstring php7.4-pdo php7.4-tokenizer php7.4-xml php7.4-curl php7.4-mysql gconf-service libatk1.0-0 libgconf-2-4 libgtk-3-0 libxcomposite1 fonts-liberation libappindicator1 xdg-utils --dry-run 2021-06-02 14:21:49,733: DEBUG - + sed --quiet '/Reading state info/,$p' 2021-06-02 14:21:49,733: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install phantomjs php7.4-zip php7.4-gmp php7.4-gd php7.4-bcmath php7.4-fileinfo php7.4-json php7.4-mbstring php7.4-pdo php7.4-tokenizer php7.4-xml php7.4-curl php7.4-mysql gconf-service libatk1.0-0 libgconf-2-4 libgtk-3-0 libxcomposite1 fonts-liberation libappindicator1 xdg-utils --dry-run 2021-06-02 14:21:49,734: DEBUG - + ynh_wait_dpkg_free 2021-06-02 14:21:49,735: DEBUG - + grep -v 'fix-broken\|Reading state info' 2021-06-02 14:21:50,183: DEBUG - + return 0 2021-06-02 14:21:50,183: DEBUG - + LC_ALL=C 2021-06-02 14:21:50,184: DEBUG - + DEBIAN_FRONTEND=noninteractive 2021-06-02 14:21:50,184: 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 phantomjs php7.4-zip php7.4-gmp php7.4-gd php7.4-bcmath php7.4-fileinfo php7.4-json php7.4-mbstring php7.4-pdo php7.4-tokenizer php7.4-xml php7.4-curl php7.4-mysql gconf-service libatk1.0-0 libgconf-2-4 libgtk-3-0 libxcomposite1 fonts-liberation libappindicator1 xdg-utils --dry-run 2021-06-02 14:21:51,497: WARNING - Package php7.4-zip is not available, but is referred to by another package. 2021-06-02 14:21:51,499: WARNING - This may mean that the package is missing, has been obsoleted, or 2021-06-02 14:21:51,500: WARNING - is only available from another source 2021-06-02 14:21:51,501: DEBUG - 2021-06-02 14:21:51,502: WARNING - Package php7.4-gmp is not available, but is referred to by another package. 2021-06-02 14:21:51,503: WARNING - This may mean that the package is missing, has been obsoleted, or 2021-06-02 14:21:51,505: WARNING - is only available from another source 2021-06-02 14:21:51,506: DEBUG - 2021-06-02 14:21:51,507: WARNING - Package php7.4-gd is not available, but is referred to by another package. 2021-06-02 14:21:51,508: WARNING - This may mean that the package is missing, has been obsoleted, or 2021-06-02 14:21:51,509: WARNING - is only available from another source 2021-06-02 14:21:51,511: DEBUG - 2021-06-02 14:21:51,511: WARNING - Package php7.4-bcmath is not available, but is referred to by another package. 2021-06-02 14:21:51,513: WARNING - This may mean that the package is missing, has been obsoleted, or 2021-06-02 14:21:51,514: WARNING - is only available from another source 2021-06-02 14:21:51,516: DEBUG - 2021-06-02 14:21:51,516: WARNING - Package php7.4-fileinfo is not available, but is referred to by another package. 2021-06-02 14:21:51,518: WARNING - This may mean that the package is missing, has been obsoleted, or 2021-06-02 14:21:51,519: WARNING - is only available from another source 2021-06-02 14:21:51,520: DEBUG - 2021-06-02 14:21:51,521: WARNING - Package php7.4-json is not available, but is referred to by another package. 2021-06-02 14:21:51,522: WARNING - This may mean that the package is missing, has been obsoleted, or 2021-06-02 14:21:51,523: WARNING - is only available from another source 2021-06-02 14:21:51,525: DEBUG - 2021-06-02 14:21:51,525: WARNING - Package php7.4-mbstring is not available, but is referred to by another package. 2021-06-02 14:21:51,528: WARNING - This may mean that the package is missing, has been obsoleted, or 2021-06-02 14:21:51,529: WARNING - is only available from another source 2021-06-02 14:21:51,530: DEBUG - 2021-06-02 14:21:51,531: WARNING - Package php7.4-pdo is not available, but is referred to by another package. 2021-06-02 14:21:51,533: WARNING - This may mean that the package is missing, has been obsoleted, or 2021-06-02 14:21:51,534: WARNING - is only available from another source 2021-06-02 14:21:51,535: DEBUG - 2021-06-02 14:21:51,536: WARNING - Package php7.4-tokenizer is not available, but is referred to by another package. 2021-06-02 14:21:51,537: WARNING - This may mean that the package is missing, has been obsoleted, or 2021-06-02 14:21:51,538: WARNING - is only available from another source 2021-06-02 14:21:51,539: DEBUG - 2021-06-02 14:21:51,540: WARNING - Package php7.4-xml is not available, but is referred to by another package. 2021-06-02 14:21:51,541: WARNING - This may mean that the package is missing, has been obsoleted, or 2021-06-02 14:21:51,542: WARNING - is only available from another source 2021-06-02 14:21:51,543: DEBUG - 2021-06-02 14:21:51,544: WARNING - Package php7.4-curl is not available, but is referred to by another package. 2021-06-02 14:21:51,545: WARNING - This may mean that the package is missing, has been obsoleted, or 2021-06-02 14:21:51,547: WARNING - is only available from another source 2021-06-02 14:21:51,548: DEBUG - 2021-06-02 14:21:51,549: WARNING - Package php7.4-mysql is not available, but is referred to by another package. 2021-06-02 14:21:51,550: WARNING - This may mean that the package is missing, has been obsoleted, or 2021-06-02 14:21:51,551: WARNING - is only available from another source 2021-06-02 14:21:51,552: DEBUG - 2021-06-02 14:21:51,553: WARNING - E: Package 'php7.4-zip' has no installation candidate 2021-06-02 14:21:51,554: WARNING - E: Package 'php7.4-gmp' has no installation candidate 2021-06-02 14:21:51,555: WARNING - E: Package 'php7.4-gd' has no installation candidate 2021-06-02 14:21:51,556: WARNING - E: Package 'php7.4-bcmath' has no installation candidate 2021-06-02 14:21:51,557: WARNING - E: Package 'php7.4-fileinfo' has no installation candidate 2021-06-02 14:21:51,558: WARNING - E: Package 'php7.4-json' has no installation candidate 2021-06-02 14:21:51,559: WARNING - E: Package 'php7.4-mbstring' has no installation candidate 2021-06-02 14:21:51,560: WARNING - E: Package 'php7.4-pdo' has no installation candidate 2021-06-02 14:21:51,562: WARNING - E: Package 'php7.4-tokenizer' has no installation candidate 2021-06-02 14:21:51,563: WARNING - E: Package 'php7.4-xml' has no installation candidate 2021-06-02 14:21:51,564: WARNING - E: Package 'php7.4-curl' has no installation candidate 2021-06-02 14:21:51,565: WARNING - E: Package 'php7.4-mysql' has no installation candidate 2021-06-02 14:21:51,566: DEBUG - + ynh_die '--message=Unable to install dependencies' 2021-06-02 14:21:51,568: WARNING - Unable to install dependencies 2021-06-02 14:21:51,569: DEBUG - + ret_code=1 2021-06-02 14:21:51,570: DEBUG - + echo 'Unable to install dependencies' 2021-06-02 14:21:51,570: DEBUG - + exit 1 2021-06-02 14:21:51,570: DEBUG - + ynh_exit_properly 2021-06-02 14:21:51,571: DEBUG - + local exit_code=1 2021-06-02 14:21:51,571: DEBUG - + rm -rf /var/cache/yunohost/download/ 2021-06-02 14:21:51,571: DEBUG - + '[' 1 -eq 0 ']' 2021-06-02 14:21:51,572: DEBUG - + trap '' EXIT 2021-06-02 14:21:51,572: DEBUG - + set +o errexit 2021-06-02 14:21:51,572: DEBUG - + set +o nounset 2021-06-02 14:21:51,573: DEBUG - + sleep 0.5 2021-06-02 14:21:52,057: DEBUG - + type -t ynh_clean_setup 2021-06-02 14:21:52,058: DEBUG - + ynh_clean_setup 2021-06-02 14:21:52,058: DEBUG - + true 2021-06-02 14:21:52,059: DEBUG - + exit 1 2021-06-02 14:21:52,061: ERROR - Unable to install invoiceninja5: An error occurred inside the app installation script ```
l7483nh3r commented 3 years ago

FYI, I had a similar problem (unable to install) recently. If it can be of use, this is my Yunopaste code https://paste.yunohost.org/raw/ahonecudit

rndmh3ro commented 2 years ago

Installation works now.