Erreur d'installation de nextcloud

Bonjour

Mon serveur YunoHost

Matériel: MAchine Virtuel
Version de YunoHost: x.x.x
J’ai accès à mon serveur : En SSH | Par la webadmin
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : oui
Si oui, expliquer:

J’ai voulus mettre à jour nextcloud et j’avais un process docker qui tournait et qui satturait la partion /
la mise à jour à echoué, nextcloud ne s’est pas mis à jour
puis ensuite à disparue des application installer.

quand je lance une réinstalation j’ai une erreur qui n’est pas expliqué.

args:
app: nextcloud
args: null
force: false
label: nextcloud
no_remove_on_failure: false
ended_at: 2020-01-19 15:24:42.503628
env:
YNH_APP_ARG_ADMIN: florian_morineau2
YNH_APP_ARG_DOMAIN: astrowalker2013.homedns.org
YNH_APP_ARG_PATH: /nextcloud
YNH_APP_ARG_USER_HOME: 1
YNH_APP_ID: nextcloud
YNH_APP_INSTANCE_NAME: nextcloud
YNH_APP_INSTANCE_NUMBER: ‘1’
YNH_CWD: /var/cache/yunohost/from_file/nextcloud_ynh-ff1c6872af752f4a2c05689c8b7fe2606067b2b7/scripts
YNH_INTERFACE: cli
YNH_STDINFO: /tmp/tmpaL9XlQ/stdinfo
YNH_STDRETURN: /tmp/tmpqf2aQD/stdreturn
error: ‘An unexpected error occured: shell command return code: 1’
operation: app_install
related_to:

    • app
    • nextcloud
      started_at: 2020-01-19 15:17:39.362018
      success: false

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

2020-01-19 16:17:39,366: INFO - Installing application nextcloud…
2020-01-19 16:17:39,607: DEBUG - Executing command ‘sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/nextcloud_ynh-ff1c6872af752f4a2c05689c8b7fe2606067b2b7/scripts YNH_APP_ARG_USER_HOME=1 YNH_STDINFO=/tmp/tmpaL9XlQ/stdinfo YNH_APP_INSTANCE_NAME=nextcloud YNH_APP_ARG_ADMIN=florian_morineau2 YNH_INTERFACE=cli YNH_APP_ID=nextcloud YNH_APP_ARG_PATH=/nextcloud YNH_STDRETURN=/tmp/tmpqf2aQD/stdreturn YNH_APP_ARG_DOMAIN=astrowalker2013.homedns.org BASH_XTRACEFD=7 /bin/bash -x “./install” astrowalker2013.homedns.org /nextcloud florian_morineau2 1 nextcloud 7>&1’…
2020-01-19 16:17:39,609: DEBUG - About to run the command ‘[‘sh’, ‘-c’, ‘YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/nextcloud_ynh-ff1c6872af752f4a2c05689c8b7fe2606067b2b7/scripts YNH_APP_ARG_USER_HOME=1 YNH_STDINFO=/tmp/tmpaL9XlQ/stdinfo YNH_APP_INSTANCE_NAME=nextcloud YNH_APP_ARG_ADMIN=florian_morineau2 YNH_INTERFACE=cli YNH_APP_ID=nextcloud YNH_APP_ARG_PATH=/nextcloud YNH_STDRETURN=/tmp/tmpqf2aQD/stdreturn YNH_APP_ARG_DOMAIN=astrowalker2013.homedns.org BASH_XTRACEFD=7 /bin/bash -x “./install” astrowalker2013.homedns.org /nextcloud florian_morineau2 1 nextcloud 7>&1’]’
2020-01-19 16:17:39,663: DEBUG - + source _common.sh
2020-01-19 16:17:39,667: DEBUG - ++ pkg_dependencies=‘php-gd php-json php-intl php-mcrypt php-curl php-apcu php-redis php-ldap php-imagick php-zip php-mbstring php-xml imagemagick acl tar smbclient at’
2020-01-19 16:17:39,667: DEBUG - + source /usr/share/yunohost/helpers
2020-01-19 16:17:39,669: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2020-01-19 16:17:39,669: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-01-19 16:17:39,670: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/apt ‘]’
2020-01-19 16:17:39,671: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2020-01-19 16:17:39,671: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-01-19 16:17:39,672: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/backup ‘]’
2020-01-19 16:17:39,673: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2020-01-19 16:17:39,674: DEBUG - +++ CAN_BIND=1
2020-01-19 16:17:39,674: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-01-19 16:17:39,675: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/fail2ban ‘]’
2020-01-19 16:17:39,682: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2020-01-19 16:17:39,682: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-01-19 16:17:39,682: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/getopts ‘]’
2020-01-19 16:17:39,684: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2020-01-19 16:17:39,684: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-01-19 16:17:39,684: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/logging ‘]’
2020-01-19 16:17:39,684: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2020-01-19 16:17:39,686: DEBUG - +++ increment_progression=0
2020-01-19 16:17:39,686: DEBUG - +++ previous_weight=0
2020-01-19 16:17:39,686: DEBUG - +++ max_progression=-1
2020-01-19 16:17:39,688: DEBUG - +++ progress_scale=20
2020-01-19 16:17:39,688: DEBUG - +++ progress_string2=’####################’
2020-01-19 16:17:39,688: DEBUG - +++ progress_string1=++++++++++++++++++++
2020-01-19 16:17:39,689: DEBUG - +++ progress_string0=…
2020-01-19 16:17:39,690: DEBUG - ++++ date +%s
2020-01-19 16:17:39,690: DEBUG - +++ base_time=1579447059
2020-01-19 16:17:39,691: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-01-19 16:17:39,692: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/logrotate ‘]’
2020-01-19 16:17:39,692: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2020-01-19 16:17:39,693: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-01-19 16:17:39,694: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’
2020-01-19 16:17:39,695: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2020-01-19 16:17:39,695: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2020-01-19 16:17:39,695: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-01-19 16:17:39,697: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/network ‘]’
2020-01-19 16:17:39,697: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2020-01-19 16:17:39,697: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-01-19 16:17:39,699: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/nginx ‘]’
2020-01-19 16:17:39,699: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2020-01-19 16:17:39,699: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-01-19 16:17:39,701: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/nodejs ‘]’
2020-01-19 16:17:39,701: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2020-01-19 16:17:39,701: DEBUG - +++ n_install_dir=/opt/node_n
2020-01-19 16:17:39,701: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2020-01-19 16:17:39,703: DEBUG - +++ export N_PREFIX=/opt/node_n
2020-01-19 16:17:39,703: DEBUG - +++ N_PREFIX=/opt/node_n
2020-01-19 16:17:39,703: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-01-19 16:17:39,705: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/php ‘]’
2020-01-19 16:17:39,705: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2020-01-19 16:17:39,705: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-01-19 16:17:39,705: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/postgresql ‘]’
2020-01-19 16:17:39,707: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2020-01-19 16:17:39,707: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2020-01-19 16:17:39,707: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-01-19 16:17:39,708: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’
2020-01-19 16:17:39,709: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2020-01-19 16:17:39,709: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-01-19 16:17:39,710: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’
2020-01-19 16:17:39,711: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2020-01-19 16:17:39,711: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-01-19 16:17:39,712: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/systemd ‘]’
2020-01-19 16:17:39,815: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2020-01-19 16:17:39,815: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-01-19 16:17:39,815: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’
2020-01-19 16:17:39,816: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2020-01-19 16:17:39,816: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-01-19 16:17:39,816: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’
2020-01-19 16:17:39,816: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2020-01-19 16:17:39,818: DEBUG - + ynh_abort_if_errors
2020-01-19 16:17:39,818: DEBUG - + set -eu
2020-01-19 16:17:39,818: DEBUG - + trap ynh_exit_properly EXIT
2020-01-19 16:17:39,820: DEBUG - + domain=astrowalker2013.homedns.org
2020-01-19 16:17:39,820: DEBUG - + path_url=/nextcloud
2020-01-19 16:17:39,820: DEBUG - + admin=florian_morineau2
2020-01-19 16:17:39,822: DEBUG - + user_home=1
2020-01-19 16:17:39,822: DEBUG - + app=nextcloud
2020-01-19 16:17:39,822: DEBUG - + ynh_script_progression ‘–message=Validating installation parameters…’
2020-01-19 16:17:39,822: DEBUG - + set +x
2020-01-19 16:17:39,824: DEBUG - + set +x
2020-01-19 16:17:39,824: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-01-19 16:17:39,825: DEBUG - + set +x
2020-01-19 16:17:39,826: DEBUG - + echo ‘[…] > Validating installation parameters…’
2020-01-19 16:17:39,826: DEBUG - + set -x
2020-01-19 16:17:39,827: DEBUG - + final_path=/var/www/nextcloud
2020-01-19 16:17:39,827: DEBUG - + test ‘!’ -e /var/www/nextcloud
2020-01-19 16:17:39,828: DEBUG - + ynh_webpath_register --app=nextcloud --domain=astrowalker2013.homedns.org --path_url=/nextcloud
2020-01-19 16:17:39,829: DEBUG - + local legacy_args=adp
2020-01-19 16:17:39,829: DEBUG - + args_array=([a]=app= [d]=domain= [p]=path_url=)
2020-01-19 16:17:39,830: DEBUG - + declare -Ar args_array
2020-01-19 16:17:39,831: DEBUG - + local app
2020-01-19 16:17:39,831: DEBUG - + local domain
2020-01-19 16:17:39,831: DEBUG - + local path_url
2020-01-19 16:17:39,833: DEBUG - + ynh_handle_getopts_args --app=nextcloud --domain=astrowalker2013.homedns.org --path_url=/nextcloud
2020-01-19 16:17:39,833: DEBUG - + set +x
2020-01-19 16:17:39,933: DEBUG - + sudo yunohost app register-url nextcloud astrowalker2013.homedns.org /nextcloud
2020-01-19 16:17:41,707: DEBUG - + ynh_script_progression ‘–message=Storing installation settings…’
2020-01-19 16:17:41,707: INFO - […] > Validating installation parameters…
2020-01-19 16:17:41,708: DEBUG - + set +x
2020-01-19 16:17:41,708: DEBUG - + set +x
2020-01-19 16:17:41,709: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-01-19 16:17:41,711: DEBUG - + set +x
2020-01-19 16:17:41,711: DEBUG - + echo ‘[…] > Storing installation settings…’
2020-01-19 16:17:41,712: DEBUG - + set -x
2020-01-19 16:17:41,713: DEBUG - + ynh_app_setting_set --app=nextcloud --key=domain --value=astrowalker2013.homedns.org
2020-01-19 16:17:41,714: DEBUG - + local legacy_args=akv
2020-01-19 16:17:41,714: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-01-19 16:17:41,715: DEBUG - + declare -Ar args_array
2020-01-19 16:17:41,716: DEBUG - + local app
2020-01-19 16:17:41,716: DEBUG - + local key
2020-01-19 16:17:41,716: DEBUG - + local value
2020-01-19 16:17:41,717: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=domain --value=astrowalker2013.homedns.org
2020-01-19 16:17:41,718: DEBUG - + set +x
2020-01-19 16:17:41,718: DEBUG - + ynh_app_setting set nextcloud domain astrowalker2013.homedns.org
2020-01-19 16:17:41,718: DEBUG - + ACTION=set
2020-01-19 16:17:41,720: DEBUG - + APP=nextcloud
2020-01-19 16:17:41,720: DEBUG - + KEY=domain
2020-01-19 16:17:41,720: DEBUG - + VALUE=astrowalker2013.homedns.org
2020-01-19 16:17:41,720: DEBUG - + python -
2020-01-19 16:17:41,722: INFO - […] > Storing installation settings…
2020-01-19 16:17:41,925: DEBUG - + ynh_app_setting_set --app=nextcloud --key=path --value=/nextcloud
2020-01-19 16:17:41,925: DEBUG - + local legacy_args=akv
2020-01-19 16:17:41,925: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-01-19 16:17:41,926: DEBUG - + declare -Ar args_array
2020-01-19 16:17:41,926: DEBUG - + local app
2020-01-19 16:17:41,926: DEBUG - + local key
2020-01-19 16:17:41,926: DEBUG - + local value
2020-01-19 16:17:41,927: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=path --value=/nextcloud
2020-01-19 16:17:41,927: DEBUG - + set +x
2020-01-19 16:17:42,027: DEBUG - + ynh_app_setting set nextcloud path /nextcloud
2020-01-19 16:17:42,028: DEBUG - + ACTION=set
2020-01-19 16:17:42,028: DEBUG - + APP=nextcloud
2020-01-19 16:17:42,028: DEBUG - + KEY=path
2020-01-19 16:17:42,028: DEBUG - + VALUE=/nextcloud
2020-01-19 16:17:42,029: DEBUG - + python -
2020-01-19 16:17:42,231: DEBUG - + ynh_app_setting_set --app=nextcloud --key=admin --value=florian_morineau2
2020-01-19 16:17:42,231: DEBUG - + local legacy_args=akv
2020-01-19 16:17:42,231: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-01-19 16:17:42,233: DEBUG - + declare -Ar args_array
2020-01-19 16:17:42,233: DEBUG - + local app
2020-01-19 16:17:42,233: DEBUG - + local key
2020-01-19 16:17:42,235: DEBUG - + local value
2020-01-19 16:17:42,235: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=admin --value=florian_morineau2
2020-01-19 16:17:42,236: DEBUG - + set +x
2020-01-19 16:17:42,237: DEBUG - + ynh_app_setting set nextcloud admin florian_morineau2
2020-01-19 16:17:42,238: DEBUG - + ACTION=set
2020-01-19 16:17:42,238: DEBUG - + APP=nextcloud
2020-01-19 16:17:42,239: DEBUG - + KEY=admin
2020-01-19 16:17:42,240: DEBUG - + VALUE=florian_morineau2
2020-01-19 16:17:42,240: DEBUG - + python -
2020-01-19 16:17:42,447: DEBUG - + ynh_app_setting_set --app=nextcloud --key=user_home --value=1
2020-01-19 16:17:42,447: DEBUG - + local legacy_args=akv
2020-01-19 16:17:42,448: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-01-19 16:17:42,448: DEBUG - + declare -Ar args_array
2020-01-19 16:17:42,448: DEBUG - + local app
2020-01-19 16:17:42,448: DEBUG - + local key
2020-01-19 16:17:42,448: DEBUG - + local value
2020-01-19 16:17:42,449: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=user_home --value=1
2020-01-19 16:17:42,449: DEBUG - + set +x
2020-01-19 16:17:42,449: DEBUG - + ynh_app_setting set nextcloud user_home 1
2020-01-19 16:17:42,449: DEBUG - + ACTION=set
2020-01-19 16:17:42,449: DEBUG - + APP=nextcloud
2020-01-19 16:17:42,450: DEBUG - + KEY=user_home
2020-01-19 16:17:42,450: DEBUG - + VALUE=1
2020-01-19 16:17:42,450: DEBUG - + python -
2020-01-19 16:17:42,658: DEBUG - + ynh_script_progression ‘–message=Installing dependencies…’ --weight=60
2020-01-19 16:17:42,658: DEBUG - + set +x
2020-01-19 16:17:42,770: DEBUG - + set +x
2020-01-19 16:17:42,770: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-01-19 16:17:42,770: DEBUG - + set +x
2020-01-19 16:17:42,770: DEBUG - + echo ‘[+++++++++…] > Installing dependencies…’
2020-01-19 16:17:42,771: DEBUG - + set -x
2020-01-19 16:17:42,771: DEBUG - + ynh_install_app_dependencies php-gd php-json php-intl php-mcrypt php-curl php-apcu php-redis php-ldap php-imagick php-zip php-mbstring php-xml imagemagick acl tar smbclient at
2020-01-19 16:17:42,771: DEBUG - + local ‘dependencies=php-gd php-json php-intl php-mcrypt php-curl php-apcu php-redis php-ldap php-imagick php-zip php-mbstring php-xml imagemagick acl tar smbclient at’
2020-01-19 16:17:42,771: DEBUG - + local ‘dependencies=php-gd, php-json, php-intl, php-mcrypt, php-curl, php-apcu, php-redis, php-ldap, php-imagick, php-zip, php-mbstring, php-xml, imagemagick, acl, tar, smbclient, at’
2020-01-19 16:17:42,772: DEBUG - + local ‘dependencies=php-gd, php-json, php-intl, php-mcrypt, php-curl, php-apcu, php-redis, php-ldap, php-imagick, php-zip, php-mbstring, php-xml, imagemagick, acl, tar, smbclient, at’
2020-01-19 16:17:42,772: DEBUG - + local manifest_path=…/manifest.json
2020-01-19 16:17:42,772: DEBUG - + ‘[’ ‘!’ -e …/manifest.json ‘]’
2020-01-19 16:17:42,772: DEBUG - ++ cut -d ‘"’ -f 4
2020-01-19 16:17:42,772: DEBUG - ++ grep ‘"version": ’ …/manifest.json
2020-01-19 16:17:42,773: DEBUG - + local version=15.0.13~ynh1
2020-01-19 16:17:42,773: DEBUG - + ‘[’ 12 -eq 0 ‘]’
2020-01-19 16:17:42,773: DEBUG - + local dep_app=nextcloud
2020-01-19 16:17:42,773: DEBUG - + grep -q php
2020-01-19 16:17:42,773: DEBUG - + echo php-gd, php-json, php-intl, php-mcrypt, php-curl, php-apcu, php-redis, php-ldap, php-imagick, php-zip, php-mbstring, php-xml, imagemagick, acl, tar, smbclient, at
2020-01-19 16:17:42,773: DEBUG - + grep php7.0
2020-01-19 16:17:42,774: DEBUG - + grep -q -v 7.0.33-0+deb9
2020-01-19 16:17:42,774: DEBUG - + dpkg --list
2020-01-19 16:17:42,874: DEBUG - + grep -nrq sury /etc/apt/sources.list /etc/apt/sources.list~ /etc/apt/sources.list.d /etc/apt/sources.list.save
2020-01-19 16:17:42,875: INFO - [+++++++++…] > Installing dependencies…
2020-01-19 16:17:42,875: DEBUG - + cat
2020-01-19 16:17:42,875: DEBUG - + ynh_package_install_from_equivs /tmp/nextcloud-ynh-deps.control
2020-01-19 16:17:42,875: DEBUG - + local controlfile=/tmp/nextcloud-ynh-deps.control
2020-01-19 16:17:42,876: DEBUG - ++ cut ‘-d ’ -f 2
2020-01-19 16:17:42,876: DEBUG - ++ grep ‘^Package: ’ /tmp/nextcloud-ynh-deps.control
2020-01-19 16:17:42,876: DEBUG - + local pkgname=nextcloud-ynh-deps
2020-01-19 16:17:42,876: DEBUG - ++ cut ‘-d ’ -f 2
2020-01-19 16:17:42,877: DEBUG - ++ grep ‘^Version: ’ /tmp/nextcloud-ynh-deps.control
2020-01-19 16:17:42,877: DEBUG - + local pkgversion=15.0.13~ynh1
2020-01-19 16:17:42,877: DEBUG - + [[ -z nextcloud-ynh-deps ]]
2020-01-19 16:17:42,877: DEBUG - + [[ -z 15.0.13~ynh1 ]]
2020-01-19 16:17:42,877: DEBUG - + ynh_package_update
2020-01-19 16:17:42,878: DEBUG - + ynh_apt update
2020-01-19 16:17:42,878: DEBUG - + ynh_wait_dpkg_free
2020-01-19 16:17:42,878: DEBUG - + local try
2020-01-19 16:17:42,878: DEBUG - ++ seq 1 17
2020-01-19 16:17:42,878: DEBUG - + for try in seq 1 17
2020-01-19 16:17:42,878: DEBUG - + sudo lsof /var/lib/dpkg/lock
2020-01-19 16:17:43,302: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2020-01-19 16:17:43,302: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2020-01-19 16:17:43,302: DEBUG - + read dpkg_file
2020-01-19 16:17:43,302: DEBUG - + echo ‘’
2020-01-19 16:17:43,303: DEBUG - + grep -Pq ‘[1]+$’
2020-01-19 16:17:43,303: DEBUG - + read dpkg_file
2020-01-19 16:17:43,304: DEBUG - + return 0
2020-01-19 16:17:43,304: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-01-19 16:17:43,305: DEBUG - + apt-get -y update
2020-01-19 16:17:43,614: DEBUG - Hit:1 Index of /debian/ stretch InRelease
2020-01-19 16:17:43,614: DEBUG - Ign:2 Index of /debian/ stretch InRelease
2020-01-19 16:17:43,722: DEBUG - Get:3 Index of /debian/ stretch-updates InRelease [91.0 kB]
2020-01-19 16:17:43,722: DEBUG - Get:4 Index of /debian-security stretch/updates InRelease [94.3 kB]
2020-01-19 16:17:43,822: DEBUG - Hit:5 Index of linux/debian/ stretch InRelease
2020-01-19 16:17:43,924: DEBUG - Hit:6 Index of /debian/ stretch Release
2020-01-19 16:17:44,026: DEBUG - Hit:7 Index of /php/ stretch InRelease
2020-01-19 16:17:46,204: DEBUG - Fetched 185 kB in 2s (71.2 kB/s)
2020-01-19 16:17:47,916: DEBUG - Reading package lists…
2020-01-19 16:17:48,017: DEBUG - ++ mktemp -d
2020-01-19 16:17:48,017: DEBUG - + local TMPDIR=/tmp/tmp.ZjToOEB6kM
2020-01-19 16:17:48,017: DEBUG - + echo 10
2020-01-19 16:17:48,018: DEBUG - + ynh_wait_dpkg_free
2020-01-19 16:17:48,018: DEBUG - + local try
2020-01-19 16:17:48,018: DEBUG - ++ seq 1 17
2020-01-19 16:17:48,018: DEBUG - + for try in seq 1 17
2020-01-19 16:17:48,019: DEBUG - + sudo lsof /var/lib/dpkg/lock
2020-01-19 16:17:48,320: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2020-01-19 16:17:48,320: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2020-01-19 16:17:48,320: DEBUG - + read dpkg_file
2020-01-19 16:17:48,321: DEBUG - + grep -Pq ‘[2]+$’
2020-01-19 16:17:48,321: DEBUG - + echo ‘’
2020-01-19 16:17:48,321: DEBUG - + read dpkg_file
2020-01-19 16:17:48,321: DEBUG - + return 0
2020-01-19 16:17:48,322: DEBUG - + cp /tmp/nextcloud-ynh-deps.control /tmp/tmp.ZjToOEB6kM/control
2020-01-19 16:17:48,322: DEBUG - + cd /tmp/tmp.ZjToOEB6kM
2020-01-19 16:17:48,322: DEBUG - + equivs-build ./control
2020-01-19 16:17:50,563: DEBUG - + dpkg --force-depends -i ./nextcloud-ynh-deps_15.0.13~ynh1_all.deb
2020-01-19 16:17:50,866: DEBUG - Selecting previously unselected package nextcloud-ynh-deps.
2020-01-19 16:17:50,966: DEBUG - (Reading database … 97572 files and directories currently installed.)
2020-01-19 16:17:51,137: DEBUG - Preparing to unpack …/nextcloud-ynh-deps_15.0.13~ynh1_all.deb …
2020-01-19 16:17:51,438: DEBUG - Unpacking nextcloud-ynh-deps (15.0.13~ynh1) …
2020-01-19 16:17:51,940: DEBUG - dpkg: nextcloud-ynh-deps: dependency problems, but configuring anyway as you requested:
2020-01-19 16:17:51,940: DEBUG - nextcloud-ynh-deps depends on php-apcu; however:
2020-01-19 16:17:51,940: DEBUG - Package php-apcu is not installed.
2020-01-19 16:17:51,940: DEBUG - nextcloud-ynh-deps depends on php-redis; however:
2020-01-19 16:17:51,941: DEBUG - Package php-redis is not installed.
2020-01-19 16:17:51,941: DEBUG - nextcloud-ynh-deps depends on php-imagick; however:
2020-01-19 16:17:51,941: DEBUG - Package php-imagick is not installed.
2020-01-19 16:17:51,941: DEBUG - nextcloud-ynh-deps depends on acl; however:
2020-01-19 16:17:51,941: DEBUG - Package acl is not installed.
2020-01-19 16:17:51,942: DEBUG - nextcloud-ynh-deps depends on smbclient; however:
2020-01-19 16:17:51,942: DEBUG - Package smbclient is not installed.
2020-01-19 16:17:51,942: DEBUG -
2020-01-19 16:17:51,942: DEBUG - Setting up nextcloud-ynh-deps (15.0.13~ynh1) …
2020-01-19 16:17:52,545: DEBUG - + ynh_package_install -f
2020-01-19 16:17:52,545: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=–force-confdef -o Dpkg::Options::=–force-confold install -f
2020-01-19 16:17:52,546: DEBUG - + ynh_wait_dpkg_free
2020-01-19 16:17:52,546: DEBUG - + local try
2020-01-19 16:17:52,546: DEBUG - ++ seq 1 17
2020-01-19 16:17:52,546: DEBUG - + for try in seq 1 17
2020-01-19 16:17:52,546: DEBUG - + sudo lsof /var/lib/dpkg/lock
2020-01-19 16:17:52,958: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2020-01-19 16:17:52,958: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2020-01-19 16:17:52,958: DEBUG - + read dpkg_file
2020-01-19 16:17:52,960: DEBUG - + grep -Pq ‘[3]+$’
2020-01-19 16:17:52,960: DEBUG - + echo ‘’
2020-01-19 16:17:52,960: DEBUG - + read dpkg_file
2020-01-19 16:17:52,962: DEBUG - + return 0
2020-01-19 16:17:52,962: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-01-19 16:17:52,962: DEBUG - + apt-get -y --no-remove -o Dpkg::Options::=–force-confdef -o Dpkg::Options::=–force-confold install -f
2020-01-19 16:17:53,379: DEBUG - Reading package lists…
2020-01-19 16:17:53,794: DEBUG - Building dependency tree…
2020-01-19 16:17:53,794: DEBUG - Reading state information…
2020-01-19 16:17:53,995: DEBUG - Correcting dependencies… Done
2020-01-19 16:17:54,210: DEBUG - The following additional packages will be installed:
2020-01-19 16:17:54,210: DEBUG - acl libarchive13 libldb1 libsmbclient libtdb1 libtevent0 libwbclient0
2020-01-19 16:17:54,210: DEBUG - php-apcu php-apcu-bc php-igbinary php-imagick php-redis python-ldb
2020-01-19 16:17:54,211: DEBUG - python-samba python-talloc python-tdb samba-common samba-common-bin
2020-01-19 16:17:54,211: DEBUG - samba-libs smbclient ttf-dejavu-core
2020-01-19 16:17:54,211: DEBUG - Suggested packages:
2020-01-19 16:17:54,211: DEBUG - lrzip python-gpgme heimdal-clients cifs-utils
2020-01-19 16:17:54,211: DEBUG - The following NEW packages will be installed:
2020-01-19 16:17:54,212: DEBUG - acl libarchive13 libldb1 libsmbclient libtdb1 libtevent0 libwbclient0
2020-01-19 16:17:54,212: DEBUG - php-apcu php-apcu-bc php-igbinary php-imagick php-redis python-ldb
2020-01-19 16:17:54,212: DEBUG - python-samba python-talloc python-tdb samba-common samba-common-bin
2020-01-19 16:17:54,212: DEBUG - samba-libs smbclient ttf-dejavu-core
2020-01-19 16:17:57,987: DEBUG - Preconfiguring packages …
2020-01-19 16:17:58,793: DEBUG - 0 upgraded, 21 newly installed, 0 to remove and 0 not upgraded.
2020-01-19 16:17:58,793: DEBUG - Need to get 0 B/9,673 kB of archives.
2020-01-19 16:17:58,794: DEBUG - After this operation, 46.1 MB of additional disk space will be used.
2020-01-19 16:17:59,296: DEBUG - Selecting previously unselected package libtevent0:amd64.
2020-01-19 16:17:59,396: DEBUG - (Reading database …
(Reading database … 5%
(Reading database … 10%
(Reading database … 15%
(Reading database … 20%
(Reading database … 25%
(Reading database … 30%
(Reading database … 35%
(Reading database … 40%
(Reading database … 45%
(Reading database … 50%
(Reading database … 55%
(Reading database … 60%
(Reading database … 65%
(Reading database … 70%
(Reading database … 75%
(Reading database … 80%
(Reading database … 85%
(Reading database … 90%
(Reading database … 95%
(Reading database … 100%
(Reading database … 97576 files and directories currently installed.)
2020-01-19 16:17:59,397: DEBUG - Preparing to unpack …/00-libtevent0_0.9.31-1_amd64.deb …
2020-01-19 16:17:59,798: DEBUG - Unpacking libtevent0:amd64 (0.9.31-1) …
2020-01-19 16:18:01,512: DEBUG - Selecting previously unselected package libtdb1:amd64.
2020-01-19 16:18:01,512: DEBUG - Preparing to unpack …/01-libtdb1_1.3.11-2_amd64.deb …
2020-01-19 16:18:01,718: DEBUG - Unpacking libtdb1:amd64 (1.3.11-2) …
2020-01-19 16:18:02,739: DEBUG - Selecting previously unselected package libldb1:amd64.
2020-01-19 16:18:02,739: DEBUG - Preparing to unpack …/02-libldb1_2%3a1.1.27-1+deb9u1_amd64.deb …
2020-01-19 16:18:02,843: DEBUG - Unpacking libldb1:amd64 (2:1.1.27-1+deb9u1) …
2020-01-19 16:18:04,249: DEBUG - Selecting previously unselected package libwbclient0:amd64.
2020-01-19 16:18:04,249: DEBUG - Preparing to unpack …/03-libwbclient0_2%3a4.5.16+dfsg-1+deb9u2_amd64.deb …
2020-01-19 16:18:04,450: DEBUG - Unpacking libwbclient0:amd64 (2:4.5.16+dfsg-1+deb9u2) …
2020-01-19 16:18:07,560: DEBUG - Selecting previously unselected package python-talloc.
2020-01-19 16:18:07,560: DEBUG - Preparing to unpack …/04-python-talloc_2.1.8-1_amd64.deb …
2020-01-19 16:18:07,761: DEBUG - Unpacking python-talloc (2.1.8-1) …
2020-01-19 16:18:09,065: DEBUG - Selecting previously unselected package samba-libs:amd64.
2020-01-19 16:18:09,065: DEBUG - Preparing to unpack …/05-samba-libs_2%3a4.5.16+dfsg-1+deb9u2_amd64.deb …
2020-01-19 16:18:09,688: DEBUG - Unpacking samba-libs:amd64 (2:4.5.16+dfsg-1+deb9u2) …
2020-01-19 16:18:17,923: DEBUG - Selecting previously unselected package libsmbclient:amd64.
2020-01-19 16:18:17,923: DEBUG - Preparing to unpack …/06-libsmbclient_2%3a4.5.16+dfsg-1+deb9u2_amd64.deb …
2020-01-19 16:18:18,025: DEBUG - Unpacking libsmbclient:amd64 (2:4.5.16+dfsg-1+deb9u2) …
2020-01-19 16:18:19,530: DEBUG - Selecting previously unselected package php-apcu.
2020-01-19 16:18:19,530: DEBUG - Preparing to unpack …/07-php-apcu_5.1.18+4.0.11-1+0~20191219.13+debian9~1.gbpa99079_amd64.deb …
2020-01-19 16:18:19,631: DEBUG - Unpacking php-apcu (5.1.18+4.0.11-1+0~20191219.13+debian9~1.gbpa99079) …
2020-01-19 16:18:24,957: DEBUG - Selecting previously unselected package php-apcu-bc.
2020-01-19 16:18:24,958: DEBUG - Preparing to unpack …/08-php-apcu-bc_1.0.5-1+0~20191128.11+debian9~1.gbp90a6a0_amd64.deb …
2020-01-19 16:18:25,158: DEBUG - Unpacking php-apcu-bc (1.0.5-1+0~20191128.11+debian9~1.gbp90a6a0) …
2020-01-19 16:18:26,563: DEBUG - Selecting previously unselected package php-igbinary.
2020-01-19 16:18:26,563: DEBUG - Preparing to unpack …/09-php-igbinary_3.1.0+2.0.8-1+0~20200113.14+debian9~1.gbp89c27f_amd64.deb …
2020-01-19 16:18:26,764: DEBUG - Unpacking php-igbinary (3.1.0+2.0.8-1+0~20200113.14+debian9~1.gbp89c27f) …
2020-01-19 16:18:28,475: DEBUG - Selecting previously unselected package php-imagick.
2020-01-19 16:18:28,575: DEBUG - Preparing to unpack …/10-php-imagick_3.4.4-1+0~20191119.13+debian9~1.gbpc5da26_amd64.deb …
2020-01-19 16:18:28,677: DEBUG - Unpacking php-imagick (3.4.4-1+0~20191119.13+debian9~1.gbpc5da26) …
2020-01-19 16:18:31,284: DEBUG - Selecting previously unselected package php-redis.
2020-01-19 16:18:31,285: DEBUG - Preparing to unpack …/11-php-redis_5.1.1+4.3.0-1+0~20191219.18+debian9~1.gbp1a44ee_amd64.deb …
2020-01-19 16:18:31,486: DEBUG - Unpacking php-redis (5.1.1+4.3.0-1+0~20191219.18+debian9~1.gbp1a44ee) …
2020-01-19 16:18:33,492: DEBUG - Selecting previously unselected package samba-common.
2020-01-19 16:18:33,493: DEBUG - Preparing to unpack …/12-samba-common_2%3a4.5.16+dfsg-1+deb9u2_all.deb …
2020-01-19 16:18:33,593: DEBUG - Unpacking samba-common (2:4.5.16+dfsg-1+deb9u2) …
2020-01-19 16:18:34,696: DEBUG - Selecting previously unselected package libarchive13:amd64.
2020-01-19 16:18:34,697: DEBUG - Preparing to unpack …/13-libarchive13_3.2.2-2+deb9u2_amd64.deb …
2020-01-19 16:18:34,797: DEBUG - Unpacking libarchive13:amd64 (3.2.2-2+deb9u2) …
2020-01-19 16:18:36,803: DEBUG - Selecting previously unselected package smbclient.
2020-01-19 16:18:36,803: DEBUG - Preparing to unpack …/14-smbclient_2%3a4.5.16+dfsg-1+deb9u2_amd64.deb …
2020-01-19 16:18:36,904: DEBUG - Unpacking smbclient (2:4.5.16+dfsg-1+deb9u2) …
2020-01-19 16:18:39,010: DEBUG - Selecting previously unselected package acl.
2020-01-19 16:18:39,011: DEBUG - Preparing to unpack …/15-acl_2.2.52-3+b1_amd64.deb …
2020-01-19 16:18:39,111: DEBUG - Unpacking acl (2.2.52-3+b1) …
2020-01-19 16:18:40,516: DEBUG - Selecting previously unselected package python-ldb.
2020-01-19 16:18:40,517: DEBUG - Preparing to unpack …/16-python-ldb_2%3a1.1.27-1+deb9u1_amd64.deb …
2020-01-19 16:18:41,019: DEBUG - Unpacking python-ldb (2:1.1.27-1+deb9u1) …
2020-01-19 16:18:42,022: DEBUG - Selecting previously unselected package python-tdb.
2020-01-19 16:18:42,122: DEBUG - Preparing to unpack …/17-python-tdb_1.3.11-2_amd64.deb …
2020-01-19 16:18:42,223: DEBUG - Unpacking python-tdb (1.3.11-2) …
2020-01-19 16:18:43,365: DEBUG - Selecting previously unselected package python-samba.
2020-01-19 16:18:43,366: DEBUG - Preparing to unpack …/18-python-samba_2%3a4.5.16+dfsg-1+deb9u2_amd64.deb …
2020-01-19 16:18:43,466: DEBUG - Unpacking python-samba (2:4.5.16+dfsg-1+deb9u2) …
2020-01-19 16:18:48,240: DEBUG - Selecting previously unselected package samba-common-bin.
2020-01-19 16:18:48,240: DEBUG - Preparing to unpack …/19-samba-common-bin_2%3a4.5.16+dfsg-1+deb9u2_amd64.deb …
2020-01-19 16:18:48,241: DEBUG - Unpacking samba-common-bin (2:4.5.16+dfsg-1+deb9u2) …
2020-01-19 16:18:49,758: DEBUG - Selecting previously unselected package ttf-dejavu-core.
2020-01-19 16:18:49,759: DEBUG - Preparing to unpack …/20-ttf-dejavu-core_2.37-1_all.deb …
2020-01-19 16:18:49,859: DEBUG - Unpacking ttf-dejavu-core (2.37-1) …
2020-01-19 16:18:51,069: DEBUG - Setting up php-apcu (5.1.18+4.0.11-1+0~20191219.13+debian9~1.gbpa99079) …
2020-01-19 16:18:53,288: DEBUG - Setting up libtdb1:amd64 (1.3.11-2) …
2020-01-19 16:18:53,689: DEBUG - Setting up libwbclient0:amd64 (2:4.5.16+dfsg-1+deb9u2) …
2020-01-19 16:18:53,990: DEBUG - Setting up php-imagick (3.4.4-1+0~20191119.13+debian9~1.gbpc5da26) …
2020-01-19 16:18:56,206: DEBUG - Setting up ttf-dejavu-core (2.37-1) …
2020-01-19 16:18:56,708: DEBUG - Setting up python-tdb (1.3.11-2) …
2020-01-19 16:18:57,310: DEBUG - Setting up libarchive13:amd64 (3.2.2-2+deb9u2) …
2020-01-19 16:18:57,612: DEBUG - Setting up php-igbinary (3.1.0+2.0.8-1+0~20200113.14+debian9~1.gbp89c27f) …
2020-01-19 16:18:59,725: DEBUG - Setting up samba-common (2:4.5.16+dfsg-1+deb9u2) …
2020-01-19 16:19:00,650: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2020-01-19 16:19:00,956: DEBUG -
2020-01-19 16:19:00,957: DEBUG - Creating config file /etc/samba/smb.conf with new version
2020-01-19 16:19:01,066: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2020-01-19 16:19:02,390: DEBUG - Setting up php-redis (5.1.1+4.3.0-1+0~20191219.18+debian9~1.gbp1a44ee) …
2020-01-19 16:19:05,117: DEBUG - Setting up libtevent0:amd64 (0.9.31-1) …
2020-01-19 16:19:06,220: DEBUG - Processing triggers for libc-bin (2.24-11+deb9u4) …
2020-01-19 16:19:06,924: DEBUG - Processing triggers for man-db (2.7.6.1-2) …
2020-01-19 16:19:11,504: DEBUG - Setting up php-apcu-bc (1.0.5-1+0~20191128.11+debian9~1.gbp90a6a0) …
2020-01-19 16:19:13,736: DEBUG - Setting up acl (2.2.52-3+b1) …
2020-01-19 16:19:14,138: DEBUG - Processing triggers for fontconfig (2.11.0-6.7+b1) …
2020-01-19 16:19:16,459: DEBUG - Setting up python-talloc (2.1.8-1) …
2020-01-19 16:19:17,062: DEBUG - Setting up libldb1:amd64 (2:1.1.27-1+deb9u1) …
2020-01-19 16:19:17,463: DEBUG - Setting up python-ldb (2:1.1.27-1+deb9u1) …
2020-01-19 16:19:18,066: DEBUG - Setting up samba-libs:amd64 (2:4.5.16+dfsg-1+deb9u2) …
2020-01-19 16:19:18,567: DEBUG - Setting up python-samba (2:4.5.16+dfsg-1+deb9u2) …
2020-01-19 16:19:19,892: DEBUG - Setting up libsmbclient:amd64 (2:4.5.16+dfsg-1+deb9u2) …
2020-01-19 16:19:20,393: DEBUG - Setting up smbclient (2:4.5.16+dfsg-1+deb9u2) …
2020-01-19 16:19:21,597: DEBUG - Setting up samba-common-bin (2:4.5.16+dfsg-1+deb9u2) …
2020-01-19 16:19:21,899: DEBUG - Processing triggers for libc-bin (2.24-11+deb9u4) …
2020-01-19 16:19:24,884: DEBUG - + [[ -n /tmp/tmp.ZjToOEB6kM ]]
2020-01-19 16:19:24,885: DEBUG - + rm -rf /tmp/tmp.ZjToOEB6kM
2020-01-19 16:19:24,885: DEBUG - + ynh_package_is_installed nextcloud-ynh-deps
2020-01-19 16:19:24,885: DEBUG - + local legacy_args=p
2020-01-19 16:19:24,886: DEBUG - + args_array=([p]=package=)
2020-01-19 16:19:24,886: DEBUG - + declare -Ar args_array
2020-01-19 16:19:24,886: DEBUG - + local package
2020-01-19 16:19:24,886: DEBUG - + ynh_handle_getopts_args nextcloud-ynh-deps
2020-01-19 16:19:24,887: DEBUG - + set +x
2020-01-19 16:19:24,887: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-01-19 16:19:24,888: DEBUG - + set +x
2020-01-19 16:19:24,888: DEBUG - + ynh_wait_dpkg_free
2020-01-19 16:19:24,888: DEBUG - + local try
2020-01-19 16:19:24,889: DEBUG - ++ seq 1 17
2020-01-19 16:19:24,889: DEBUG - + for try in seq 1 17
2020-01-19 16:19:24,889: DEBUG - + sudo lsof /var/lib/dpkg/lock
2020-01-19 16:19:25,297: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2020-01-19 16:19:25,297: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2020-01-19 16:19:25,298: DEBUG - + read dpkg_file
2020-01-19 16:19:25,298: DEBUG - + echo ‘’
2020-01-19 16:19:25,298: DEBUG - + grep -Pq ‘[4]+$’
2020-01-19 16:19:25,298: DEBUG - + read dpkg_file
2020-01-19 16:19:25,299: DEBUG - + return 0
2020-01-19 16:19:25,299: DEBUG - + dpkg-query -W -f ‘${Status}’ nextcloud-ynh-deps
2020-01-19 16:19:25,299: DEBUG - + grep -c ‘ok installed’
2020-01-19 16:19:25,299: DEBUG - + rm /tmp/nextcloud-ynh-deps.control
2020-01-19 16:19:25,300: DEBUG - + ynh_app_setting_set --app=nextcloud --key=apt_dependencies ‘–value=php-gd, php-json, php-intl, php-mcrypt, php-curl, php-apcu, php-redis, php-ldap, php-imagick, php-zip, php-mbstring, php-xml, imagemagick, acl, tar, smbclient, at’
2020-01-19 16:19:25,300: DEBUG - + local legacy_args=akv
2020-01-19 16:19:25,300: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-01-19 16:19:25,300: DEBUG - + declare -Ar args_array
2020-01-19 16:19:25,301: DEBUG - + local app
2020-01-19 16:19:25,301: DEBUG - + local key
2020-01-19 16:19:25,301: DEBUG - + local value
2020-01-19 16:19:25,301: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=apt_dependencies ‘–value=php-gd, php-json, php-intl, php-mcrypt, php-curl, php-apcu, php-redis, php-ldap, php-imagick, php-zip, php-mbstring, php-xml, imagemagick, acl, tar, smbclient, at’
2020-01-19 16:19:25,302: DEBUG - + set +x
2020-01-19 16:19:25,402: DEBUG - + ynh_app_setting set nextcloud apt_dependencies ‘php-gd, php-json, php-intl, php-mcrypt, php-curl, php-apcu, php-redis, php-ldap, php-imagick, php-zip, php-mbstring, php-xml, imagemagick, acl, tar, smbclient, at’
2020-01-19 16:19:25,403: DEBUG - + ACTION=set
2020-01-19 16:19:25,403: DEBUG - + APP=nextcloud
2020-01-19 16:19:25,403: DEBUG - + KEY=apt_dependencies
2020-01-19 16:19:25,403: DEBUG - + VALUE=‘php-gd, php-json, php-intl, php-mcrypt, php-curl, php-apcu, php-redis, php-ldap, php-imagick, php-zip, php-mbstring, php-xml, imagemagick, acl, tar, smbclient, at’
2020-01-19 16:19:25,403: DEBUG - + python -
2020-01-19 16:19:25,605: DEBUG - + ynh_script_progression ‘–message=Creating a MySQL database…’ --weight=2
2020-01-19 16:19:25,606: DEBUG - + set +x
2020-01-19 16:19:25,606: DEBUG - + set +x
2020-01-19 16:19:25,606: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-01-19 16:19:25,606: DEBUG - + set +x
2020-01-19 16:19:25,607: DEBUG - + echo ‘[#########+…] > Creating a MySQL database…’
2020-01-19 16:19:25,607: DEBUG - + set -x
2020-01-19 16:19:25,607: DEBUG - ++ ynh_sanitize_dbid --db_name=nextcloud
2020-01-19 16:19:25,609: DEBUG - ++ local legacy_args=n
2020-01-19 16:19:25,609: DEBUG - ++ args_array=([n]=db_name=)
2020-01-19 16:19:25,609: DEBUG - ++ declare -Ar args_array
2020-01-19 16:19:25,609: DEBUG - ++ local db_name
2020-01-19 16:19:25,611: DEBUG - ++ ynh_handle_getopts_args --db_name=nextcloud
2020-01-19 16:19:25,611: DEBUG - ++ set +x
2020-01-19 16:19:25,713: DEBUG - ++ echo nextcloud
2020-01-19 16:19:25,713: INFO - [#########+…] > Creating a MySQL database…
2020-01-19 16:19:25,714: DEBUG - + db_name=nextcloud
2020-01-19 16:19:25,714: DEBUG - + ynh_app_setting_set --app=nextcloud --key=db_name --value=nextcloud
2020-01-19 16:19:25,714: DEBUG - + local legacy_args=akv
2020-01-19 16:19:25,714: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-01-19 16:19:25,715: DEBUG - + declare -Ar args_array
2020-01-19 16:19:25,716: DEBUG - + local app
2020-01-19 16:19:25,716: DEBUG - + local key
2020-01-19 16:19:25,716: DEBUG - + local value
2020-01-19 16:19:25,717: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=db_name --value=nextcloud
2020-01-19 16:19:25,718: DEBUG - + set +x
2020-01-19 16:19:25,718: DEBUG - + ynh_app_setting set nextcloud db_name nextcloud
2020-01-19 16:19:25,718: DEBUG - + ACTION=set
2020-01-19 16:19:25,719: DEBUG - + APP=nextcloud
2020-01-19 16:19:25,720: DEBUG - + KEY=db_name
2020-01-19 16:19:25,720: DEBUG - + VALUE=nextcloud
2020-01-19 16:19:25,721: DEBUG - + python -
2020-01-19 16:19:26,026: DEBUG - + ynh_mysql_setup_db --db_user=nextcloud --db_name=nextcloud
2020-01-19 16:19:26,026: DEBUG - + local legacy_args=unp
2020-01-19 16:19:26,026: DEBUG - + args_array=([u]=db_user= [n]=db_name= [p]=db_pwd=)
2020-01-19 16:19:26,027: DEBUG - + declare -Ar args_array
2020-01-19 16:19:26,027: DEBUG - + local db_user
2020-01-19 16:19:26,027: DEBUG - + local db_name
2020-01-19 16:19:26,027: DEBUG - + db_pwd=
2020-01-19 16:19:26,028: DEBUG - + ynh_handle_getopts_args --db_user=nextcloud --db_name=nextcloud
2020-01-19 16:19:26,028: DEBUG - + set +x
2020-01-19 16:19:26,028: DEBUG - ++ ynh_string_random
2020-01-19 16:19:26,028: DEBUG - ++ local legacy_args=l
2020-01-19 16:19:26,032: DEBUG - ++ args_array=([l]=length=)
2020-01-19 16:19:26,032: DEBUG - ++ declare -Ar args_array
2020-01-19 16:19:26,032: DEBUG - ++ local length
2020-01-19 16:19:26,034: DEBUG - ++ ynh_handle_getopts_args
2020-01-19 16:19:26,034: DEBUG - ++ set +x
2020-01-19 16:19:26,034: DEBUG - ++ length=24
2020-01-19 16:19:26,035: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2020-01-19 16:19:26,036: DEBUG - ++ tr -c -d A-Za-z0-9
2020-01-19 16:19:26,036: DEBUG - ++ sed -n ‘s/(.{24})./\1/p’
2020-01-19 16:19:26,036: DEBUG - + local new_db_pwd=
*********
2020-01-19 16:19:26,037: DEBUG - + db_pwd=**********
2020-01-19 16:19:26,038: DEBUG - + ynh_mysql_create_db nextcloud nextcloud **********
2020-01-19 16:19:26,039: DEBUG - + local db=nextcloud
2020-01-19 16:19:26,039: DEBUG - + local ‘sql=CREATE DATABASE nextcloud;’
2020-01-19 16:19:26,040: DEBUG - + [[ 3 -gt 1 ]]
2020-01-19 16:19:26,041: DEBUG - + sql+=’ GRANT ALL PRIVILEGES ON nextcloud.* TO ‘'‘nextcloud’'’@’'‘localhost’'’’
2020-01-19 16:19:26,041: DEBUG - + [[ -n ********** ]]
2020-01-19 16:19:26,041: DEBUG - + sql+=’ IDENTIFIED BY ‘'’‘'’’
2020-01-19 16:19:26,042: DEBUG - + sql+=’ WITH GRANT OPTION;’
2020-01-19 16:19:26,043: DEBUG - + ynh_mysql_execute_as_root '–sql=CREATE DATABASE nextcloud; GRANT ALL PRIVILEGES ON nextcloud.
TO ‘'‘nextcloud’'’@‘'‘localhost’'’ IDENTIFIED BY ‘'’
‘'’ WITH GRANT OPTION;’
2020-01-19 16:19:26,043: DEBUG - + local legacy_args=sd
2020-01-19 16:19:26,043: DEBUG - + args_array=([s]=sql= [d]=database=)
2020-01-19 16:19:26,045: DEBUG - + declare -Ar args_array
2020-01-19 16:19:26,045: DEBUG - + local sql
2020-01-19 16:19:26,045: DEBUG - + local database
2020-01-19 16:19:26,045: DEBUG - + ynh_handle_getopts_args '–sql=CREATE DATABASE nextcloud; GRANT ALL PRIVILEGES ON nextcloud.
TO ‘'‘nextcloud’'’@’'‘localhost’'’ IDENTIFIED BY ‘'’‘'’ WITH GRANT OPTION;’
2020-01-19 16:19:26,060: DEBUG - + set +x
2020-01-19 16:19:26,060: DEBUG - + database=
2020-01-19 16:19:26,061: DEBUG - ++ sudo cat /etc/yunohost/mysql
2020-01-19 16:19:26,164: DEBUG - + ynh_mysql_connect_as --user=root --password=
--database=
2020-01-19 16:19:26,164: DEBUG - + local legacy_args=upd
2020-01-19 16:19:26,164: DEBUG - + args_array=([u]=user= [p]=password= [d]=database=)
2020-01-19 16:19:26,166: DEBUG - + declare -Ar args_array
2020-01-19 16:19:26,166: DEBUG - + local user
2020-01-19 16:19:26,166: DEBUG - + local password
2020-01-19 16:19:26,168: DEBUG - + local database
2020-01-19 16:19:26,168: DEBUG - + ynh_handle_getopts_args --user=root --password=********** --database=
2020-01-19 16:19:26,168: DEBUG - + set +x
2020-01-19 16:19:26,170: DEBUG - + database=
2020-01-19 16:19:26,170: DEBUG - + mysql -u root --password=********** -B ‘’
2020-01-19 16:19:26,170: DEBUG - + ynh_app_setting_set --app=nextcloud --key=mysqlpwd --value=**********
2020-01-19 16:19:26,171: DEBUG - + local legacy_args=akv
2020-01-19 16:19:26,172: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-01-19 16:19:26,173: DEBUG - + declare -Ar args_array
2020-01-19 16:19:26,173: DEBUG - + local app
2020-01-19 16:19:26,174: DEBUG - + local key
2020-01-19 16:19:26,175: DEBUG - + local value
2020-01-19 16:19:26,175: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=mysqlpwd --value=**********
2020-01-19 16:19:26,175: DEBUG - + set +x
2020-01-19 16:19:26,176: DEBUG - + ynh_app_setting set nextcloud mysqlpwd **********
2020-01-19 16:19:26,176: DEBUG - + ACTION=set
2020-01-19 16:19:26,177: DEBUG - + APP=nextcloud
2020-01-19 16:19:26,178: DEBUG - + KEY=mysqlpwd
2020-01-19 16:19:26,178: DEBUG - + VALUE=**********
2020-01-19 16:19:26,180: DEBUG - + python -
2020-01-19 16:19:26,482: DEBUG - + ynh_script_progression ‘–message=Setting up source files…’
2020-01-19 16:19:26,482: DEBUG - + set +x
2020-01-19 16:19:26,483: DEBUG - + set +x
2020-01-19 16:19:26,483: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-01-19 16:19:26,483: DEBUG - + set +x
2020-01-19 16:19:26,483: DEBUG - + echo ‘[##########…] > Setting up source files…’
2020-01-19 16:19:26,484: DEBUG - + set -x
2020-01-19 16:19:26,484: DEBUG - + source upgrade.d/upgrade.last.sh
2020-01-19 16:19:26,484: DEBUG - ++ next_version=15.0.13
2020-01-19 16:19:26,485: DEBUG - ++ nextcloud_source_sha256=ede96f2af9a69a067710a57984e23aac0d8cf491ff91c128920af2482ad87425
2020-01-19 16:19:26,485: DEBUG - + cp …/conf/app.src.default …/conf/app.src
2020-01-19 16:19:26,486: DEBUG - + ynh_replace_string --match_string=VERSION --replace_string=15.0.13 --target_file=…/conf/app.src
2020-01-19 16:19:26,487: DEBUG - + local legacy_args=mrf
2020-01-19 16:19:26,487: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-01-19 16:19:26,488: DEBUG - + declare -Ar args_array
2020-01-19 16:19:26,489: DEBUG - + local match_string
2020-01-19 16:19:26,489: DEBUG - + local replace_string
2020-01-19 16:19:26,490: DEBUG - + local target_file
2020-01-19 16:19:26,491: DEBUG - + ynh_handle_getopts_args --match_string=VERSION --replace_string=15.0.13 --target_file=…/conf/app.src
2020-01-19 16:19:26,491: DEBUG - + set +x
2020-01-19 16:19:26,592: DEBUG - + local delimit=@
2020-01-19 16:19:26,592: INFO - [##########…] > Setting up source files…
2020-01-19 16:19:26,593: DEBUG - + match_string=VERSION
2020-01-19 16:19:26,593: DEBUG - + replace_string=15.0.13
2020-01-19 16:19:26,593: DEBUG - + sudo sed --in-place s@VERSION@15.0.13@g …/conf/app.src
2020-01-19 16:19:26,594: DEBUG - + ynh_replace_string --match_string=SHA256_SUM --replace_string=ede96f2af9a69a067710a57984e23aac0d8cf491ff91c128920af2482ad87425 --target_file=…/conf/app.src
2020-01-19 16:19:26,594: DEBUG - + local legacy_args=mrf
2020-01-19 16:19:26,595: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-01-19 16:19:26,595: DEBUG - + declare -Ar args_array
2020-01-19 16:19:26,595: DEBUG - + local match_string
2020-01-19 16:19:26,596: DEBUG - + local replace_string
2020-01-19 16:19:26,596: DEBUG - + local target_file
2020-01-19 16:19:26,596: DEBUG - + ynh_handle_getopts_args --match_string=SHA256_SUM --replace_string=ede96f2af9a69a067710a57984e23aac0d8cf491ff91c128920af2482ad87425 --target_file=…/conf/app.src
2020-01-19 16:19:26,596: DEBUG - + set +x
2020-01-19 16:19:26,699: DEBUG - + local delimit=@
2020-01-19 16:19:26,699: DEBUG - + match_string=SHA256_SUM
2020-01-19 16:19:26,699: DEBUG - + replace_string=ede96f2af9a69a067710a57984e23aac0d8cf491ff91c128920af2482ad87425
2020-01-19 16:19:26,701: DEBUG - + sudo sed --in-place s@SHA256_SUM@ede96f2af9a69a067710a57984e23aac0d8cf491ff91c128920af2482ad87425@g …/conf/app.src
2020-01-19 16:19:26,701: DEBUG - + ynh_app_setting_set --app=nextcloud --key=final_path --value=/var/www/nextcloud
2020-01-19 16:19:26,701: DEBUG - + local legacy_args=akv
2020-01-19 16:19:26,703: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-01-19 16:19:26,703: DEBUG - + declare -Ar args_array
2020-01-19 16:19:26,705: DEBUG - + local app
2020-01-19 16:19:26,705: DEBUG - + local key
2020-01-19 16:19:26,706: DEBUG - + local value
2020-01-19 16:19:26,707: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=final_path --value=/var/www/nextcloud
2020-01-19 16:19:26,707: DEBUG - + set +x
2020-01-19 16:19:26,808: DEBUG - + ynh_app_setting set nextcloud final_path /var/www/nextcloud
2020-01-19 16:19:26,808: DEBUG - + ACTION=set
2020-01-19 16:19:26,809: DEBUG - + APP=nextcloud
2020-01-19 16:19:26,809: DEBUG - + KEY=final_path
2020-01-19 16:19:26,809: DEBUG - + VALUE=/var/www/nextcloud
2020-01-19 16:19:26,809: DEBUG - + python -
2020-01-19 16:19:27,010: DEBUG - + cp -a …/sources/patches_last_version/app-00-add-logout_url-conf.patch …/sources/patches_last_version/app-01-disable-CSPv3-nonce_and_allow-YNH-fonts.patch …/sources/patches_last_version/app-02-Allow-for-eval-in-JS-scripts-for-YunoHost-tile.patch …/sources/patches
2020-01-19 16:19:27,011: DEBUG - + ynh_setup_source --dest_dir=/var/www/nextcloud
2020-01-19 16:19:27,011: DEBUG - + local legacy_args=ds
2020-01-19 16:19:27,011: DEBUG - + args_array=([d]=dest_dir= [s]=source_id=)
2020-01-19 16:19:27,012: DEBUG - + declare -Ar args_array
2020-01-19 16:19:27,013: DEBUG - + local dest_dir
2020-01-19 16:19:27,013: DEBUG - + local source_id
2020-01-19 16:19:27,014: DEBUG - + ynh_handle_getopts_args --dest_dir=/var/www/nextcloud
2020-01-19 16:19:27,015: DEBUG - + set +x
2020-01-19 16:19:27,115: DEBUG - + source_id=app
2020-01-19 16:19:27,116: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/nextcloud_ynh-ff1c6872af752f4a2c05689c8b7fe2606067b2b7/scripts/…/conf/app.src
2020-01-19 16:19:27,116: DEBUG - + ‘[’ ‘!’ -e /var/cache/yunohost/from_file/nextcloud_ynh-ff1c6872af752f4a2c05689c8b7fe2606067b2b7/scripts/…/conf/app.src ‘]’
2020-01-19 16:19:27,116: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/nextcloud_ynh-ff1c6872af752f4a2c05689c8b7fe2606067b2b7/scripts/…/conf/app.src
2020-01-19 16:19:27,117: DEBUG - ++ cut -d= -f2-
2020-01-19 16:19:27,117: DEBUG - + local src_url=https://download.nextcloud.com/server/releases/nextcloud-15.0.13.tar.bz2
2020-01-19 16:19:27,117: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/nextcloud_ynh-ff1c6872af752f4a2c05689c8b7fe2606067b2b7/scripts/…/conf/app.src
2020-01-19 16:19:27,118: DEBUG - ++ cut -d= -f2-
2020-01-19 16:19:27,118: DEBUG - + local src_sum=ede96f2af9a69a067710a57984e23aac0d8cf491ff91c128920af2482ad87425
2020-01-19 16:19:27,118: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/nextcloud_ynh-ff1c6872af752f4a2c05689c8b7fe2606067b2b7/scripts/…/conf/app.src
2020-01-19 16:19:27,118: DEBUG - ++ cut -d= -f2-
2020-01-19 16:19:27,119: DEBUG - + local src_sumprg=sha256sum
2020-01-19 16:19:27,119: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/nextcloud_ynh-ff1c6872af752f4a2c05689c8b7fe2606067b2b7/scripts/…/conf/app.src
2020-01-19 16:19:27,119: DEBUG - ++ cut -d= -f2-
2020-01-19 16:19:27,119: DEBUG - + local src_format=tar.bz2
2020-01-19 16:19:27,120: DEBUG - ++ cut -d= -f2-
2020-01-19 16:19:27,120: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/nextcloud_ynh-ff1c6872af752f4a2c05689c8b7fe2606067b2b7/scripts/…/conf/app.src
2020-01-19 16:19:27,120: DEBUG - + local src_extract=
2020-01-19 16:19:27,120: DEBUG - ++ cut -d= -f2-
2020-01-19 16:19:27,121: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/nextcloud_ynh-ff1c6872af752f4a2c05689c8b7fe2606067b2b7/scripts/…/conf/app.src
2020-01-19 16:19:27,121: DEBUG - + local src_in_subdir=true
2020-01-19 16:19:27,121: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/nextcloud_ynh-ff1c6872af752f4a2c05689c8b7fe2606067b2b7/scripts/…/conf/app.src
2020-01-19 16:19:27,121: DEBUG - ++ cut -d= -f2-
2020-01-19 16:19:27,121: DEBUG - + local src_filename=
2020-01-19 16:19:27,122: DEBUG - + src_sumprg=sha256sum
2020-01-19 16:19:27,122: DEBUG - + src_in_subdir=true
2020-01-19 16:19:27,122: DEBUG - + src_format=tar.bz2
2020-01-19 16:19:27,122: DEBUG - ++ echo tar.bz2
2020-01-19 16:19:27,123: DEBUG - ++ tr ‘[:upper:]’ ‘[:lower:]’
2020-01-19 16:19:27,124: DEBUG - + src_format=tar.bz2
2020-01-19 16:19:27,124: DEBUG - + src_extract=true
2020-01-19 16:19:27,125: DEBUG - + ‘[’ ‘’ = ‘’ ‘]’
2020-01-19 16:19:27,126: DEBUG - + src_filename=app.tar.bz2
2020-01-19 16:19:27,126: DEBUG - + local local_src=/opt/yunohost-apps-src/nextcloud/app.tar.bz2
2020-01-19 16:19:27,127: DEBUG - + test -e /opt/yunohost-apps-src/nextcloud/app.tar.bz2
2020-01-19 16:19:27,128: DEBUG - ++ wget -nv -O app.tar.bz2 https://download.nextcloud.com/server/releases/nextcloud-15.0.13.tar.bz2
2020-01-19 16:23:20,875: DEBUG - + local ‘out=2020-01-19 16:23:20 URL:https://download.nextcloud.com/server/releases/nextcloud-15.0.13.tar.bz2 [56983967/56983967] → “app.tar.bz2” [1]’
2020-01-19 16:23:20,875: DEBUG - + sha256sum -c --status
2020-01-19 16:23:20,875: DEBUG - + echo ‘ede96f2af9a69a067710a57984e23aac0d8cf491ff91c128920af2482ad87425 app.tar.bz2’
2020-01-19 16:23:21,589: DEBUG - + mkdir -p /var/www/nextcloud
2020-01-19 16:23:21,590: DEBUG - + true
2020-01-19 16:23:21,590: DEBUG - + ‘[’ tar.bz2 = zip ‘]’
2020-01-19 16:23:21,590: DEBUG - + local strip=
2020-01-19 16:23:21,590: DEBUG - + ‘[’ true ‘!=’ false ‘]’
2020-01-19 16:23:21,591: DEBUG - + ‘[’ true == true ‘]’
2020-01-19 16:23:21,591: DEBUG - + local sub_dirs=1
2020-01-19 16:23:21,591: DEBUG - + strip=‘–strip-components 1’
2020-01-19 16:23:21,591: DEBUG - + [[ tar.bz2 =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2020-01-19 16:23:21,591: DEBUG - + tar -xf app.tar.bz2 -C /var/www/nextcloud --strip-components 1
2020-01-19 16:23:51,215: DEBUG - ++ find /var/cache/yunohost/from_file/nextcloud_ynh-ff1c6872af752f4a2c05689c8b7fe2606067b2b7/scripts/…/sources/patches/ -type f -name ‘app-.patch’
2020-01-19 16:23:51,216: DEBUG - ++ wc -l
2020-01-19 16:23:51,216: DEBUG - + (( 3 > 0 ))
2020-01-19 16:23:51,216: DEBUG - ++ pwd
2020-01-19 16:23:51,216: DEBUG - + local old_dir=/var/cache/yunohost/from_file/nextcloud_ynh-ff1c6872af752f4a2c05689c8b7fe2606067b2b7/scripts
2020-01-19 16:23:51,216: DEBUG - + cd /var/www/nextcloud
2020-01-19 16:23:51,217: DEBUG - + for p in $YNH_CWD/…/sources/patches/${source_id}-
.patch
2020-01-19 16:23:51,217: DEBUG - + patch -p1
2020-01-19 16:23:51,217: DEBUG - patching file core/Controller/LoginController.php
2020-01-19 16:23:51,217: DEBUG - Hunk #1 succeeded at 130 with fuzz 1.
2020-01-19 16:23:51,218: DEBUG - + for p in $YNH_CWD/…/sources/patches/${source_id}-.patch
2020-01-19 16:23:51,218: DEBUG - + patch -p1
2020-01-19 16:23:51,218: DEBUG - patching file lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php
2020-01-19 16:23:51,218: DEBUG - patching file lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php
2020-01-19 16:23:51,218: DEBUG - + for p in $YNH_CWD/…/sources/patches/${source_id}-
.patch
2020-01-19 16:23:51,219: DEBUG - + patch -p1
2020-01-19 16:23:51,219: DEBUG - patching file lib/public/AppFramework/Http/ContentSecurityPolicy.php
2020-01-19 16:23:51,319: DEBUG - + cd /var/cache/yunohost/from_file/nextcloud_ynh-ff1c6872af752f4a2c05689c8b7fe2606067b2b7/scripts
2020-01-19 16:23:51,320: DEBUG - + test -e /var/cache/yunohost/from_file/nextcloud_ynh-ff1c6872af752f4a2c05689c8b7fe2606067b2b7/scripts/…/sources/extra_files/app
2020-01-19 16:23:51,320: DEBUG - + ynh_script_progression ‘–message=Configuring nginx web server…’ --weight=2
2020-01-19 16:23:51,320: DEBUG - + set +x
2020-01-19 16:23:51,320: DEBUG - + set +x
2020-01-19 16:23:51,320: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-01-19 16:23:51,321: DEBUG - + set +x
2020-01-19 16:23:51,321: DEBUG - + echo ‘[##########…] > Configuring nginx web server…’
2020-01-19 16:23:51,321: DEBUG - + set -x
2020-01-19 16:23:51,321: DEBUG - + is_url_handled --url=https://astrowalker2013.homedns.org/.well-known/caldav
2020-01-19 16:23:51,322: DEBUG - + args_array=([u]=url=)
2020-01-19 16:23:51,322: DEBUG - + declare -Ar args_array
2020-01-19 16:23:51,322: DEBUG - + local url
2020-01-19 16:23:51,322: DEBUG - + ynh_handle_getopts_args --url=https://astrowalker2013.homedns.org/.well-known/caldav
2020-01-19 16:23:51,322: DEBUG - + set +x
2020-01-19 16:23:51,423: DEBUG - ++ curl --insecure --silent --output /dev/null --write-out ‘%{http_code};%{redirect_url}’ https://astrowalker2013.homedns.org/.well-known/caldav
2020-01-19 16:23:51,423: INFO - [##########…] > Configuring nginx web server…
2020-01-19 16:23:51,424: DEBUG - + local ‘curl_output=302;YunoHost Portal
2020-01-19 16:23:51,424: DEBUG - + local http_code=302
2020-01-19 16:23:51,424: DEBUG - + local ‘redirection=YunoHost Portal
2020-01-19 16:23:51,424: DEBUG - + ‘[’ 302 = 404 ‘]’
2020-01-19 16:23:51,424: DEBUG - + [[ YunoHost Portal =~ /yunohost/admin ]]
2020-01-19 16:23:51,425: DEBUG - + [[ YunoHost Portal =~ /yunohost/sso ]]
2020-01-19 16:23:51,425: DEBUG - + return 1
2020-01-19 16:23:51,425: DEBUG - + is_url_handled --url=https://astrowalker2013.homedns.org/.well-known/carddav
2020-01-19 16:23:51,425: DEBUG - + args_array=([u]=url=)
2020-01-19 16:23:51,425: DEBUG - + declare -Ar args_array
2020-01-19 16:23:51,426: DEBUG - + local url
2020-01-19 16:23:51,426: DEBUG - + ynh_handle_getopts_args --url=https://astrowalker2013.homedns.org/.well-known/carddav
2020-01-19 16:23:51,426: DEBUG - + set +x
2020-01-19 16:23:51,426: DEBUG - ++ curl --insecure --silent --output /dev/null --write-out ‘%{http_code};%{redirect_url}’ https://astrowalker2013.homedns.org/.well-known/carddav
2020-01-19 16:23:51,527: DEBUG - + local ‘curl_output=302;YunoHost Portal
2020-01-19 16:23:51,527: DEBUG - + local http_code=302
2020-01-19 16:23:51,527: DEBUG - + local ‘redirection=YunoHost Portal
2020-01-19 16:23:51,528: DEBUG - + ‘[’ 302 = 404 ‘]’
2020-01-19 16:23:51,529: DEBUG - + [[ YunoHost Portal =~ /yunohost/admin ]]
2020-01-19 16:23:51,529: DEBUG - + [[ YunoHost Portal =~ /yunohost/sso ]]
2020-01-19 16:23:51,529: DEBUG - + return 1
2020-01-19 16:23:51,530: DEBUG - + ynh_add_nginx_config
2020-01-19 16:23:51,532: DEBUG - + finalnginxconf=/etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:51,532: DEBUG - + local others_var=
2020-01-19 16:23:51,533: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:51,533: DEBUG - + local legacy_args=f
2020-01-19 16:23:51,534: DEBUG - + args_array=([f]=file=)
2020-01-19 16:23:51,534: DEBUG - + declare -Ar args_array
2020-01-19 16:23:51,535: DEBUG - + local file
2020-01-19 16:23:51,535: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:51,536: DEBUG - + set +x
2020-01-19 16:23:51,537: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_astrowalker2013.homedns.org.d_nextcloud.conf
2020-01-19 16:23:51,537: DEBUG - ++ ynh_app_setting_get --app=nextcloud --key=**********
2020-01-19 16:23:51,537: DEBUG - ++ local legacy_args=ak
2020-01-19 16:23:51,538: DEBUG - ++ args_array=([a]=app= [k]=key=)
2020-01-19 16:23:51,539: DEBUG - ++ declare -Ar args_array
2020-01-19 16:23:51,539: DEBUG - ++ local app
2020-01-19 16:23:51,539: DEBUG - ++ local key
2020-01-19 16:23:51,540: DEBUG - ++ ynh_handle_getopts_args --app=nextcloud --key=**********
2020-01-19 16:23:51,541: DEBUG - ++ set +x
2020-01-19 16:23:51,541: DEBUG - ++ ynh_app_setting get nextcloud **********
2020-01-19 16:23:51,541: DEBUG - ++ ACTION=get
2020-01-19 16:23:51,543: DEBUG - ++ APP=nextcloud
2020-01-19 16:23:51,543: DEBUG - ++ KEY=**********
2020-01-19 16:23:51,543: DEBUG - ++ VALUE=
2020-01-19 16:23:51,543: DEBUG - ++ python -
2020-01-19 16:23:51,846: DEBUG - + local checksum_value=
2020-01-19 16:23:51,846: DEBUG - + backup_file_checksum=
2020-01-19 16:23:51,846: DEBUG - + ‘[’ -n ‘’ ‘]’
2020-01-19 16:23:51,848: DEBUG - + sudo cp …/conf/nginx.conf /etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:51,848: DEBUG - + test -n /nextcloud
2020-01-19 16:23:51,848: DEBUG - + local path_url_slash_less=/nextcloud
2020-01-19 16:23:51,848: DEBUG - + ynh_replace_string --match_string=PATH/ --replace_string=/nextcloud/ --target_file=/etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:51,850: DEBUG - + local legacy_args=mrf
2020-01-19 16:23:51,850: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-01-19 16:23:51,850: DEBUG - + declare -Ar args_array
2020-01-19 16:23:51,850: DEBUG - + local match_string
2020-01-19 16:23:51,852: DEBUG - + local replace_string
2020-01-19 16:23:51,852: DEBUG - + local target_file
2020-01-19 16:23:51,852: DEBUG - + ynh_handle_getopts_args --match_string=PATH/ --replace_string=/nextcloud/ --target_file=/etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:51,854: DEBUG - + set +x
2020-01-19 16:23:51,854: DEBUG - + local delimit=@
2020-01-19 16:23:51,854: DEBUG - + match_string=PATH/
2020-01-19 16:23:51,855: DEBUG - + replace_string=/nextcloud/
2020-01-19 16:23:51,856: DEBUG - + sudo sed --in-place s@PATH/@/nextcloud/@g /etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:51,962: DEBUG - + ynh_replace_string --match_string=PATH --replace_string=/nextcloud --target_file=/etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:51,963: DEBUG - + local legacy_args=mrf
2020-01-19 16:23:51,963: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-01-19 16:23:51,964: DEBUG - + declare -Ar args_array
2020-01-19 16:23:51,965: DEBUG - + local match_string
2020-01-19 16:23:51,966: DEBUG - + local replace_string
2020-01-19 16:23:51,968: DEBUG - + local target_file
2020-01-19 16:23:51,968: DEBUG - + ynh_handle_getopts_args --match_string=PATH --replace_string=/nextcloud --target_file=/etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:51,968: DEBUG - + set +x
2020-01-19 16:23:51,968: DEBUG - + local delimit=@
2020-01-19 16:23:51,970: DEBUG - + match_string=PATH
2020-01-19 16:23:51,970: DEBUG - + replace_string=/nextcloud
2020-01-19 16:23:51,970: DEBUG - + sudo sed --in-place s@PATH@/nextcloud@g /etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:52,071: DEBUG - + test -n astrowalker2013.homedns.org
2020-01-19 16:23:52,071: DEBUG - + ynh_replace_string --match_string=DOMAIN --replace_string=astrowalker2013.homedns.org --target_file=/etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:52,072: DEBUG - + local legacy_args=mrf
2020-01-19 16:23:52,072: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-01-19 16:23:52,072: DEBUG - + declare -Ar args_array
2020-01-19 16:23:52,072: DEBUG - + local match_string
2020-01-19 16:23:52,073: DEBUG - + local replace_string
2020-01-19 16:23:52,073: DEBUG - + local target_file
2020-01-19 16:23:52,073: DEBUG - + ynh_handle_getopts_args --match_string=DOMAIN --replace_string=astrowalker2013.homedns.org --target_file=/etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:52,073: DEBUG - + set +x
2020-01-19 16:23:52,074: DEBUG - + local delimit=@
2020-01-19 16:23:52,074: DEBUG - + match_string=DOMAIN
2020-01-19 16:23:52,074: DEBUG - + replace_string=astrowalker2013.homedns.org
2020-01-19 16:23:52,076: DEBUG - + sudo sed --in-place s@DOMAIN@astrowalker2013.homedns.org@g /etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:52,176: DEBUG - + test -n ‘’
2020-01-19 16:23:52,177: DEBUG - + test -n nextcloud
2020-01-19 16:23:52,177: DEBUG - + ynh_replace_string --match_string=NAME --replace_string=nextcloud --target_file=/etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:52,177: DEBUG - + local legacy_args=mrf
2020-01-19 16:23:52,177: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-01-19 16:23:52,178: DEBUG - + declare -Ar args_array
2020-01-19 16:23:52,178: DEBUG - + local match_string
2020-01-19 16:23:52,178: DEBUG - + local replace_string
2020-01-19 16:23:52,178: DEBUG - + local target_file
2020-01-19 16:23:52,179: DEBUG - + ynh_handle_getopts_args --match_string=NAME --replace_string=nextcloud --target_file=/etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:52,179: DEBUG - + set +x
2020-01-19 16:23:52,179: DEBUG - + local delimit=@
2020-01-19 16:23:52,179: DEBUG - + match_string=NAME
2020-01-19 16:23:52,200: DEBUG - + replace_string=nextcloud
2020-01-19 16:23:52,200: DEBUG - + sudo sed --in-place s@NAME@nextcloud@g /etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:52,206: DEBUG - + test -n /var/www/nextcloud
2020-01-19 16:23:52,206: DEBUG - + ynh_replace_string --match_string=FINALPATH --replace_string=/var/www/nextcloud --target_file=/etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:52,206: DEBUG - + local legacy_args=mrf
2020-01-19 16:23:52,206: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-01-19 16:23:52,208: DEBUG - + declare -Ar args_array
2020-01-19 16:23:52,208: DEBUG - + local match_string
2020-01-19 16:23:52,208: DEBUG - + local replace_string
2020-01-19 16:23:52,210: DEBUG - + local target_file
2020-01-19 16:23:52,210: DEBUG - + ynh_handle_getopts_args --match_string=FINALPATH --replace_string=/var/www/nextcloud --target_file=/etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:52,210: DEBUG - + set +x
2020-01-19 16:23:52,311: DEBUG - + local delimit=@
2020-01-19 16:23:52,312: DEBUG - + match_string=FINALPATH
2020-01-19 16:23:52,313: DEBUG - + replace_string=/var/www/nextcloud
2020-01-19 16:23:52,313: DEBUG - + sudo sed --in-place s@FINALPATH@/var/www/nextcloud@g /etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:52,313: DEBUG - + ‘[’ /nextcloud ‘!=’ / ‘]’
2020-01-19 16:23:52,313: DEBUG - + ynh_replace_string ‘–match_string=^#sub_path_only’ --replace_string= --target_file=/etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:52,314: DEBUG - + local legacy_args=mrf
2020-01-19 16:23:52,314: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-01-19 16:23:52,314: DEBUG - + declare -Ar args_array
2020-01-19 16:23:52,315: DEBUG - + local match_string
2020-01-19 16:23:52,315: DEBUG - + local replace_string
2020-01-19 16:23:52,315: DEBUG - + local target_file
2020-01-19 16:23:52,315: DEBUG - + ynh_handle_getopts_args ‘–match_string=^#sub_path_only’ --replace_string= --target_file=/etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:52,321: DEBUG - + set +x
2020-01-19 16:23:52,422: DEBUG - + local delimit=@
2020-01-19 16:23:52,710: DEBUG - + match_string=’^#sub_path_only’
2020-01-19 16:23:52,710: DEBUG - + replace_string=
2020-01-19 16:23:52,710: DEBUG - + sudo sed --in-place ‘s@^#sub_path_only@@g’ /etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:52,817: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:52,817: DEBUG - + local legacy_args=f
2020-01-19 16:23:52,817: DEBUG - + args_array=([f]=file=)
2020-01-19 16:23:52,818: DEBUG - + declare -Ar args_array
2020-01-19 16:23:52,818: DEBUG - + local file
2020-01-19 16:23:52,818: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:52,818: DEBUG - + set +x
2020-01-19 16:23:52,819: DEBUG - + local checksum_setting_name=**********
2020-01-19 16:23:52,820: DEBUG - ++ sudo md5sum /etc/nginx/conf.d/astrowalker2013.homedns.org.d/nextcloud.conf
2020-01-19 16:23:52,822: DEBUG - ++ cut '-d ’ -f1
2020-01-19 16:23:52,823: DEBUG - + ynh_app_setting_set --app=nextcloud --key=********** --value=d74ecdfab5ef8fb5d482e7aa7d291cad
2020-01-19 16:23:52,823: DEBUG - + local legacy_args=akv
2020-01-19 16:23:52,824: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-01-19 16:23:52,825: DEBUG - + declare -Ar args_array
2020-01-19 16:23:52,825: DEBUG - + local app
2020-01-19 16:23:52,825: DEBUG - + local key
2020-01-19 16:23:52,827: DEBUG - + local value
2020-01-19 16:23:52,827: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=********** --value=d74ecdfab5ef8fb5d482e7aa7d291cad
2020-01-19 16:23:52,827: DEBUG - + set +x
2020-01-19 16:23:52,829: DEBUG - + ynh_app_setting set nextcloud ********** d74ecdfab5ef8fb5d482e7aa7d291cad
2020-01-19 16:23:52,829: DEBUG - + ACTION=set
2020-01-19 16:23:52,829: DEBUG - + APP=nextcloud
2020-01-19 16:23:52,831: DEBUG - + KEY=**********
2020-01-19 16:23:52,831: DEBUG - + VALUE=d74ecdfab5ef8fb5d482e7aa7d291cad
2020-01-19 16:23:52,831: DEBUG - + python -
2020-01-19 16:23:53,033: DEBUG - + ‘[’ -n ‘’ ‘]’
2020-01-19 16:23:53,035: DEBUG - + unset backup_file_checksum
2020-01-19 16:23:53,035: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2020-01-19 16:23:53,035: DEBUG - + local legacy_args=nalpte
2020-01-19 16:23:53,037: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
2020-01-19 16:23:53,037: DEBUG - + declare -Ar args_array
2020-01-19 16:23:53,038: DEBUG - + local service_name
2020-01-19 16:23:53,039: DEBUG - + local action
2020-01-19 16:23:53,039: DEBUG - + local line_match
2020-01-19 16:23:53,040: DEBUG - + local length
2020-01-19 16:23:53,040: DEBUG - + local log_path
2020-01-19 16:23:53,041: DEBUG - + local timeout
2020-01-19 16:23:53,041: DEBUG - + ynh_handle_getopts_args --service_name=nginx --action=reload
2020-01-19 16:23:53,042: DEBUG - + set +x
2020-01-19 16:23:53,151: DEBUG - + local service_name=nginx
2020-01-19 16:23:53,151: DEBUG - + local action=reload
2020-01-19 16:23:53,151: DEBUG - + local log_path=/var/log/nginx/nginx.log
2020-01-19 16:23:53,151: DEBUG - + local length=20
2020-01-19 16:23:53,153: DEBUG - + local timeout=300
2020-01-19 16:23:53,153: DEBUG - + [[ -n ‘’ ]]
2020-01-19 16:23:53,153: DEBUG - + ‘[’ reload == reload ‘]’
2020-01-19 16:23:53,157: DEBUG - + action=reload-or-restart
2020-01-19 16:23:53,157: DEBUG - + systemctl reload-or-restart nginx
2020-01-19 16:23:53,369: DEBUG - + [[ -n ‘’ ]]
2020-01-19 16:23:53,370: DEBUG - + ynh_script_progression ‘–message=Configuring system user…’ --weight=3
2020-01-19 16:23:53,370: DEBUG - + set +x
2020-01-19 16:23:53,370: DEBUG - + set +x
2020-01-19 16:23:53,370: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-01-19 16:23:53,371: DEBUG - + set +x
2020-01-19 16:23:53,371: DEBUG - + echo ‘[##########…] > Configuring system user…’
2020-01-19 16:23:53,371: DEBUG - + set -x
2020-01-19 16:23:53,371: DEBUG - + ynh_system_user_create --username=nextcloud
2020-01-19 16:23:53,372: DEBUG - + local legacy_args=uhs
2020-01-19 16:23:53,472: DEBUG - + args_array=([u]=username= [h]=home_dir= [s]=use_shell)
2020-01-19 16:23:53,472: INFO - [##########…] > Configuring system user…
2020-01-19 16:23:53,473: DEBUG - + declare -Ar args_array
2020-01-19 16:23:53,473: DEBUG - + local username
2020-01-19 16:23:53,484: DEBUG - + local home_dir
2020-01-19 16:23:53,484: DEBUG - + local use_shell
2020-01-19 16:23:53,484: DEBUG - + ynh_handle_getopts_args --username=nextcloud
2020-01-19 16:23:53,484: DEBUG - + set +x
2020-01-19 16:23:53,485: DEBUG - + use_shell=0
2020-01-19 16:23:53,485: DEBUG - + home_dir=
2020-01-19 16:23:53,485: DEBUG - + ynh_system_user_exists nextcloud
2020-01-19 16:23:53,485: DEBUG - + local legacy_args=u
2020-01-19 16:23:53,486: DEBUG - + args_array=([u]=username=)
2020-01-19 16:23:53,486: DEBUG - + declare -Ar args_array
2020-01-19 16:23:53,486: DEBUG - + local username
2020-01-19 16:23:53,486: DEBUG - + ynh_handle_getopts_args nextcloud
2020-01-19 16:23:53,486: DEBUG - + set +x
2020-01-19 16:23:53,487: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-01-19 16:23:53,487: DEBUG - + set +x
2020-01-19 16:23:53,487: DEBUG - + getent passwd nextcloud
2020-01-19 16:23:53,487: DEBUG - + ‘[’ -n ‘’ ‘]’
2020-01-19 16:23:53,487: DEBUG - + local user_home_dir=–no-create-home
2020-01-19 16:23:53,488: DEBUG - + ‘[’ 0 -eq 1 ‘]’
2020-01-19 16:23:53,488: DEBUG - + local ‘shell=–shell /usr/sbin/nologin’
2020-01-19 16:23:53,488: DEBUG - + useradd --no-create-home --system --user-group nextcloud --shell /usr/sbin/nologin
2020-01-19 16:24:37,577: DEBUG - + ynh_script_progression ‘–message=Configuring php-fpm…’ --weight=2
2020-01-19 16:24:37,578: DEBUG - + set +x
2020-01-19 16:24:37,701: DEBUG - + set +x
2020-01-19 16:24:37,702: INFO - [##########+…] > Configuring php-fpm…
2020-01-19 16:24:37,702: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-01-19 16:24:37,702: DEBUG - + set +x
2020-01-19 16:24:37,702: DEBUG - + echo ‘[##########+…] > Configuring php-fpm…’
2020-01-19 16:24:37,702: DEBUG - + set -x
2020-01-19 16:24:37,703: DEBUG - + ynh_add_fpm_config
2020-01-19 16:24:37,703: DEBUG - + local legacy_args=v
2020-01-19 16:24:37,703: DEBUG - + args_array=([v]=phpversion=)
2020-01-19 16:24:37,703: DEBUG - + declare -Ar args_array
2020-01-19 16:24:37,704: DEBUG - + local phpversion
2020-01-19 16:24:37,704: DEBUG - + ynh_handle_getopts_args
2020-01-19 16:24:37,704: DEBUG - + set +x
2020-01-19 16:24:37,704: DEBUG - + phpversion=7.0
2020-01-19 16:24:37,704: DEBUG - + local fpm_config_dir=/etc/php/7.0/fpm
2020-01-19 16:24:37,705: DEBUG - + local fpm_service=php7.0-fpm
2020-01-19 16:24:37,705: DEBUG - ++ ynh_get_debian_release
2020-01-19 16:24:37,705: DEBUG - +++ lsb_release --codename --short
2020-01-19 16:24:37,925: DEBUG - ++ echo stretch
2020-01-19 16:24:37,926: DEBUG - + ‘[’ stretch == jessie ‘]’
2020-01-19 16:24:37,926: DEBUG - + ynh_app_setting_set --app=nextcloud --key=fpm_config_dir --value=/etc/php/7.0/fpm
2020-01-19 16:24:37,926: DEBUG - + local legacy_args=akv
2020-01-19 16:24:37,926: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-01-19 16:24:37,927: DEBUG - + declare -Ar args_array
2020-01-19 16:24:37,927: DEBUG - + local app
2020-01-19 16:24:37,927: DEBUG - + local key
2020-01-19 16:24:37,927: DEBUG - + local value
2020-01-19 16:24:37,928: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=fpm_config_dir --value=/etc/php/7.0/fpm
2020-01-19 16:24:37,928: DEBUG - + set +x
2020-01-19 16:24:37,928: DEBUG - + ynh_app_setting set nextcloud fpm_config_dir /etc/php/7.0/fpm
2020-01-19 16:24:37,928: DEBUG - + ACTION=set
2020-01-19 16:24:37,928: DEBUG - + APP=nextcloud
2020-01-19 16:24:37,929: DEBUG - + KEY=fpm_config_dir
2020-01-19 16:24:37,929: DEBUG - + VALUE=/etc/php/7.0/fpm
2020-01-19 16:24:37,929: DEBUG - + python -
2020-01-19 16:24:38,130: DEBUG - + ynh_app_setting_set --app=nextcloud --key=fpm_service --value=php7.0-fpm
2020-01-19 16:24:38,130: DEBUG - + local legacy_args=akv
2020-01-19 16:24:38,130: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-01-19 16:24:38,130: DEBUG - + declare -Ar args_array
2020-01-19 16:24:38,131: DEBUG - + local app
2020-01-19 16:24:38,131: DEBUG - + local key
2020-01-19 16:24:38,131: DEBUG - + local value
2020-01-19 16:24:38,131: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=fpm_service --value=php7.0-fpm
2020-01-19 16:24:38,132: DEBUG - + set +x
2020-01-19 16:24:38,232: DEBUG - + ynh_app_setting set nextcloud fpm_service php7.0-fpm
2020-01-19 16:24:38,232: DEBUG - + ACTION=set
2020-01-19 16:24:38,233: DEBUG - + APP=nextcloud
2020-01-19 16:24:38,233: DEBUG - + KEY=fpm_service
2020-01-19 16:24:38,233: DEBUG - + VALUE=php7.0-fpm
2020-01-19 16:24:38,233: DEBUG - + python -
2020-01-19 16:24:38,449: DEBUG - + finalphpconf=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-01-19 16:24:38,450: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-01-19 16:24:38,450: DEBUG - + local legacy_args=f
2020-01-19 16:24:38,450: DEBUG - + args_array=([f]=file=)
2020-01-19 16:24:38,450: DEBUG - + declare -Ar args_array
2020-01-19 16:24:38,450: DEBUG - + local file
2020-01-19 16:24:38,451: DEBUG - + ynh_handle_getopts_args --file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-01-19 16:24:38,451: DEBUG - + set +x
2020-01-19 16:24:38,451: DEBUG - + local checksum_setting_name=checksum__etc_php_7.0_fpm_pool.d_nextcloud.conf
2020-01-19 16:24:38,451: DEBUG - ++ ynh_app_setting_get --app=nextcloud --key=**********
2020-01-19 16:24:38,451: DEBUG - ++ local legacy_args=ak
2020-01-19 16:24:38,452: DEBUG - ++ args_array=([a]=app= [k]=key=)
2020-01-19 16:24:38,452: DEBUG - ++ declare -Ar args_array
2020-01-19 16:24:38,452: DEBUG - ++ local app
2020-01-19 16:24:38,452: DEBUG - ++ local key
2020-01-19 16:24:38,452: DEBUG - ++ ynh_handle_getopts_args --app=nextcloud --key=**********
2020-01-19 16:24:38,453: DEBUG - ++ set +x
2020-01-19 16:24:38,453: DEBUG - ++ ynh_app_setting get nextcloud **********
2020-01-19 16:24:38,453: DEBUG - ++ ACTION=get
2020-01-19 16:24:38,453: DEBUG - ++ APP=nextcloud
2020-01-19 16:24:38,453: DEBUG - ++ KEY=**********
2020-01-19 16:24:38,454: DEBUG - ++ VALUE=
2020-01-19 16:24:38,454: DEBUG - ++ python -
2020-01-19 16:24:38,757: DEBUG - + local checksum_value=
2020-01-19 16:24:38,757: DEBUG - + backup_file_checksum=
2020-01-19 16:24:38,758: DEBUG - + ‘[’ -n ‘’ ‘]’
2020-01-19 16:24:38,759: DEBUG - + sudo cp …/conf/php-fpm.conf /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-01-19 16:24:38,759: DEBUG - + ynh_replace_string --match_string=NAMETOCHANGE --replace_string=nextcloud --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-01-19 16:24:38,760: DEBUG - + local legacy_args=mrf
2020-01-19 16:24:38,761: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-01-19 16:24:38,762: DEBUG - + declare -Ar args_array
2020-01-19 16:24:38,762: DEBUG - + local match_string
2020-01-19 16:24:38,762: DEBUG - + local replace_string
2020-01-19 16:24:38,764: DEBUG - + local target_file
2020-01-19 16:24:38,764: DEBUG - + ynh_handle_getopts_args --match_string=NAMETOCHANGE --replace_string=nextcloud --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-01-19 16:24:38,765: DEBUG - + set +x
2020-01-19 16:24:38,866: DEBUG - + local delimit=@
2020-01-19 16:24:38,867: DEBUG - + match_string=NAMETOCHANGE
2020-01-19 16:24:38,867: DEBUG - + replace_string=nextcloud
2020-01-19 16:24:38,867: DEBUG - + sudo sed --in-place s@NAMETOCHANGE@nextcloud@g /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-01-19 16:24:38,867: DEBUG - + ynh_replace_string --match_string=FINALPATH --replace_string=/var/www/nextcloud --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-01-19 16:24:38,867: DEBUG - + local legacy_args=mrf
2020-01-19 16:24:38,868: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-01-19 16:24:38,868: DEBUG - + declare -Ar args_array
2020-01-19 16:24:38,869: DEBUG - + local match_string
2020-01-19 16:24:38,870: DEBUG - + local replace_string
2020-01-19 16:24:38,870: DEBUG - + local target_file
2020-01-19 16:24:38,870: DEBUG - + ynh_handle_getopts_args --match_string=FINALPATH --replace_string=/var/www/nextcloud --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-01-19 16:24:38,871: DEBUG - + set +x
2020-01-19 16:24:38,872: DEBUG - + local delimit=@
2020-01-19 16:24:38,872: DEBUG - + match_string=FINALPATH
2020-01-19 16:24:38,872: DEBUG - + replace_string=/var/www/nextcloud
2020-01-19 16:24:38,874: DEBUG - + sudo sed --in-place s@FINALPATH@/var/www/nextcloud@g /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-01-19 16:24:38,974: DEBUG - + ynh_replace_string --match_string=USER --replace_string=nextcloud --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-01-19 16:24:38,974: DEBUG - + local legacy_args=mrf
2020-01-19 16:24:38,975: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-01-19 16:24:38,975: DEBUG - + declare -Ar args_array
2020-01-19 16:24:38,975: DEBUG - + local match_string
2020-01-19 16:24:38,976: DEBUG - + local replace_string
2020-01-19 16:24:38,976: DEBUG - + local target_file
2020-01-19 16:24:38,976: DEBUG - + ynh_handle_getopts_args --match_string=USER --replace_string=nextcloud --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-01-19 16:24:38,976: DEBUG - + set +x
2020-01-19 16:24:38,976: DEBUG - + local delimit=@
2020-01-19 16:24:38,977: DEBUG - + match_string=USER
2020-01-19 16:24:38,977: DEBUG - + replace_string=nextcloud
2020-01-19 16:24:38,977: DEBUG - + sudo sed --in-place s@USER@nextcloud@g /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-01-19 16:24:39,078: DEBUG - + ynh_replace_string --match_string=PHPVERSION --replace_string=7.0 --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-01-19 16:24:39,078: DEBUG - + local legacy_args=mrf
2020-01-19 16:24:39,079: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-01-19 16:24:39,079: DEBUG - + declare -Ar args_array
2020-01-19 16:24:39,079: DEBUG - + local match_string
2020-01-19 16:24:39,079: DEBUG - + local replace_string
2020-01-19 16:24:39,080: DEBUG - + local target_file
2020-01-19 16:24:39,080: DEBUG - + ynh_handle_getopts_args --match_string=PHPVERSION --replace_string=7.0 --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-01-19 16:24:39,080: DEBUG - + set +x
2020-01-19 16:24:39,080: DEBUG - + local delimit=@
2020-01-19 16:24:39,081: DEBUG - + match_string=PHPVERSION
2020-01-19 16:24:39,081: DEBUG - + replace_string=7.0
2020-01-19 16:24:39,081: DEBUG - + sudo sed --in-place s@PHPVERSION@7.0@g /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-01-19 16:24:39,182: DEBUG - + sudo chown root: /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-01-19 16:24:39,182: DEBUG - + ynh_store_file_checksum --file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-01-19 16:24:39,182: DEBUG - + local legacy_args=f
2020-01-19 16:24:39,183: DEBUG - + args_array=([f]=file=)
2020-01-19 16:24:39,183: DEBUG - + declare -Ar args_array
2020-01-19 16:24:39,183: DEBUG - + local file
2020-01-19 16:24:39,185: DEBUG - + ynh_handle_getopts_args --file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-01-19 16:24:39,185: DEBUG - + set +x
2020-01-19 16:24:39,286: DEBUG - + local checksum_setting_name=**********
2020-01-19 16:24:39,286: DEBUG - ++ sudo md5sum /etc/php/7.0/fpm/pool.d/nextcloud.conf
2020-01-19 16:24:39,286: DEBUG - ++ cut '-d ’ -f1
2020-01-19 16:24:39,287: DEBUG - + ynh_app_setting_set --app=nextcloud --key=********** --value=12e3533dec72420b311bd6dbd5474edf
2020-01-19 16:24:39,287: DEBUG - + local legacy_args=akv
2020-01-19 16:24:39,287: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-01-19 16:24:39,287: DEBUG - + declare -Ar args_array
2020-01-19 16:24:39,288: DEBUG - + local app
2020-01-19 16:24:39,289: DEBUG - + local key
2020-01-19 16:24:39,289: DEBUG - + local value
2020-01-19 16:24:39,289: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=********** --value=12e3533dec72420b311bd6dbd5474edf
2020-01-19 16:24:39,290: DEBUG - + set +x
2020-01-19 16:24:39,397: DEBUG - + ynh_app_setting set nextcloud ********** 12e3533dec72420b311bd6dbd5474edf
2020-01-19 16:24:39,397: DEBUG - + ACTION=set
2020-01-19 16:24:39,399: DEBUG - + APP=nextcloud
2020-01-19 16:24:39,399: DEBUG - + KEY=**********
2020-01-19 16:24:39,399: DEBUG - + VALUE=12e3533dec72420b311bd6dbd5474edf
2020-01-19 16:24:39,401: DEBUG - + python -
2020-01-19 16:24:39,614: DEBUG - + ‘[’ -n ‘’ ‘]’
2020-01-19 16:24:39,614: DEBUG - + unset backup_file_checksum
2020-01-19 16:24:39,615: DEBUG - + ‘[’ -e …/conf/php-fpm.ini ‘]’
2020-01-19 16:24:39,615: DEBUG - + ynh_systemd_action --service_name=php7.0-fpm --action=reload
2020-01-19 16:24:39,615: DEBUG - + local legacy_args=nalpte
2020-01-19 16:24:39,615: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
2020-01-19 16:24:39,615: DEBUG - + declare -Ar args_array
2020-01-19 16:24:39,616: DEBUG - + local service_name
2020-01-19 16:24:39,616: DEBUG - + local action
2020-01-19 16:24:39,616: DEBUG - + local line_match
2020-01-19 16:24:39,616: DEBUG - + local length
2020-01-19 16:24:39,616: DEBUG - + local log_path
2020-01-19 16:24:39,617: DEBUG - + local timeout
2020-01-19 16:24:39,617: DEBUG - + ynh_handle_getopts_args --service_name=php7.0-fpm --action=reload
2020-01-19 16:24:39,617: DEBUG - + set +x
2020-01-19 16:24:39,617: DEBUG - + local service_name=php7.0-fpm
2020-01-19 16:24:39,617: DEBUG - + local action=reload
2020-01-19 16:24:39,618: DEBUG - + local log_path=/var/log/php7.0-fpm/php7.0-fpm.log
2020-01-19 16:24:39,618: DEBUG - + local length=20
2020-01-19 16:24:39,618: DEBUG - + local timeout=300
2020-01-19 16:24:39,618: DEBUG - + [[ -n ‘’ ]]
2020-01-19 16:24:39,618: DEBUG - + ‘[’ reload == reload ‘]’
2020-01-19 16:24:39,620: DEBUG - + action=reload-or-restart
2020-01-19 16:24:39,620: DEBUG - + systemctl reload-or-restart php7.0-fpm
2020-01-19 16:24:39,720: DEBUG - + [[ -n ‘’ ]]
2020-01-19 16:24:39,721: DEBUG - + datadir=/home/yunohost.app/nextcloud/data
2020-01-19 16:24:39,721: DEBUG - + mkdir -p /home/yunohost.app/nextcloud/data
2020-01-19 16:24:39,721: DEBUG - + ynh_script_progression ‘–message=Installing nextcloud…’ --weight=30
2020-01-19 16:24:39,721: DEBUG - + set +x
2020-01-19 16:24:39,829: DEBUG - + set +x
2020-01-19 16:24:39,830: INFO - [###########++++…] > Installing nextcloud…
2020-01-19 16:24:39,830: DEBUG - + echo ‘! Helper used in legacy mode !’
2020-01-19 16:24:39,830: DEBUG - + set +x
2020-01-19 16:24:39,830: DEBUG - + echo ‘[###########++++…] > Installing nextcloud…’
2020-01-19 16:24:39,831: DEBUG - + set -x
2020-01-19 16:24:39,831: DEBUG - + chown -R nextcloud: /var/www/nextcloud /home/yunohost.app/nextcloud/data
2020-01-19 16:24:41,493: DEBUG - ++ ynh_string_random --length=6
2020-01-19 16:24:41,494: DEBUG - ++ local legacy_args=l
2020-01-19 16:24:41,494: DEBUG - ++ args_array=([l]=length=)
2020-01-19 16:24:41,494: DEBUG - ++ declare -Ar args_array
2020-01-19 16:24:41,494: DEBUG - ++ local length
2020-01-19 16:24:41,494: DEBUG - ++ ynh_handle_getopts_args --length=6
2020-01-19 16:24:41,495: DEBUG - ++ set +x
2020-01-19 16:24:41,495: DEBUG - ++ length=6
2020-01-19 16:24:41,495: DEBUG - ++ tr -c -d A-Za-z0-9
2020-01-19 16:24:41,495: DEBUG - ++ sed -n ‘s/(.{6})./\1/p’
2020-01-19 16:24:41,495: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2020-01-19 16:24:41,613: DEBUG - + exec_occ maintenance:install --database mysql --database-name nextcloud --database-user nextcloud --database-pass ********** --admin-user admin --admin-pass aWi3uN --data-dir /home/yunohost.app/nextcloud/data
2020-01-19 16:24:41,614: DEBUG - + cd /var/www/nextcloud
2020-01-19 16:24:41,614: DEBUG - + exec_as nextcloud php occ --no-interaction --no-ansi maintenance:install --database mysql --database-name nextcloud --database-user nextcloud --database-pass ********** --admin-user admin --admin-pass aWi3uN --data-dir /home/yunohost.app/nextcloud/data
2020-01-19 16:24:41,614: DEBUG - + local USER=nextcloud
2020-01-19 16:24:41,614: DEBUG - + shift 1
2020-01-19 16:24:41,615: DEBUG - ++ whoami
2020-01-19 16:24:41,615: DEBUG - + [[ nextcloud = root ]]
2020-01-19 16:24:41,615: DEBUG - + sudo -u nextcloud php occ --no-interaction --no-ansi maintenance:install --database mysql --database-name nextcloud --database-user nextcloud --database-pass ********** --admin-user admin --admin-pass aWi3uN --data-dir /home/yunohost.app/nextcloud/data
2020-01-19 16:24:41,716: DEBUG - This version of Nextcloud is not compatible with > PHP 7.3.
You are currently running 7.4.1.+ ynh_die ‘–message=Unable to install Nextcloud’
2020-01-19 16:24:41,716: WARNING - Unable to install Nextcloud
2020-01-19 16:24:41,717: DEBUG - + local legacy_args=mc
2020-01-19 16:24:41,718: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2020-01-19 16:24:41,718: DEBUG - + declare -Ar args_array
2020-01-19 16:24:41,718: DEBUG - + local message
2020-01-19 16:24:41,718: DEBUG - + local ret_code
2020-01-19 16:24:41,719: DEBUG - + ynh_handle_getopts_args ‘–message=Unable to install Nextcloud’
2020-01-19 16:24:41,719: DEBUG - + set +x
2020-01-19 16:24:41,719: DEBUG - + echo ‘Unable to install Nextcloud’
2020-01-19 16:24:41,720: DEBUG - + exit 1
2020-01-19 16:24:41,720: DEBUG - + ynh_exit_properly
2020-01-19 16:24:41,720: DEBUG - + local exit_code=1
2020-01-19 16:24:41,720: DEBUG - + ‘[’ 1 -eq 0 ‘]’
2020-01-19 16:24:41,721: DEBUG - + trap ‘’ EXIT
2020-01-19 16:24:41,721: DEBUG - + set +eu
2020-01-19 16:24:41,721: DEBUG - + sleep 0.5
2020-01-19 16:24:42,231: DEBUG - + ynh_print_err ‘–message=!!\n nextcloud’'‘s script has encountered an error. Its execution was cancelled.\n!!’
2020-01-19 16:24:42,231: WARNING - e[91me[1m[ERR]e[0m !!
2020-01-19 16:24:42,231: DEBUG - + local legacy_args=m
2020-01-19 16:24:42,232: WARNING - nextcloud’s script has encountered an error. Its execution was cancelled.
2020-01-19 16:24:42,232: DEBUG - + args_array=([m]=message=)
2020-01-19 16:24:42,232: WARNING - !!
2020-01-19 16:24:42,232: DEBUG - + declare -Ar args_array
2020-01-19 16:24:42,232: WARNING - e[34me[1mPlease find here an extract of the log before the crash:e[0m
2020-01-19 16:24:42,233: DEBUG - + local message
2020-01-19 16:24:42,233: DEBUG - + ynh_handle_getopts_args ‘–message=!!\n nextcloud’'‘s script has encountered an error. Its execution was cancelled.\n!!’
2020-01-19 16:24:42,233: DEBUG - + set +x
2020-01-19 16:24:42,233: DEBUG - + ynh_print_log ‘\e[91m\e[1m[ERR]\e[0m !!\n nextcloud’'‘s script has encountered an error. Its execution was cancelled.\n!!’
2020-01-19 16:24:42,233: DEBUG - + echo -e ‘\e[91m\e[1m[ERR]\e[0m !!\n nextcloud’'‘s script has encountered an error. Its execution was cancelled.\n!!’
2020-01-19 16:24:42,234: DEBUG - + ‘[’ cli == cli ‘]’
2020-01-19 16:24:42,234: DEBUG - + set +x
2020-01-19 16:24:42,334: DEBUG - + type -t ynh_clean_setup
2020-01-19 16:24:42,335: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - ++ set +x
2020-01-19 16:24:42,335: DEBUG - + ynh_die
2020-01-19 16:24:42,335: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - ++ length=6
2020-01-19 16:24:42,336: DEBUG - + local legacy_args=mc
2020-01-19 16:24:42,336: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - ++ tr -c -d A-Za-z0-9
2020-01-19 16:24:42,336: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2020-01-19 16:24:42,336: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - ++ sed -n 's/(.{6}).
/\1/p’
2020-01-19 16:24:42,337: DEBUG - + declare -Ar args_array
2020-01-19 16:24:42,337: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2020-01-19 16:24:42,337: DEBUG - + local message
2020-01-19 16:24:42,337: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + exec_occ maintenance:install --database mysql --database-name nextcloud --database-user nextcloud --database-pass ********** --admin-user admin --admin-pass aWi3uN --data-dir /home/yunohost.app/nextcloud/data
2020-01-19 16:24:42,338: DEBUG - + local ret_code
2020-01-19 16:24:42,338: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + cd /var/www/nextcloud
2020-01-19 16:24:42,338: DEBUG - + ynh_handle_getopts_args
2020-01-19 16:24:42,338: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + exec_as nextcloud php occ --no-interaction --no-ansi maintenance:install --database mysql --database-name nextcloud --database-user nextcloud --database-pass ********** --admin-user admin --admin-pass aWi3uN --data-dir /home/yunohost.app/nextcloud/data
2020-01-19 16:24:42,338: DEBUG - + set +x
2020-01-19 16:24:42,339: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + local USER=nextcloud
2020-01-19 16:24:42,339: DEBUG - + echo ‘’
2020-01-19 16:24:42,339: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + shift 1
2020-01-19 16:24:42,339: DEBUG - + exit 1
2020-01-19 16:24:42,339: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - ++ whoami
2020-01-19 16:24:42,340: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG -
2020-01-19 16:24:42,340: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + sudo -u nextcloud php occ --no-interaction --no-ansi maintenance:install --database mysql --database-name nextcloud --database-user nextcloud --database-pass ********** --admin-user admin --admin-pass aWi3uN --data-dir /home/yunohost.app/nextcloud/data
2020-01-19 16:24:42,340: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - This version of Nextcloud is not compatible with > PHP 7.3.
You are currently running 7.4.1.+ ynh_die ‘–message=Unable to install Nextcloud’
2020-01-19 16:24:42,340: WARNING - e[34me[1m[DEBUG]e[0m: WARNING - Unable to install Nextcloud
2020-01-19 16:24:42,340: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + local legacy_args=mc
2020-01-19 16:24:42,341: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG -=ret_code=)
2020-01-19 16:24:42,341: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + declare -Ar args_array
2020-01-19 16:24:42,342: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + local message
2020-01-19 16:24:42,344: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + local ret_code
2020-01-19 16:24:42,346: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + ynh_handle_getopts_args ‘–message=Unable to install Nextcloud’
2020-01-19 16:24:42,348: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + set +x
2020-01-19 16:24:42,348: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + echo ‘Unable to install Nextcloud’
2020-01-19 16:24:42,348: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + exit 1
2020-01-19 16:24:42,356: WARNING - e[34me[1m[DEBUG]e[0m: DEBUG - + ynh_exit_properly
2020-01-19 16:24:42,357: WARNING -

Description du problème

Pour obtenir de l’aide efficacement, expliquez qu’est-ce que vous cherchez à faire, dans quel contexte, qu’est-ce que vous avez essayé, et les messages d’erreurs / logs détaillés si possible.

Évitez de dire que quelque chose ne “marche pas” ou ne “fais rien” … expliquez ce qui se passe vraiment et comment vous l’interprêtez !

NB: vous pouvez utiliser le service paste.yunohost.org pour partager des logs ou messages d’erreurs. Vous pouvez aussi inclure directement ces messages en utilisant les “backticks” (accent grave) comme ceci :

Voici des messages d'erreurs

  1. [:digit:] ↩︎

  2. [:digit:] ↩︎

  3. [:digit:] ↩︎

  4. [:digit:] ↩︎

Salut,

Peux tu mettre les logs sur paste.yunohost.org puis editer ton message pour que nous puissions y voir plus clair.

Relis ton poste par la même occasion, il nous manque des informations et certains paragraphe n’ont pas lieu d’être.

Bonjour,
@Salamafet a raison pour la forme du message…

Je me demande s’il ne s’agit pas d’une version de PHP (7.4.1) que tu aurais installée et qui bloque l’installation de Nextcloud.

Bonne journée !

J
pour etre plus claire
apres une mise à jour qui a planté, nextcloud c’est desinstallé,
et je ne peux plus le reinstaller.
il est probable qu’un composant que j’aurais installé est installer la mauvaise version de php7.

Qu’est ce que je peux faire

ici le past de mon log

https://paste.yunohost.org/raw/axonacafuf

et ici le past de ma conf
https://paste.yunohost.org/raw/dikisefusa

Merci de votre aide.
De plus je souhaitaierai pouvoir installer onlyoffice, mais ca ne fonctionne pas comment faire ?

Comme l’a indiqué @anonyme23 c’est bien un problème avec la version de PHP.

Peux tu nous donner le retour de cette commande : php --version

Logiquement tu peux avoir plusieurs version de php différente sur le même système mais selon les versions ce n’est pas forcément simple de faire cohabiter tout ce beau monde.
Et il faut surtout pouvoir indiquer aux différents server blocks de nginx quelle version utiliser.

Tu as les logs erreur ?

je dois avoir plusieurs version de php qui sont installer suite à differente mise à jour
voila ce que donne les commande : avec la completion de php il me donne 3 version

florian-admin@astrowalker2013:~$ php
php php7.0 php7.3 php7.4

et le php version renvoie la valeur php7.4

florian-admin@astrowalker2013:~$ php --version
PHP 7.4.1 (cli) (built: Dec 18 2019 15:03:01) ( NTS )
Copyright © The PHP Group
Zend Engine v3.4.0, Copyright © Zend Technologies
with Zend OPcache v7.4.1, Copyright ©, by Zend Technologies
florian-admin@astrowalker2013:~$

Est ce que c’est le meme probleme que l’on pourrait avoir avec python et les update-alternative.

pour le probleme de onlyoffice on verra plus tard quand j’aurais régler le probleme de nextcloud :slight_smile:

Merci d’avance pour votre aide

Juste pour être sur, peux tu faire un php7.0 --version

Ca peut s’apparenter à Python oui. Surtout quand tu utilise pip.

pour etre complet voila l’ensemble des version installer

florian-admin@astrowalker2013:~$ php7.0 --version
PHP 7.0.33-14+0~20191218.25+debian9~1.gbpae1889 (cli) (built: Dec 18 2019 15:02:34) ( NTS )
Copyright © 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright © 1998-2017 Zend Technologies
with Zend OPcache v7.0.33-14+0~20191218.25+debian9~1.gbpae1889, Copyright © 1999-2017, by Zend Technologies florian-admin@astrowalker2013:~$ php7.3 --version
PHP 7.3.13-1+0~20191218.50+debian9~1.gbp23c2da (cli) (built: Dec 18 2019 15:03:24) ( NTS )
Copyright © 1997-2018 The PHP Group
Zend Engine v3.3.13, Copyright © 1998-2018 Zend Technologies
with Zend OPcache v7.3.13-1+0~20191218.50+debian9~1.gbp23c2da, Copyright © 1999-2018, by Zend Technologies florian-admin@astrowalker2013:~$ php7.4 --version
PHP 7.4.1 (cli) (built: Dec 18 2019 15:03:01) ( NTS )
Copyright © The PHP Group
Zend Engine v3.4.0, Copyright © Zend Technologies
with Zend OPcache v7.4.1, Copyright ©, by Zend Technologies

Ok parfait

Il va falloir indiquer à Nginx d’utiliser la bonne version de php pour Nextcloud.
Je ne sais pas si Yunohost garde les configurations des Applications quand elles échouent.

On va faire quelques vérifications.

On va regarder les configurations de nginx qui existe sur ton serveur:
ls /etc/nginx/conf.d

Puis les différentes configuration de php:
ls /var/run/php

Je suppose que lorsque l’installation échoue, Yunohost supprime tout sans te demander ton avis ?

Si c’est bien le cas il va falloir que je réfléchisse un peu. Je suis nouveau sur Yunohost, du coup je ne connais pas toutes ses subtilités.

ca se trouve il faut forcer la version par defaut de php
mais je ne sais pas comment faire, lors de l’installation

j’ai fait un

sudo update-alternatives --config php
il m’a renvoyer les 3 version que l’on a vue tout à l’heur et j’ai changer la version par defaut en 7.3
si ca ne fonctionne pas je testerai en 7.0

Good en modifiant la conf de php
avec le sudo update-alternatives --config php
j’ai réussit à réinstaller nextcloud

Super !

J’étais justement en train de regarder si en modifiant la configuration de base de nginx ca pouvait influer lors de l’installation des Apps.

Bon ba en tout cas c’est une bonne chose.

1 Like

maintenant il faut que je m’attaque à onlyoffice ou collabora

N’hésite pas si tu as des questions.

voila j’ai fait l’install d’only office et j’ai eu ce log

https://paste.yunohost.org/raw/ilahuretec

@astrowalker2013 ton installation semble ne pas avoir put ce finalisé a cause d’une erreur avec une des dépendance : rabbitmq-server
il semblerait que le service de rabbitmq n’arrive pas a ce lancer lors de la configuration du paquet rabbitmq-server en fin d’installation des dépendance

après quelque recherche perso concernant ce paquet j’ai crut comprendre que la version du paquet présente sur les dépôt stretch peut rencontrer quelque bug lier a l’absence du hostname du serveur dans le fichier /etc/hosts .

d’ailleurs d’autre personne ici semble avoir déjà eut a faire a une situation similaire,

la solution semble donc de modifier ton fichier /etc/hosts pour y ajouter le nom de domaine de ton serveur.

normalement si tu retente une installation de onlyoffice après avoir fait cette ajout les dépendance devrait toute s’installer sans soucis.

Je ne peux que valider les dires de @don.

Juste par curiosité, as tu configuré un reverse DNS ?

je m’en suis sortie avec onlyoffice tout est sur le meme domaine,
et j’ai bien configurer rabbitmq pour pointé sur mon domaine.

ca faisait plus de un ans que j’essaie de l’installer j’ai réussit à le mettre en place.

merci

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