Reinstallation nexcloud

Bonjour
mon yunohost 3,6 est installé sur un pc debian
comme je n’arrivais pas a mettre mon nextcloud a jour je l’ai désinstallé en pensant reinstaller la nouvelle version mais je ne sais plus l’installer j’ai ceci comme erreur

!!

nextcloud’s script has encountered an error. Its execution was cancelled.

e[91me[1m[ERR]e[0m !!

app:enable [-g|–groups GROUPS] [–]

dependencies are not fulfilled: The library ldap is not available.

App “LDAP user and group backend” cannot be installed because the fol


accueil Yunohost

L’opération 'Installer l’application 'nextcloud'' a échouée ! Pour avoir de l’aide, merci de fournir le journal historisé complet de l’opération en cliquant ici

La configuration de SSOwat a été générée

Removing the dedicated system user...

/etc/cron.d/nextcloud wasn't deleted because it doesn't exist.

/etc/fail2ban/filter.d/nextcloud.conf wasn't deleted because it doesn't exist.

/etc/fail2ban/jail.d/nextcloud.conf wasn't deleted because it doesn't exist.

Removing fail2ban configuration...

Removing logrotate configuration...

/etc/php/7.0/fpm/conf.d/20-nextcloud.ini wasn't deleted because it doesn't exist.

Removing php-fpm configuration...

Removing nginx web server configuration...

Removing app main directory...

Removing the MySQL database...

Removing dependencies...

Loading installation settings...

L’opération 'Installer l’application 'nextcloud'' a échouée ! Pour avoir de l’aide, merci de fournir le journal historisé complet de l’opération en cliquant ici

!!

nextcloud's script has encountered an error. Its execution was cancelled.

e[91me[1m[ERR]e[0m !!

app:enable [-g|--groups GROUPS] [--]

dependencies are not fulfilled: The library ldap is not available.

App "LDAP user and group backend" cannot be installed because the following

In app.php line 1098:

Configuring nextcloud...

Installing nextcloud...

Configuring php-fpm...

Configuring system user...

e[93me[1m[WARN]e[0m Another app already uses the domain philoxweb.be to serve a caldav/carddav feature. You may encounter issues when dealing with your calendar or address book.

Configuring nginx web server...

Setting up source files...5

Creating a MySQL database...

Installing dependencies...

Storing installation settings...

Validating installation parameters...

Installation de l'application nextcloud …

Connecté
Accueil Applications
Baikal Baikal

Serveur CalDAV+CardDAV léger
Doctor Cube Doctor Cube

Doctor Cube s'assure que votre Brique Internet fonctionne comme prévue
Dokuwiki Dokuwiki

DokuWiki est un wiki Open Source simple à utiliser et très polyvalent qui n’exige aucune base de données.
Etherpad Mypads Etherpad Mypads

Clone de Framapad, un éditeur en ligne fournissant l’édition collaborative en temps réel.
Wifi Hotspot Wifi Hotspot

Hotspot Wifi
Jirafeau Jirafeau

Hébergez simplement un fichier et partagez-le avec un lien unique
Leed Leed

Leed est un agrégateur RSS minimaliste qui permet la consultation de flux RSS de manière rapide et non intrusive.
Mattermost Mattermost

Une alternative open-source et self-hostée à Slack
Neutrinet Neutrinet

Application gérant les configurations spécifiques à Neutrinet
PeerTube PeerTube

Plateforme de diffusion vidéo par P2P directement dans le navigateur, et connectée à un réseau fédéralisé
phpMyAdmin phpMyAdmin

Application web de gestion des bases de données MySQL
Piwigo Piwigo

Galerie photo
Roundcube Roundcube

Webmail Open Source
VPN Client VPN Client

Client VPN
Accueil Outils Journaux 20190730-180113-app_install-nextcloud
Installer l’application 'nextcloud'

Chemin
    /var/log/yunohost/categories/operation/20190730-180113-app_install-nextcloud.log
Début
    30 juillet 2019 à 20:01
Fin
    30 juillet 2019 à 20:04
Erreur
    Ce journal a fini avec l’erreur : Une erreur inattendue est survenue : shell command return code: 1

Contexte
Journaux

2019-07-30 20:01:13,394: INFO - Installation de l'application nextcloud …
2019-07-30 20:01:13,720: DEBUG - Exécution de la commande 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/nextcloud_ynh-7be97bb4844447d698a51eaf782e273b8ed6f867/scripts YNH_APP_ARG_USER_HOME=0 YNH_STDINFO=/tmp/tmpURejLb/stdinfo YNH_APP_INSTANCE_NAME=nextcloud YNH_APP_ARG_ADMIN=philox47 YNH_INTERFACE=api YNH_APP_ID=nextcloud YNH_APP_ARG_PATH=/nextcloud YNH_STDRETURN=/tmp/tmpDAjp75/stdreturn YNH_APP_ARG_DOMAIN=philoxweb.be BASH_XTRACEFD=7 /bin/bash -x "./install" philoxweb.be /nextcloud philox47 0 nextcloud 7>&1' …
2019-07-30 20:01:13,721: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/nextcloud_ynh-7be97bb4844447d698a51eaf782e273b8ed6f867/scripts YNH_APP_ARG_USER_HOME=0 YNH_STDINFO=/tmp/tmpURejLb/stdinfo YNH_APP_INSTANCE_NAME=nextcloud YNH_APP_ARG_ADMIN=philox47 YNH_INTERFACE=api YNH_APP_ID=nextcloud YNH_APP_ARG_PATH=/nextcloud YNH_STDRETURN=/tmp/tmpDAjp75/stdreturn YNH_APP_ARG_DOMAIN=philoxweb.be BASH_XTRACEFD=7 /bin/bash -x "./install" philoxweb.be /nextcloud philox47 0 nextcloud 7>&1']'
2019-07-30 20:01:13,992: DEBUG - + source _common.sh
2019-07-30 20:01:13,994: 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'
2019-07-30 20:01:13,994: DEBUG - + source /usr/share/yunohost/helpers
2019-07-30 20:01:13,994: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-07-30 20:01:13,995: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-30 20:01:13,995: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2019-07-30 20:01:13,997: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2019-07-30 20:01:13,997: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-30 20:01:13,997: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2019-07-30 20:01:13,998: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2019-07-30 20:01:13,998: DEBUG - +++ CAN_BIND=1
2019-07-30 20:01:13,998: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-30 20:01:13,999: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2019-07-30 20:01:13,999: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2019-07-30 20:01:13,999: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-30 20:01:14,000: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2019-07-30 20:01:14,001: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-07-30 20:01:14,001: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-30 20:01:14,001: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2019-07-30 20:01:14,002: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2019-07-30 20:01:14,002: DEBUG - +++ increment_progression=0
2019-07-30 20:01:14,002: DEBUG - +++ previous_weight=0
2019-07-30 20:01:14,003: DEBUG - +++ max_progression=-1
2019-07-30 20:01:14,003: DEBUG - +++ progress_scale=20
2019-07-30 20:01:14,003: DEBUG - +++ progress_string2='####################'
2019-07-30 20:01:14,004: DEBUG - +++ progress_string1=++++++++++++++++++++
2019-07-30 20:01:14,004: DEBUG - +++ progress_string0=....................
2019-07-30 20:01:14,004: DEBUG - ++++ date +%s
2019-07-30 20:01:14,005: DEBUG - +++ base_time=1564509673
2019-07-30 20:01:14,005: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-30 20:01:14,005: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2019-07-30 20:01:14,006: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2019-07-30 20:01:14,006: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-30 20:01:14,006: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2019-07-30 20:01:14,007: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-07-30 20:01:14,007: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-07-30 20:01:14,007: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-30 20:01:14,008: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2019-07-30 20:01:14,008: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-07-30 20:01:14,008: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-30 20:01:14,009: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2019-07-30 20:01:14,009: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2019-07-30 20:01:14,010: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-30 20:01:14,010: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2019-07-30 20:01:14,010: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-07-30 20:01:14,011: DEBUG - +++ n_install_dir=/opt/node_n
2019-07-30 20:01:14,011: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-07-30 20:01:14,011: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-07-30 20:01:14,012: DEBUG - +++ N_PREFIX=/opt/node_n
2019-07-30 20:01:14,012: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-30 20:01:14,012: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2019-07-30 20:01:14,013: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2019-07-30 20:01:14,013: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-30 20:01:14,013: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2019-07-30 20:01:14,014: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2019-07-30 20:01:14,014: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2019-07-30 20:01:14,014: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-30 20:01:14,015: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2019-07-30 20:01:14,015: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-07-30 20:01:14,015: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-30 20:01:14,016: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2019-07-30 20:01:14,016: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-07-30 20:01:14,016: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-30 20:01:14,017: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2019-07-30 20:01:14,017: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2019-07-30 20:01:14,017: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-30 20:01:14,018: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2019-07-30 20:01:14,018: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-07-30 20:01:14,018: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-07-30 20:01:14,019: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2019-07-30 20:01:14,019: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-07-30 20:01:14,019: DEBUG - + ynh_abort_if_errors
2019-07-30 20:01:14,020: DEBUG - + set -eu
2019-07-30 20:01:14,020: DEBUG - + trap ynh_exit_properly EXIT
2019-07-30 20:01:14,020: DEBUG - + domain=philoxweb.be
2019-07-30 20:01:14,021: DEBUG - + path_url=/nextcloud
2019-07-30 20:01:14,021: DEBUG - + admin=philox47
2019-07-30 20:01:14,022: DEBUG - + user_home=0
2019-07-30 20:01:14,022: DEBUG - + app=nextcloud
2019-07-30 20:01:14,022: DEBUG - + ynh_script_progression '--message=Validating installation parameters...'
2019-07-30 20:01:14,023: DEBUG - + set +x
2019-07-30 20:01:14,023: DEBUG - + set +x
2019-07-30 20:01:14,023: DEBUG - + echo '! Helper used in legacy mode !'
2019-07-30 20:01:14,024: DEBUG - + set +x
2019-07-30 20:01:14,024: DEBUG - + echo '[....................] > Validating installation parameters...'
2019-07-30 20:01:14,024: DEBUG - + set -x
2019-07-30 20:01:14,025: DEBUG - + final_path=/var/www/nextcloud
2019-07-30 20:01:14,025: DEBUG - + test '!' -e /var/www/nextcloud
2019-07-30 20:01:14,025: DEBUG - + ynh_webpath_register --app=nextcloud --domain=philoxweb.be --path_url=/nextcloud
2019-07-30 20:01:14,026: DEBUG - + local legacy_args=adp
2019-07-30 20:01:14,026: DEBUG - + args_array=([a]=app= [d]=domain= [p]=path_url=)
2019-07-30 20:01:14,026: DEBUG - + declare -Ar args_array
2019-07-30 20:01:14,027: DEBUG - + local app
2019-07-30 20:01:14,027: DEBUG - + local domain
2019-07-30 20:01:14,027: DEBUG - + local path_url
2019-07-30 20:01:14,028: DEBUG - + ynh_handle_getopts_args --app=nextcloud --domain=philoxweb.be --path_url=/nextcloud
2019-07-30 20:01:14,028: DEBUG - + set +x
2019-07-30 20:01:14,028: DEBUG - + sudo yunohost app register-url nextcloud philoxweb.be /nextcloud
2019-07-30 20:01:16,734: DEBUG - + ynh_script_progression '--message=Storing installation settings...'
2019-07-30 20:01:16,734: INFO - [....................] > Validating installation parameters...
2019-07-30 20:01:16,737: DEBUG - + set +x
2019-07-30 20:01:16,737: DEBUG - + set +x
2019-07-30 20:01:16,738: DEBUG - + echo '! Helper used in legacy mode !'
2019-07-30 20:01:16,738: DEBUG - + set +x
2019-07-30 20:01:16,738: DEBUG - + echo '[....................] > Storing installation settings...'
2019-07-30 20:01:16,739: DEBUG - + set -x
2019-07-30 20:01:16,739: DEBUG - + ynh_app_setting_set --app=nextcloud --key=domain --value=philoxweb.be
2019-07-30 20:01:16,739: DEBUG - + local legacy_args=akv
2019-07-30 20:01:16,740: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-07-30 20:01:16,740: DEBUG - + declare -Ar args_array
2019-07-30 20:01:16,740: DEBUG - + local app
2019-07-30 20:01:16,741: DEBUG - + local key
2019-07-30 20:01:16,741: DEBUG - + local value
2019-07-30 20:01:16,741: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=domain --value=philoxweb.be
2019-07-30 20:01:16,742: DEBUG - + set +x
2019-07-30 20:01:16,742: DEBUG - + ynh_app_setting set nextcloud domain philoxweb.be
2019-07-30 20:01:16,742: DEBUG - + ACTION=set
2019-07-30 20:01:16,743: DEBUG - + APP=nextcloud
2019-07-30 20:01:16,743: DEBUG - + KEY=domain
2019-07-30 20:01:16,743: DEBUG - + VALUE=philoxweb.be
2019-07-30 20:01:16,744: DEBUG - + python -
2019-07-30 20:01:17,045: DEBUG - + ynh_app_setting_set --app=nextcloud --key=path --value=/nextcloud
2019-07-30 20:01:17,045: INFO - [....................] > Storing installation settings...
2019-07-30 20:01:17,046: DEBUG - + local legacy_args=akv
2019-07-30 20:01:17,047: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-07-30 20:01:17,047: DEBUG - + declare -Ar args_array
2019-07-30 20:01:17,048: DEBUG - + local app
2019-07-30 20:01:17,048: DEBUG - + local key
2019-07-30 20:01:17,048: DEBUG - + local value
2019-07-30 20:01:17,049: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=path --value=/nextcloud
2019-07-30 20:01:17,049: DEBUG - + set +x
2019-07-30 20:01:17,049: DEBUG - + ynh_app_setting set nextcloud path /nextcloud
2019-07-30 20:01:17,050: DEBUG - + ACTION=set
2019-07-30 20:01:17,050: DEBUG - + APP=nextcloud
2019-07-30 20:01:17,050: DEBUG - + KEY=path
2019-07-30 20:01:17,051: DEBUG - + VALUE=/nextcloud
2019-07-30 20:01:17,051: DEBUG - + python -
2019-07-30 20:01:17,352: DEBUG - + ynh_app_setting_set --app=nextcloud --key=admin --value=philox47
2019-07-30 20:01:17,353: DEBUG - + local legacy_args=akv
2019-07-30 20:01:17,353: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-07-30 20:01:17,353: DEBUG - + declare -Ar args_array
2019-07-30 20:01:17,354: DEBUG - + local app
2019-07-30 20:01:17,354: DEBUG - + local key
2019-07-30 20:01:17,354: DEBUG - + local value
2019-07-30 20:01:17,355: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=admin --value=philox47
2019-07-30 20:01:17,355: DEBUG - + set +x
2019-07-30 20:01:17,355: DEBUG - + ynh_app_setting set nextcloud admin philox47
2019-07-30 20:01:17,356: DEBUG - + ACTION=set
2019-07-30 20:01:17,356: DEBUG - + APP=nextcloud
2019-07-30 20:01:17,356: DEBUG - + KEY=admin
2019-07-30 20:01:17,357: DEBUG - + VALUE=philox47
2019-07-30 20:01:17,357: DEBUG - + python -
2019-07-30 20:01:17,658: DEBUG - + ynh_app_setting_set --app=nextcloud --key=user_home --value=0
2019-07-30 20:01:17,659: DEBUG - + local legacy_args=akv
2019-07-30 20:01:17,659: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-07-30 20:01:17,659: DEBUG - + declare -Ar args_array
2019-07-30 20:01:17,660: DEBUG - + local app
2019-07-30 20:01:17,660: DEBUG - + local key
2019-07-30 20:01:17,661: DEBUG - + local value
2019-07-30 20:01:17,661: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=user_home --value=0
2019-07-30 20:01:17,661: DEBUG - + set +x
2019-07-30 20:01:17,662: DEBUG - + ynh_app_setting set nextcloud user_home 0
2019-07-30 20:01:17,662: DEBUG - + ACTION=set
2019-07-30 20:01:17,662: DEBUG - + APP=nextcloud
2019-07-30 20:01:17,663: DEBUG - + KEY=user_home
2019-07-30 20:01:17,663: DEBUG - + VALUE=0
2019-07-30 20:01:17,663: DEBUG - + python -
2019-07-30 20:01:17,964: DEBUG - + ynh_script_progression '--message=Installing dependencies...' --weight=60
2019-07-30 20:01:17,965: DEBUG - + set +x
2019-07-30 20:01:17,965: DEBUG - + set +x
2019-07-30 20:01:17,965: DEBUG - + echo '! Helper used in legacy mode !'
2019-07-30 20:01:17,966: DEBUG - + set +x
2019-07-30 20:01:17,966: DEBUG - + echo '[+++++++++...........] > Installing dependencies...'
2019-07-30 20:01:17,966: DEBUG - + set -x
2019-07-30 20:01:17,967: 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
2019-07-30 20:01:17,967: 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'
2019-07-30 20:01:17,967: 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'
2019-07-30 20:01:17,968: 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'
2019-07-30 20:01:17,968: DEBUG - + local manifest_path=../manifest.json
2019-07-30 20:01:17,969: DEBUG - + '[' '!' -e ../manifest.json ']'
2019-07-30 20:01:17,969: DEBUG - ++ cut -d '"' -f 4
2019-07-30 20:01:17,969: DEBUG - ++ grep '\"version\": ' ../manifest.json
2019-07-30 20:01:17,969: DEBUG - + local version=15.0.7~ynh1
2019-07-30 20:01:17,970: DEBUG - + '[' 11 -eq 0 ']'
2019-07-30 20:01:17,970: DEBUG - + local dep_app=nextcloud
2019-07-30 20:01:17,971: DEBUG - + cat
2019-07-30 20:01:17,971: DEBUG - + ynh_package_install_from_equivs /tmp/nextcloud-ynh-deps.control
2019-07-30 20:01:17,971: DEBUG - + local controlfile=/tmp/nextcloud-ynh-deps.control
2019-07-30 20:01:17,972: DEBUG - ++ grep '^Package: ' /tmp/nextcloud-ynh-deps.control
2019-07-30 20:01:17,972: DEBUG - ++ cut '-d ' -f 2
2019-07-30 20:01:17,972: DEBUG - + local pkgname=nextcloud-ynh-deps
2019-07-30 20:01:17,973: DEBUG - ++ grep '^Version: ' /tmp/nextcloud-ynh-deps.control
2019-07-30 20:01:17,973: DEBUG - ++ cut '-d ' -f 2
2019-07-30 20:01:17,973: DEBUG - + local pkgversion=15.0.7~ynh1
2019-07-30 20:01:17,973: DEBUG - + [[ -z nextcloud-ynh-deps ]]
2019-07-30 20:01:17,974: DEBUG - + [[ -z 15.0.7~ynh1 ]]
2019-07-30 20:01:17,974: DEBUG - + ynh_package_update
2019-07-30 20:01:17,975: DEBUG - + ynh_apt update
2019-07-30 20:01:17,975: DEBUG - + ynh_wait_dpkg_free
2019-07-30 20:01:17,975: DEBUG - + local try
2019-07-30 20:01:17,976: DEBUG - ++ seq 1 17
2019-07-30 20:01:17,976: DEBUG - + for try in `seq 1 17`
2019-07-30 20:01:17,976: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-07-30 20:01:18,478: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-07-30 20:01:18,478: INFO - [+++++++++...........] > Installing dependencies...
2019-07-30 20:01:18,479: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-07-30 20:01:18,479: DEBUG - + read dpkg_file
2019-07-30 20:01:18,480: DEBUG - + echo ''
2019-07-30 20:01:18,480: DEBUG - + grep -Pq '^[[:digit:]]+$'
2019-07-30 20:01:18,480: DEBUG - + read dpkg_file
2019-07-30 20:01:18,481: DEBUG - + return 0
2019-07-30 20:01:18,481: DEBUG - + DEBIAN_FRONTEND=noninteractive
2019-07-30 20:01:18,481: DEBUG - + apt-get -y update
2019-07-30 20:01:18,983: DEBUG - Atteint:1 http://forge.yunohost.org/debian stretch InRelease
2019-07-30 20:01:19,184: DEBUG - Ign:2 http://ftp.debian.org/debian stretch InRelease
2019-07-30 20:01:19,285: DEBUG - Atteint:3 http://ftp.debian.org/debian stretch-updates InRelease
2019-07-30 20:01:19,285: DEBUG - Atteint:4 http://security.debian.org/debian-security stretch/updates InRelease
2019-07-30 20:01:19,286: DEBUG - Atteint:5 http://ftp.debian.org/debian stretch Release
2019-07-30 20:01:22,894: DEBUG - Lecture des listes de paquets…
2019-07-30 20:01:23,496: DEBUG - ++ mktemp -d
2019-07-30 20:01:23,496: DEBUG - + local TMPDIR=/tmp/tmp.RypwmnQsLw
2019-07-30 20:01:23,496: DEBUG - + echo 10
2019-07-30 20:01:23,497: DEBUG - + ynh_wait_dpkg_free
2019-07-30 20:01:23,497: DEBUG - + local try
2019-07-30 20:01:23,497: DEBUG - ++ seq 1 17
2019-07-30 20:01:23,498: DEBUG - + for try in `seq 1 17`
2019-07-30 20:01:23,498: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-07-30 20:01:24,200: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-07-30 20:01:24,201: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-07-30 20:01:24,301: DEBUG - + read dpkg_file
2019-07-30 20:01:24,302: DEBUG - + echo ''
2019-07-30 20:01:24,302: DEBUG - + grep -Pq '^[[:digit:]]+$'
2019-07-30 20:01:24,302: DEBUG - + read dpkg_file
2019-07-30 20:01:24,303: DEBUG - + return 0
2019-07-30 20:01:24,303: DEBUG - + cp /tmp/nextcloud-ynh-deps.control /tmp/tmp.RypwmnQsLw/control
2019-07-30 20:01:24,304: DEBUG - + cd /tmp/tmp.RypwmnQsLw
2019-07-30 20:01:24,304: DEBUG - + equivs-build ./control
2019-07-30 20:01:28,114: DEBUG - + dpkg --force-depends -i ./nextcloud-ynh-deps_15.0.7~ynh1_all.deb
2019-07-30 20:01:28,315: DEBUG - Sélection du paquet nextcloud-ynh-deps précédemment désélectionné.
2019-07-30 20:01:32,223: DEBUG - (Lecture de la base de données... 69010 fichiers et répertoires déjà installés.)
2019-07-30 20:01:32,253: DEBUG - Préparation du dépaquetage de .../nextcloud-ynh-deps_15.0.7~ynh1_all.deb ...
2019-07-30 20:01:32,354: DEBUG - Dépaquetage de nextcloud-ynh-deps (15.0.7~ynh1) ...
2019-07-30 20:01:32,655: DEBUG - dpkg: nextcloud-ynh-deps : problèmes de dépendances, mais configuration comme demandé :
2019-07-30 20:01:32,655: DEBUG -  nextcloud-ynh-deps dépend de php-apcu ; cependant :
2019-07-30 20:01:32,656: DEBUG -   Le paquet php-apcu n'est pas installé.
2019-07-30 20:01:32,656: DEBUG -  nextcloud-ynh-deps dépend de php-redis ; cependant :
2019-07-30 20:01:32,656: DEBUG -   Le paquet php-redis n'est pas installé.
2019-07-30 20:01:32,657: DEBUG -  nextcloud-ynh-deps dépend de acl ; cependant :
2019-07-30 20:01:32,657: DEBUG -   Le paquet acl n'est pas installé.
2019-07-30 20:01:32,657: DEBUG -  nextcloud-ynh-deps dépend de smbclient ; cependant :
2019-07-30 20:01:32,658: DEBUG -   Le paquet smbclient n'est pas installé.
2019-07-30 20:01:32,658: DEBUG -  nextcloud-ynh-deps dépend de at ; cependant :
2019-07-30 20:01:32,658: DEBUG -   Le paquet at n'est pas installé.
2019-07-30 20:01:32,659: DEBUG - 
2019-07-30 20:01:32,659: DEBUG - Paramétrage de nextcloud-ynh-deps (15.0.7~ynh1) ...
2019-07-30 20:01:32,960: DEBUG - + ynh_package_install -f
2019-07-30 20:01:32,961: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
2019-07-30 20:01:32,961: DEBUG - + ynh_wait_dpkg_free
2019-07-30 20:01:32,961: DEBUG - + local try
2019-07-30 20:01:32,962: DEBUG - ++ seq 1 17
2019-07-30 20:01:32,962: DEBUG - + for try in `seq 1 17`
2019-07-30 20:01:32,962: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-07-30 20:01:33,364: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-07-30 20:01:33,364: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-07-30 20:01:33,365: DEBUG - + read dpkg_file
2019-07-30 20:01:33,365: DEBUG - + echo ''
2019-07-30 20:01:33,365: DEBUG - + grep -Pq '^[[:digit:]]+$'
2019-07-30 20:01:33,366: DEBUG - + read dpkg_file
2019-07-30 20:01:33,366: DEBUG - + return 0
2019-07-30 20:01:33,366: DEBUG - + DEBIAN_FRONTEND=noninteractive
2019-07-30 20:01:33,367: DEBUG - + apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
2019-07-30 20:01:33,868: DEBUG - Lecture des listes de paquets…
2019-07-30 20:01:34,270: DEBUG - Construction de l'arbre des dépendances…
2019-07-30 20:01:34,270: DEBUG - Lecture des informations d'état…
2019-07-30 20:01:34,672: DEBUG - Correction des dépendances... Fait
2019-07-30 20:01:35,073: DEBUG - The following additional packages will be installed:
2019-07-30 20:01:35,073: DEBUG -   acl at libarchive13 libldb1 libsmbclient libtalloc2 libtdb1 libtevent0
2019-07-30 20:01:35,074: DEBUG -   libwbclient0 php-apcu php-apcu-bc php-igbinary php-redis python-ldb
2019-07-30 20:01:35,074: DEBUG -   python-samba python-talloc python-tdb samba-common samba-common-bin
2019-07-30 20:01:35,074: DEBUG -   samba-libs smbclient
2019-07-30 20:01:35,075: DEBUG - Paquets suggérés :
2019-07-30 20:01:35,075: DEBUG -   lrzip python-gpgme heimdal-clients cifs-utils
2019-07-30 20:01:35,276: DEBUG - Les NOUVEAUX paquets suivants seront installés :
2019-07-30 20:01:35,276: DEBUG -   acl at libarchive13 libldb1 libsmbclient libtalloc2 libtdb1 libtevent0
2019-07-30 20:01:35,277: DEBUG -   libwbclient0 php-apcu php-apcu-bc php-igbinary php-redis python-ldb
2019-07-30 20:01:35,277: DEBUG -   python-samba python-talloc python-tdb samba-common samba-common-bin
2019-07-30 20:01:35,278: DEBUG -   samba-libs smbclient
2019-07-30 20:01:40,390: DEBUG - Préconfiguration des paquets...
2019-07-30 20:01:40,992: DEBUG - 0 mis à jour, 21 nouvellement installés, 0 à enlever et 0 non mis à jour.
2019-07-30 20:01:40,992: DEBUG - Il est nécessaire de prendre 0 o/8.935 ko dans les archives.
2019-07-30 20:01:40,993: DEBUG - Après cette opération, 38,8 Mo d'espace disque supplémentaires seront utilisés.
2019-07-30 20:01:41,194: DEBUG - Sélection du paquet libtalloc2:amd64 précédemment désélectionné.
2019-07-30 20:01:41,295: DEBUG - (Lecture de la base de données... 
(Lecture de la base de données... 5%
(Lecture de la base de données... 10%
(Lecture de la base de données... 15%
(Lecture de la base de données... 20%
(Lecture de la base de données... 25%
(Lecture de la base de données... 30%
(Lecture de la base de données... 35%
(Lecture de la base de données... 40%
(Lecture de la base de données... 45%
(Lecture de la base de données... 50%
(Lecture de la base de données... 55%
(Lecture de la base de données... 60%
(Lecture de la base de données... 65%
(Lecture de la base de données... 70%
(Lecture de la base de données... 75%
(Lecture de la base de données... 80%
(Lecture de la base de données... 85%
(Lecture de la base de données... 90%
(Lecture de la base de données... 95%
(Lecture de la base de données... 100%
(Lecture de la base de données... 69014 fichiers et répertoires déjà installés.)
2019-07-30 20:01:41,295: DEBUG - Préparation du dépaquetage de .../00-libtalloc2_2.1.8-1_amd64.deb ...
2019-07-30 20:01:41,496: DEBUG - Dépaquetage de libtalloc2:amd64 (2.1.8-1) ...
2019-07-30 20:01:41,797: DEBUG - Sélection du paquet libtevent0:amd64 précédemment désélectionné.
2019-07-30 20:01:41,798: DEBUG - Préparation du dépaquetage de .../01-libtevent0_0.9.31-1_amd64.deb ...
2019-07-30 20:01:41,899: DEBUG - Dépaquetage de libtevent0:amd64 (0.9.31-1) ...
2019-07-30 20:01:42,200: DEBUG - Sélection du paquet libtdb1:amd64 précédemment désélectionné.
2019-07-30 20:01:42,200: DEBUG - Préparation du dépaquetage de .../02-libtdb1_1.3.11-2_amd64.deb ...
2019-07-30 20:01:42,201: DEBUG - Dépaquetage de libtdb1:amd64 (1.3.11-2) ...
2019-07-30 20:01:42,602: DEBUG - Sélection du paquet libldb1:amd64 précédemment désélectionné.
2019-07-30 20:01:42,603: DEBUG - Préparation du dépaquetage de .../03-libldb1_2%3a1.1.27-1+deb9u1_amd64.deb ...
2019-07-30 20:01:42,703: DEBUG - Dépaquetage de libldb1:amd64 (2:1.1.27-1+deb9u1) ...
2019-07-30 20:01:43,105: DEBUG - Sélection du paquet libwbclient0:amd64 précédemment désélectionné.
2019-07-30 20:01:43,105: DEBUG - Préparation du dépaquetage de .../04-libwbclient0_2%3a4.5.16+dfsg-1+deb9u2_amd64.deb ...
2019-07-30 20:01:43,206: DEBUG - Dépaquetage de libwbclient0:amd64 (2:4.5.16+dfsg-1+deb9u2) ...
2019-07-30 20:01:43,608: DEBUG - Sélection du paquet python-talloc précédemment désélectionné.
2019-07-30 20:01:43,608: DEBUG - Préparation du dépaquetage de .../05-python-talloc_2.1.8-1_amd64.deb ...
2019-07-30 20:01:43,608: DEBUG - Dépaquetage de python-talloc (2.1.8-1) ...
2019-07-30 20:01:44,010: DEBUG - Sélection du paquet samba-libs:amd64 précédemment désélectionné.
2019-07-30 20:01:44,010: DEBUG - Préparation du dépaquetage de .../06-samba-libs_2%3a4.5.16+dfsg-1+deb9u2_amd64.deb ...
2019-07-30 20:01:44,111: DEBUG - Dépaquetage de samba-libs:amd64 (2:4.5.16+dfsg-1+deb9u2) ...
2019-07-30 20:01:45,615: DEBUG - Sélection du paquet libsmbclient:amd64 précédemment désélectionné.
2019-07-30 20:01:45,716: DEBUG - Préparation du dépaquetage de .../07-libsmbclient_2%3a4.5.16+dfsg-1+deb9u2_amd64.deb ...
2019-07-30 20:01:45,717: DEBUG - Dépaquetage de libsmbclient:amd64 (2:4.5.16+dfsg-1+deb9u2) ...
2019-07-30 20:01:46,118: DEBUG - Sélection du paquet samba-common précédemment désélectionné.
2019-07-30 20:01:46,118: DEBUG - Préparation du dépaquetage de .../08-samba-common_2%3a4.5.16+dfsg-1+deb9u2_all.deb ...
2019-07-30 20:01:46,219: DEBUG - Dépaquetage de samba-common (2:4.5.16+dfsg-1+deb9u2) ...
2019-07-30 20:01:46,721: DEBUG - Sélection du paquet libarchive13:amd64 précédemment désélectionné.
2019-07-30 20:01:46,721: DEBUG - Préparation du dépaquetage de .../09-libarchive13_3.2.2-2+deb9u1_amd64.deb ...
2019-07-30 20:01:46,722: DEBUG - Dépaquetage de libarchive13:amd64 (3.2.2-2+deb9u1) ...
2019-07-30 20:01:47,223: DEBUG - Sélection du paquet smbclient précédemment désélectionné.
2019-07-30 20:01:47,224: DEBUG - Préparation du dépaquetage de .../10-smbclient_2%3a4.5.16+dfsg-1+deb9u2_amd64.deb ...
2019-07-30 20:01:47,325: DEBUG - Dépaquetage de smbclient (2:4.5.16+dfsg-1+deb9u2) ...
2019-07-30 20:01:47,826: DEBUG - Sélection du paquet acl précédemment désélectionné.
2019-07-30 20:01:47,927: DEBUG - Préparation du dépaquetage de .../11-acl_2.2.52-3+b1_amd64.deb ...
2019-07-30 20:01:47,929: DEBUG - Dépaquetage de acl (2.2.52-3+b1) ...
2019-07-30 20:01:48,431: DEBUG - Sélection du paquet at précédemment désélectionné.
2019-07-30 20:01:48,431: DEBUG - Préparation du dépaquetage de .../12-at_3.1.20-3_amd64.deb ...
2019-07-30 20:01:48,532: DEBUG - Dépaquetage de at (3.1.20-3) ...
2019-07-30 20:01:48,933: DEBUG - Sélection du paquet php-apcu précédemment désélectionné.
2019-07-30 20:01:49,034: DEBUG - Préparation du dépaquetage de .../13-php-apcu_5.1.8+4.0.11-1_amd64.deb ...
2019-07-30 20:01:49,035: DEBUG - Dépaquetage de php-apcu (5.1.8+4.0.11-1) ...
2019-07-30 20:01:49,436: DEBUG - Sélection du paquet php-apcu-bc précédemment désélectionné.
2019-07-30 20:01:49,437: DEBUG - Préparation du dépaquetage de .../14-php-apcu-bc_1.0.3-2_amd64.deb ...
2019-07-30 20:01:49,537: DEBUG - Dépaquetage de php-apcu-bc (1.0.3-2) ...
2019-07-30 20:01:49,839: DEBUG - Sélection du paquet php-igbinary précédemment désélectionné.
2019-07-30 20:01:49,839: DEBUG - Préparation du dépaquetage de .../15-php-igbinary_2.0.1-1_amd64.deb ...
2019-07-30 20:01:49,839: DEBUG - Dépaquetage de php-igbinary (2.0.1-1) ...
2019-07-30 20:01:50,241: DEBUG - Sélection du paquet php-redis précédemment désélectionné.
2019-07-30 20:01:50,242: DEBUG - Préparation du dépaquetage de .../16-php-redis_3.1.1-1_amd64.deb ...
2019-07-30 20:01:50,242: DEBUG - Dépaquetage de php-redis (3.1.1-1) ...
2019-07-30 20:01:50,643: DEBUG - Sélection du paquet python-ldb précédemment désélectionné.
2019-07-30 20:01:50,744: DEBUG - Préparation du dépaquetage de .../17-python-ldb_2%3a1.1.27-1+deb9u1_amd64.deb ...
2019-07-30 20:01:50,744: DEBUG - Dépaquetage de python-ldb (2:1.1.27-1+deb9u1) ...
2019-07-30 20:01:51,046: DEBUG - Sélection du paquet python-tdb précédemment désélectionné.
2019-07-30 20:01:51,046: DEBUG - Préparation du dépaquetage de .../18-python-tdb_1.3.11-2_amd64.deb ...
2019-07-30 20:01:51,147: DEBUG - Dépaquetage de python-tdb (1.3.11-2) ...
2019-07-30 20:01:51,448: DEBUG - Sélection du paquet python-samba précédemment désélectionné.
2019-07-30 20:01:51,449: DEBUG - Préparation du dépaquetage de .../19-python-samba_2%3a4.5.16+dfsg-1+deb9u2_amd64.deb ...
2019-07-30 20:01:51,549: DEBUG - Dépaquetage de python-samba (2:4.5.16+dfsg-1+deb9u2) ...
2019-07-30 20:01:52,352: DEBUG - Sélection du paquet samba-common-bin précédemment désélectionné.
2019-07-30 20:01:52,352: DEBUG - Préparation du dépaquetage de .../20-samba-common-bin_2%3a4.5.16+dfsg-1+deb9u2_amd64.deb ...
2019-07-30 20:01:52,453: DEBUG - Dépaquetage de samba-common-bin (2:4.5.16+dfsg-1+deb9u2) ...
2019-07-30 20:01:53,055: DEBUG - Paramétrage de php-apcu (5.1.8+4.0.11-1) ...
2019-07-30 20:01:53,757: DEBUG - Paramétrage de libtdb1:amd64 (1.3.11-2) ...
2019-07-30 20:01:53,958: DEBUG - Paramétrage de libwbclient0:amd64 (2:4.5.16+dfsg-1+deb9u2) ...
2019-07-30 20:01:54,159: DEBUG - Paramétrage de python-tdb (1.3.11-2) ...
2019-07-30 20:01:54,661: DEBUG - Paramétrage de libarchive13:amd64 (3.2.2-2+deb9u1) ...
2019-07-30 20:01:54,762: DEBUG - Paramétrage de php-igbinary (2.0.1-1) ...
2019-07-30 20:01:55,163: DEBUG - Paramétrage de samba-common (2:4.5.16+dfsg-1+deb9u2) ...
2019-07-30 20:01:55,965: DEBUG - /bin/bash: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-07-30 20:01:56,468: DEBUG - 
2019-07-30 20:01:56,468: DEBUG - Creating config file /etc/samba/smb.conf with new version
2019-07-30 20:01:56,569: DEBUG - /bin/bash: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2019-07-30 20:01:57,071: DEBUG - Paramétrage de at (3.1.20-3) ...
2019-07-30 20:01:57,873: DEBUG - Created symlink /etc/systemd/system/multi-user.target.wants/atd.service → /lib/systemd/system/atd.service.
2019-07-30 20:02:01,395: DEBUG - Paramétrage de php-redis (3.1.1-1) ...
2019-07-30 20:02:01,697: DEBUG - Traitement des actions différées (« triggers ») pour libc-bin (2.24-11+deb9u4) ...
2019-07-30 20:02:02,399: DEBUG - Traitement des actions différées (« triggers ») pour systemd (232-25+deb9u11) ...
2019-07-30 20:02:02,800: DEBUG - Traitement des actions différées (« triggers ») pour man-db (2.7.6.1-2) ...
2019-07-30 20:02:04,905: DEBUG - Paramétrage de libtalloc2:amd64 (2.1.8-1) ...
2019-07-30 20:02:05,107: DEBUG - Paramétrage de php-apcu-bc (1.0.3-2) ...
2019-07-30 20:02:05,408: DEBUG - WARNING: Module apcu_bc ini file doesn't exist under /etc/php/7.2/mods-available
2019-07-30 20:02:05,408: DEBUG - WARNING: Module apcu_bc ini file doesn't exist under /etc/php/7.2/mods-available
2019-07-30 20:02:05,409: DEBUG - php_invoke: Enable module apcu_bc for cli sapi
2019-07-30 20:02:05,409: DEBUG - php_invoke: Enable module apcu_bc for fpm sapi
2019-07-30 20:02:05,710: DEBUG - Paramétrage de acl (2.2.52-3+b1) ...
2019-07-30 20:02:05,811: DEBUG - Paramétrage de python-talloc (2.1.8-1) ...
2019-07-30 20:02:06,012: DEBUG - Paramétrage de libtevent0:amd64 (0.9.31-1) ...
2019-07-30 20:02:06,213: DEBUG - Paramétrage de libldb1:amd64 (2:1.1.27-1+deb9u1) ...
2019-07-30 20:02:06,314: DEBUG - Paramétrage de python-ldb (2:1.1.27-1+deb9u1) ...
2019-07-30 20:02:06,715: DEBUG - Paramétrage de samba-libs:amd64 (2:4.5.16+dfsg-1+deb9u2) ...
2019-07-30 20:02:06,916: DEBUG - Paramétrage de python-samba (2:4.5.16+dfsg-1+deb9u2) ...
2019-07-30 20:02:08,019: DEBUG - Paramétrage de libsmbclient:amd64 (2:4.5.16+dfsg-1+deb9u2) ...
2019-07-30 20:02:08,220: DEBUG - Paramétrage de smbclient (2:4.5.16+dfsg-1+deb9u2) ...
2019-07-30 20:02:08,421: DEBUG - Paramétrage de samba-common-bin (2:4.5.16+dfsg-1+deb9u2) ...
2019-07-30 20:02:08,622: DEBUG - Traitement des actions différées (« triggers ») pour libc-bin (2.24-11+deb9u4) ...
2019-07-30 20:02:13,034: DEBUG - + [[ -n /tmp/tmp.RypwmnQsLw ]]
2019-07-30 20:02:13,034: DEBUG - + rm -rf /tmp/tmp.RypwmnQsLw
2019-07-30 20:02:13,035: DEBUG - + ynh_package_is_installed nextcloud-ynh-deps
2019-07-30 20:02:13,035: DEBUG - + local legacy_args=p
2019-07-30 20:02:13,035: DEBUG - + args_array=([p]=package=)
2019-07-30 20:02:13,036: DEBUG - + declare -Ar args_array
2019-07-30 20:02:13,036: DEBUG - + local package
2019-07-30 20:02:13,036: DEBUG - + ynh_handle_getopts_args nextcloud-ynh-deps
2019-07-30 20:02:13,037: DEBUG - + set +x
2019-07-30 20:02:13,137: DEBUG - + echo '! Helper used in legacy mode !'
2019-07-30 20:02:13,138: DEBUG - + set +x
2019-07-30 20:02:13,138: DEBUG - + ynh_wait_dpkg_free
2019-07-30 20:02:13,138: DEBUG - + local try
2019-07-30 20:02:13,139: DEBUG - ++ seq 1 17
2019-07-30 20:02:13,139: DEBUG - + for try in `seq 1 17`
2019-07-30 20:02:13,139: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-07-30 20:02:13,943: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-07-30 20:02:13,944: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-07-30 20:02:13,944: DEBUG - + read dpkg_file
2019-07-30 20:02:13,944: DEBUG - + echo ''
2019-07-30 20:02:13,945: DEBUG - + grep -Pq '^[[:digit:]]+$'
2019-07-30 20:02:13,945: DEBUG - + read dpkg_file
2019-07-30 20:02:13,945: DEBUG - + return 0
2019-07-30 20:02:13,946: DEBUG - + dpkg-query -W -f '${Status}' nextcloud-ynh-deps
2019-07-30 20:02:13,946: DEBUG - + grep -c 'ok installed'
2019-07-30 20:02:14,047: DEBUG - + rm /tmp/nextcloud-ynh-deps.control
2019-07-30 20:02:14,047: 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'
2019-07-30 20:02:14,047: DEBUG - + local legacy_args=akv
2019-07-30 20:02:14,048: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-07-30 20:02:14,048: DEBUG - + declare -Ar args_array
2019-07-30 20:02:14,048: DEBUG - + local app
2019-07-30 20:02:14,049: DEBUG - + local key
2019-07-30 20:02:14,049: DEBUG - + local value
2019-07-30 20:02:14,050: 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'
2019-07-30 20:02:14,050: DEBUG - + set +x
2019-07-30 20:02:14,050: 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'
2019-07-30 20:02:14,051: DEBUG - + ACTION=set
2019-07-30 20:02:14,051: DEBUG - + APP=nextcloud
2019-07-30 20:02:14,051: DEBUG - + KEY=apt_dependencies
2019-07-30 20:02:14,052: 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'
2019-07-30 20:02:14,052: DEBUG - + python -
2019-07-30 20:02:14,353: DEBUG - + ynh_script_progression '--message=Creating a MySQL database...' --weight=2
2019-07-30 20:02:14,353: DEBUG - + set +x
2019-07-30 20:02:14,354: DEBUG - + set +x
2019-07-30 20:02:14,455: DEBUG - + echo '! Helper used in legacy mode !'
2019-07-30 20:02:14,455: INFO - [#########+..........] > Creating a MySQL database...
2019-07-30 20:02:14,456: DEBUG - + set +x
2019-07-30 20:02:14,456: DEBUG - + echo '[#########+..........] > Creating a MySQL database...'
2019-07-30 20:02:14,456: DEBUG - + set -x
2019-07-30 20:02:14,457: DEBUG - ++ ynh_sanitize_dbid --db_name=nextcloud
2019-07-30 20:02:14,457: DEBUG - ++ local legacy_args=n
2019-07-30 20:02:14,458: DEBUG - ++ args_array=([n]=db_name=)
2019-07-30 20:02:14,458: DEBUG - ++ declare -Ar args_array
2019-07-30 20:02:14,458: DEBUG - ++ local db_name
2019-07-30 20:02:14,459: DEBUG - ++ ynh_handle_getopts_args --db_name=nextcloud
2019-07-30 20:02:14,459: DEBUG - ++ set +x
2019-07-30 20:02:14,460: DEBUG - ++ echo nextcloud
2019-07-30 20:02:14,460: DEBUG - + db_name=nextcloud
2019-07-30 20:02:14,460: DEBUG - + ynh_app_setting_set --app=nextcloud --key=db_name --value=nextcloud
2019-07-30 20:02:14,461: DEBUG - + local legacy_args=akv
2019-07-30 20:02:14,461: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-07-30 20:02:14,461: DEBUG - + declare -Ar args_array
2019-07-30 20:02:14,462: DEBUG - + local app
2019-07-30 20:02:14,462: DEBUG - + local key
2019-07-30 20:02:14,462: DEBUG - + local value
2019-07-30 20:02:14,463: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=db_name --value=nextcloud
2019-07-30 20:02:14,463: DEBUG - + set +x
2019-07-30 20:02:14,463: DEBUG - + ynh_app_setting set nextcloud db_name nextcloud
2019-07-30 20:02:14,464: DEBUG - + ACTION=set
2019-07-30 20:02:14,464: DEBUG - + APP=nextcloud
2019-07-30 20:02:14,464: DEBUG - + KEY=db_name
2019-07-30 20:02:14,465: DEBUG - + VALUE=nextcloud
2019-07-30 20:02:14,465: DEBUG - + python -
2019-07-30 20:02:14,766: DEBUG - + ynh_mysql_setup_db --db_user=nextcloud --db_name=nextcloud
2019-07-30 20:02:14,766: DEBUG - + local legacy_args=unp
2019-07-30 20:02:14,767: DEBUG - + args_array=([u]=db_user= [n]=db_name= [p]=db_pwd=)
2019-07-30 20:02:14,767: DEBUG - + declare -Ar args_array
2019-07-30 20:02:14,767: DEBUG - + local db_user
2019-07-30 20:02:14,768: DEBUG - + local db_name
2019-07-30 20:02:14,768: DEBUG - + db_pwd=
2019-07-30 20:02:14,768: DEBUG - + ynh_handle_getopts_args --db_user=nextcloud --db_name=nextcloud
2019-07-30 20:02:14,769: DEBUG - + set +x
2019-07-30 20:02:14,769: DEBUG - ++ ynh_string_random
2019-07-30 20:02:14,769: DEBUG - ++ local legacy_args=l
2019-07-30 20:02:14,770: DEBUG - ++ args_array=([l]=length=)
2019-07-30 20:02:14,770: DEBUG - ++ declare -Ar args_array
2019-07-30 20:02:14,770: DEBUG - ++ local length
2019-07-30 20:02:14,771: DEBUG - ++ ynh_handle_getopts_args
2019-07-30 20:02:14,771: DEBUG - ++ set +x
2019-07-30 20:02:14,771: DEBUG - ++ length=24
2019-07-30 20:02:14,772: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2019-07-30 20:02:14,772: DEBUG - ++ sed -n 's/\(.\{24\}\).*/\1/p'
2019-07-30 20:02:14,772: DEBUG - ++ tr -c -d A-Za-z0-9
2019-07-30 20:02:14,773: DEBUG - + local new_db_pwd=**********
2019-07-30 20:02:14,773: DEBUG - + db_pwd=**********
2019-07-30 20:02:14,774: DEBUG - + ynh_mysql_create_db nextcloud nextcloud **********
2019-07-30 20:02:14,775: DEBUG - + local db=nextcloud
2019-07-30 20:02:14,775: DEBUG - + local 'sql=CREATE DATABASE nextcloud;'
2019-07-30 20:02:14,776: DEBUG - + [[ 3 -gt 1 ]]
2019-07-30 20:02:14,776: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON nextcloud.* TO '\''nextcloud'\''@'\''localhost'\'''
2019-07-30 20:02:14,776: DEBUG - + [[ -n ********** ]]
2019-07-30 20:02:14,777: DEBUG - + sql+=' IDENTIFIED BY '\''**********'\'''
2019-07-30 20:02:14,777: DEBUG - + sql+=' WITH GRANT OPTION;'
2019-07-30 20:02:14,777: DEBUG - + ynh_mysql_execute_as_root '--sql=CREATE DATABASE nextcloud; GRANT ALL PRIVILEGES ON nextcloud.* TO '\''nextcloud'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;'
2019-07-30 20:02:14,778: DEBUG - + local legacy_args=sd
2019-07-30 20:02:14,778: DEBUG - + args_array=([s]=sql= [d]=database=)
2019-07-30 20:02:14,778: DEBUG - + declare -Ar args_array
2019-07-30 20:02:14,779: DEBUG - + local sql
2019-07-30 20:02:14,779: DEBUG - + local database
2019-07-30 20:02:14,780: DEBUG - + ynh_handle_getopts_args '--sql=CREATE DATABASE nextcloud; GRANT ALL PRIVILEGES ON nextcloud.* TO '\''nextcloud'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;'
2019-07-30 20:02:14,780: DEBUG - + set +x
2019-07-30 20:02:14,780: DEBUG - + database=
2019-07-30 20:02:14,781: DEBUG - ++ sudo cat /etc/yunohost/mysql
2019-07-30 20:02:14,881: DEBUG - + ynh_mysql_connect_as --user=root --password=********** --database=
2019-07-30 20:02:14,882: DEBUG - + local legacy_args=upd
2019-07-30 20:02:14,882: DEBUG - + args_array=([u]=user= [p]=password= [d]=database=)
2019-07-30 20:02:14,883: DEBUG - + declare -Ar args_array
2019-07-30 20:02:14,883: DEBUG - + local user
2019-07-30 20:02:14,883: DEBUG - + local password
2019-07-30 20:02:14,884: DEBUG - + local database
2019-07-30 20:02:14,884: DEBUG - + ynh_handle_getopts_args --user=root --password=********** --database=
2019-07-30 20:02:14,884: DEBUG - + set +x
2019-07-30 20:02:14,885: DEBUG - + database=
2019-07-30 20:02:14,885: DEBUG - + mysql -u root --password=********** -B ''
2019-07-30 20:02:15,387: DEBUG - + ynh_app_setting_set --app=nextcloud --key=mysqlpwd --value=**********
2019-07-30 20:02:15,387: DEBUG - + local legacy_args=akv
2019-07-30 20:02:15,387: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-07-30 20:02:15,388: DEBUG - + declare -Ar args_array
2019-07-30 20:02:15,388: DEBUG - + local app
2019-07-30 20:02:15,388: DEBUG - + local key
2019-07-30 20:02:15,389: DEBUG - + local value
2019-07-30 20:02:15,389: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=mysqlpwd --value=**********
2019-07-30 20:02:15,389: DEBUG - + set +x
2019-07-30 20:02:15,490: DEBUG - + ynh_app_setting set nextcloud mysqlpwd **********
2019-07-30 20:02:15,491: DEBUG - + ACTION=set
2019-07-30 20:02:15,491: DEBUG - + APP=nextcloud
2019-07-30 20:02:15,491: DEBUG - + KEY=mysqlpwd
2019-07-30 20:02:15,492: DEBUG - + VALUE=**********
2019-07-30 20:02:15,492: DEBUG - + python -
2019-07-30 20:02:15,693: DEBUG - + ynh_script_progression '--message=Setting up source files...5'
2019-07-30 20:02:15,694: DEBUG - + set +x
2019-07-30 20:02:15,694: DEBUG - + set +x
2019-07-30 20:02:15,795: DEBUG - + echo '! Helper used in legacy mode !'
2019-07-30 20:02:15,795: DEBUG - + set +x
2019-07-30 20:02:15,795: DEBUG - + echo '[##########..........] > Setting up source files...5'
2019-07-30 20:02:15,796: DEBUG - + set -x
2019-07-30 20:02:15,796: DEBUG - + source upgrade.d/upgrade.last.sh
2019-07-30 20:02:15,796: DEBUG - ++ next_version=15.0.7
2019-07-30 20:02:15,797: DEBUG - ++ nextcloud_source_sha256=3e6158951fa72010ccd50dbeac05d8df162183f7bbc62a1c6c89ed7081fa9d49
2019-07-30 20:02:15,797: DEBUG - + cp ../conf/app.src.default ../conf/app.src
2019-07-30 20:02:15,797: DEBUG - + ynh_replace_string --match_string=__VERSION__ --replace_string=15.0.7 --target_file=../conf/app.src
2019-07-30 20:02:15,798: DEBUG - + local legacy_args=mrf
2019-07-30 20:02:15,798: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-07-30 20:02:15,799: DEBUG - + declare -Ar args_array
2019-07-30 20:02:15,799: DEBUG - + local match_string
2019-07-30 20:02:15,799: DEBUG - + local replace_string
2019-07-30 20:02:15,800: DEBUG - + local target_file
2019-07-30 20:02:15,800: DEBUG - + ynh_handle_getopts_args --match_string=__VERSION__ --replace_string=15.0.7 --target_file=../conf/app.src
2019-07-30 20:02:15,800: DEBUG - + set +x
2019-07-30 20:02:15,901: DEBUG - + local delimit=@
2019-07-30 20:02:15,901: INFO - [##########..........] > Setting up source files...5
2019-07-30 20:02:15,902: DEBUG - + match_string=__VERSION__
2019-07-30 20:02:15,903: DEBUG - + replace_string=15.0.7
2019-07-30 20:02:15,903: DEBUG - + sudo sed --in-place s@__VERSION__@15.0.7@g ../conf/app.src
2019-07-30 20:02:15,903: DEBUG - + ynh_replace_string --match_string=__SHA256_SUM__ --replace_string=3e6158951fa72010ccd50dbeac05d8df162183f7bbc62a1c6c89ed7081fa9d49 --target_file=../conf/app.src
2019-07-30 20:02:15,904: DEBUG - + local legacy_args=mrf
2019-07-30 20:02:15,904: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-07-30 20:02:15,904: DEBUG - + declare -Ar args_array
2019-07-30 20:02:15,905: DEBUG - + local match_string
2019-07-30 20:02:15,905: DEBUG - + local replace_string
2019-07-30 20:02:15,906: DEBUG - + local target_file
2019-07-30 20:02:15,906: DEBUG - + ynh_handle_getopts_args --match_string=__SHA256_SUM__ --replace_string=3e6158951fa72010ccd50dbeac05d8df162183f7bbc62a1c6c89ed7081fa9d49 --target_file=../conf/app.src
2019-07-30 20:02:15,906: DEBUG - + set +x
2019-07-30 20:02:15,907: DEBUG - + local delimit=@
2019-07-30 20:02:15,907: DEBUG - + match_string=__SHA256_SUM__
2019-07-30 20:02:15,907: DEBUG - + replace_string=3e6158951fa72010ccd50dbeac05d8df162183f7bbc62a1c6c89ed7081fa9d49
2019-07-30 20:02:15,908: DEBUG - + sudo sed --in-place s@__SHA256_SUM__@3e6158951fa72010ccd50dbeac05d8df162183f7bbc62a1c6c89ed7081fa9d49@g ../conf/app.src
2019-07-30 20:02:16,008: DEBUG - + ynh_app_setting_set --app=nextcloud --key=final_path --value=/var/www/nextcloud
2019-07-30 20:02:16,009: DEBUG - + local legacy_args=akv
2019-07-30 20:02:16,009: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-07-30 20:02:16,010: DEBUG - + declare -Ar args_array
2019-07-30 20:02:16,010: DEBUG - + local app
2019-07-30 20:02:16,010: DEBUG - + local key
2019-07-30 20:02:16,011: DEBUG - + local value
2019-07-30 20:02:16,011: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=final_path --value=/var/www/nextcloud
2019-07-30 20:02:16,011: DEBUG - + set +x
2019-07-30 20:02:16,012: DEBUG - + ynh_app_setting set nextcloud final_path /var/www/nextcloud
2019-07-30 20:02:16,012: DEBUG - + ACTION=set
2019-07-30 20:02:16,012: DEBUG - + APP=nextcloud
2019-07-30 20:02:16,013: DEBUG - + KEY=final_path
2019-07-30 20:02:16,013: DEBUG - + VALUE=/var/www/nextcloud
2019-07-30 20:02:16,013: DEBUG - + python -
2019-07-30 20:02:16,314: 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
2019-07-30 20:02:16,315: DEBUG - + ynh_setup_source --dest_dir=/var/www/nextcloud
2019-07-30 20:02:16,315: DEBUG - + local legacy_args=ds
2019-07-30 20:02:16,316: DEBUG - + args_array=([d]=dest_dir= [s]=source_id=)
2019-07-30 20:02:16,316: DEBUG - + declare -Ar args_array
2019-07-30 20:02:16,316: DEBUG - + local dest_dir
2019-07-30 20:02:16,317: DEBUG - + local source_id
2019-07-30 20:02:16,317: DEBUG - + ynh_handle_getopts_args --dest_dir=/var/www/nextcloud
2019-07-30 20:02:16,317: DEBUG - + set +x
2019-07-30 20:02:16,318: DEBUG - + source_id=app
2019-07-30 20:02:16,318: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/nextcloud_ynh-7be97bb4844447d698a51eaf782e273b8ed6f867/scripts/../conf/app.src
2019-07-30 20:02:16,318: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/nextcloud_ynh-7be97bb4844447d698a51eaf782e273b8ed6f867/scripts/../conf/app.src ']'
2019-07-30 20:02:16,319: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/nextcloud_ynh-7be97bb4844447d698a51eaf782e273b8ed6f867/scripts/../conf/app.src
2019-07-30 20:02:16,319: DEBUG - ++ cut -d= -f2-
2019-07-30 20:02:16,319: DEBUG - + local src_url=https://download.nextcloud.com/server/releases/nextcloud-15.0.7.tar.bz2
2019-07-30 20:02:16,320: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/nextcloud_ynh-7be97bb4844447d698a51eaf782e273b8ed6f867/scripts/../conf/app.src
2019-07-30 20:02:16,320: DEBUG - ++ cut -d= -f2-
2019-07-30 20:02:16,320: DEBUG - + local src_sum=3e6158951fa72010ccd50dbeac05d8df162183f7bbc62a1c6c89ed7081fa9d49
2019-07-30 20:02:16,321: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/nextcloud_ynh-7be97bb4844447d698a51eaf782e273b8ed6f867/scripts/../conf/app.src
2019-07-30 20:02:16,321: DEBUG - ++ cut -d= -f2-
2019-07-30 20:02:16,321: DEBUG - + local src_sumprg=sha256sum
2019-07-30 20:02:16,322: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/nextcloud_ynh-7be97bb4844447d698a51eaf782e273b8ed6f867/scripts/../conf/app.src
2019-07-30 20:02:16,322: DEBUG - ++ cut -d= -f2-
2019-07-30 20:02:16,322: DEBUG - + local src_format=tar.bz2
2019-07-30 20:02:16,323: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/nextcloud_ynh-7be97bb4844447d698a51eaf782e273b8ed6f867/scripts/../conf/app.src
2019-07-30 20:02:16,323: DEBUG - ++ cut -d= -f2-
2019-07-30 20:02:16,323: DEBUG - + local src_extract=
2019-07-30 20:02:16,324: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/nextcloud_ynh-7be97bb4844447d698a51eaf782e273b8ed6f867/scripts/../conf/app.src
2019-07-30 20:02:16,324: DEBUG - ++ cut -d= -f2-
2019-07-30 20:02:16,324: DEBUG - + local src_in_subdir=true
2019-07-30 20:02:16,325: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/nextcloud_ynh-7be97bb4844447d698a51eaf782e273b8ed6f867/scripts/../conf/app.src
2019-07-30 20:02:16,325: DEBUG - ++ cut -d= -f2-
2019-07-30 20:02:16,325: DEBUG - + local src_filename=
2019-07-30 20:02:16,326: DEBUG - + src_sumprg=sha256sum
2019-07-30 20:02:16,326: DEBUG - + src_in_subdir=true
2019-07-30 20:02:16,326: DEBUG - + src_format=tar.bz2
2019-07-30 20:02:16,327: DEBUG - ++ echo tar.bz2
2019-07-30 20:02:16,327: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2019-07-30 20:02:16,327: DEBUG - + src_format=tar.bz2
2019-07-30 20:02:16,328: DEBUG - + src_extract=true
2019-07-30 20:02:16,328: DEBUG - + '[' '' = '' ']'
2019-07-30 20:02:16,328: DEBUG - + src_filename=app.tar.bz2
2019-07-30 20:02:16,329: DEBUG - + local local_src=/opt/yunohost-apps-src/nextcloud/app.tar.bz2
2019-07-30 20:02:16,329: DEBUG - + test -e /opt/yunohost-apps-src/nextcloud/app.tar.bz2
2019-07-30 20:02:16,329: DEBUG - ++ wget -nv -O app.tar.bz2 https://download.nextcloud.com/server/releases/nextcloud-15.0.7.tar.bz2
2019-07-30 20:02:46,295: DEBUG - + local 'out=2019-07-30 20:02:46 URL:https://download.nextcloud.com/server/releases/nextcloud-15.0.7.tar.bz2 [56417492/56417492] -> "app.tar.bz2" [1]'
2019-07-30 20:02:46,295: DEBUG - + echo '3e6158951fa72010ccd50dbeac05d8df162183f7bbc62a1c6c89ed7081fa9d49 app.tar.bz2'
2019-07-30 20:02:46,296: DEBUG - + sha256sum -c --status
2019-07-30 20:02:46,797: DEBUG - + mkdir -p /var/www/nextcloud
2019-07-30 20:02:46,898: DEBUG - + true
2019-07-30 20:02:46,899: DEBUG - + '[' tar.bz2 = zip ']'
2019-07-30 20:02:46,899: DEBUG - + local strip=
2019-07-30 20:02:46,899: DEBUG - + '[' true '!=' false ']'
2019-07-30 20:02:46,900: DEBUG - + '[' true == true ']'
2019-07-30 20:02:46,900: DEBUG - + local sub_dirs=1
2019-07-30 20:02:46,900: DEBUG - + strip='--strip-components 1'
2019-07-30 20:02:46,901: DEBUG - + [[ tar.bz2 =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2019-07-30 20:02:46,901: DEBUG - + tar -xf app.tar.bz2 -C /var/www/nextcloud --strip-components 1
2019-07-30 20:03:06,450: DEBUG - ++ find /var/cache/yunohost/from_file/nextcloud_ynh-7be97bb4844447d698a51eaf782e273b8ed6f867/scripts/../sources/patches/ -type f -name 'app-*.patch'
2019-07-30 20:03:06,451: DEBUG - ++ wc -l
2019-07-30 20:03:06,551: DEBUG - + ((  3 > 0  ))
2019-07-30 20:03:06,552: DEBUG - ++ pwd
2019-07-30 20:03:06,552: DEBUG - + local old_dir=/var/cache/yunohost/from_file/nextcloud_ynh-7be97bb4844447d698a51eaf782e273b8ed6f867/scripts
2019-07-30 20:03:06,553: DEBUG - + cd /var/www/nextcloud
2019-07-30 20:03:06,553: DEBUG - + for p in $YNH_CWD/../sources/patches/${source_id}-*.patch
2019-07-30 20:03:06,553: DEBUG - + patch -p1
2019-07-30 20:03:06,654: DEBUG - patching file core/Controller/LoginController.php
2019-07-30 20:03:06,654: DEBUG - Hunk #2 FAILED at 130.
2019-07-30 20:03:06,655: DEBUG - Hunk #3 succeeded at 314 (offset 11 lines).
2019-07-30 20:03:06,655: DEBUG - Hunk #4 succeeded at 325 (offset 11 lines).
2019-07-30 20:03:06,655: DEBUG - 1 out of 4 hunks FAILED -- saving rejects to file core/Controller/LoginController.php.rej
2019-07-30 20:03:06,656: DEBUG - + for p in $YNH_CWD/../sources/patches/${source_id}-*.patch
2019-07-30 20:03:06,656: DEBUG - + patch -p1
2019-07-30 20:03:06,657: DEBUG - patching file lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php
2019-07-30 20:03:06,657: DEBUG - patching file lib/public/AppFramework/Http/EmptyContentSecurityPolicy.php
2019-07-30 20:03:06,657: DEBUG - + for p in $YNH_CWD/../sources/patches/${source_id}-*.patch
2019-07-30 20:03:06,658: DEBUG - + patch -p1
2019-07-30 20:03:06,658: DEBUG - patching file lib/public/AppFramework/Http/ContentSecurityPolicy.php
2019-07-30 20:03:06,658: DEBUG - + cd /var/cache/yunohost/from_file/nextcloud_ynh-7be97bb4844447d698a51eaf782e273b8ed6f867/scripts
2019-07-30 20:03:06,659: DEBUG - + test -e /var/cache/yunohost/from_file/nextcloud_ynh-7be97bb4844447d698a51eaf782e273b8ed6f867/scripts/../sources/extra_files/app
2019-07-30 20:03:06,659: DEBUG - + ynh_script_progression '--message=Configuring nginx web server...' --weight=2
2019-07-30 20:03:06,659: DEBUG - + set +x
2019-07-30 20:03:06,660: DEBUG - + set +x
2019-07-30 20:03:06,660: DEBUG - + echo '! Helper used in legacy mode !'
2019-07-30 20:03:06,660: DEBUG - + set +x
2019-07-30 20:03:06,661: DEBUG - + echo '[##########..........] > Configuring nginx web server...'
2019-07-30 20:03:06,661: DEBUG - + set -x
2019-07-30 20:03:06,661: DEBUG - + is_url_handled --url=https://philoxweb.be/.well-known/caldav
2019-07-30 20:03:06,662: DEBUG - + args_array=([u]=url=)
2019-07-30 20:03:06,663: DEBUG - + declare -Ar args_array
2019-07-30 20:03:06,664: DEBUG - + local url
2019-07-30 20:03:06,664: DEBUG - + ynh_handle_getopts_args --url=https://philoxweb.be/.well-known/caldav
2019-07-30 20:03:06,664: DEBUG - + set +x
2019-07-30 20:03:06,765: DEBUG - ++ curl --insecure --silent --output /dev/null --write-out '%{http_code};%{redirect_url}' https://philoxweb.be/.well-known/caldav
2019-07-30 20:03:06,765: INFO - [##########..........] > Configuring nginx web server...
2019-07-30 20:03:07,067: DEBUG - + local 'curl_output=301;https://philoxweb.be/baikal/cal.php'
2019-07-30 20:03:07,068: WARNING - e[93me[1m[WARN]e[0m Another app already uses the domain philoxweb.be to serve a caldav/carddav feature. You may encounter issues when dealing with your calendar or address book.
2019-07-30 20:03:07,069: DEBUG - + local http_code=301
2019-07-30 20:03:07,069: DEBUG - + local redirection=https://philoxweb.be/baikal/cal.php
2019-07-30 20:03:07,069: DEBUG - + '[' 301 = 404 ']'
2019-07-30 20:03:07,070: DEBUG - + [[ https://philoxweb.be/baikal/cal.php =~ /yunohost/admin ]]
2019-07-30 20:03:07,070: DEBUG - + [[ https://philoxweb.be/baikal/cal.php =~ /yunohost/sso ]]
2019-07-30 20:03:07,071: DEBUG - + ynh_print_warn '--message=Another app already uses the domain philoxweb.be to serve a caldav/carddav feature. You may encounter issues when dealing with your calendar or address book.'
2019-07-30 20:03:07,071: DEBUG - + local legacy_args=m
2019-07-30 20:03:07,071: DEBUG - + args_array=([m]=message=)
2019-07-30 20:03:07,072: DEBUG - + declare -Ar args_array
2019-07-30 20:03:07,072: DEBUG - + local message
2019-07-30 20:03:07,072: DEBUG - + ynh_handle_getopts_args '--message=Another app already uses the domain philoxweb.be to serve a caldav/carddav feature. You may encounter issues when dealing with your calendar or address book.'
2019-07-30 20:03:07,073: DEBUG - + set +x
2019-07-30 20:03:07,073: DEBUG - + ynh_print_log '\e[93m\e[1m[WARN]\e[0m Another app already uses the domain philoxweb.be to serve a caldav/carddav feature. You may encounter issues when dealing with your calendar or address book.'
2019-07-30 20:03:07,074: DEBUG - + echo -e '\e[93m\e[1m[WARN]\e[0m Another app already uses the domain philoxweb.be to serve a caldav/carddav feature. You may encounter issues when dealing with your calendar or address book.'
2019-07-30 20:03:07,074: DEBUG - + sed --in-place --regexp-extended '/^location = \/\.well\-known\/(caldav|carddav) \{/,/\}/d' ../conf/nginx.conf
2019-07-30 20:03:07,175: DEBUG - + ynh_add_nginx_config
2019-07-30 20:03:07,175: DEBUG - + finalnginxconf=/etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:07,175: DEBUG - + local others_var=
2019-07-30 20:03:07,176: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:07,176: DEBUG - + local legacy_args=f
2019-07-30 20:03:07,176: DEBUG - + args_array=([f]=file=)
2019-07-30 20:03:07,177: DEBUG - + declare -Ar args_array
2019-07-30 20:03:07,177: DEBUG - + local file
2019-07-30 20:03:07,178: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:07,178: DEBUG - + set +x
2019-07-30 20:03:07,178: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_philoxweb.be.d_nextcloud.conf
2019-07-30 20:03:07,179: DEBUG - ++ ynh_app_setting_get --app=nextcloud --key=**********
2019-07-30 20:03:07,179: DEBUG - ++ local legacy_args=ak
2019-07-30 20:03:07,179: DEBUG - ++ args_array=([a]=app= [k]=key=)
2019-07-30 20:03:07,180: DEBUG - ++ declare -Ar args_array
2019-07-30 20:03:07,180: DEBUG - ++ local app
2019-07-30 20:03:07,180: DEBUG - ++ local key
2019-07-30 20:03:07,181: DEBUG - ++ ynh_handle_getopts_args --app=nextcloud --key=**********
2019-07-30 20:03:07,181: DEBUG - ++ set +x
2019-07-30 20:03:07,181: DEBUG - ++ ynh_app_setting get nextcloud **********
2019-07-30 20:03:07,182: DEBUG - ++ ACTION=get
2019-07-30 20:03:07,182: DEBUG - ++ APP=nextcloud
2019-07-30 20:03:07,183: DEBUG - ++ KEY=**********
2019-07-30 20:03:07,183: DEBUG - ++ VALUE=
2019-07-30 20:03:07,183: DEBUG - ++ python -
2019-07-30 20:03:07,585: DEBUG - + local checksum_value=
2019-07-30 20:03:07,585: DEBUG - + backup_file_checksum=
2019-07-30 20:03:07,585: DEBUG - + '[' -n '' ']'
2019-07-30 20:03:07,586: DEBUG - + sudo cp ../conf/nginx.conf /etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:07,887: DEBUG - + test -n /nextcloud
2019-07-30 20:03:07,887: DEBUG - + local path_url_slash_less=/nextcloud
2019-07-30 20:03:07,888: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/nextcloud/ --target_file=/etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:07,888: DEBUG - + local legacy_args=mrf
2019-07-30 20:03:07,888: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-07-30 20:03:07,889: DEBUG - + declare -Ar args_array
2019-07-30 20:03:07,889: DEBUG - + local match_string
2019-07-30 20:03:07,889: DEBUG - + local replace_string
2019-07-30 20:03:07,890: DEBUG - + local target_file
2019-07-30 20:03:07,891: DEBUG - + ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/nextcloud/ --target_file=/etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:07,891: DEBUG - + set +x
2019-07-30 20:03:07,991: DEBUG - + local delimit=@
2019-07-30 20:03:07,992: DEBUG - + match_string=__PATH__/
2019-07-30 20:03:07,992: DEBUG - + replace_string=/nextcloud/
2019-07-30 20:03:07,993: DEBUG - + sudo sed --in-place s@__PATH__/@/nextcloud/@g /etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:07,993: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/nextcloud --target_file=/etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:07,993: DEBUG - + local legacy_args=mrf
2019-07-30 20:03:07,994: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-07-30 20:03:07,994: DEBUG - + declare -Ar args_array
2019-07-30 20:03:07,994: DEBUG - + local match_string
2019-07-30 20:03:07,995: DEBUG - + local replace_string
2019-07-30 20:03:07,995: DEBUG - + local target_file
2019-07-30 20:03:07,995: DEBUG - + ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/nextcloud --target_file=/etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:07,996: DEBUG - + set +x
2019-07-30 20:03:07,996: DEBUG - + local delimit=@
2019-07-30 20:03:07,996: DEBUG - + match_string=__PATH__
2019-07-30 20:03:07,997: DEBUG - + replace_string=/nextcloud
2019-07-30 20:03:07,997: DEBUG - + sudo sed --in-place s@__PATH__@/nextcloud@g /etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:08,098: DEBUG - + test -n philoxweb.be
2019-07-30 20:03:08,098: DEBUG - + ynh_replace_string --match_string=__DOMAIN__ --replace_string=philoxweb.be --target_file=/etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:08,099: DEBUG - + local legacy_args=mrf
2019-07-30 20:03:08,099: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-07-30 20:03:08,099: DEBUG - + declare -Ar args_array
2019-07-30 20:03:08,100: DEBUG - + local match_string
2019-07-30 20:03:08,100: DEBUG - + local replace_string
2019-07-30 20:03:08,100: DEBUG - + local target_file
2019-07-30 20:03:08,101: DEBUG - + ynh_handle_getopts_args --match_string=__DOMAIN__ --replace_string=philoxweb.be --target_file=/etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:08,101: DEBUG - + set +x
2019-07-30 20:03:08,101: DEBUG - + local delimit=@
2019-07-30 20:03:08,102: DEBUG - + match_string=__DOMAIN__
2019-07-30 20:03:08,102: DEBUG - + replace_string=philoxweb.be
2019-07-30 20:03:08,102: DEBUG - + sudo sed --in-place s@__DOMAIN__@philoxweb.be@g /etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:08,103: DEBUG - + test -n ''
2019-07-30 20:03:08,103: DEBUG - + test -n nextcloud
2019-07-30 20:03:08,103: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=nextcloud --target_file=/etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:08,104: DEBUG - + local legacy_args=mrf
2019-07-30 20:03:08,104: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-07-30 20:03:08,104: DEBUG - + declare -Ar args_array
2019-07-30 20:03:08,105: DEBUG - + local match_string
2019-07-30 20:03:08,105: DEBUG - + local replace_string
2019-07-30 20:03:08,105: DEBUG - + local target_file
2019-07-30 20:03:08,106: DEBUG - + ynh_handle_getopts_args --match_string=__NAME__ --replace_string=nextcloud --target_file=/etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:08,106: DEBUG - + set +x
2019-07-30 20:03:08,207: DEBUG - + local delimit=@
2019-07-30 20:03:08,207: DEBUG - + match_string=__NAME__
2019-07-30 20:03:08,208: DEBUG - + replace_string=nextcloud
2019-07-30 20:03:08,208: DEBUG - + sudo sed --in-place s@__NAME__@nextcloud@g /etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:08,208: DEBUG - + test -n /var/www/nextcloud
2019-07-30 20:03:08,209: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/nextcloud --target_file=/etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:08,209: DEBUG - + local legacy_args=mrf
2019-07-30 20:03:08,209: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-07-30 20:03:08,210: DEBUG - + declare -Ar args_array
2019-07-30 20:03:08,210: DEBUG - + local match_string
2019-07-30 20:03:08,210: DEBUG - + local replace_string
2019-07-30 20:03:08,211: DEBUG - + local target_file
2019-07-30 20:03:08,211: DEBUG - + ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/nextcloud --target_file=/etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:08,211: DEBUG - + set +x
2019-07-30 20:03:08,212: DEBUG - + local delimit=@
2019-07-30 20:03:08,212: DEBUG - + match_string=__FINALPATH__
2019-07-30 20:03:08,212: DEBUG - + replace_string=/var/www/nextcloud
2019-07-30 20:03:08,213: DEBUG - + sudo sed --in-place s@__FINALPATH__@/var/www/nextcloud@g /etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:08,313: DEBUG - + '[' /nextcloud '!=' / ']'
2019-07-30 20:03:08,314: DEBUG - + ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:08,314: DEBUG - + local legacy_args=mrf
2019-07-30 20:03:08,315: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-07-30 20:03:08,315: DEBUG - + declare -Ar args_array
2019-07-30 20:03:08,315: DEBUG - + local match_string
2019-07-30 20:03:08,316: DEBUG - + local replace_string
2019-07-30 20:03:08,316: DEBUG - + local target_file
2019-07-30 20:03:08,316: DEBUG - + ynh_handle_getopts_args '--match_string=^#sub_path_only' --replace_string= --target_file=/etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:08,317: DEBUG - + set +x
2019-07-30 20:03:08,317: DEBUG - + local delimit=@
2019-07-30 20:03:08,317: DEBUG - + match_string='^#sub_path_only'
2019-07-30 20:03:08,318: DEBUG - + replace_string=
2019-07-30 20:03:08,318: DEBUG - + sudo sed --in-place 's@^#sub_path_only@@g' /etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:08,318: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:08,319: DEBUG - + local legacy_args=f
2019-07-30 20:03:08,319: DEBUG - + args_array=([f]=file=)
2019-07-30 20:03:08,319: DEBUG - + declare -Ar args_array
2019-07-30 20:03:08,320: DEBUG - + local file
2019-07-30 20:03:08,320: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:08,320: DEBUG - + set +x
2019-07-30 20:03:08,321: DEBUG - + local checksum_setting_name=**********
2019-07-30 20:03:08,321: DEBUG - ++ cut '-d ' -f1
2019-07-30 20:03:08,321: DEBUG - ++ sudo md5sum /etc/nginx/conf.d/philoxweb.be.d/nextcloud.conf
2019-07-30 20:03:08,422: DEBUG - + ynh_app_setting_set --app=nextcloud --key=********** --value=d3e6e378e57f3955e2964617f7eb3e66
2019-07-30 20:03:08,423: DEBUG - + local legacy_args=akv
2019-07-30 20:03:08,423: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-07-30 20:03:08,423: DEBUG - + declare -Ar args_array
2019-07-30 20:03:08,424: DEBUG - + local app
2019-07-30 20:03:08,424: DEBUG - + local key
2019-07-30 20:03:08,424: DEBUG - + local value
2019-07-30 20:03:08,425: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=********** --value=d3e6e378e57f3955e2964617f7eb3e66
2019-07-30 20:03:08,425: DEBUG - + set +x
2019-07-30 20:03:08,425: DEBUG - + ynh_app_setting set nextcloud ********** d3e6e378e57f3955e2964617f7eb3e66
2019-07-30 20:03:08,426: DEBUG - + ACTION=set
2019-07-30 20:03:08,426: DEBUG - + APP=nextcloud
2019-07-30 20:03:08,426: DEBUG - + KEY=**********
2019-07-30 20:03:08,427: DEBUG - + VALUE=d3e6e378e57f3955e2964617f7eb3e66
2019-07-30 20:03:08,427: DEBUG - + python -
2019-07-30 20:03:08,728: DEBUG - + '[' -n '' ']'
2019-07-30 20:03:08,728: DEBUG - + unset backup_file_checksum
2019-07-30 20:03:08,729: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2019-07-30 20:03:08,729: DEBUG - + local legacy_args=nalpte
2019-07-30 20:03:08,729: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
2019-07-30 20:03:08,730: DEBUG - + declare -Ar args_array
2019-07-30 20:03:08,730: DEBUG - + local service_name
2019-07-30 20:03:08,730: DEBUG - + local action
2019-07-30 20:03:08,731: DEBUG - + local line_match
2019-07-30 20:03:08,731: DEBUG - + local length
2019-07-30 20:03:08,732: DEBUG - + local log_path
2019-07-30 20:03:08,732: DEBUG - + local timeout
2019-07-30 20:03:08,732: DEBUG - + ynh_handle_getopts_args --service_name=nginx --action=reload
2019-07-30 20:03:08,732: DEBUG - + set +x
2019-07-30 20:03:08,733: DEBUG - + local service_name=nginx
2019-07-30 20:03:08,733: DEBUG - + local action=reload
2019-07-30 20:03:08,733: DEBUG - + local log_path=/var/log/nginx/nginx.log
2019-07-30 20:03:08,734: DEBUG - + local length=20
2019-07-30 20:03:08,735: DEBUG - + local timeout=300
2019-07-30 20:03:08,735: DEBUG - + [[ -n '' ]]
2019-07-30 20:03:08,736: DEBUG - + '[' reload == reload ']'
2019-07-30 20:03:08,736: DEBUG - + action=reload-or-restart
2019-07-30 20:03:08,736: DEBUG - + systemctl reload-or-restart nginx
2019-07-30 20:03:10,641: DEBUG - + [[ -n '' ]]
2019-07-30 20:03:10,642: DEBUG - + ynh_script_progression '--message=Configuring system user...' --weight=3
2019-07-30 20:03:10,642: DEBUG - + set +x
2019-07-30 20:03:10,743: DEBUG - + set +x
2019-07-30 20:03:10,743: DEBUG - + echo '! Helper used in legacy mode !'
2019-07-30 20:03:10,744: DEBUG - + set +x
2019-07-30 20:03:10,744: DEBUG - + echo '[##########..........] > Configuring system user...'
2019-07-30 20:03:10,744: DEBUG - + set -x
2019-07-30 20:03:10,745: DEBUG - + ynh_system_user_create --username=nextcloud
2019-07-30 20:03:10,745: DEBUG - + local legacy_args=uhs
2019-07-30 20:03:10,745: DEBUG - + args_array=([u]=username= [h]=home_dir= [s]=use_shell)
2019-07-30 20:03:10,746: INFO - [##########..........] > Configuring system user...
2019-07-30 20:03:10,747: DEBUG - + declare -Ar args_array
2019-07-30 20:03:10,747: DEBUG - + local username
2019-07-30 20:03:10,747: DEBUG - + local home_dir
2019-07-30 20:03:10,748: DEBUG - + local use_shell
2019-07-30 20:03:10,748: DEBUG - + ynh_handle_getopts_args --username=nextcloud
2019-07-30 20:03:10,749: DEBUG - + set +x
2019-07-30 20:03:10,749: DEBUG - + use_shell=0
2019-07-30 20:03:10,749: DEBUG - + home_dir=
2019-07-30 20:03:10,749: DEBUG - + ynh_system_user_exists nextcloud
2019-07-30 20:03:10,750: DEBUG - + local legacy_args=u
2019-07-30 20:03:10,751: DEBUG - + args_array=([u]=username=)
2019-07-30 20:03:10,751: DEBUG - + declare -Ar args_array
2019-07-30 20:03:10,751: DEBUG - + local username
2019-07-30 20:03:10,752: DEBUG - + ynh_handle_getopts_args nextcloud
2019-07-30 20:03:10,752: DEBUG - + set +x
2019-07-30 20:03:10,752: DEBUG - + echo '! Helper used in legacy mode !'
2019-07-30 20:03:10,753: DEBUG - + set +x
2019-07-30 20:03:10,753: DEBUG - + getent passwd nextcloud
2019-07-30 20:03:10,854: DEBUG - + '[' -n '' ']'
2019-07-30 20:03:10,854: DEBUG - + local user_home_dir=--no-create-home
2019-07-30 20:03:10,855: DEBUG - + '[' 0 -eq 1 ']'
2019-07-30 20:03:10,855: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2019-07-30 20:03:10,855: DEBUG - + useradd --no-create-home --system --user-group nextcloud --shell /usr/sbin/nologin
2019-07-30 20:03:14,765: DEBUG - + ynh_script_progression '--message=Configuring php-fpm...' --weight=2
2019-07-30 20:03:14,765: DEBUG - + set +x
2019-07-30 20:03:14,866: DEBUG - + set +x
2019-07-30 20:03:14,867: INFO - [##########+.........] > Configuring php-fpm...
2019-07-30 20:03:14,867: DEBUG - + echo '! Helper used in legacy mode !'
2019-07-30 20:03:14,868: DEBUG - + set +x
2019-07-30 20:03:14,868: DEBUG - + echo '[##########+.........] > Configuring php-fpm...'
2019-07-30 20:03:14,868: DEBUG - + set -x
2019-07-30 20:03:14,869: DEBUG - + ynh_add_fpm_config
2019-07-30 20:03:14,869: DEBUG - + local legacy_args=v
2019-07-30 20:03:14,869: DEBUG - + args_array=([v]=phpversion=)
2019-07-30 20:03:14,870: DEBUG - + declare -Ar args_array
2019-07-30 20:03:14,870: DEBUG - + local phpversion
2019-07-30 20:03:14,871: DEBUG - + ynh_handle_getopts_args
2019-07-30 20:03:14,871: DEBUG - + set +x
2019-07-30 20:03:14,871: DEBUG - + phpversion=7.0
2019-07-30 20:03:14,872: DEBUG - + local fpm_config_dir=/etc/php/7.0/fpm
2019-07-30 20:03:14,872: DEBUG - + local fpm_service=php7.0-fpm
2019-07-30 20:03:14,872: DEBUG - ++ ynh_get_debian_release
2019-07-30 20:03:14,873: DEBUG - +++ lsb_release --codename --short
2019-07-30 20:03:15,475: DEBUG - ++ echo stretch
2019-07-30 20:03:15,475: DEBUG - + '[' stretch == jessie ']'
2019-07-30 20:03:15,476: DEBUG - + ynh_app_setting_set --app=nextcloud --key=fpm_config_dir --value=/etc/php/7.0/fpm
2019-07-30 20:03:15,476: DEBUG - + local legacy_args=akv
2019-07-30 20:03:15,476: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-07-30 20:03:15,477: DEBUG - + declare -Ar args_array
2019-07-30 20:03:15,478: DEBUG - + local app
2019-07-30 20:03:15,478: DEBUG - + local key
2019-07-30 20:03:15,479: DEBUG - + local value
2019-07-30 20:03:15,479: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=fpm_config_dir --value=/etc/php/7.0/fpm
2019-07-30 20:03:15,479: DEBUG - + set +x
2019-07-30 20:03:15,480: DEBUG - + ynh_app_setting set nextcloud fpm_config_dir /etc/php/7.0/fpm
2019-07-30 20:03:15,480: DEBUG - + ACTION=set
2019-07-30 20:03:15,480: DEBUG - + APP=nextcloud
2019-07-30 20:03:15,481: DEBUG - + KEY=fpm_config_dir
2019-07-30 20:03:15,481: DEBUG - + VALUE=/etc/php/7.0/fpm
2019-07-30 20:03:15,481: DEBUG - + python -
2019-07-30 20:03:15,782: DEBUG - + ynh_app_setting_set --app=nextcloud --key=fpm_service --value=php7.0-fpm
2019-07-30 20:03:15,783: DEBUG - + local legacy_args=akv
2019-07-30 20:03:15,783: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-07-30 20:03:15,784: DEBUG - + declare -Ar args_array
2019-07-30 20:03:15,784: DEBUG - + local app
2019-07-30 20:03:15,784: DEBUG - + local key
2019-07-30 20:03:15,785: DEBUG - + local value
2019-07-30 20:03:15,785: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=fpm_service --value=php7.0-fpm
2019-07-30 20:03:15,785: DEBUG - + set +x
2019-07-30 20:03:15,886: DEBUG - + ynh_app_setting set nextcloud fpm_service php7.0-fpm
2019-07-30 20:03:15,887: DEBUG - + ACTION=set
2019-07-30 20:03:15,887: DEBUG - + APP=nextcloud
2019-07-30 20:03:15,887: DEBUG - + KEY=fpm_service
2019-07-30 20:03:15,888: DEBUG - + VALUE=php7.0-fpm
2019-07-30 20:03:15,888: DEBUG - + python -
2019-07-30 20:03:16,189: DEBUG - + finalphpconf=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-07-30 20:03:16,190: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-07-30 20:03:16,190: DEBUG - + local legacy_args=f
2019-07-30 20:03:16,191: DEBUG - + args_array=([f]=file=)
2019-07-30 20:03:16,191: DEBUG - + declare -Ar args_array
2019-07-30 20:03:16,191: DEBUG - + local file
2019-07-30 20:03:16,192: DEBUG - + ynh_handle_getopts_args --file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-07-30 20:03:16,192: DEBUG - + set +x
2019-07-30 20:03:16,192: DEBUG - + local checksum_setting_name=checksum__etc_php_7.0_fpm_pool.d_nextcloud.conf
2019-07-30 20:03:16,194: DEBUG - ++ ynh_app_setting_get --app=nextcloud --key=**********
2019-07-30 20:03:16,195: DEBUG - ++ local legacy_args=ak
2019-07-30 20:03:16,195: DEBUG - ++ args_array=([a]=app= [k]=key=)
2019-07-30 20:03:16,195: DEBUG - ++ declare -Ar args_array
2019-07-30 20:03:16,196: DEBUG - ++ local app
2019-07-30 20:03:16,196: DEBUG - ++ local key
2019-07-30 20:03:16,196: DEBUG - ++ ynh_handle_getopts_args --app=nextcloud --key=**********
2019-07-30 20:03:16,197: DEBUG - ++ set +x
2019-07-30 20:03:16,197: DEBUG - ++ ynh_app_setting get nextcloud **********
2019-07-30 20:03:16,197: DEBUG - ++ ACTION=get
2019-07-30 20:03:16,198: DEBUG - ++ APP=nextcloud
2019-07-30 20:03:16,198: DEBUG - ++ KEY=**********
2019-07-30 20:03:16,206: DEBUG - ++ VALUE=
2019-07-30 20:03:16,206: DEBUG - ++ python -
2019-07-30 20:03:16,407: DEBUG - + local checksum_value=
2019-07-30 20:03:16,408: DEBUG - + backup_file_checksum=
2019-07-30 20:03:16,408: DEBUG - + '[' -n '' ']'
2019-07-30 20:03:16,408: DEBUG - + sudo cp ../conf/php-fpm.conf /etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-07-30 20:03:16,609: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=nextcloud --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-07-30 20:03:16,610: DEBUG - + local legacy_args=mrf
2019-07-30 20:03:16,610: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-07-30 20:03:16,611: DEBUG - + declare -Ar args_array
2019-07-30 20:03:16,611: DEBUG - + local match_string
2019-07-30 20:03:16,611: DEBUG - + local replace_string
2019-07-30 20:03:16,612: DEBUG - + local target_file
2019-07-30 20:03:16,612: DEBUG - + ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=nextcloud --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-07-30 20:03:16,613: DEBUG - + set +x
2019-07-30 20:03:16,713: DEBUG - + local delimit=@
2019-07-30 20:03:16,714: DEBUG - + match_string=__NAMETOCHANGE__
2019-07-30 20:03:16,714: DEBUG - + replace_string=nextcloud
2019-07-30 20:03:16,714: DEBUG - + sudo sed --in-place s@__NAMETOCHANGE__@nextcloud@g /etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-07-30 20:03:16,715: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/nextcloud --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-07-30 20:03:16,715: DEBUG - + local legacy_args=mrf
2019-07-30 20:03:16,716: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-07-30 20:03:16,717: DEBUG - + declare -Ar args_array
2019-07-30 20:03:16,717: DEBUG - + local match_string
2019-07-30 20:03:16,718: DEBUG - + local replace_string
2019-07-30 20:03:16,718: DEBUG - + local target_file
2019-07-30 20:03:16,718: DEBUG - + ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/nextcloud --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-07-30 20:03:16,719: DEBUG - + set +x
2019-07-30 20:03:16,719: DEBUG - + local delimit=@
2019-07-30 20:03:16,722: DEBUG - + match_string=__FINALPATH__
2019-07-30 20:03:16,722: DEBUG - + replace_string=/var/www/nextcloud
2019-07-30 20:03:16,722: DEBUG - + sudo sed --in-place s@__FINALPATH__@/var/www/nextcloud@g /etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-07-30 20:03:16,823: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=nextcloud --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-07-30 20:03:16,824: DEBUG - + local legacy_args=mrf
2019-07-30 20:03:16,824: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-07-30 20:03:16,824: DEBUG - + declare -Ar args_array
2019-07-30 20:03:16,825: DEBUG - + local match_string
2019-07-30 20:03:16,825: DEBUG - + local replace_string
2019-07-30 20:03:16,825: DEBUG - + local target_file
2019-07-30 20:03:16,826: DEBUG - + ynh_handle_getopts_args --match_string=__USER__ --replace_string=nextcloud --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-07-30 20:03:16,826: DEBUG - + set +x
2019-07-30 20:03:16,827: DEBUG - + local delimit=@
2019-07-30 20:03:16,827: DEBUG - + match_string=__USER__
2019-07-30 20:03:16,827: DEBUG - + replace_string=nextcloud
2019-07-30 20:03:16,828: DEBUG - + sudo sed --in-place s@__USER__@nextcloud@g /etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-07-30 20:03:16,828: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.0 --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-07-30 20:03:16,828: DEBUG - + local legacy_args=mrf
2019-07-30 20:03:16,829: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-07-30 20:03:16,829: DEBUG - + declare -Ar args_array
2019-07-30 20:03:16,830: DEBUG - + local match_string
2019-07-30 20:03:16,830: DEBUG - + local replace_string
2019-07-30 20:03:16,831: DEBUG - + local target_file
2019-07-30 20:03:16,831: DEBUG - + ynh_handle_getopts_args --match_string=__PHPVERSION__ --replace_string=7.0 --target_file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-07-30 20:03:16,831: DEBUG - + set +x
2019-07-30 20:03:16,932: DEBUG - + local delimit=@
2019-07-30 20:03:16,932: DEBUG - + match_string=__PHPVERSION__
2019-07-30 20:03:16,933: DEBUG - + replace_string=7.0
2019-07-30 20:03:16,933: DEBUG - + sudo sed --in-place s@__PHPVERSION__@7.0@g /etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-07-30 20:03:16,934: DEBUG - + sudo chown root: /etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-07-30 20:03:17,134: DEBUG - + ynh_store_file_checksum --file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-07-30 20:03:17,135: DEBUG - + local legacy_args=f
2019-07-30 20:03:17,135: DEBUG - + args_array=([f]=file=)
2019-07-30 20:03:17,136: DEBUG - + declare -Ar args_array
2019-07-30 20:03:17,136: DEBUG - + local file
2019-07-30 20:03:17,136: DEBUG - + ynh_handle_getopts_args --file=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-07-30 20:03:17,137: DEBUG - + set +x
2019-07-30 20:03:17,137: DEBUG - + local checksum_setting_name=**********
2019-07-30 20:03:17,137: DEBUG - ++ cut '-d ' -f1
2019-07-30 20:03:17,138: DEBUG - ++ sudo md5sum /etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-07-30 20:03:17,138: DEBUG - + ynh_app_setting_set --app=nextcloud --key=********** --value=2b6b651580ba490b5de108f9f661d369
2019-07-30 20:03:17,139: DEBUG - + local legacy_args=akv
2019-07-30 20:03:17,140: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-07-30 20:03:17,140: DEBUG - + declare -Ar args_array
2019-07-30 20:03:17,140: DEBUG - + local app
2019-07-30 20:03:17,141: DEBUG - + local key
2019-07-30 20:03:17,141: DEBUG - + local value
2019-07-30 20:03:17,141: DEBUG - + ynh_handle_getopts_args --app=nextcloud --key=********** --value=2b6b651580ba490b5de108f9f661d369
2019-07-30 20:03:17,142: DEBUG - + set +x
2019-07-30 20:03:17,143: DEBUG - + ynh_app_setting set nextcloud ********** 2b6b651580ba490b5de108f9f661d369
2019-07-30 20:03:17,143: DEBUG - + ACTION=set
2019-07-30 20:03:17,144: DEBUG - + APP=nextcloud
2019-07-30 20:03:17,144: DEBUG - + KEY=**********
2019-07-30 20:03:17,144: DEBUG - + VALUE=2b6b651580ba490b5de108f9f661d369
2019-07-30 20:03:17,145: DEBUG - + python -
2019-07-30 20:03:17,446: DEBUG - + '[' -n '' ']'
2019-07-30 20:03:17,446: DEBUG - + unset backup_file_checksum
2019-07-30 20:03:17,447: DEBUG - + '[' -e ../conf/php-fpm.ini ']'
2019-07-30 20:03:17,447: DEBUG - + ynh_systemd_action --service_name=php7.0-fpm --action=reload
2019-07-30 20:03:17,447: DEBUG - + local legacy_args=nalpte
2019-07-30 20:03:17,448: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
2019-07-30 20:03:17,448: DEBUG - + declare -Ar args_array
2019-07-30 20:03:17,448: DEBUG - + local service_name
2019-07-30 20:03:17,449: DEBUG - + local action
2019-07-30 20:03:17,449: DEBUG - + local line_match
2019-07-30 20:03:17,449: DEBUG - + local length
2019-07-30 20:03:17,450: DEBUG - + local log_path
2019-07-30 20:03:17,450: DEBUG - + local timeout
2019-07-30 20:03:17,450: DEBUG - + ynh_handle_getopts_args --service_name=php7.0-fpm --action=reload
2019-07-30 20:03:17,451: DEBUG - + set +x
2019-07-30 20:03:17,553: DEBUG - + local service_name=php7.0-fpm
2019-07-30 20:03:17,553: DEBUG - + local action=reload
2019-07-30 20:03:17,554: DEBUG - + local log_path=/var/log/php7.0-fpm/php7.0-fpm.log
2019-07-30 20:03:17,554: DEBUG - + local length=20
2019-07-30 20:03:17,554: DEBUG - + local timeout=300
2019-07-30 20:03:17,555: DEBUG - + [[ -n '' ]]
2019-07-30 20:03:17,555: DEBUG - + '[' reload == reload ']'
2019-07-30 20:03:17,555: DEBUG - + action=reload-or-restart
2019-07-30 20:03:17,556: DEBUG - + systemctl reload-or-restart php7.0-fpm
2019-07-30 20:03:17,656: DEBUG - + [[ -n '' ]]
2019-07-30 20:03:17,657: DEBUG - + datadir=/home/yunohost.app/nextcloud/data
2019-07-30 20:03:17,657: DEBUG - + mkdir -p /home/yunohost.app/nextcloud/data
2019-07-30 20:03:17,658: DEBUG - + ynh_script_progression '--message=Installing nextcloud...' --weight=30
2019-07-30 20:03:17,658: DEBUG - + set +x
2019-07-30 20:03:17,759: DEBUG - + set +x
2019-07-30 20:03:17,759: INFO - [###########++++.....] > Installing nextcloud...
2019-07-30 20:03:17,760: DEBUG - + echo '! Helper used in legacy mode !'
2019-07-30 20:03:17,760: DEBUG - + set +x
2019-07-30 20:03:17,761: DEBUG - + echo '[###########++++.....] > Installing nextcloud...'
2019-07-30 20:03:17,761: DEBUG - + set -x
2019-07-30 20:03:17,761: DEBUG - + chown -R nextcloud: /var/www/nextcloud /home/yunohost.app/nextcloud/data
2019-07-30 20:03:18,764: DEBUG - ++ ynh_string_random --length=6
2019-07-30 20:03:18,764: DEBUG - ++ local legacy_args=l
2019-07-30 20:03:18,765: DEBUG - ++ args_array=([l]=length=)
2019-07-30 20:03:18,765: DEBUG - ++ declare -Ar args_array
2019-07-30 20:03:18,765: DEBUG - ++ local length
2019-07-30 20:03:18,766: DEBUG - ++ ynh_handle_getopts_args --length=6
2019-07-30 20:03:18,766: DEBUG - ++ set +x
2019-07-30 20:03:18,766: DEBUG - ++ length=6
2019-07-30 20:03:18,767: DEBUG - ++ tr -c -d A-Za-z0-9
2019-07-30 20:03:18,767: DEBUG - ++ sed -n 's/\(.\{6\}\).*/\1/p'
2019-07-30 20:03:18,767: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2019-07-30 20:03:18,868: DEBUG - + exec_occ maintenance:install --database mysql --database-name nextcloud --database-user nextcloud --database-pass ********** --admin-user admin --admin-pass jHrCae --data-dir /home/yunohost.app/nextcloud/data
2019-07-30 20:03:18,868: DEBUG - + cd /var/www/nextcloud
2019-07-30 20:03:18,869: 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 jHrCae --data-dir /home/yunohost.app/nextcloud/data
2019-07-30 20:03:18,869: DEBUG - + local USER=nextcloud
2019-07-30 20:03:18,869: DEBUG - + shift 1
2019-07-30 20:03:18,870: DEBUG - ++ whoami
2019-07-30 20:03:19,071: DEBUG - + [[ nextcloud = root ]]
2019-07-30 20:03:19,071: 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 jHrCae --data-dir /home/yunohost.app/nextcloud/data
2019-07-30 20:04:42,960: DEBUG - Nextcloud was successfully installed
2019-07-30 20:04:43,110: DEBUG - + ynh_script_progression '--message=Configuring nextcloud...' --weight=8
2019-07-30 20:04:43,110: DEBUG - + set +x
2019-07-30 20:04:43,211: DEBUG - + set +x
2019-07-30 20:04:43,212: INFO - [###############++...] > Configuring nextcloud...
2019-07-30 20:04:43,212: DEBUG - + echo '! Helper used in legacy mode !'
2019-07-30 20:04:43,213: DEBUG - + set +x
2019-07-30 20:04:43,213: DEBUG - + echo '[###############++...] > Configuring nextcloud...'
2019-07-30 20:04:43,213: DEBUG - + set -x
2019-07-30 20:04:43,214: DEBUG - + exec_occ app:disable updatenotification
2019-07-30 20:04:43,214: DEBUG - + cd /var/www/nextcloud
2019-07-30 20:04:43,214: DEBUG - + exec_as nextcloud php occ --no-interaction --no-ansi app:disable updatenotification
2019-07-30 20:04:43,215: DEBUG - + local USER=nextcloud
2019-07-30 20:04:43,215: DEBUG - + shift 1
2019-07-30 20:04:43,215: DEBUG - ++ whoami
2019-07-30 20:04:43,216: DEBUG - + [[ nextcloud = root ]]
2019-07-30 20:04:43,216: DEBUG - + sudo -u nextcloud php occ --no-interaction --no-ansi app:disable updatenotification
2019-07-30 20:04:47,326: DEBUG - updatenotification disabled
2019-07-30 20:04:47,327: DEBUG - + exec_occ app:enable user_ldap
2019-07-30 20:04:47,327: DEBUG - + cd /var/www/nextcloud
2019-07-30 20:04:47,327: DEBUG - + exec_as nextcloud php occ --no-interaction --no-ansi app:enable user_ldap
2019-07-30 20:04:47,328: DEBUG - + local USER=nextcloud
2019-07-30 20:04:47,328: DEBUG - + shift 1
2019-07-30 20:04:47,328: DEBUG - ++ whoami
2019-07-30 20:04:47,329: DEBUG - + [[ nextcloud = root ]]
2019-07-30 20:04:47,329: DEBUG - + sudo -u nextcloud php occ --no-interaction --no-ansi app:enable user_ldap
2019-07-30 20:04:48,031: DEBUG - + ynh_exit_properly
2019-07-30 20:04:48,031: WARNING - 
2019-07-30 20:04:48,032: DEBUG - + local exit_code=1
2019-07-30 20:04:48,032: WARNING - In app.php line 1098:
2019-07-30 20:04:48,033: DEBUG - + '[' 1 -eq 0 ']'
2019-07-30 20:04:48,033: WARNING - 
2019-07-30 20:04:48,034: DEBUG - + trap '' EXIT
2019-07-30 20:04:48,034: WARNING -   App "LDAP user and group backend" cannot be installed because the following
2019-07-30 20:04:48,035: DEBUG - + set +eu
2019-07-30 20:04:48,035: WARNING -    dependencies are not fulfilled: The library ldap is not available.
2019-07-30 20:04:48,036: DEBUG - + sleep 0.5
2019-07-30 20:04:48,036: WARNING - 
2019-07-30 20:04:48,037: WARNING - 
2019-07-30 20:04:48,037: WARNING - app:enable [-g|--groups GROUPS] [--] <app-id>
2019-07-30 20:04:48,038: WARNING - 
2019-07-30 20:04:48,540: DEBUG - + ynh_print_err '--message=!!\n  nextcloud'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-07-30 20:04:48,540: WARNING - e[91me[1m[ERR]e[0m !!
2019-07-30 20:04:48,541: DEBUG - + local legacy_args=m
2019-07-30 20:04:48,541: WARNING -   nextcloud's script has encountered an error. Its execution was cancelled.
2019-07-30 20:04:48,542: DEBUG - + args_array=([m]=message=)
2019-07-30 20:04:48,542: WARNING - !!
2019-07-30 20:04:48,543: DEBUG - + declare -Ar args_array
2019-07-30 20:04:48,543: WARNING - 
2019-07-30 20:04:48,544: DEBUG - + local message
2019-07-30 20:04:48,544: DEBUG - + ynh_handle_getopts_args '--message=!!\n  nextcloud'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-07-30 20:04:48,545: DEBUG - + set +x
2019-07-30 20:04:48,545: DEBUG - + ynh_print_log '\e[91m\e[1m[ERR]\e[0m !!\n  nextcloud'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-07-30 20:04:48,546: DEBUG - + echo -e '\e[91m\e[1m[ERR]\e[0m !!\n  nextcloud'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-07-30 20:04:48,546: DEBUG - + '[' api == cli ']'
2019-07-30 20:04:48,546: DEBUG - + type -t ynh_clean_setup
2019-07-30 20:04:48,547: DEBUG - + ynh_die
2019-07-30 20:04:48,547: DEBUG - + local legacy_args=mc
2019-07-30 20:04:48,547: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2019-07-30 20:04:48,548: DEBUG - + declare -Ar args_array
2019-07-30 20:04:48,548: DEBUG - + local message
2019-07-30 20:04:48,548: DEBUG - + local ret_code
2019-07-30 20:04:48,549: DEBUG - + ynh_handle_getopts_args
2019-07-30 20:04:48,549: DEBUG - + set +x
2019-07-30 20:04:48,549: DEBUG - + echo ''
2019-07-30 20:04:48,550: DEBUG - + exit 1

Propulsé par YunoHost 3.6.4.3 (stable).

Merci pour toute réponse

Bonjour,
Est-ce mieux si tu lances

update-alternatives --set php /usr/bin/php7.0

avant l’installation ?

Bonjour et merci déjà pour ta réponse
j’ai tapé ta commande dans le terminal et elle donne rien voici la réponse
~# update-alternatives --set php /usr/bin/php7.0
update-alternatives: utilisation de « /usr/bin/php7.0 » pour fournir « /usr/bin/php » (php) en mode manuel

Je te proposais de taper la commande… puis de relancer l’installation de Nextcloud :wink:

Yes yes ca marche un grand grand merci a toi :+1::+1::+1:j’ai même récupéré tout ce qu’il y avait dedans
j’ai rien compris a cette commande peux tu m’expliquer ce qui c’est passé svp cela m’intrigue lol

Eh bien, sur ton YunoHost tu as soit installé un PHP 7.1+, soit une application l’a fait, en modifiant le php par défaut, en particulier pour la ligne de commande.
De fait, quand le package nextcloud installait la dépendance php-ldap, il installait le paquet php7.1-ldap (ou plus) et pas le paquet php7.0-ldap nécessaire…

oki jimbojoe je comprend mieux a présent :grinning:
encore grand merci a toi
A+

1 Like

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