ended_at: 2019-03-04 16:23:33.360169
env:
  YNH_APP_ID: nextcloud
  YNH_APP_INSTANCE_NAME: nextcloud
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_CWD: /var/cache/yunohost/from_file/nextcloud_ynh-a937450910acca5953ead1dbb758e1e5a4b28553/scripts
  YNH_STDINFO: /tmp/tmp_s_jnt/stdinfo
error: "Impossible de mettre \xE0 jour nextcloud"
operation: app_upgrade
related_to:
- - app
  - nextcloud
started_at: 2019-03-04 16:23:28.744524
success: false

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

2019-03-04 17:23:28,814: DEBUG - Exécution de la commande « sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ID=nextcloud YNH_CWD=/var/cache/yunohost/from_file/nextcloud_ynh-a937450910acca5953ead1dbb758e1e5a4b28553/scripts YNH_APP_INSTANCE_NAME=nextcloud YNH_STDINFO=/tmp/tmp_s_jnt/stdinfo BASH_XTRACEFD=7 /bin/bash -x "./upgrade" nextcloud 7>&1 »...
2019-03-04 17:23:28,814: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ID=nextcloud YNH_CWD=/var/cache/yunohost/from_file/nextcloud_ynh-a937450910acca5953ead1dbb758e1e5a4b28553/scripts YNH_APP_INSTANCE_NAME=nextcloud YNH_STDINFO=/tmp/tmp_s_jnt/stdinfo BASH_XTRACEFD=7 /bin/bash -x "./upgrade" nextcloud 7>&1']'
2019-03-04 17:23:28,929: DEBUG - + source _common.sh
2019-03-04 17:23:28,930: DEBUG - ++ pkg_dependencies='php7.0-gd php7.0-json php7.0-intl php7.0-mcrypt php7.0-curl php7.0-apcu php7.0-redis php7.0-ldap php7.0-imagick imagemagick acl tar smbclient at'
2019-03-04 17:23:28,930: DEBUG - +++ lsb_release --codename --short
2019-03-04 17:23:28,930: DEBUG - ++ '[' stretch '!=' jessie ']'
2019-03-04 17:23:28,931: DEBUG - ++ pkg_dependencies='php7.0-gd php7.0-json php7.0-intl php7.0-mcrypt php7.0-curl php7.0-apcu php7.0-redis php7.0-ldap php7.0-imagick imagemagick acl tar smbclient at php-zip php-apcu php-mbstring php-xml'
2019-03-04 17:23:28,931: DEBUG - + source /usr/share/yunohost/helpers
2019-03-04 17:23:28,931: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-03-04 17:23:28,931: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:28,931: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
2019-03-04 17:23:28,931: DEBUG - ++ . /usr/share/yunohost/helpers.d/backend
2019-03-04 17:23:28,931: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:28,932: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
2019-03-04 17:23:28,932: DEBUG - ++ . /usr/share/yunohost/helpers.d/filesystem
2019-03-04 17:23:28,932: DEBUG - +++ CAN_BIND=1
2019-03-04 17:23:28,932: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:28,934: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2019-03-04 17:23:28,934: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-03-04 17:23:28,934: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:28,934: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
2019-03-04 17:23:28,934: DEBUG - ++ . /usr/share/yunohost/helpers.d/ip
2019-03-04 17:23:28,934: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:28,934: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2019-03-04 17:23:28,935: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-03-04 17:23:28,935: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-03-04 17:23:28,935: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:28,935: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2019-03-04 17:23:28,935: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-03-04 17:23:28,935: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:28,936: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2019-03-04 17:23:28,936: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-03-04 17:23:28,936: DEBUG - +++ n_install_dir=/opt/node_n
2019-03-04 17:23:28,940: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-03-04 17:23:28,940: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-03-04 17:23:28,940: DEBUG - +++ N_PREFIX=/opt/node_n
2019-03-04 17:23:28,941: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:28,941: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
2019-03-04 17:23:28,941: DEBUG - ++ . /usr/share/yunohost/helpers.d/package
2019-03-04 17:23:28,941: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:28,941: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
2019-03-04 17:23:28,941: DEBUG - ++ . /usr/share/yunohost/helpers.d/print
2019-03-04 17:23:28,941: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:28,942: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/psql ']'
2019-03-04 17:23:28,942: DEBUG - ++ . /usr/share/yunohost/helpers.d/psql
2019-03-04 17:23:28,942: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:28,942: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2019-03-04 17:23:28,942: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-03-04 17:23:28,942: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:28,942: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2019-03-04 17:23:28,942: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-03-04 17:23:28,943: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:28,943: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
2019-03-04 17:23:28,943: DEBUG - ++ . /usr/share/yunohost/helpers.d/system
2019-03-04 17:23:28,943: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:28,943: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2019-03-04 17:23:28,944: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-03-04 17:23:28,944: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:28,945: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2019-03-04 17:23:28,945: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-03-04 17:23:28,945: DEBUG - + app=nextcloud
2019-03-04 17:23:29,045: DEBUG - ++ ynh_app_setting_get nextcloud domain
2019-03-04 17:23:29,046: DEBUG - ++ sudo yunohost app setting nextcloud domain --output-as plain --quiet
2019-03-04 17:23:29,346: DEBUG - + domain=cloud.vroomy.fr
2019-03-04 17:23:29,347: DEBUG - ++ ynh_app_setting_get nextcloud path
2019-03-04 17:23:29,347: DEBUG - ++ sudo yunohost app setting nextcloud path --output-as plain --quiet
2019-03-04 17:23:29,648: DEBUG - + path_url=/nextcloud/
2019-03-04 17:23:29,649: DEBUG - ++ ynh_app_setting_get nextcloud admin
2019-03-04 17:23:29,649: DEBUG - ++ sudo yunohost app setting nextcloud admin --output-as plain --quiet
2019-03-04 17:23:29,949: DEBUG - + admin=
2019-03-04 17:23:29,950: DEBUG - ++ ynh_app_setting_get nextcloud final_path
2019-03-04 17:23:29,950: DEBUG - ++ sudo yunohost app setting nextcloud final_path --output-as plain --quiet
2019-03-04 17:23:30,150: DEBUG - + final_path=/var/www/nextcloud
2019-03-04 17:23:30,151: DEBUG - ++ ynh_app_setting_get nextcloud db_name
2019-03-04 17:23:30,151: DEBUG - ++ sudo yunohost app setting nextcloud db_name --output-as plain --quiet
2019-03-04 17:23:30,452: DEBUG - + db_name=nextcloud
2019-03-04 17:23:30,452: DEBUG - ++ ynh_app_setting_get nextcloud user_home
2019-03-04 17:23:30,452: DEBUG - ++ sudo yunohost app setting nextcloud user_home --output-as plain --quiet
2019-03-04 17:23:30,753: DEBUG - + user_home=1
2019-03-04 17:23:30,753: DEBUG - + '[' -z nextcloud ']'
2019-03-04 17:23:30,753: DEBUG - + '[' -z /var/www/nextcloud ']'
2019-03-04 17:23:30,753: DEBUG - ++ cut '-d'\''' -f2
2019-03-04 17:23:30,753: DEBUG - ++ grep OC_VersionString /var/www/nextcloud/version.php
2019-03-04 17:23:30,754: DEBUG - + current_version=13.0.2
2019-03-04 17:23:30,754: DEBUG - + current_major_version=13
2019-03-04 17:23:30,754: DEBUG - + '[' 13 -gt 11 ']'
2019-03-04 17:23:30,754: DEBUG - + ynh_app_setting_set nextcloud backup_core_only 1
2019-03-04 17:23:30,754: DEBUG - + sudo yunohost app setting nextcloud backup_core_only --value=1 --quiet
2019-03-04 17:23:30,955: DEBUG - + ynh_backup_before_upgrade
2019-03-04 17:23:30,955: DEBUG - + '[' '!' -e /etc/yunohost/apps/nextcloud/scripts/backup ']'
2019-03-04 17:23:30,955: DEBUG - + backup_number=1
2019-03-04 17:23:30,955: DEBUG - + local old_backup_number=2
2019-03-04 17:23:30,955: DEBUG - + local app_bck=nextcloud
2019-03-04 17:23:30,955: DEBUG - + NO_BACKUP_UPGRADE=0
2019-03-04 17:23:30,956: DEBUG - + '[' 0 -eq 0 ']'
2019-03-04 17:23:30,956: DEBUG - + grep -q nextcloud-pre-upgrade1
2019-03-04 17:23:30,956: DEBUG - + sudo yunohost backup list
2019-03-04 17:23:31,256: DEBUG - + backup_number=2
2019-03-04 17:23:31,257: DEBUG - + old_backup_number=1
2019-03-04 17:23:31,257: DEBUG - + sudo BACKUP_CORE_ONLY=1 yunohost backup create --apps nextcloud --name nextcloud-pre-upgrade2 --debug
2019-03-04 17:23:31,457: DEBUG - 108  loading actions map namespace 'yunohost'
2019-03-04 17:23:31,457: DEBUG - 124  extra parameter classes loaded: ['comment', 'ask', 'password', 'required', 'pattern']
2019-03-04 17:23:31,458: DEBUG - 124  initializing base actions map parser for cli
2019-03-04 17:23:31,458: DEBUG - 125  registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
2019-03-04 17:23:31,558: DEBUG - 230  loading python module yunohost.backup took 0.047s
2019-03-04 17:23:31,558: DEBUG - 230  processing action [12026.1]: yunohost.backup.create with args={'description': None, 'apps': ['nextcloud'], 'system': None, 'output_directory': None, 'methods': None, 'no_compress': False, 'name': 'nextcloud-pre-upgrade2'}
2019-03-04 17:23:31,558: DEBUG - 231  custom hook folder not found for action 'backup' in /etc/yunohost/hooks.d/
2019-03-04 17:23:31,559: DEBUG - 233  Lancement du script de sauvegarde de l’application « nextcloud »...
2019-03-04 17:23:31,659: DEBUG - 347  Exécution de la commande « sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/home/yunohost.backup/tmp/nextcloud-pre-upgrade2/apps/nextcloud/backup YNH_STDINFO=/tmp/tmpP1JnmJ/stdinfo YNH_BACKUP_CSV=/tmp/backupcsv_8dgfSg YNH_BACKUP_DIR=/home/yunohost.backup/tmp/nextcloud-pre-upgrade2 YNH_APP_INSTANCE_NAME=nextcloud YNH_APP_ID=nextcloud YNH_APP_BACKUP_DIR=/home/yunohost.backup/tmp/nextcloud-pre-upgrade2/apps/nextcloud/backup BASH_XTRACEFD=7 /bin/bash -x "/tmp/backup_DQLYCC" /home/yunohost.backup/tmp/nextcloud-pre-upgrade2/apps/nextcloud/backup nextcloud 7>&1 »...
2019-03-04 17:23:31,659: DEBUG - 347  About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/home/yunohost.backup/tmp/nextcloud-pre-upgrade2/apps/nextcloud/backup YNH_STDINFO=/tmp/tmpP1JnmJ/stdinfo YNH_BACKUP_CSV=/tmp/backupcsv_8dgfSg YNH_BACKUP_DIR=/home/yunohost.backup/tmp/nextcloud-pre-upgrade2 YNH_APP_INSTANCE_NAME=nextcloud YNH_APP_ID=nextcloud YNH_APP_BACKUP_DIR=/home/yunohost.backup/tmp/nextcloud-pre-upgrade2/apps/nextcloud/backup BASH_XTRACEFD=7 /bin/bash -x "/tmp/backup_DQLYCC" /home/yunohost.backup/tmp/nextcloud-pre-upgrade2/apps/nextcloud/backup nextcloud 7>&1']'
2019-03-04 17:23:31,760: DEBUG - 460  + '[' '!' -e _common.sh ']'
2019-03-04 17:23:31,760: DEBUG - 461  + cp ../settings/scripts/_common.sh ./_common.sh
2019-03-04 17:23:31,760: DEBUG - 461  + chmod a+rx _common.sh
2019-03-04 17:23:31,760: DEBUG - 461  + source _common.sh
2019-03-04 17:23:31,760: DEBUG - 461  ++ pkg_dependencies='php7.0-gd php7.0-json php7.0-intl php7.0-mcrypt php7.0-curl php7.0-apcu php7.0-redis php7.0-ldap php7.0-imagick imagemagick acl tar smbclient'
2019-03-04 17:23:31,760: DEBUG - 461  +++ lsb_release --codename --short
2019-03-04 17:23:31,760: DEBUG - 462  ++ '[' stretch '!=' jessie ']'
2019-03-04 17:23:31,761: DEBUG - 462  ++ pkg_dependencies='php7.0-gd php7.0-json php7.0-intl php7.0-mcrypt php7.0-curl php7.0-apcu php7.0-redis php7.0-ldap php7.0-imagick imagemagick acl tar smbclient php-zip php-apcu php-mbstring php-xml'
2019-03-04 17:23:31,761: DEBUG - 462  + source /usr/share/yunohost/helpers
2019-03-04 17:23:31,761: DEBUG - 462  +++ run-parts --list /usr/share/yunohost/helpers.d
2019-03-04 17:23:31,761: DEBUG - 462  ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:31,761: DEBUG - 463  ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
2019-03-04 17:23:31,761: DEBUG - 463  ++ . /usr/share/yunohost/helpers.d/backend
2019-03-04 17:23:31,761: DEBUG - 463  ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:31,761: DEBUG - 463  ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
2019-03-04 17:23:31,762: DEBUG - 463  ++ . /usr/share/yunohost/helpers.d/filesystem
2019-03-04 17:23:31,762: DEBUG - 464  +++ CAN_BIND=1
2019-03-04 17:23:31,762: DEBUG - 464  ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:31,762: DEBUG - 464  ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2019-03-04 17:23:31,762: DEBUG - 467  ++ . /usr/share/yunohost/helpers.d/getopts
2019-03-04 17:23:31,762: DEBUG - 468  ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:31,762: DEBUG - 468  ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
2019-03-04 17:23:31,762: DEBUG - 468  ++ . /usr/share/yunohost/helpers.d/ip
2019-03-04 17:23:31,762: DEBUG - 468  ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:31,762: DEBUG - 468  ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2019-03-04 17:23:31,763: DEBUG - 469  ++ . /usr/share/yunohost/helpers.d/mysql
2019-03-04 17:23:31,763: DEBUG - 469  +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-03-04 17:23:31,763: DEBUG - 469  ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:31,763: DEBUG - 469  ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2019-03-04 17:23:31,763: DEBUG - 469  ++ . /usr/share/yunohost/helpers.d/network
2019-03-04 17:23:31,763: DEBUG - 469  ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:31,763: DEBUG - 470  ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2019-03-04 17:23:31,763: DEBUG - 470  ++ . /usr/share/yunohost/helpers.d/nodejs
2019-03-04 17:23:31,763: DEBUG - 470  +++ n_install_dir=/opt/node_n
2019-03-04 17:23:31,763: DEBUG - 470  +++ node_version_path=/opt/node_n/n/versions/node
2019-03-04 17:23:31,764: DEBUG - 470  +++ export N_PREFIX=/opt/node_n
2019-03-04 17:23:31,764: DEBUG - 471  +++ N_PREFIX=/opt/node_n
2019-03-04 17:23:31,764: DEBUG - 471  ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:31,864: DEBUG - 475  ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
2019-03-04 17:23:31,864: DEBUG - 475  ++ . /usr/share/yunohost/helpers.d/package
2019-03-04 17:23:31,865: DEBUG - 476  ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:31,865: DEBUG - 476  ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
2019-03-04 17:23:31,865: DEBUG - 477  ++ . /usr/share/yunohost/helpers.d/print
2019-03-04 17:23:31,865: DEBUG - 480  ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:31,865: DEBUG - 480  ++ '[' -r /usr/share/yunohost/helpers.d/psql ']'
2019-03-04 17:23:31,865: DEBUG - 480  ++ . /usr/share/yunohost/helpers.d/psql
2019-03-04 17:23:31,865: DEBUG - 480  ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:31,865: DEBUG - 480  ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2019-03-04 17:23:31,865: DEBUG - 481  ++ . /usr/share/yunohost/helpers.d/setting
2019-03-04 17:23:31,866: DEBUG - 481  ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:31,866: DEBUG - 481  ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2019-03-04 17:23:31,866: DEBUG - 481  ++ . /usr/share/yunohost/helpers.d/string
2019-03-04 17:23:31,866: DEBUG - 481  ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:31,866: DEBUG - 481  ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
2019-03-04 17:23:31,866: DEBUG - 482  ++ . /usr/share/yunohost/helpers.d/system
2019-03-04 17:23:31,866: DEBUG - 482  ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:31,866: DEBUG - 482  ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2019-03-04 17:23:31,866: DEBUG - 482  ++ . /usr/share/yunohost/helpers.d/user
2019-03-04 17:23:31,867: DEBUG - 482  ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-03-04 17:23:31,867: DEBUG - 483  ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2019-03-04 17:23:31,867: DEBUG - 483  ++ . /usr/share/yunohost/helpers.d/utils
2019-03-04 17:23:31,867: DEBUG - 483  + ynh_abort_if_errors
2019-03-04 17:23:31,867: DEBUG - 483  + set -eu
2019-03-04 17:23:31,867: DEBUG - 484  + trap ynh_exit_properly EXIT
2019-03-04 17:23:31,867: DEBUG - 484  + app=nextcloud
2019-03-04 17:23:31,867: DEBUG - 488  ++ ynh_app_setting_get nextcloud final_path
2019-03-04 17:23:31,867: DEBUG - 488  ++ sudo yunohost app setting nextcloud final_path --output-as plain --quiet
2019-03-04 17:23:32,168: DEBUG - 788  + final_path=/var/www/nextcloud
2019-03-04 17:23:32,169: DEBUG - 789  ++ ynh_app_setting_get nextcloud domain
2019-03-04 17:23:32,169: DEBUG - 789  ++ sudo yunohost app setting nextcloud domain --output-as plain --quiet
2019-03-04 17:23:32,470: DEBUG - 1090 + domain=cloud.vroomy.fr
2019-03-04 17:23:32,470: DEBUG - 1090 ++ ynh_app_setting_get nextcloud db_name
2019-03-04 17:23:32,470: DEBUG - 1090 ++ sudo yunohost app setting nextcloud db_name --output-as plain --quiet
2019-03-04 17:23:32,771: DEBUG - 1391 + db_name=nextcloud
2019-03-04 17:23:32,771: DEBUG - 1391 + ynh_backup /var/www/nextcloud
2019-03-04 17:23:32,771: DEBUG - 1391 + local SRC_PATH=/var/www/nextcloud
2019-03-04 17:23:32,772: DEBUG - 1391 + local DEST_PATH=
2019-03-04 17:23:32,772: DEBUG - 1391 + local IS_BIG=0
2019-03-04 17:23:32,772: DEBUG - 1392 + local NOT_MANDATORY=0
2019-03-04 17:23:32,772: DEBUG - 1392 + BACKUP_CORE_ONLY=1
2019-03-04 17:23:32,772: DEBUG - 1392 + '[' 0 == 1 ']'
2019-03-04 17:23:32,772: DEBUG - 1392 + [[ -e /var/www/nextcloud ]]
2019-03-04 17:23:32,772: DEBUG - 1392 ++ realpath /var/www/nextcloud
2019-03-04 17:23:32,772: DEBUG - 1392 + SRC_PATH=/var/www/nextcloud
2019-03-04 17:23:32,773: DEBUG - 1392 + [[ -z '' ]]
2019-03-04 17:23:32,773: DEBUG - 1392 + DEST_PATH=var/www/nextcloud
2019-03-04 17:23:32,773: DEBUG - 1392 + [[ ! -e var/www/nextcloud ]]
2019-03-04 17:23:32,773: DEBUG - 1392 + local REL_DIR=/apps/nextcloud/backup
2019-03-04 17:23:32,773: DEBUG - 1393 + REL_DIR=/apps/nextcloud/backup/
2019-03-04 17:23:32,773: DEBUG - 1393 + DEST_PATH=/apps/nextcloud/backup/var/www/nextcloud
2019-03-04 17:23:32,773: DEBUG - 1393 + DEST_PATH=apps/nextcloud/backup/var/www/nextcloud
2019-03-04 17:23:32,773: DEBUG - 1393 ++ sed -r 's/"/\"\"/g'
2019-03-04 17:23:32,773: DEBUG - 1393 ++ echo /var/www/nextcloud
2019-03-04 17:23:32,774: DEBUG - 1393 + local SRC=/var/www/nextcloud
2019-03-04 17:23:32,774: DEBUG - 1393 ++ sed -r 's/"/\"\"/g'
2019-03-04 17:23:32,774: DEBUG - 1393 ++ echo apps/nextcloud/backup/var/www/nextcloud
2019-03-04 17:23:32,774: DEBUG - 1393 + local DEST=apps/nextcloud/backup/var/www/nextcloud
2019-03-04 17:23:32,774: DEBUG - 1393 + echo '"/var/www/nextcloud","apps/nextcloud/backup/var/www/nextcloud"'
2019-03-04 17:23:32,774: DEBUG - 1394 ++ dirname /home/yunohost.backup/tmp/nextcloud-pre-upgrade2/apps/nextcloud/backup/var/www/nextcloud
2019-03-04 17:23:32,774: DEBUG - 1394 + mkdir -p /home/yunohost.backup/tmp/nextcloud-pre-upgrade2/apps/nextcloud/backup/var/www
2019-03-04 17:23:32,774: DEBUG - 1394 + ynh_backup /etc/nginx/conf.d/cloud.vroomy.fr.d/nextcloud.conf
2019-03-04 17:23:32,774: DEBUG - 1394 + local SRC_PATH=/etc/nginx/conf.d/cloud.vroomy.fr.d/nextcloud.conf
2019-03-04 17:23:32,774: DEBUG - 1394 + local DEST_PATH=
2019-03-04 17:23:32,775: DEBUG - 1394 + local IS_BIG=0
2019-03-04 17:23:32,775: DEBUG - 1394 + local NOT_MANDATORY=0
2019-03-04 17:23:32,775: DEBUG - 1394 + BACKUP_CORE_ONLY=1
2019-03-04 17:23:32,775: DEBUG - 1394 + '[' 0 == 1 ']'
2019-03-04 17:23:32,775: DEBUG - 1395 + [[ -e /etc/nginx/conf.d/cloud.vroomy.fr.d/nextcloud.conf ]]
2019-03-04 17:23:32,775: DEBUG - 1395 ++ realpath /etc/nginx/conf.d/cloud.vroomy.fr.d/nextcloud.conf
2019-03-04 17:23:32,775: DEBUG - 1395 + SRC_PATH=/etc/nginx/conf.d/cloud.vroomy.fr.d/nextcloud.conf
2019-03-04 17:23:32,775: DEBUG - 1395 + [[ -z '' ]]
2019-03-04 17:23:32,775: DEBUG - 1395 + DEST_PATH=etc/nginx/conf.d/cloud.vroomy.fr.d/nextcloud.conf
2019-03-04 17:23:32,776: DEBUG - 1395 + [[ ! -e etc/nginx/conf.d/cloud.vroomy.fr.d/nextcloud.conf ]]
2019-03-04 17:23:32,776: DEBUG - 1395 + local REL_DIR=/apps/nextcloud/backup
2019-03-04 17:23:32,776: DEBUG - 1395 + REL_DIR=/apps/nextcloud/backup/
2019-03-04 17:23:32,776: DEBUG - 1395 + DEST_PATH=/apps/nextcloud/backup/etc/nginx/conf.d/cloud.vroomy.fr.d/nextcloud.conf
2019-03-04 17:23:32,776: DEBUG - 1402 + DEST_PATH=apps/nextcloud/backup/etc/nginx/conf.d/cloud.vroomy.fr.d/nextcloud.conf
2019-03-04 17:23:32,780: DEBUG - 1402 ++ sed -r 's/"/\"\"/g'
2019-03-04 17:23:32,780: DEBUG - 1402 ++ echo /etc/nginx/conf.d/cloud.vroomy.fr.d/nextcloud.conf
2019-03-04 17:23:32,780: DEBUG - 1403 + local SRC=/etc/nginx/conf.d/cloud.vroomy.fr.d/nextcloud.conf
2019-03-04 17:23:32,780: DEBUG - 1403 ++ sed -r 's/"/\"\"/g'
2019-03-04 17:23:32,781: DEBUG - 1403 ++ echo apps/nextcloud/backup/etc/nginx/conf.d/cloud.vroomy.fr.d/nextcloud.conf
2019-03-04 17:23:32,781: DEBUG - 1404 + local DEST=apps/nextcloud/backup/etc/nginx/conf.d/cloud.vroomy.fr.d/nextcloud.conf
2019-03-04 17:23:32,781: DEBUG - 1404 + echo '"/etc/nginx/conf.d/cloud.vroomy.fr.d/nextcloud.conf","apps/nextcloud/backup/etc/nginx/conf.d/cloud.vroomy.fr.d/nextcloud.conf"'
2019-03-04 17:23:32,781: DEBUG - 1404 ++ dirname /home/yunohost.backup/tmp/nextcloud-pre-upgrade2/apps/nextcloud/backup/etc/nginx/conf.d/cloud.vroomy.fr.d/nextcloud.conf
2019-03-04 17:23:32,781: DEBUG - 1405 + mkdir -p /home/yunohost.backup/tmp/nextcloud-pre-upgrade2/apps/nextcloud/backup/etc/nginx/conf.d/cloud.vroomy.fr.d
2019-03-04 17:23:32,781: DEBUG - 1405 + ynh_backup /etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-03-04 17:23:32,782: DEBUG - 1407 + local SRC_PATH=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-03-04 17:23:32,782: DEBUG - 1407 + local DEST_PATH=
2019-03-04 17:23:32,782: DEBUG - 1407 + local IS_BIG=0
2019-03-04 17:23:32,782: DEBUG - 1408 + local NOT_MANDATORY=0
2019-03-04 17:23:32,782: DEBUG - 1408 + BACKUP_CORE_ONLY=1
2019-03-04 17:23:32,782: DEBUG - 1408 + '[' 0 == 1 ']'
2019-03-04 17:23:32,782: DEBUG - 1408 + [[ -e /etc/php/7.0/fpm/pool.d/nextcloud.conf ]]
2019-03-04 17:23:32,782: DEBUG - 1409 ++ realpath /etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-03-04 17:23:32,782: DEBUG - 1409 + SRC_PATH=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-03-04 17:23:32,783: DEBUG - 1410 + [[ -z '' ]]
2019-03-04 17:23:32,783: DEBUG - 1410 + DEST_PATH=etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-03-04 17:23:32,783: DEBUG - 1411 + [[ ! -e etc/php/7.0/fpm/pool.d/nextcloud.conf ]]
2019-03-04 17:23:32,783: DEBUG - 1411 + local REL_DIR=/apps/nextcloud/backup
2019-03-04 17:23:32,783: DEBUG - 1412 + REL_DIR=/apps/nextcloud/backup/
2019-03-04 17:23:32,783: DEBUG - 1412 + DEST_PATH=/apps/nextcloud/backup/etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-03-04 17:23:32,783: DEBUG - 1412 + DEST_PATH=apps/nextcloud/backup/etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-03-04 17:23:32,783: DEBUG - 1413 ++ sed -r 's/"/\"\"/g'
2019-03-04 17:23:32,783: DEBUG - 1413 ++ echo /etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-03-04 17:23:32,784: DEBUG - 1414 + local SRC=/etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-03-04 17:23:32,784: DEBUG - 1415 ++ sed -r 's/"/\"\"/g'
2019-03-04 17:23:32,784: DEBUG - 1415 ++ echo apps/nextcloud/backup/etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-03-04 17:23:32,784: DEBUG - 1415 + local DEST=apps/nextcloud/backup/etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-03-04 17:23:32,784: DEBUG - 1416 + echo '"/etc/php/7.0/fpm/pool.d/nextcloud.conf","apps/nextcloud/backup/etc/php/7.0/fpm/pool.d/nextcloud.conf"'
2019-03-04 17:23:32,789: DEBUG - 1416 ++ dirname /home/yunohost.backup/tmp/nextcloud-pre-upgrade2/apps/nextcloud/backup/etc/php/7.0/fpm/pool.d/nextcloud.conf
2019-03-04 17:23:32,789: DEBUG - 1417 + mkdir -p /home/yunohost.backup/tmp/nextcloud-pre-upgrade2/apps/nextcloud/backup/etc/php/7.0/fpm/pool.d
2019-03-04 17:23:32,789: DEBUG - 1417 + ynh_backup /etc/php/7.0/fpm/conf.d/20-nextcloud.ini
2019-03-04 17:23:32,790: DEBUG - 1417 + local SRC_PATH=/etc/php/7.0/fpm/conf.d/20-nextcloud.ini
2019-03-04 17:23:32,790: DEBUG - 1418 + local DEST_PATH=
2019-03-04 17:23:32,790: DEBUG - 1419 + local IS_BIG=0
2019-03-04 17:23:32,790: DEBUG - 1419 + local NOT_MANDATORY=0
2019-03-04 17:23:32,790: DEBUG - 1419 + BACKUP_CORE_ONLY=1
2019-03-04 17:23:32,790: DEBUG - 1420 + '[' 0 == 1 ']'
2019-03-04 17:23:32,790: DEBUG - 1420 + [[ -e /etc/php/7.0/fpm/conf.d/20-nextcloud.ini ]]
2019-03-04 17:23:32,790: DEBUG - 1421 ++ realpath /etc/php/7.0/fpm/conf.d/20-nextcloud.ini
2019-03-04 17:23:32,790: DEBUG - 1421 + SRC_PATH=/etc/php/7.0/fpm/conf.d/20-nextcloud.ini
2019-03-04 17:23:32,791: DEBUG - 1421 + [[ -z '' ]]
2019-03-04 17:23:32,791: DEBUG - 1422 + DEST_PATH=etc/php/7.0/fpm/conf.d/20-nextcloud.ini
2019-03-04 17:23:32,791: DEBUG - 1422 + [[ ! -e etc/php/7.0/fpm/conf.d/20-nextcloud.ini ]]
2019-03-04 17:23:32,791: DEBUG - 1423 + local REL_DIR=/apps/nextcloud/backup
2019-03-04 17:23:32,791: DEBUG - 1424 + REL_DIR=/apps/nextcloud/backup/
2019-03-04 17:23:32,791: DEBUG - 1424 + DEST_PATH=/apps/nextcloud/backup/etc/php/7.0/fpm/conf.d/20-nextcloud.ini
2019-03-04 17:23:32,791: DEBUG - 1424 + DEST_PATH=apps/nextcloud/backup/etc/php/7.0/fpm/conf.d/20-nextcloud.ini
2019-03-04 17:23:32,791: DEBUG - 1424 ++ sed -r 's/"/\"\"/g'
2019-03-04 17:23:32,791: DEBUG - 1425 ++ echo /etc/php/7.0/fpm/conf.d/20-nextcloud.ini
2019-03-04 17:23:32,792: DEBUG - 1425 + local SRC=/etc/php/7.0/fpm/conf.d/20-nextcloud.ini
2019-03-04 17:23:32,792: DEBUG - 1425 ++ sed -r 's/"/\"\"/g'
2019-03-04 17:23:32,792: DEBUG - 1426 ++ echo apps/nextcloud/backup/etc/php/7.0/fpm/conf.d/20-nextcloud.ini
2019-03-04 17:23:32,792: DEBUG - 1426 + local DEST=apps/nextcloud/backup/etc/php/7.0/fpm/conf.d/20-nextcloud.ini
2019-03-04 17:23:32,792: DEBUG - 1427 + echo '"/etc/php/7.0/fpm/conf.d/20-nextcloud.ini","apps/nextcloud/backup/etc/php/7.0/fpm/conf.d/20-nextcloud.ini"'
2019-03-04 17:23:32,797: DEBUG - 1428 ++ dirname /home/yunohost.backup/tmp/nextcloud-pre-upgrade2/apps/nextcloud/backup/etc/php/7.0/fpm/conf.d/20-nextcloud.ini
2019-03-04 17:23:32,797: DEBUG - 1428 + mkdir -p /home/yunohost.backup/tmp/nextcloud-pre-upgrade2/apps/nextcloud/backup/etc/php/7.0/fpm/conf.d
2019-03-04 17:23:32,798: DEBUG - 1428 + ynh_mysql_dump_db nextcloud
2019-03-04 17:23:32,798: DEBUG - 1429 ++ sudo cat /etc/yunohost/mysql
2019-03-04 17:23:32,798: DEBUG - 1429 + mysqldump -u root -p3qvcAh6sob --single-transaction --skip-dump-date nextcloud
2019-03-04 17:23:32,999: DEBUG - 1631 + ynh_backup /etc/logrotate.d/nextcloud
2019-03-04 17:23:32,999: WARNING - 1632 Source path '/etc/logrotate.d/nextcloud' does not exist
2019-03-04 17:23:33,002: DEBUG - 1632 + local SRC_PATH=/etc/logrotate.d/nextcloud
2019-03-04 17:23:33,002: WARNING - 1633 !!
2019-03-04 17:23:33,003: DEBUG - 1633 + local DEST_PATH=
2019-03-04 17:23:33,003: WARNING - 1633   nextcloud's script has encountered an error. Its execution was cancelled.
2019-03-04 17:23:33,003: DEBUG - 1634 + local IS_BIG=0
2019-03-04 17:23:33,003: WARNING - 1634 !!
2019-03-04 17:23:33,004: DEBUG - 1634 + local NOT_MANDATORY=0
2019-03-04 17:23:33,004: WARNING - 1635
2019-03-04 17:23:33,004: DEBUG - 1635 + BACKUP_CORE_ONLY=1
2019-03-04 17:23:33,004: DEBUG - 1635 + '[' 0 == 1 ']'
2019-03-04 17:23:33,004: DEBUG - 1635 + [[ -e /etc/logrotate.d/nextcloud ]]
2019-03-04 17:23:33,004: DEBUG - 1636 + '[' 0 == 0 ']'
2019-03-04 17:23:33,005: DEBUG - 1636 + echo 'Source path '\''/etc/logrotate.d/nextcloud'\'' does not exist'
2019-03-04 17:23:33,005: DEBUG - 1636 + echo /etc/logrotate.d/nextcloud
2019-03-04 17:23:33,005: DEBUG - 1636 + grep --quiet /etc/fail2ban
2019-03-04 17:23:33,005: DEBUG - 1637 + return 1
2019-03-04 17:23:33,005: DEBUG - 1637 + ynh_exit_properly
2019-03-04 17:23:33,005: DEBUG - 1637 + local exit_code=1
2019-03-04 17:23:33,005: DEBUG - 1637 + '[' 1 -eq 0 ']'
2019-03-04 17:23:33,005: DEBUG - 1637 + trap '' EXIT
2019-03-04 17:23:33,005: DEBUG - 1638 + set +eu
2019-03-04 17:23:33,006: DEBUG - 1638 + echo -e '!!\n  nextcloud'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-03-04 17:23:33,006: DEBUG - 1638 + type -t ynh_clean_setup
2019-03-04 17:23:33,006: DEBUG - 1638 + ynh_die
2019-03-04 17:23:33,006: DEBUG - 1638 + echo ''
2019-03-04 17:23:33,006: DEBUG - 1639 + exit 1
2019-03-04 17:23:33,106: DEBUG - 1790 action [12026.1] executed in 1.559s
2019-03-04 17:23:33,107: WARNING - 1788 Impossible de sauvegarder l’application « nextcloud »
2019-03-04 17:23:33,107: WARNING - Traceback (most recent call last):
2019-03-04 17:23:33,107: WARNING -   File "/usr/lib/moulinette/yunohost/backup.py", line 685, in _collect_app_files
2019-03-04 17:23:33,108: WARNING -     raise_on_error=True, chdir=tmp_app_bkp_dir, env=env_dict)
2019-03-04 17:23:33,108: WARNING -   File "/usr/lib/moulinette/yunohost/hook.py", line 390, in hook_exec
2019-03-04 17:23:33,108: WARNING -     raise YunohostError('hook_exec_failed', path=path)
2019-03-04 17:23:33,109: WARNING - YunohostError: Échec de l’exécution du script « /tmp/backup_DQLYCC »
2019-03-04 17:23:33,109: WARNING - 1791 Il n’y a rien à sauvegarder
2019-03-04 17:23:33,209: DEBUG - + '[' 1 -eq 0 ']'
2019-03-04 17:23:33,210: WARNING - Backup failed, the upgrade process was aborted.
2019-03-04 17:23:33,210: DEBUG - + ynh_die 'Backup failed, the upgrade process was aborted.'
2019-03-04 17:23:33,210: DEBUG - + echo 'Backup failed, the upgrade process was aborted.'
2019-03-04 17:23:33,210: DEBUG - + exit 1
2019-03-04 17:23:33,359: ERROR - Impossible de mettre à jour nextcloud