ended_at: 2024-01-27 08:31:03.038572
env:
  BASH_XTRACEFD: '7'
  NO_BACKUP_UPGRADE: '0'
  YNH_APP_ACTION: upgrade
  YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6
  YNH_APP_CURRENT_VERSION: 1.6.0~ynh4
  YNH_APP_ID: roundcube
  YNH_APP_INSTANCE_NAME: roundcube
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 1.6.5~ynh1
  YNH_APP_PACKAGING_FORMAT: '1.0'
  YNH_APP_UPGRADE_TYPE: UPGRADE_FULL
  YNH_ARCH: amd64
  YNH_CWD: /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/scripts
  YNH_DEBIAN_VERSION: bullseye
  YNH_INTERFACE: api
  YNH_STDRETURN: /tmp/tmpxxir5v5n/stdreturn
error: null
interface: api
operation: app_upgrade
parent: null
related_to:
- - app
  - roundcube
started_at: 2024-01-27 08:30:08.960833
success: true
yunohost_version: 11.2.9.1

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

2024-01-27 09:30:08,977: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./upgrade"  7>&1']'
2024-01-27 09:30:08,988: DEBUG - + source _common.sh
2024-01-27 09:30:08,989: DEBUG - ++ YNH_PHP_VERSION=7.4
2024-01-27 09:30:08,989: DEBUG - ++ pkg_dependencies='php-pear php7.4-ldap php7.4-mysql php7.4-json php7.4-cli php7.4-intl php7.4-zip php7.4-gd php7.4-mbstring php7.4-dom php7.4-curl'
2024-01-27 09:30:08,990: DEBUG - ++ YNH_COMPOSER_VERSION=2.3.7
2024-01-27 09:30:08,990: DEBUG - ++ contextmenu_version=3.3.1
2024-01-27 09:30:08,990: DEBUG - ++ automatic_addressbook_version=v0.4.3
2024-01-27 09:30:08,990: DEBUG - ++ carddav_version=5.0.1
2024-01-27 09:30:08,990: DEBUG - + source /usr/share/yunohost/helpers
2024-01-27 09:30:08,991: DEBUG - +++ set +o
2024-01-27 09:30:08,992: DEBUG - +++ grep xtrace
2024-01-27 09:30:08,994: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2024-01-27 09:30:08,994: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2024-01-27 09:30:09,141: INFO - [....................] > Loading installation settings...
2024-01-27 09:30:09,143: DEBUG - + app=roundcube
2024-01-27 09:30:09,143: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=domain
2024-01-27 09:30:09,143: DEBUG - ++ local _globalapp=roundcube
2024-01-27 09:30:09,182: DEBUG - ++ app=roundcube
2024-01-27 09:30:09,182: DEBUG - ++ [[ domain =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:09,182: DEBUG - ++ ynh_app_setting get roundcube domain
2024-01-27 09:30:09,271: DEBUG - + domain=mail.maindomain.tld
2024-01-27 09:30:09,272: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=path
2024-01-27 09:30:09,272: DEBUG - ++ local _globalapp=roundcube
2024-01-27 09:30:09,328: DEBUG - ++ app=roundcube
2024-01-27 09:30:09,329: DEBUG - ++ [[ path =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:09,329: DEBUG - ++ ynh_app_setting get roundcube path
2024-01-27 09:30:09,423: DEBUG - + path_url=/
2024-01-27 09:30:09,424: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=final_path
2024-01-27 09:30:09,424: DEBUG - ++ local _globalapp=roundcube
2024-01-27 09:30:09,484: DEBUG - ++ app=roundcube
2024-01-27 09:30:09,484: DEBUG - ++ [[ final_path =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:09,484: DEBUG - ++ ynh_app_setting get roundcube final_path
2024-01-27 09:30:09,553: DEBUG - + final_path=/var/www/roundcube
2024-01-27 09:30:09,554: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=db_name
2024-01-27 09:30:09,554: DEBUG - ++ local _globalapp=roundcube
2024-01-27 09:30:09,597: DEBUG - ++ app=roundcube
2024-01-27 09:30:09,598: DEBUG - ++ [[ db_name =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:09,598: DEBUG - ++ ynh_app_setting get roundcube db_name
2024-01-27 09:30:09,661: DEBUG - + db_name=roundcube
2024-01-27 09:30:09,662: DEBUG - + db_user=roundcube
2024-01-27 09:30:09,662: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=with_carddav
2024-01-27 09:30:09,662: DEBUG - ++ local _globalapp=roundcube
2024-01-27 09:30:09,706: DEBUG - ++ app=roundcube
2024-01-27 09:30:09,707: DEBUG - ++ [[ with_carddav =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:09,707: DEBUG - ++ ynh_app_setting get roundcube with_carddav
2024-01-27 09:30:09,780: DEBUG - + with_carddav=1
2024-01-27 09:30:09,780: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=phpversion
2024-01-27 09:30:09,780: DEBUG - ++ local _globalapp=roundcube
2024-01-27 09:30:09,822: DEBUG - ++ app=roundcube
2024-01-27 09:30:09,823: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:09,823: DEBUG - ++ ynh_app_setting get roundcube phpversion
2024-01-27 09:30:09,886: DEBUG - + phpversion=7.4
2024-01-27 09:30:09,887: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=language
2024-01-27 09:30:09,887: DEBUG - ++ local _globalapp=roundcube
2024-01-27 09:30:09,929: DEBUG - ++ app=roundcube
2024-01-27 09:30:09,930: DEBUG - ++ [[ language =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:09,930: DEBUG - ++ ynh_app_setting get roundcube language
2024-01-27 09:30:10,014: DEBUG - + language=fr_FR
2024-01-27 09:30:10,015: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=mysqlpwd
2024-01-27 09:30:10,015: DEBUG - ++ local _globalapp=roundcube
2024-01-27 09:30:10,063: DEBUG - ++ app=roundcube
2024-01-27 09:30:10,063: DEBUG - ++ [[ mysqlpwd =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:10,063: DEBUG - ++ ynh_app_setting get roundcube mysqlpwd
2024-01-27 09:30:10,124: DEBUG - + db_pwd=**********
2024-01-27 09:30:10,125: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=fpm_footprint
2024-01-27 09:30:10,125: DEBUG - ++ local _globalapp=roundcube
2024-01-27 09:30:10,169: DEBUG - ++ app=roundcube
2024-01-27 09:30:10,170: DEBUG - ++ [[ fpm_footprint =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:10,170: DEBUG - ++ ynh_app_setting get roundcube fpm_footprint
2024-01-27 09:30:10,246: DEBUG - + fpm_footprint=low
2024-01-27 09:30:10,246: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=fpm_free_footprint
2024-01-27 09:30:10,246: DEBUG - ++ local _globalapp=roundcube
2024-01-27 09:30:10,295: DEBUG - ++ app=roundcube
2024-01-27 09:30:10,295: DEBUG - ++ [[ fpm_free_footprint =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:10,295: DEBUG - ++ ynh_app_setting get roundcube fpm_free_footprint
2024-01-27 09:30:10,378: DEBUG - + fpm_free_footprint=0
2024-01-27 09:30:10,379: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=fpm_usage
2024-01-27 09:30:10,379: DEBUG - ++ local _globalapp=roundcube
2024-01-27 09:30:10,430: DEBUG - ++ app=roundcube
2024-01-27 09:30:10,430: DEBUG - ++ [[ fpm_usage =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:10,430: DEBUG - ++ ynh_app_setting get roundcube fpm_usage
2024-01-27 09:30:10,497: DEBUG - + fpm_usage=low
2024-01-27 09:30:10,498: DEBUG - ++ ynh_check_app_version_changed
2024-01-27 09:30:10,498: DEBUG - ++ local return_value=UPGRADE_FULL
2024-01-27 09:30:10,498: DEBUG - ++ '[' UPGRADE_FULL == UPGRADE_FULL ']'
2024-01-27 09:30:10,498: DEBUG - ++ return_value=UPGRADE_APP
2024-01-27 09:30:10,499: DEBUG - ++ echo UPGRADE_APP
2024-01-27 09:30:10,499: DEBUG - + upgrade_type=UPGRADE_APP
2024-01-27 09:30:10,598: INFO - [+...................] > Backing up roundcube before upgrading (may take a while)...
2024-01-27 09:30:10,599: DEBUG - + ynh_backup_before_upgrade
2024-01-27 09:30:10,599: DEBUG - + '[' '!' -e /etc/yunohost/apps/roundcube/scripts/backup ']'
2024-01-27 09:30:10,599: DEBUG - + backup_number=1
2024-01-27 09:30:10,599: DEBUG - + local old_backup_number=2
2024-01-27 09:30:10,600: DEBUG - + local app_bck=roundcube
2024-01-27 09:30:10,600: DEBUG - + NO_BACKUP_UPGRADE=0
2024-01-27 09:30:10,600: DEBUG - + ynh_backup_archive_exists roundcube-pre-upgrade1
2024-01-27 09:30:10,600: DEBUG - + yunohost backup list --output-as json --quiet
2024-01-27 09:30:10,600: DEBUG - + jq -e --arg archive roundcube-pre-upgrade1 '.archives | index($archive)'
2024-01-27 09:30:11,294: DEBUG - + BACKUP_CORE_ONLY=1
2024-01-27 09:30:11,294: DEBUG - + yunohost backup create --apps roundcube --name roundcube-pre-upgrade1 --debug
2024-01-27 09:30:11,485: DEBUG - 143  initializing base actions map parser for cli
2024-01-27 09:30:11,486: DEBUG - 144  loading actions map
2024-01-27 09:30:11,487: DEBUG - 145  building parser...
2024-01-27 09:30:11,492: DEBUG - 150  building parser took 0.004s
2024-01-27 09:30:11,494: DEBUG - 152  acquiring lock...
2024-01-27 09:30:11,673: DEBUG - 331  loading python module yunohost.backup took 0.166s
2024-01-27 09:30:11,674: DEBUG - 332  processing action [3132342.1]: yunohost.backup.create with args={'name': 'roundcube-pre-upgrade1', 'description': None, 'output_directory': None, 'methods': None, 'system': None, 'apps': ['roundcube'], 'dry_run': False}
2024-01-27 09:30:11,741: DEBUG - 399  Collecting files to be backed up for roundcube...
2024-01-27 09:30:11,773: DEBUG - 431  Executing command '['sh', '-c', '/bin/bash -x "/var/cache/yunohost/app_tmp_work_dirs/app_qb4cov5h/scripts/backup"  7>&1']'
2024-01-27 09:30:11,781: DEBUG - 439  + source ../settings/scripts/_common.sh
2024-01-27 09:30:11,782: DEBUG - 440  ++ YNH_PHP_VERSION=7.4
2024-01-27 09:30:11,782: DEBUG - 440  ++ pkg_dependencies='php-pear php7.4-ldap php7.4-mysql php7.4-json php7.4-cli php7.4-intl php7.4-zip php7.4-gd php7.4-mbstring php7.4-dom php7.4-curl'
2024-01-27 09:30:11,783: DEBUG - 441  ++ YNH_COMPOSER_VERSION=2.3.7
2024-01-27 09:30:11,783: DEBUG - 441  ++ contextmenu_version=3.3.1
2024-01-27 09:30:11,783: DEBUG - 441  ++ automatic_addressbook_version=v0.4.3
2024-01-27 09:30:11,784: DEBUG - 442  ++ carddav_version=5.0.1
2024-01-27 09:30:11,784: DEBUG - 442  + source /usr/share/yunohost/helpers
2024-01-27 09:30:11,785: DEBUG - 443  +++ set +o
2024-01-27 09:30:11,785: DEBUG - 443  +++ grep xtrace
2024-01-27 09:30:11,785: DEBUG - 443  ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2024-01-27 09:30:11,786: DEBUG - 444  ++ XTRACE_ENABLE='set -o xtrace'
2024-01-27 09:30:11,809: DEBUG - 467  + ynh_abort_if_errors
2024-01-27 09:30:11,811: DEBUG - 469  + trap ynh_exit_properly EXIT
2024-01-27 09:30:11,811: DEBUG - 469  + ynh_print_info '--message=Loading installation settings...'
2024-01-27 09:30:11,824: DEBUG - 482  + echo 'Loading installation settings...'
2024-01-27 09:30:11,825: DEBUG - 483  + app=roundcube
2024-01-27 09:30:11,825: DEBUG - 483  Loading installation settings...
2024-01-27 09:30:11,825: DEBUG - 484  ++ ynh_app_setting_get --app=roundcube --key=final_path
2024-01-27 09:30:11,826: DEBUG - 484  ++ local _globalapp=roundcube
2024-01-27 09:30:11,871: DEBUG - 529  ++ app=roundcube
2024-01-27 09:30:11,871: DEBUG - 529  ++ [[ final_path =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:11,871: DEBUG - 529  ++ ynh_app_setting get roundcube final_path
2024-01-27 09:30:11,945: DEBUG - 603  + final_path=/var/www/roundcube
2024-01-27 09:30:11,946: DEBUG - 603  ++ ynh_app_setting_get --app=roundcube --key=domain
2024-01-27 09:30:11,946: DEBUG - 604  ++ local _globalapp=roundcube
2024-01-27 09:30:11,990: DEBUG - 648  ++ app=roundcube
2024-01-27 09:30:11,991: DEBUG - 648  ++ [[ domain =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:11,991: DEBUG - 648  ++ ynh_app_setting get roundcube domain
2024-01-27 09:30:12,060: DEBUG - 717  + domain=mail.maindomain.tld
2024-01-27 09:30:12,060: DEBUG - 718  ++ ynh_app_setting_get --app=roundcube --key=db_name
2024-01-27 09:30:12,061: DEBUG - 718  ++ local _globalapp=roundcube
2024-01-27 09:30:12,111: DEBUG - 769  ++ app=roundcube
2024-01-27 09:30:12,112: DEBUG - 769  ++ [[ db_name =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:12,112: DEBUG - 769  ++ ynh_app_setting get roundcube db_name
2024-01-27 09:30:12,184: DEBUG - 842  + db_name=roundcube
2024-01-27 09:30:12,185: DEBUG - 842  ++ ynh_app_setting_get --app=roundcube --key=phpversion
2024-01-27 09:30:12,185: DEBUG - 842  ++ local _globalapp=roundcube
2024-01-27 09:30:12,235: DEBUG - 892  ++ app=roundcube
2024-01-27 09:30:12,235: DEBUG - 893  ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:12,236: DEBUG - 893  ++ ynh_app_setting get roundcube phpversion
2024-01-27 09:30:12,299: DEBUG - 956  + phpversion=7.4
2024-01-27 09:30:12,300: DEBUG - 957  + ynh_print_info '--message=Declaring files to be backed up...'
2024-01-27 09:30:12,316: DEBUG - 974  Declaring files to be backed up...
2024-01-27 09:30:12,317: DEBUG - 974  + echo 'Declaring files to be backed up...'
2024-01-27 09:30:12,317: DEBUG - 974  + ynh_backup --src_path=/var/www/roundcube
2024-01-27 09:30:12,368: DEBUG - 1025 + dest_path=
2024-01-27 09:30:12,368: DEBUG - 1025 + is_big=0
2024-01-27 09:30:12,368: DEBUG - 1025 + not_mandatory=0
2024-01-27 09:30:12,368: DEBUG - 1025 + BACKUP_CORE_ONLY=1
2024-01-27 09:30:12,369: DEBUG - 1026 + test -n roundcube
2024-01-27 09:30:12,369: DEBUG - 1026 ++ ynh_app_setting_get --app=roundcube --key=do_not_backup_data
2024-01-27 09:30:12,369: DEBUG - 1026 ++ local _globalapp=roundcube
2024-01-27 09:30:12,417: DEBUG - 1074 ++ app=roundcube
2024-01-27 09:30:12,417: DEBUG - 1074 ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:12,417: DEBUG - 1075 ++ ynh_app_setting get roundcube do_not_backup_data
2024-01-27 09:30:12,478: DEBUG - 1135 + do_not_backup_data=
2024-01-27 09:30:12,479: DEBUG - 1136 + '[' '!' -e /var/www/roundcube ']'
2024-01-27 09:30:12,479: DEBUG - 1137 ++ realpath /var/www/roundcube
2024-01-27 09:30:12,484: DEBUG - 1141 + src_path=/var/www/roundcube
2024-01-27 09:30:12,484: DEBUG - 1141 + [[ -z '' ]]
2024-01-27 09:30:12,484: DEBUG - 1141 + dest_path=var/www/roundcube
2024-01-27 09:30:12,484: DEBUG - 1141 + [[ -e var/www/roundcube ]]
2024-01-27 09:30:12,484: DEBUG - 1141 + local rel_dir=/apps/roundcube/backup
2024-01-27 09:30:12,484: DEBUG - 1141 + rel_dir=/apps/roundcube/backup/
2024-01-27 09:30:12,485: DEBUG - 1142 + dest_path=/apps/roundcube/backup/var/www/roundcube
2024-01-27 09:30:12,485: DEBUG - 1142 + dest_path=apps/roundcube/backup/var/www/roundcube
2024-01-27 09:30:12,485: DEBUG - 1143 ++ echo /var/www/roundcube
2024-01-27 09:30:12,485: DEBUG - 1143 ++ sed --regexp-extended 's/"/\"\"/g'
2024-01-27 09:30:12,488: DEBUG - 1146 + local src=/var/www/roundcube
2024-01-27 09:30:12,489: DEBUG - 1147 ++ echo apps/roundcube/backup/var/www/roundcube
2024-01-27 09:30:12,489: DEBUG - 1147 ++ sed --regexp-extended 's/"/\"\"/g'
2024-01-27 09:30:12,492: DEBUG - 1150 + local dest=apps/roundcube/backup/var/www/roundcube
2024-01-27 09:30:12,493: DEBUG - 1151 + echo '"/var/www/roundcube","apps/roundcube/backup/var/www/roundcube"'
2024-01-27 09:30:12,493: DEBUG - 1151 ++ dirname /home/yunohost.backup/tmp/roundcube-pre-upgrade1/apps/roundcube/backup/var/www/roundcube
2024-01-27 09:30:12,496: DEBUG - 1154 + mkdir --parents /home/yunohost.backup/tmp/roundcube-pre-upgrade1/apps/roundcube/backup/var/www
2024-01-27 09:30:12,501: DEBUG - 1159 + ynh_backup --src_path=/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:12,550: DEBUG - 1208 + dest_path=
2024-01-27 09:30:12,552: DEBUG - 1208 + is_big=0
2024-01-27 09:30:12,552: DEBUG - 1208 + not_mandatory=0
2024-01-27 09:30:12,552: DEBUG - 1208 + BACKUP_CORE_ONLY=1
2024-01-27 09:30:12,553: DEBUG - 1208 + test -n roundcube
2024-01-27 09:30:12,553: DEBUG - 1209 ++ ynh_app_setting_get --app=roundcube --key=do_not_backup_data
2024-01-27 09:30:12,553: DEBUG - 1209 ++ local _globalapp=roundcube
2024-01-27 09:30:12,604: DEBUG - 1261 ++ app=roundcube
2024-01-27 09:30:12,604: DEBUG - 1261 ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:12,604: DEBUG - 1261 ++ ynh_app_setting get roundcube do_not_backup_data
2024-01-27 09:30:12,667: DEBUG - 1325 + do_not_backup_data=
2024-01-27 09:30:12,668: DEBUG - 1325 + '[' '!' -e /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf ']'
2024-01-27 09:30:12,668: DEBUG - 1326 ++ realpath /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:12,670: DEBUG - 1327 + src_path=/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:12,670: DEBUG - 1328 + [[ -z '' ]]
2024-01-27 09:30:12,670: DEBUG - 1328 + dest_path=etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:12,671: DEBUG - 1328 + [[ -e etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf ]]
2024-01-27 09:30:12,672: DEBUG - 1328 + local rel_dir=/apps/roundcube/backup
2024-01-27 09:30:12,672: DEBUG - 1329 + rel_dir=/apps/roundcube/backup/
2024-01-27 09:30:12,672: DEBUG - 1329 + dest_path=/apps/roundcube/backup/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:12,673: DEBUG - 1330 + dest_path=apps/roundcube/backup/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:12,673: DEBUG - 1330 ++ echo /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:12,673: DEBUG - 1330 ++ sed --regexp-extended 's/"/\"\"/g'
2024-01-27 09:30:12,674: DEBUG - 1332 + local src=/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:12,675: DEBUG - 1333 ++ echo apps/roundcube/backup/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:12,676: DEBUG - 1334 ++ sed --regexp-extended 's/"/\"\"/g'
2024-01-27 09:30:12,679: DEBUG - 1336 + local dest=apps/roundcube/backup/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:12,679: DEBUG - 1337 + echo '"/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf","apps/roundcube/backup/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf"'
2024-01-27 09:30:12,680: DEBUG - 1338 ++ dirname /home/yunohost.backup/tmp/roundcube-pre-upgrade1/apps/roundcube/backup/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:12,681: DEBUG - 1339 + mkdir --parents /home/yunohost.backup/tmp/roundcube-pre-upgrade1/apps/roundcube/backup/etc/nginx/conf.d/mail.maindomain.tld.d
2024-01-27 09:30:12,685: DEBUG - 1343 + ynh_backup --src_path=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:12,736: DEBUG - 1393 + dest_path=
2024-01-27 09:30:12,736: DEBUG - 1393 + is_big=0
2024-01-27 09:30:12,736: DEBUG - 1393 + not_mandatory=0
2024-01-27 09:30:12,736: DEBUG - 1393 + BACKUP_CORE_ONLY=1
2024-01-27 09:30:12,737: DEBUG - 1394 + test -n roundcube
2024-01-27 09:30:12,738: DEBUG - 1395 ++ ynh_app_setting_get --app=roundcube --key=do_not_backup_data
2024-01-27 09:30:12,738: DEBUG - 1395 ++ local _globalapp=roundcube
2024-01-27 09:30:12,779: DEBUG - 1437 ++ app=roundcube
2024-01-27 09:30:12,779: DEBUG - 1437 ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:12,780: DEBUG - 1437 ++ ynh_app_setting get roundcube do_not_backup_data
2024-01-27 09:30:12,858: DEBUG - 1516 + do_not_backup_data=
2024-01-27 09:30:12,859: DEBUG - 1517 + '[' '!' -e /etc/php/7.4/fpm/pool.d/roundcube.conf ']'
2024-01-27 09:30:12,859: DEBUG - 1517 ++ realpath /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:12,862: DEBUG - 1519 + src_path=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:12,862: DEBUG - 1519 + [[ -z '' ]]
2024-01-27 09:30:12,862: DEBUG - 1520 + dest_path=etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:12,862: DEBUG - 1520 + [[ -e etc/php/7.4/fpm/pool.d/roundcube.conf ]]
2024-01-27 09:30:12,862: DEBUG - 1520 + local rel_dir=/apps/roundcube/backup
2024-01-27 09:30:12,863: DEBUG - 1520 + rel_dir=/apps/roundcube/backup/
2024-01-27 09:30:12,863: DEBUG - 1521 + dest_path=/apps/roundcube/backup/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:12,863: DEBUG - 1521 + dest_path=apps/roundcube/backup/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:12,864: DEBUG - 1521 ++ echo /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:12,864: DEBUG - 1521 ++ sed --regexp-extended 's/"/\"\"/g'
2024-01-27 09:30:12,867: DEBUG - 1524 + local src=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:12,867: DEBUG - 1525 ++ echo apps/roundcube/backup/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:12,868: DEBUG - 1526 ++ sed --regexp-extended 's/"/\"\"/g'
2024-01-27 09:30:12,871: DEBUG - 1528 + local dest=apps/roundcube/backup/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:12,871: DEBUG - 1529 + echo '"/etc/php/7.4/fpm/pool.d/roundcube.conf","apps/roundcube/backup/etc/php/7.4/fpm/pool.d/roundcube.conf"'
2024-01-27 09:30:12,871: DEBUG - 1529 ++ dirname /home/yunohost.backup/tmp/roundcube-pre-upgrade1/apps/roundcube/backup/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:12,874: DEBUG - 1532 + mkdir --parents /home/yunohost.backup/tmp/roundcube-pre-upgrade1/apps/roundcube/backup/etc/php/7.4/fpm/pool.d
2024-01-27 09:30:12,879: DEBUG - 1536 + ynh_print_info '--message=Backing up the MySQL database...'
2024-01-27 09:30:12,900: DEBUG - 1556 + echo 'Backing up the MySQL database...'
2024-01-27 09:30:12,901: DEBUG - 1557 + ynh_mysql_dump_db --database=roundcube
2024-01-27 09:30:12,902: DEBUG - 1558 Backing up the MySQL database...
2024-01-27 09:30:12,914: DEBUG - 1572 + mysqldump --single-transaction --skip-dump-date --routines roundcube
2024-01-27 09:30:12,996: DEBUG - 1653 + ynh_print_info '--message=Backup script completed for roundcube. (YunoHost will then actually copy those files to the archive).'
2024-01-27 09:30:13,015: DEBUG - 1671 + echo 'Backup script completed for roundcube. (YunoHost will then actually copy those files to the archive).'
2024-01-27 09:30:13,015: DEBUG - 1671 + ynh_exit_properly
2024-01-27 09:30:13,015: DEBUG - 1672 + [[ backup =~ ^install$|^upgrade$|^restore$ ]]
2024-01-27 09:30:13,015: DEBUG - 1672 + exit 0
2024-01-27 09:30:13,016: DEBUG - 1672 Backup script completed for roundcube. (YunoHost will then actually copy those files to the archive).
2024-01-27 09:30:14,017: DEBUG - 2675 Backup permission for roundcube
2024-01-27 09:30:14,122: DEBUG - 2779 initializing ldap interface
2024-01-27 09:30:14,434: DEBUG - 3091 Creating a backup archive from the collected files...
2024-01-27 09:30:14,435: DEBUG - 3092 The archive will contain about 53.8MB of data.
2024-01-27 09:30:14,435: DEBUG - 3092 Creating the backup TAR archive...
2024-01-27 09:30:19,368: DEBUG - 8025 TAR backup archive created
2024-01-27 09:30:19,368: DEBUG - 8026 Backup created: roundcube-pre-upgrade1
2024-01-27 09:30:19,371: DEBUG - 8029 To view the log of the operation 'Create a backup archive', use the command 'yunohost log show 20240127-083011-backup_create'
2024-01-27 09:30:19,384: DEBUG - 8042 action [3132342.1] executed in 7.710s
2024-01-27 09:30:19,384: DEBUG - name: roundcube-pre-upgrade1
2024-01-27 09:30:19,385: DEBUG - results:
2024-01-27 09:30:19,385: DEBUG -   apps:
2024-01-27 09:30:19,385: DEBUG -     roundcube: Success
2024-01-27 09:30:19,385: DEBUG -   system:
2024-01-27 09:30:19,385: DEBUG - size: 56389018
2024-01-27 09:30:19,471: DEBUG - + ynh_backup_archive_exists roundcube-pre-upgrade2
2024-01-27 09:30:19,471: DEBUG - + yunohost backup list --output-as json --quiet
2024-01-27 09:30:19,471: DEBUG - + jq -e --arg archive roundcube-pre-upgrade2 '.archives | index($archive)'
2024-01-27 09:30:19,900: DEBUG - + ynh_abort_if_errors
2024-01-27 09:30:19,901: DEBUG - + trap ynh_exit_properly EXIT
2024-01-27 09:30:20,004: INFO - [#...................] > Ensuring downward compatibility...
2024-01-27 09:30:20,006: DEBUG - + '[' -z roundcube ']'
2024-01-27 09:30:20,006: DEBUG - + '[' -z /var/www/roundcube ']'
2024-01-27 09:30:20,006: DEBUG - + '[' -z 1 ']'
2024-01-27 09:30:20,006: DEBUG - + '[' -z fr_FR ']'
2024-01-27 09:30:20,006: DEBUG - + '[' -z low ']'
2024-01-27 09:30:20,006: DEBUG - + '[' -z 0 ']'
2024-01-27 09:30:20,007: DEBUG - + '[' -z low ']'
2024-01-27 09:30:20,007: DEBUG - + ynh_legacy_permissions_exists
2024-01-27 09:30:20,007: DEBUG - + for permission in "skipped" "unprotected" "protected"
2024-01-27 09:30:20,007: DEBUG - + ynh_permission_exists --permission=legacy_skipped_uris
2024-01-27 09:30:20,022: DEBUG - + yunohost user permission list roundcube --output-as json --quiet
2024-01-27 09:30:20,022: DEBUG - + jq -e --arg perm roundcube.legacy_skipped_uris '.permissions[$perm]'
2024-01-27 09:30:20,408: DEBUG - + for permission in "skipped" "unprotected" "protected"
2024-01-27 09:30:20,409: DEBUG - + ynh_permission_exists --permission=legacy_unprotected_uris
2024-01-27 09:30:20,424: DEBUG - + yunohost user permission list roundcube --output-as json --quiet
2024-01-27 09:30:20,424: DEBUG - + jq -e --arg perm roundcube.legacy_unprotected_uris '.permissions[$perm]'
2024-01-27 09:30:20,795: DEBUG - + for permission in "skipped" "unprotected" "protected"
2024-01-27 09:30:20,795: DEBUG - + ynh_permission_exists --permission=legacy_protected_uris
2024-01-27 09:30:20,813: DEBUG - + yunohost user permission list roundcube --output-as json --quiet
2024-01-27 09:30:20,813: DEBUG - + jq -e --arg perm roundcube.legacy_protected_uris '.permissions[$perm]'
2024-01-27 09:30:21,204: DEBUG - + return 1
2024-01-27 09:30:21,321: INFO - [#+..................] > Making sure dedicated system user exists...
2024-01-27 09:30:21,323: DEBUG - + ynh_system_user_create --username=roundcube --home_dir=/var/www/roundcube
2024-01-27 09:30:21,411: DEBUG - + use_shell=0
2024-01-27 09:30:21,411: DEBUG - + home_dir=/var/www/roundcube
2024-01-27 09:30:21,411: DEBUG - + groups=
2024-01-27 09:30:21,411: DEBUG - + ynh_system_user_exists roundcube
2024-01-27 09:30:21,431: DEBUG - + getent passwd roundcube
2024-01-27 09:30:21,441: DEBUG - ++ grep RCMAIL_VERSION /var/www/roundcube/program/include/iniset.php
2024-01-27 09:30:21,442: DEBUG - ++ cut '-d'\''' -f4
2024-01-27 09:30:21,447: DEBUG - + oldversion=1.6.0
2024-01-27 09:30:21,447: DEBUG - + '[' UPGRADE_APP == UPGRADE_APP ']'
2024-01-27 09:30:21,558: INFO - [##..................] > Upgrading source files...
2024-01-27 09:30:21,560: DEBUG - + ynh_setup_source --dest_dir=/var/www/roundcube
2024-01-27 09:30:21,606: DEBUG - + keep=
2024-01-27 09:30:21,607: DEBUG - + full_replace=0
2024-01-27 09:30:21,607: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.toml
2024-01-27 09:30:21,607: DEBUG - + source_id=app
2024-01-27 09:30:21,607: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/app.src
2024-01-27 09:30:21,607: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/app.src
2024-01-27 09:30:21,607: DEBUG - ++ cut --delimiter== --fields=2-
2024-01-27 09:30:21,610: DEBUG - + local src_url=https://github.com/roundcube/roundcubemail/releases/download/1.6.5/roundcubemail-1.6.5.tar.gz
2024-01-27 09:30:21,612: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/app.src
2024-01-27 09:30:21,612: DEBUG - ++ cut --delimiter== --fields=2-
2024-01-27 09:30:21,616: DEBUG - + local src_sum=6c830faa0674d917c426d9b694793743c51f8bf649cd6e7fc605957bcccd1730
2024-01-27 09:30:21,618: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/app.src
2024-01-27 09:30:21,618: DEBUG - ++ cut --delimiter== --fields=2-
2024-01-27 09:30:21,622: DEBUG - + local src_sumprg=sha256sum
2024-01-27 09:30:21,624: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/app.src
2024-01-27 09:30:21,624: DEBUG - ++ cut --delimiter== --fields=2-
2024-01-27 09:30:21,628: DEBUG - + local src_format=tar.gz
2024-01-27 09:30:21,628: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/app.src
2024-01-27 09:30:21,629: DEBUG - ++ cut --delimiter== --fields=2-
2024-01-27 09:30:21,632: DEBUG - + local src_in_subdir=true
2024-01-27 09:30:21,633: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/app.src
2024-01-27 09:30:21,633: DEBUG - ++ cut --delimiter== --fields=2-
2024-01-27 09:30:21,636: DEBUG - + local src_rename=
2024-01-27 09:30:21,637: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/app.src
2024-01-27 09:30:21,638: DEBUG - ++ cut --delimiter== --fields=2-
2024-01-27 09:30:21,641: DEBUG - + local src_extract=
2024-01-27 09:30:21,642: DEBUG - ++ grep SOURCE_PLATFORM= /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/app.src
2024-01-27 09:30:21,642: DEBUG - ++ cut --delimiter== --fields=2-
2024-01-27 09:30:21,645: DEBUG - + local src_platform=
2024-01-27 09:30:21,646: DEBUG - + src_sumprg=sha256sum
2024-01-27 09:30:21,646: DEBUG - + src_in_subdir=true
2024-01-27 09:30:21,646: DEBUG - + src_format=tar.gz
2024-01-27 09:30:21,646: DEBUG - ++ echo tar.gz
2024-01-27 09:30:21,647: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2024-01-27 09:30:21,650: DEBUG - + src_format=tar.gz
2024-01-27 09:30:21,650: DEBUG - + src_extract=true
2024-01-27 09:30:21,650: DEBUG - + [[ true != \t\r\u\e ]]
2024-01-27 09:30:21,650: DEBUG - + local local_src=/opt/yunohost-apps-src/roundcube/app
2024-01-27 09:30:21,651: DEBUG - ++ dirname /var/cache/yunohost/download/roundcube/app
2024-01-27 09:30:21,652: DEBUG - + mkdir -p /var/cache/yunohost/download/roundcube
2024-01-27 09:30:21,654: DEBUG - + src_filename=/var/cache/yunohost/download/roundcube/app
2024-01-27 09:30:21,655: DEBUG - + '[' tar.gz = docker ']'
2024-01-27 09:30:21,655: DEBUG - + test -e /opt/yunohost-apps-src/roundcube/app
2024-01-27 09:30:21,656: DEBUG - + '[' -n https://github.com/roundcube/roundcubemail/releases/download/1.6.5/roundcubemail-1.6.5.tar.gz ']'
2024-01-27 09:30:21,656: DEBUG - + '[' -e /var/cache/yunohost/download/roundcube/app ']'
2024-01-27 09:30:21,656: DEBUG - + '[' '!' -e /var/cache/yunohost/download/roundcube/app ']'
2024-01-27 09:30:21,656: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/roundcube/app https://github.com/roundcube/roundcubemail/releases/download/1.6.5/roundcubemail-1.6.5.tar.gz
2024-01-27 09:30:22,800: DEBUG - + out='2024-01-27 09:30:22 URL:https://objects.githubusercontent.com/github-production-release-asset-2e65be/4224042/f5f4b13d-497a-492b-a7e1-7db542d81e8b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240127%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240127T083021Z&X-Amz-Expires=300&X-Amz-Signature=76e0edc8f573f756850f65e7248f21fe60986fda7a212a125386b60de7b3b691&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=4224042&response-content-disposition=attachment%3B%20filename%3Droundcubemail-1.6.5.tar.gz&response-content-type=application%2Foctet-stream [3947351/3947351] -> "/var/cache/yunohost/download/roundcube/app" [1]'
2024-01-27 09:30:22,801: DEBUG - + sha256sum --check --status
2024-01-27 09:30:22,836: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-01-27 09:30:22,838: DEBUG - + '[' -n '' ']'
2024-01-27 09:30:22,839: DEBUG - + mkdir --parents /var/www/roundcube
2024-01-27 09:30:22,840: DEBUG - + '[' -n '' ']'
2024-01-27 09:30:22,841: DEBUG - + '[' -n /var/www/roundcube ']'
2024-01-27 09:30:22,841: DEBUG - + '[' /var/www/roundcube == /var/www/roundcube ']'
2024-01-27 09:30:22,841: DEBUG - + _ynh_apply_default_permissions /var/www/roundcube
2024-01-27 09:30:22,841: DEBUG - + local target=/var/www/roundcube
2024-01-27 09:30:22,842: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-01-27 09:30:22,842: DEBUG - ++ tr -d '<>= '
2024-01-27 09:30:22,868: DEBUG - ++ '[' '!' -e '' ']'
2024-01-27 09:30:22,868: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json ']'
2024-01-27 09:30:22,868: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json
2024-01-27 09:30:22,869: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json
2024-01-27 09:30:22,869: DEBUG - ++ grep -q '\.json$'
2024-01-27 09:30:22,870: DEBUG - ++ jq .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json --raw-output
2024-01-27 09:30:22,930: DEBUG - + local ynh_requirement=11.2
2024-01-27 09:30:22,931: DEBUG - + dpkg --compare-versions 1.0 ge 2
2024-01-27 09:30:22,933: DEBUG - + '[' -z 11.2 ']'
2024-01-27 09:30:22,933: DEBUG - + '[' 11.2 == null ']'
2024-01-27 09:30:22,933: DEBUG - + dpkg --compare-versions 11.2 ge 4.2
2024-01-27 09:30:22,935: DEBUG - + chmod o-rwx /var/www/roundcube
2024-01-27 09:30:22,937: DEBUG - + chmod g-w /var/www/roundcube
2024-01-27 09:30:22,938: DEBUG - + chown -R root:root /var/www/roundcube
2024-01-27 09:30:22,993: DEBUG - + ynh_system_user_exists roundcube
2024-01-27 09:30:23,008: DEBUG - + getent passwd roundcube
2024-01-27 09:30:23,011: DEBUG - + chown roundcube:roundcube /var/www/roundcube
2024-01-27 09:30:23,017: DEBUG - + echo /var/www/roundcube
2024-01-27 09:30:23,018: DEBUG - + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
2024-01-27 09:30:23,022: DEBUG - + [[ true == \f\a\l\s\e ]]
2024-01-27 09:30:23,023: DEBUG - + [[ tar.gz == \d\o\c\k\e\r ]]
2024-01-27 09:30:23,023: DEBUG - + [[ tar.gz == \z\i\p ]]
2024-01-27 09:30:23,024: DEBUG - + local strip=
2024-01-27 09:30:23,024: DEBUG - + '[' true '!=' false ']'
2024-01-27 09:30:23,024: DEBUG - + '[' true == true ']'
2024-01-27 09:30:23,024: DEBUG - + local sub_dirs=1
2024-01-27 09:30:23,024: DEBUG - + strip='--strip-components 1'
2024-01-27 09:30:23,024: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2024-01-27 09:30:23,024: DEBUG - + tar --extract --file=/var/cache/yunohost/download/roundcube/app --directory=/var/www/roundcube --strip-components 1
2024-01-27 09:30:23,357: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/roundcube/app
2024-01-27 09:30:23,394: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/sources/patches/ ']'
2024-01-27 09:30:23,394: DEBUG - ++ realpath /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/sources/patches/
2024-01-27 09:30:23,396: DEBUG - + local patches_folder=/var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/sources/patches
2024-01-27 09:30:23,398: DEBUG - ++ find /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/sources/patches -type f -name 'app-*.patch'
2024-01-27 09:30:23,398: DEBUG - ++ wc --lines
2024-01-27 09:30:23,404: DEBUG - + (( 1 > 0 ))
2024-01-27 09:30:23,404: DEBUG - + pushd /var/www/roundcube
2024-01-27 09:30:23,405: DEBUG - /var/www/roundcube /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/scripts
2024-01-27 09:30:23,405: DEBUG - + for p in $patches_folder/${source_id}-*.patch
2024-01-27 09:30:23,406: DEBUG - + echo /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/sources/patches/app-fix-login-page-when-ssoed.patch
2024-01-27 09:30:23,406: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/sources/patches/app-fix-login-page-when-ssoed.patch
2024-01-27 09:30:23,406: DEBUG - + patch --strip=1
2024-01-27 09:30:23,411: DEBUG - patching file index.php
2024-01-27 09:30:23,412: DEBUG - Hunk #1 succeeded at 220 (offset 10 lines).
2024-01-27 09:30:23,412: DEBUG - + popd
2024-01-27 09:30:23,413: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/scripts
2024-01-27 09:30:23,413: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/sources/extra_files/app
2024-01-27 09:30:23,413: DEBUG - + '[' -n '' ']'
2024-01-27 09:30:23,413: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-01-27 09:30:23,416: DEBUG - + chmod 750 /var/www/roundcube
2024-01-27 09:30:23,418: DEBUG - + chmod -R o-rwx /var/www/roundcube
2024-01-27 09:30:23,470: DEBUG - + chown -R roundcube:www-data /var/www/roundcube
2024-01-27 09:30:23,662: INFO - [##..................] > Upgrading dependencies...
2024-01-27 09:30:23,663: DEBUG - + ynh_install_app_dependencies php-pear php7.4-ldap php7.4-mysql php7.4-json php7.4-cli php7.4-intl php7.4-zip php7.4-gd php7.4-mbstring php7.4-dom php7.4-curl
2024-01-27 09:30:23,663: DEBUG - + local 'dependencies=php-pear php7.4-ldap php7.4-mysql php7.4-json php7.4-cli php7.4-intl php7.4-zip php7.4-gd php7.4-mbstring php7.4-dom php7.4-curl'
2024-01-27 09:30:23,663: DEBUG - ++ echo 'php-pear php7.4-ldap php7.4-mysql php7.4-json php7.4-cli php7.4-intl php7.4-zip php7.4-gd php7.4-mbstring php7.4-dom php7.4-curl'
2024-01-27 09:30:23,664: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2024-01-27 09:30:23,667: DEBUG - + dependencies='php-pear, php7.4-ldap, php7.4-mysql, php7.4-json, php7.4-cli, php7.4-intl, php7.4-zip, php7.4-gd, php7.4-mbstring, php7.4-dom, php7.4-curl'
2024-01-27 09:30:23,667: DEBUG - + local 'dependencies=php-pear, php7.4-ldap, php7.4-mysql, php7.4-json, php7.4-cli, php7.4-intl, php7.4-zip, php7.4-gd, php7.4-mbstring, php7.4-dom, php7.4-curl'
2024-01-27 09:30:23,667: DEBUG - ++ ynh_read_manifest --manifest_key=version
2024-01-27 09:30:23,697: DEBUG - ++ '[' '!' -e '' ']'
2024-01-27 09:30:23,697: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json ']'
2024-01-27 09:30:23,697: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json
2024-01-27 09:30:23,698: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json
2024-01-27 09:30:23,698: DEBUG - ++ grep -q '\.json$'
2024-01-27 09:30:23,701: DEBUG - ++ jq .version /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json --raw-output
2024-01-27 09:30:23,758: DEBUG - + local version=1.6.5~ynh1
2024-01-27 09:30:23,759: DEBUG - + '[' -z 1.6.5~ynh1 ']'
2024-01-27 09:30:23,759: DEBUG - + '[' 1.6.5~ynh1 == null ']'
2024-01-27 09:30:23,759: DEBUG - + local dep_app=roundcube
2024-01-27 09:30:23,759: DEBUG - + [[ php-pear, php7.4-ldap, php7.4-mysql, php7.4-json, php7.4-cli, php7.4-intl, php7.4-zip, php7.4-gd, php7.4-mbstring, php7.4-dom, php7.4-curl =~ [<=>] ]]
2024-01-27 09:30:23,760: DEBUG - ++ echo php-pear, php7.4-ldap, php7.4-mysql, php7.4-json, php7.4-cli, php7.4-intl, php7.4-zip, php7.4-gd, php7.4-mbstring, php7.4-dom, php7.4-curl
2024-01-27 09:30:23,760: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>|)'
2024-01-27 09:30:23,760: DEBUG - ++ sort -u
2024-01-27 09:30:23,764: DEBUG - + local specific_php_version=7.4
2024-01-27 09:30:23,764: DEBUG - + [[ -n 7.4 ]]
2024-01-27 09:30:23,765: DEBUG - ++ echo 7.4
2024-01-27 09:30:23,765: DEBUG - ++ wc -l
2024-01-27 09:30:23,768: DEBUG - + [[ 1 -eq 1 ]]
2024-01-27 09:30:23,769: DEBUG - + dependencies+=', php7.4, php7.4-fpm, php7.4-common'
2024-01-27 09:30:23,769: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=phpversion
2024-01-27 09:30:23,769: DEBUG - ++ local _globalapp=roundcube
2024-01-27 09:30:23,821: DEBUG - ++ app=roundcube
2024-01-27 09:30:23,821: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:23,821: DEBUG - ++ ynh_app_setting get roundcube phpversion
2024-01-27 09:30:23,893: DEBUG - + local old_phpversion=7.4
2024-01-27 09:30:23,893: DEBUG - + '[' -n 7.4 ']'
2024-01-27 09:30:23,893: DEBUG - + '[' 7.4 '!=' 7.4 ']'
2024-01-27 09:30:23,893: DEBUG - + ynh_app_setting_set --app=roundcube --key=phpversion --value=7.4
2024-01-27 09:30:23,893: DEBUG - + local _globalapp=roundcube
2024-01-27 09:30:24,002: DEBUG - + app=roundcube
2024-01-27 09:30:24,003: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:24,003: DEBUG - + ynh_app_setting set roundcube phpversion 7.4
2024-01-27 09:30:24,074: DEBUG - + test -e /usr/bin/php7.4
2024-01-27 09:30:24,074: DEBUG - + update-alternatives --set php /usr/bin/php7.4
2024-01-27 09:30:24,096: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-01-27 09:30:24,112: DEBUG - ++ ynh_wait_dpkg_free
2024-01-27 09:30:24,276: DEBUG - ++ return 0
2024-01-27 09:30:24,277: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2024-01-27 09:30:24,277: DEBUG - ++ grep --count 'ok installed'
2024-01-27 09:30:24,297: DEBUG - ++ echo yes
2024-01-27 09:30:24,298: DEBUG - + local psql_installed=yes
2024-01-27 09:30:24,298: DEBUG - + [[ true == \t\r\u\e ]]
2024-01-27 09:30:24,298: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2024-01-27 09:30:24,298: DEBUG - + cat
2024-01-27 09:30:24,301: DEBUG - + ynh_package_install_from_equivs /tmp/roundcube-ynh-deps.control
2024-01-27 09:30:24,301: DEBUG - + local controlfile=/tmp/roundcube-ynh-deps.control
2024-01-27 09:30:24,302: DEBUG - ++ grep '^Package: ' /tmp/roundcube-ynh-deps.control
2024-01-27 09:30:24,302: DEBUG - ++ cut '--delimiter= ' --fields=2
2024-01-27 09:30:24,306: DEBUG - + local pkgname=roundcube-ynh-deps
2024-01-27 09:30:24,307: DEBUG - ++ grep '^Version: ' /tmp/roundcube-ynh-deps.control
2024-01-27 09:30:24,307: DEBUG - ++ cut '--delimiter= ' --fields=2
2024-01-27 09:30:24,311: DEBUG - + local pkgversion=1.6.5~ynh1
2024-01-27 09:30:24,312: DEBUG - + [[ -z roundcube-ynh-deps ]]
2024-01-27 09:30:24,312: DEBUG - + [[ -z 1.6.5~ynh1 ]]
2024-01-27 09:30:24,312: DEBUG - + ynh_package_update
2024-01-27 09:30:24,312: DEBUG - + ynh_apt update
2024-01-27 09:30:24,312: DEBUG - + ynh_wait_dpkg_free
2024-01-27 09:30:24,471: DEBUG - + return 0
2024-01-27 09:30:24,471: DEBUG - + LC_ALL=C
2024-01-27 09:30:24,472: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-01-27 09:30:24,472: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2024-01-27 09:30:24,595: DEBUG - Hit:1 http://asi-fs-n.contabo.net/debian bullseye InRelease
2024-01-27 09:30:24,595: DEBUG - Hit:2 http://asi-fs-n.contabo.net/debian bullseye-updates InRelease
2024-01-27 09:30:24,595: DEBUG - Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
2024-01-27 09:30:24,666: DEBUG - Hit:4 http://forge.yunohost.org/debian bullseye InRelease
2024-01-27 09:30:24,696: DEBUG - Hit:5 https://packages.sury.org/php bullseye InRelease
2024-01-27 09:30:26,547: DEBUG - Reading package lists...
2024-01-27 09:30:26,567: DEBUG - ++ mktemp --directory
2024-01-27 09:30:26,570: DEBUG - + local TMPDIR=/tmp/tmp.WBVPQV4XiA
2024-01-27 09:30:26,570: DEBUG - + rm -f /usr/share/equivs/template/debian/compat
2024-01-27 09:30:26,573: DEBUG - + ynh_wait_dpkg_free
2024-01-27 09:30:26,719: DEBUG - + return 0
2024-01-27 09:30:26,720: DEBUG - + cp /tmp/roundcube-ynh-deps.control /tmp/tmp.WBVPQV4XiA/control
2024-01-27 09:30:26,722: DEBUG - + cd /tmp/tmp.WBVPQV4XiA
2024-01-27 09:30:26,722: DEBUG - + LC_ALL=C
2024-01-27 09:30:26,723: DEBUG - + equivs-build ./control
2024-01-27 09:30:27,018: DEBUG - dpkg-buildpackage: info: source package roundcube-ynh-deps
2024-01-27 09:30:27,019: DEBUG - dpkg-buildpackage: info: source version 1.6.5~ynh1
2024-01-27 09:30:27,019: DEBUG - dpkg-buildpackage: info: source distribution unstable
2024-01-27 09:30:27,019: DEBUG - dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator <root@vmi1349397.contaboserver.net>
2024-01-27 09:30:27,082: DEBUG -  dpkg-source --before-build .
2024-01-27 09:30:27,083: DEBUG - dpkg-buildpackage: info: host architecture amd64
2024-01-27 09:30:27,251: DEBUG -  debian/rules clean
2024-01-27 09:30:27,257: DEBUG - dh clean
2024-01-27 09:30:27,395: DEBUG -    dh_clean
2024-01-27 09:30:27,459: DEBUG -  debian/rules binary
2024-01-27 09:30:27,461: DEBUG - dh binary
2024-01-27 09:30:27,562: DEBUG -    dh_update_autotools_config
2024-01-27 09:30:27,606: DEBUG -    dh_autoreconf
2024-01-27 09:30:27,678: DEBUG -    create-stamp debian/debhelper-build-stamp
2024-01-27 09:30:27,678: DEBUG -    dh_prep
2024-01-27 09:30:27,726: DEBUG -    dh_install
2024-01-27 09:30:27,782: DEBUG -    dh_installdocs
2024-01-27 09:30:27,850: DEBUG -    dh_installchangelogs
2024-01-27 09:30:28,018: DEBUG -    dh_perl
2024-01-27 09:30:28,073: DEBUG -    dh_link
2024-01-27 09:30:28,123: DEBUG -    dh_strip_nondeterminism
2024-01-27 09:30:28,234: DEBUG -    dh_compress
2024-01-27 09:30:28,298: DEBUG -    dh_fixperms
2024-01-27 09:30:28,375: DEBUG -    dh_missing
2024-01-27 09:30:28,413: DEBUG -    dh_installdeb
2024-01-27 09:30:28,460: DEBUG -    dh_gencontrol
2024-01-27 09:30:28,675: DEBUG -    dh_md5sums
2024-01-27 09:30:28,741: DEBUG -    dh_builddeb
2024-01-27 09:30:28,790: DEBUG - dpkg-deb: building package 'roundcube-ynh-deps' in '../roundcube-ynh-deps_1.6.5~ynh1_all.deb'.
2024-01-27 09:30:28,855: DEBUG -  dpkg-genbuildinfo --build=binary
2024-01-27 09:30:29,856: DEBUG -  dpkg-genchanges --build=binary >../roundcube-ynh-deps_1.6.5~ynh1_amd64.changes
2024-01-27 09:30:29,970: DEBUG - dpkg-genchanges: info: binary-only upload (no source code included)
2024-01-27 09:30:29,976: DEBUG -  dpkg-source --after-build .
2024-01-27 09:30:30,154: DEBUG - dpkg-buildpackage: info: binary-only upload (no source included)
2024-01-27 09:30:30,160: DEBUG - 
2024-01-27 09:30:30,161: DEBUG - The package has been created.
2024-01-27 09:30:30,161: DEBUG - Attention, the package has been created in the current directory,
2024-01-27 09:30:30,161: DEBUG - not in ".." as indicated by the message above!
2024-01-27 09:30:30,161: DEBUG - + LC_ALL=C
2024-01-27 09:30:30,162: DEBUG - + tee ./dpkg_log
2024-01-27 09:30:30,162: DEBUG - + dpkg --force-depends --install ./roundcube-ynh-deps_1.6.5~ynh1_all.deb
2024-01-27 09:30:30,695: DEBUG - (Reading database ... 99690 files and directories currently installed.)
2024-01-27 09:30:30,703: DEBUG - Preparing to unpack .../roundcube-ynh-deps_1.6.5~ynh1_all.deb ...
2024-01-27 09:30:30,712: DEBUG - Unpacking roundcube-ynh-deps (1.6.5~ynh1) over (1.6.0~ynh4) ...
2024-01-27 09:30:30,739: DEBUG - Setting up roundcube-ynh-deps (1.6.5~ynh1) ...
2024-01-27 09:30:30,770: DEBUG - + ynh_package_install --fix-broken
2024-01-27 09:30:30,770: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2024-01-27 09:30:30,770: DEBUG - + ynh_wait_dpkg_free
2024-01-27 09:30:30,912: DEBUG - + return 0
2024-01-27 09:30:30,913: DEBUG - + LC_ALL=C
2024-01-27 09:30:30,913: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-01-27 09:30:30,913: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2024-01-27 09:30:31,127: DEBUG - Reading package lists...
2024-01-27 09:30:31,431: DEBUG - Building dependency tree...
2024-01-27 09:30:31,432: DEBUG - Reading state information...
2024-01-27 09:30:31,744: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2024-01-27 09:30:31,745: DEBUG - + [[ -n /tmp/tmp.WBVPQV4XiA ]]
2024-01-27 09:30:31,745: DEBUG - + rm --recursive --force /tmp/tmp.WBVPQV4XiA
2024-01-27 09:30:31,748: DEBUG - + ynh_package_is_installed roundcube-ynh-deps
2024-01-27 09:30:31,767: DEBUG - + ynh_wait_dpkg_free
2024-01-27 09:30:31,918: DEBUG - + return 0
2024-01-27 09:30:31,918: DEBUG - + dpkg-query --show '--showformat=${Status}' roundcube-ynh-deps
2024-01-27 09:30:31,919: DEBUG - + grep --count 'ok installed'
2024-01-27 09:30:31,941: DEBUG - + rm /tmp/roundcube-ynh-deps.control
2024-01-27 09:30:31,943: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-01-27 09:30:31,962: DEBUG - ++ ynh_wait_dpkg_free
2024-01-27 09:30:32,132: DEBUG - ++ return 0
2024-01-27 09:30:32,133: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2024-01-27 09:30:32,133: DEBUG - ++ grep --count 'ok installed'
2024-01-27 09:30:32,154: DEBUG - ++ echo yes
2024-01-27 09:30:32,156: DEBUG - + local psql_installed2=yes
2024-01-27 09:30:32,156: DEBUG - + [[ yes != \y\e\s ]]
2024-01-27 09:30:32,277: INFO - [##++................] > Upgrading PHP-FPM configuration...
2024-01-27 09:30:32,278: DEBUG - + ynh_add_fpm_config --phpversion=7.4 --usage=low --footprint=low
2024-01-27 09:30:32,278: DEBUG - + local _globalphpversion=7.4
2024-01-27 09:30:32,467: DEBUG - + package=
2024-01-27 09:30:32,467: DEBUG - + group=
2024-01-27 09:30:32,468: DEBUG - + local autogenconf=false
2024-01-27 09:30:32,468: DEBUG - + usage=low
2024-01-27 09:30:32,468: DEBUG - + footprint=low
2024-01-27 09:30:32,468: DEBUG - + '[' -n low ']'
2024-01-27 09:30:32,468: DEBUG - + autogenconf=true
2024-01-27 09:30:32,468: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=fpm_usage
2024-01-27 09:30:32,469: DEBUG - ++ local _globalapp=roundcube
2024-01-27 09:30:32,511: DEBUG - ++ app=roundcube
2024-01-27 09:30:32,511: DEBUG - ++ [[ fpm_usage =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:32,511: DEBUG - ++ ynh_app_setting get roundcube fpm_usage
2024-01-27 09:30:32,581: DEBUG - + local fpm_usage_in_setting=low
2024-01-27 09:30:32,582: DEBUG - + '[' -z low ']'
2024-01-27 09:30:32,582: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=fpm_footprint
2024-01-27 09:30:32,582: DEBUG - ++ local _globalapp=roundcube
2024-01-27 09:30:32,631: DEBUG - ++ app=roundcube
2024-01-27 09:30:32,631: DEBUG - ++ [[ fpm_footprint =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:32,631: DEBUG - ++ ynh_app_setting get roundcube fpm_footprint
2024-01-27 09:30:32,695: DEBUG - + local fpm_footprint_in_setting=low
2024-01-27 09:30:32,696: DEBUG - + '[' -z low ']'
2024-01-27 09:30:32,696: DEBUG - + dedicated_service=0
2024-01-27 09:30:32,696: DEBUG - + dpkg --compare-versions 1.0 lt 2
2024-01-27 09:30:32,698: DEBUG - + phpversion=7.4
2024-01-27 09:30:32,699: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=phpversion
2024-01-27 09:30:32,699: DEBUG - ++ local _globalapp=roundcube
2024-01-27 09:30:32,746: DEBUG - ++ app=roundcube
2024-01-27 09:30:32,747: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:32,747: DEBUG - ++ ynh_app_setting get roundcube phpversion
2024-01-27 09:30:32,818: DEBUG - + local old_phpversion=7.4
2024-01-27 09:30:32,819: DEBUG - + '[' -n 7.4 ']'
2024-01-27 09:30:32,819: DEBUG - + '[' 7.4 '!=' 7.4 ']'
2024-01-27 09:30:32,819: DEBUG - + '[' -n '' ']'
2024-01-27 09:30:32,819: DEBUG - + local fpm_service=php7.4-fpm
2024-01-27 09:30:32,820: DEBUG - + local fpm_config_dir=/etc/php/7.4/fpm
2024-01-27 09:30:32,820: DEBUG - + mkdir --parents /etc/php/7.4/fpm/pool.d
2024-01-27 09:30:32,821: DEBUG - + ynh_app_setting_set --app=roundcube --key=fpm_config_dir --value=/etc/php/7.4/fpm
2024-01-27 09:30:32,821: DEBUG - + local _globalapp=roundcube
2024-01-27 09:30:32,920: DEBUG - + app=roundcube
2024-01-27 09:30:32,921: DEBUG - + [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:32,921: DEBUG - + ynh_app_setting set roundcube fpm_config_dir /etc/php/7.4/fpm
2024-01-27 09:30:33,001: DEBUG - + ynh_app_setting_set --app=roundcube --key=fpm_service --value=php7.4-fpm
2024-01-27 09:30:33,001: DEBUG - + local _globalapp=roundcube
2024-01-27 09:30:33,112: DEBUG - + app=roundcube
2024-01-27 09:30:33,113: DEBUG - + [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:33,113: DEBUG - + ynh_app_setting set roundcube fpm_service php7.4-fpm
2024-01-27 09:30:33,183: DEBUG - + ynh_app_setting_set --app=roundcube --key=fpm_dedicated_service --value=0
2024-01-27 09:30:33,183: DEBUG - + local _globalapp=roundcube
2024-01-27 09:30:33,294: DEBUG - + app=roundcube
2024-01-27 09:30:33,295: DEBUG - + [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:33,295: DEBUG - + ynh_app_setting set roundcube fpm_dedicated_service 0
2024-01-27 09:30:33,376: DEBUG - + ynh_app_setting_set --app=roundcube --key=phpversion --value=7.4
2024-01-27 09:30:33,377: DEBUG - + local _globalapp=roundcube
2024-01-27 09:30:33,481: DEBUG - + app=roundcube
2024-01-27 09:30:33,482: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:33,482: DEBUG - + ynh_app_setting set roundcube phpversion 7.4
2024-01-27 09:30:33,548: DEBUG - + '[' true == false ']'
2024-01-27 09:30:33,549: DEBUG - + ynh_get_scalable_phpfpm --usage=low --footprint=low
2024-01-27 09:30:33,618: DEBUG - + footprint=low
2024-01-27 09:30:33,619: DEBUG - + usage=low
2024-01-27 09:30:33,619: DEBUG - + print=0
2024-01-27 09:30:33,619: DEBUG - + '[' low = low ']'
2024-01-27 09:30:33,619: DEBUG - + footprint=20
2024-01-27 09:30:33,619: DEBUG - + '[' 20 -le 20 ']'
2024-01-27 09:30:33,619: DEBUG - + min_spare_servers_factor=8
2024-01-27 09:30:33,619: DEBUG - + '[' low = low ']'
2024-01-27 09:30:33,620: DEBUG - + php_pm=ondemand
2024-01-27 09:30:33,620: DEBUG - ++ ynh_get_ram --total --ignore_swap
2024-01-27 09:30:33,697: DEBUG - ++ ignore_swap=1
2024-01-27 09:30:33,698: DEBUG - ++ only_swap=0
2024-01-27 09:30:33,698: DEBUG - ++ free=0
2024-01-27 09:30:33,698: DEBUG - ++ total=1
2024-01-27 09:30:33,699: DEBUG - +++ LC_ALL=C
2024-01-27 09:30:33,699: DEBUG - +++ vmstat --stats --unit M
2024-01-27 09:30:33,699: DEBUG - +++ grep 'total memory'
2024-01-27 09:30:33,699: DEBUG - +++ awk '{print $1}'
2024-01-27 09:30:33,705: DEBUG - ++ local total_ram=7944
2024-01-27 09:30:33,705: DEBUG - +++ LC_ALL=C
2024-01-27 09:30:33,706: DEBUG - +++ grep 'total swap'
2024-01-27 09:30:33,706: DEBUG - +++ vmstat --stats --unit M
2024-01-27 09:30:33,706: DEBUG - +++ awk '{print $1}'
2024-01-27 09:30:33,711: DEBUG - ++ local total_swap=0
2024-01-27 09:30:33,711: DEBUG - ++ local total_ram_swap=7944
2024-01-27 09:30:33,711: DEBUG - ++ local ram=7944
2024-01-27 09:30:33,711: DEBUG - ++ ram=7944
2024-01-27 09:30:33,712: DEBUG - ++ echo 7944
2024-01-27 09:30:33,712: DEBUG - + local max_ram=7944
2024-01-27 09:30:33,712: DEBUG - + php_max_children=198
2024-01-27 09:30:33,712: DEBUG - + '[' ondemand = static ']'
2024-01-27 09:30:33,712: DEBUG - ++ at_least_one 198
2024-01-27 09:30:33,713: DEBUG - ++ '[' 198 -le 0 ']'
2024-01-27 09:30:33,713: DEBUG - ++ echo 198
2024-01-27 09:30:33,713: DEBUG - + php_max_children=198
2024-01-27 09:30:33,714: DEBUG - ++ nproc
2024-01-27 09:30:33,718: DEBUG - + local core_number=4
2024-01-27 09:30:33,719: DEBUG - + local max_proc=16
2024-01-27 09:30:33,719: DEBUG - + '[' 198 -gt 16 ']'
2024-01-27 09:30:33,719: DEBUG - + php_max_children=16
2024-01-27 09:30:33,719: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=php_forced_max_children
2024-01-27 09:30:33,719: DEBUG - ++ local _globalapp=roundcube
2024-01-27 09:30:33,769: DEBUG - ++ app=roundcube
2024-01-27 09:30:33,769: DEBUG - ++ [[ php_forced_max_children =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:33,770: DEBUG - ++ ynh_app_setting get roundcube php_forced_max_children
2024-01-27 09:30:33,844: DEBUG - + local php_forced_max_children=
2024-01-27 09:30:33,845: DEBUG - + '[' -n '' ']'
2024-01-27 09:30:33,845: DEBUG - + '[' ondemand = dynamic ']'
2024-01-27 09:30:33,845: DEBUG - + php_min_spare_servers=0
2024-01-27 09:30:33,845: DEBUG - + php_max_spare_servers=0
2024-01-27 09:30:33,846: DEBUG - + php_start_servers=0
2024-01-27 09:30:33,846: DEBUG - ++ echo roundcube
2024-01-27 09:30:33,847: DEBUG - + local phpfpm_group=roundcube
2024-01-27 09:30:33,847: DEBUG - + local phpfpm_path=/var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/php-fpm.conf
2024-01-27 09:30:33,847: DEBUG - [__APP__]
2024-01-27 09:30:33,847: DEBUG - 
2024-01-27 09:30:33,847: DEBUG - user = __APP__
2024-01-27 09:30:33,847: DEBUG - group = __PHPFPM_GROUP__
2024-01-27 09:30:33,848: DEBUG - 
2024-01-27 09:30:33,848: DEBUG - chdir = __INSTALL_DIR__
2024-01-27 09:30:33,848: DEBUG - 
2024-01-27 09:30:33,848: DEBUG - listen = /var/run/php/php__PHPVERSION__-fpm-__APP__.sock
2024-01-27 09:30:33,848: DEBUG - listen.owner = www-data
2024-01-27 09:30:33,849: DEBUG - listen.group = www-data
2024-01-27 09:30:33,849: DEBUG - 
2024-01-27 09:30:33,849: DEBUG - pm = __PHP_PM__
2024-01-27 09:30:33,849: DEBUG - pm.max_children = __PHP_MAX_CHILDREN__
2024-01-27 09:30:33,849: DEBUG - pm.max_requests = 500
2024-01-27 09:30:33,849: DEBUG - request_terminate_timeout = 1d
2024-01-27 09:30:33,850: DEBUG - '
2024-01-27 09:30:33,850: DEBUG - + '[' ondemand = dynamic ']'
2024-01-27 09:30:33,850: DEBUG - + '[' ondemand = ondemand ']'
2024-01-27 09:30:33,850: DEBUG - pm.process_idle_timeout = 10s
2024-01-27 09:30:33,851: DEBUG - '
2024-01-27 09:30:33,852: DEBUG - + '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/extra_php-fpm.conf ']'
2024-01-27 09:30:33,853: DEBUG - + cat /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/extra_php-fpm.conf
2024-01-27 09:30:33,854: DEBUG - + local finalphpconf=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:33,854: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/php-fpm.conf --destination=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:33,931: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf//var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/php-fpm.conf ']'
2024-01-27 09:30:33,931: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/php-fpm.conf ']'
2024-01-27 09:30:33,931: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/php-fpm.conf
2024-01-27 09:30:33,931: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:33,948: DEBUG - + local checksum_setting_name=checksum__etc_php_7.4_fpm_pool.d_roundcube.conf
2024-01-27 09:30:33,948: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=checksum__etc_php_7.4_fpm_pool.d_roundcube.conf
2024-01-27 09:30:33,948: DEBUG - ++ local _globalapp=roundcube
2024-01-27 09:30:34,001: DEBUG - ++ app=roundcube
2024-01-27 09:30:34,001: DEBUG - ++ [[ checksum__etc_php_7.4_fpm_pool.d_roundcube.conf =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:34,002: DEBUG - ++ ynh_app_setting get roundcube checksum__etc_php_7.4_fpm_pool.d_roundcube.conf
2024-01-27 09:30:34,076: DEBUG - + local checksum_value=a43522188d1a80a0f49e03394381e183
2024-01-27 09:30:34,076: DEBUG - + backup_file_checksum=
2024-01-27 09:30:34,076: DEBUG - + '[' -n a43522188d1a80a0f49e03394381e183 ']'
2024-01-27 09:30:34,076: DEBUG - + '[' -e /etc/php/7.4/fpm/pool.d/roundcube.conf ']'
2024-01-27 09:30:34,077: DEBUG - + md5sum --check --status
2024-01-27 09:30:34,079: DEBUG - + touch /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,081: DEBUG - + chown root:root /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,083: DEBUG - + chmod 640 /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,085: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/php-fpm.conf /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,089: DEBUG - + _ynh_apply_default_permissions /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,090: DEBUG - + local target=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,090: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-01-27 09:30:34,090: DEBUG - ++ tr -d '<>= '
2024-01-27 09:30:34,124: DEBUG - ++ '[' '!' -e '' ']'
2024-01-27 09:30:34,124: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json ']'
2024-01-27 09:30:34,124: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json
2024-01-27 09:30:34,125: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json
2024-01-27 09:30:34,125: DEBUG - ++ grep -q '\.json$'
2024-01-27 09:30:34,127: DEBUG - ++ jq .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json --raw-output
2024-01-27 09:30:34,180: DEBUG - + local ynh_requirement=11.2
2024-01-27 09:30:34,180: DEBUG - + dpkg --compare-versions 1.0 ge 2
2024-01-27 09:30:34,182: DEBUG - + '[' -z 11.2 ']'
2024-01-27 09:30:34,183: DEBUG - + '[' 11.2 == null ']'
2024-01-27 09:30:34,183: DEBUG - + dpkg --compare-versions 11.2 ge 4.2
2024-01-27 09:30:34,189: DEBUG - + chmod o-rwx /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,191: DEBUG - + chmod g-w /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,193: DEBUG - + chown -R root:root /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,196: DEBUG - + ynh_system_user_exists roundcube
2024-01-27 09:30:34,214: DEBUG - + getent passwd roundcube
2024-01-27 09:30:34,217: DEBUG - + chown roundcube:roundcube /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,220: DEBUG - + echo /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,220: DEBUG - + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
2024-01-27 09:30:34,225: DEBUG - + chmod 400 /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,227: DEBUG - + chown root:root /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,230: DEBUG - + ynh_replace_vars --file=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,249: DEBUG - + test -n /
2024-01-27 09:30:34,249: DEBUG - + local path_url_slash_less=
2024-01-27 09:30:34,250: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,350: DEBUG - + sed --in-place $'s\001__PATH__/\001/\001g' /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,353: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,453: DEBUG - + sed --in-place $'s\001__PATH__\001/\001g' /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,455: DEBUG - + test -n roundcube
2024-01-27 09:30:34,456: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=roundcube --target_file=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,549: DEBUG - + sed --in-place $'s\001__NAME__\001roundcube\001g' /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,552: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=roundcube --target_file=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,668: DEBUG - + sed --in-place $'s\001__NAMETOCHANGE__\001roundcube\001g' /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,671: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=roundcube --target_file=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,774: DEBUG - + sed --in-place $'s\001__USER__\001roundcube\001g' /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,776: DEBUG - + test -n /var/www/roundcube
2024-01-27 09:30:34,777: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/roundcube --target_file=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,881: DEBUG - + sed --in-place $'s\001__FINALPATH__\001/var/www/roundcube\001g' /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,884: DEBUG - + ynh_replace_string --match_string=__INSTALL_DIR__ --replace_string=/var/www/roundcube --target_file=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,992: DEBUG - + sed --in-place $'s\001__INSTALL_DIR__\001/var/www/roundcube\001g' /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:34,995: DEBUG - + dpkg --compare-versions 1.0 lt 2
2024-01-27 09:30:34,998: DEBUG - + test -n 7.4
2024-01-27 09:30:34,998: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.4 --target_file=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:35,096: DEBUG - + sed --in-place $'s\001__PHPVERSION__\0017.4\001g' /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:35,099: DEBUG - + test -n ''
2024-01-27 09:30:35,100: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:35,100: DEBUG - ++ sort --unique
2024-01-27 09:30:35,101: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2024-01-27 09:30:35,106: DEBUG - + uniques_vars=('app' 'phpfpm_group' 'php_max_children' 'php_pm')
2024-01-27 09:30:35,106: DEBUG - + local delimit=@
2024-01-27 09:30:35,107: DEBUG - + for one_var in "${uniques_vars[@]}"
2024-01-27 09:30:35,107: DEBUG - + [[ -v app ]]
2024-01-27 09:30:35,107: DEBUG - + match_string=__APP__
2024-01-27 09:30:35,107: DEBUG - + match_string=__APP__
2024-01-27 09:30:35,107: DEBUG - + replace_string=roundcube
2024-01-27 09:30:35,107: DEBUG - + replace_string=roundcube
2024-01-27 09:30:35,107: DEBUG - + replace_string=roundcube
2024-01-27 09:30:35,108: DEBUG - + sed --in-place s@__APP__@roundcube@g /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:35,109: DEBUG - + for one_var in "${uniques_vars[@]}"
2024-01-27 09:30:35,109: DEBUG - + [[ -v phpfpm_group ]]
2024-01-27 09:30:35,109: DEBUG - + match_string=__PHPFPM_GROUP__
2024-01-27 09:30:35,109: DEBUG - + match_string=__PHPFPM_GROUP__
2024-01-27 09:30:35,109: DEBUG - + replace_string=roundcube
2024-01-27 09:30:35,110: DEBUG - + replace_string=roundcube
2024-01-27 09:30:35,110: DEBUG - + replace_string=roundcube
2024-01-27 09:30:35,110: DEBUG - + sed --in-place s@__PHPFPM_GROUP__@roundcube@g /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:35,113: DEBUG - + for one_var in "${uniques_vars[@]}"
2024-01-27 09:30:35,113: DEBUG - + [[ -v php_max_children ]]
2024-01-27 09:30:35,113: DEBUG - + match_string=__PHP_MAX_CHILDREN__
2024-01-27 09:30:35,113: DEBUG - + match_string=__PHP_MAX_CHILDREN__
2024-01-27 09:30:35,114: DEBUG - + replace_string=16
2024-01-27 09:30:35,114: DEBUG - + replace_string=16
2024-01-27 09:30:35,114: DEBUG - + replace_string=16
2024-01-27 09:30:35,114: DEBUG - + sed --in-place s@__PHP_MAX_CHILDREN__@16@g /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:35,116: DEBUG - + for one_var in "${uniques_vars[@]}"
2024-01-27 09:30:35,117: DEBUG - + [[ -v php_pm ]]
2024-01-27 09:30:35,117: DEBUG - + match_string=__PHP_PM__
2024-01-27 09:30:35,117: DEBUG - + match_string=__PHP_PM__
2024-01-27 09:30:35,117: DEBUG - + replace_string=ondemand
2024-01-27 09:30:35,117: DEBUG - + replace_string=ondemand
2024-01-27 09:30:35,117: DEBUG - + replace_string=ondemand
2024-01-27 09:30:35,117: DEBUG - + sed --in-place s@__PHP_PM__@ondemand@g /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:35,119: DEBUG - + ynh_store_file_checksum --file=/etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:35,121: DEBUG - + update_only=0
2024-01-27 09:30:35,150: DEBUG - + local checksum_setting_name=checksum__etc_php_7.4_fpm_pool.d_roundcube.conf
2024-01-27 09:30:35,151: DEBUG - ++ md5sum /etc/php/7.4/fpm/pool.d/roundcube.conf
2024-01-27 09:30:35,152: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-01-27 09:30:35,155: DEBUG - + ynh_app_setting_set --app=roundcube --key=checksum__etc_php_7.4_fpm_pool.d_roundcube.conf --value=a43522188d1a80a0f49e03394381e183
2024-01-27 09:30:35,156: DEBUG - + local _globalapp=roundcube
2024-01-27 09:30:35,254: DEBUG - + app=roundcube
2024-01-27 09:30:35,254: DEBUG - + [[ checksum__etc_php_7.4_fpm_pool.d_roundcube.conf =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:35,254: DEBUG - + ynh_app_setting set roundcube checksum__etc_php_7.4_fpm_pool.d_roundcube.conf a43522188d1a80a0f49e03394381e183
2024-01-27 09:30:35,320: DEBUG - + '[' -n '' ']'
2024-01-27 09:30:35,320: DEBUG - + unset backup_file_checksum
2024-01-27 09:30:35,320: DEBUG - + '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/php-fpm.ini ']'
2024-01-27 09:30:35,321: DEBUG - + php-fpm7.4 --test
2024-01-27 09:30:35,404: DEBUG - + ynh_systemd_action --service_name=php7.4-fpm --action=reload
2024-01-27 09:30:35,533: DEBUG - + service_name=php7.4-fpm
2024-01-27 09:30:35,534: DEBUG - + action=reload
2024-01-27 09:30:35,534: DEBUG - + line_match=
2024-01-27 09:30:35,534: DEBUG - + length=20
2024-01-27 09:30:35,534: DEBUG - + log_path=/var/log/php7.4-fpm/php7.4-fpm.log
2024-01-27 09:30:35,534: DEBUG - + timeout=300
2024-01-27 09:30:35,535: DEBUG - + '[' reload == stop ']'
2024-01-27 09:30:35,535: DEBUG - + '[' reload == reload ']'
2024-01-27 09:30:35,535: DEBUG - + action=reload-or-restart
2024-01-27 09:30:35,535: DEBUG - ++ date --utc --rfc-3339=seconds
2024-01-27 09:30:35,535: DEBUG - ++ cut -d+ -f1
2024-01-27 09:30:35,538: DEBUG - + local 'time_start=2024-01-27 08:30:35 UTC'
2024-01-27 09:30:35,539: DEBUG - + systemctl reload-or-restart php7.4-fpm
2024-01-27 09:30:35,700: DEBUG - + ynh_add_nginx_config
2024-01-27 09:30:35,700: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:35,700: DEBUG - + ynh_add_config --template=nginx.conf --destination=/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:35,701: INFO - [####................] > Upgrading NGINX web server configuration...
2024-01-27 09:30:35,752: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/nginx.conf ']'
2024-01-27 09:30:35,752: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/nginx.conf
2024-01-27 09:30:35,752: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:35,769: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_mail.maindomain.tld.d_roundcube.conf
2024-01-27 09:30:35,770: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=checksum__etc_nginx_conf.d_mail.maindomain.tld.d_roundcube.conf
2024-01-27 09:30:35,771: DEBUG - ++ local _globalapp=roundcube
2024-01-27 09:30:35,822: DEBUG - ++ app=roundcube
2024-01-27 09:30:35,823: DEBUG - ++ [[ checksum__etc_nginx_conf.d_mail.maindomain.tld.d_roundcube.conf =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:35,823: DEBUG - ++ ynh_app_setting get roundcube checksum__etc_nginx_conf.d_mail.maindomain.tld.d_roundcube.conf
2024-01-27 09:30:35,909: DEBUG - + local checksum_value=202786e0b527237375eaf384b1d783cf
2024-01-27 09:30:35,910: DEBUG - + backup_file_checksum=
2024-01-27 09:30:35,910: DEBUG - + '[' -n 202786e0b527237375eaf384b1d783cf ']'
2024-01-27 09:30:35,910: DEBUG - + '[' -e /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf ']'
2024-01-27 09:30:35,910: DEBUG - + md5sum --check --status
2024-01-27 09:30:35,914: DEBUG - + touch /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:35,915: DEBUG - + chown root:root /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:35,917: DEBUG - + chmod 640 /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:35,919: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/nginx.conf /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:35,922: DEBUG - + _ynh_apply_default_permissions /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:35,923: DEBUG - + local target=/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:35,923: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-01-27 09:30:35,923: DEBUG - ++ tr -d '<>= '
2024-01-27 09:30:35,958: DEBUG - ++ '[' '!' -e '' ']'
2024-01-27 09:30:35,958: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json ']'
2024-01-27 09:30:35,958: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json
2024-01-27 09:30:35,959: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json
2024-01-27 09:30:35,959: DEBUG - ++ grep -q '\.json$'
2024-01-27 09:30:35,961: DEBUG - ++ jq .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json --raw-output
2024-01-27 09:30:36,008: DEBUG - + local ynh_requirement=11.2
2024-01-27 09:30:36,009: DEBUG - + dpkg --compare-versions 1.0 ge 2
2024-01-27 09:30:36,011: DEBUG - + '[' -z 11.2 ']'
2024-01-27 09:30:36,011: DEBUG - + '[' 11.2 == null ']'
2024-01-27 09:30:36,011: DEBUG - + dpkg --compare-versions 11.2 ge 4.2
2024-01-27 09:30:36,014: DEBUG - + chmod o-rwx /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:36,015: DEBUG - + chmod g-w /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:36,017: DEBUG - + chown -R root:root /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:36,020: DEBUG - + ynh_system_user_exists roundcube
2024-01-27 09:30:36,038: DEBUG - + getent passwd roundcube
2024-01-27 09:30:36,040: DEBUG - + chown roundcube:roundcube /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:36,043: DEBUG - + echo /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:36,044: DEBUG - + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
2024-01-27 09:30:36,047: DEBUG - + chmod 400 /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:36,050: DEBUG - + chown root:root /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:36,054: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:36,074: DEBUG - + test -n /
2024-01-27 09:30:36,075: DEBUG - + local path_url_slash_less=
2024-01-27 09:30:36,075: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:36,193: DEBUG - + sed --in-place $'s\001__PATH__/\001/\001g' /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:36,197: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:36,319: DEBUG - + sed --in-place $'s\001__PATH__\001/\001g' /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:36,322: DEBUG - + test -n roundcube
2024-01-27 09:30:36,323: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=roundcube --target_file=/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:36,437: DEBUG - + sed --in-place $'s\001__NAME__\001roundcube\001g' /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:36,440: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=roundcube --target_file=/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:36,545: DEBUG - + sed --in-place $'s\001__NAMETOCHANGE__\001roundcube\001g' /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:36,549: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=roundcube --target_file=/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:36,668: DEBUG - + sed --in-place $'s\001__USER__\001roundcube\001g' /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:36,671: DEBUG - + test -n /var/www/roundcube
2024-01-27 09:30:36,671: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/roundcube --target_file=/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:36,784: DEBUG - + sed --in-place $'s\001__FINALPATH__\001/var/www/roundcube\001g' /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:36,787: DEBUG - + ynh_replace_string --match_string=__INSTALL_DIR__ --replace_string=/var/www/roundcube --target_file=/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:36,901: DEBUG - + sed --in-place $'s\001__INSTALL_DIR__\001/var/www/roundcube\001g' /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:36,903: DEBUG - + dpkg --compare-versions 1.0 lt 2
2024-01-27 09:30:36,905: DEBUG - + test -n 7.4
2024-01-27 09:30:36,905: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.4 --target_file=/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:37,018: DEBUG - + sed --in-place $'s\001__PHPVERSION__\0017.4\001g' /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:37,021: DEBUG - + test -n ''
2024-01-27 09:30:37,023: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:37,023: DEBUG - ++ sort --unique
2024-01-27 09:30:37,023: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2024-01-27 09:30:37,029: DEBUG - + uniques_vars=()
2024-01-27 09:30:37,030: DEBUG - + local delimit=@
2024-01-27 09:30:37,030: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:37,031: DEBUG - + update_only=0
2024-01-27 09:30:37,068: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_mail.maindomain.tld.d_roundcube.conf
2024-01-27 09:30:37,069: DEBUG - ++ md5sum /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:37,070: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-01-27 09:30:37,074: DEBUG - + ynh_app_setting_set --app=roundcube --key=checksum__etc_nginx_conf.d_mail.maindomain.tld.d_roundcube.conf --value=202786e0b527237375eaf384b1d783cf
2024-01-27 09:30:37,075: DEBUG - + local _globalapp=roundcube
2024-01-27 09:30:37,184: DEBUG - + app=roundcube
2024-01-27 09:30:37,185: DEBUG - + [[ checksum__etc_nginx_conf.d_mail.maindomain.tld.d_roundcube.conf =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:37,185: DEBUG - + ynh_app_setting set roundcube checksum__etc_nginx_conf.d_mail.maindomain.tld.d_roundcube.conf 202786e0b527237375eaf384b1d783cf
2024-01-27 09:30:37,257: DEBUG - + '[' -n '' ']'
2024-01-27 09:30:37,257: DEBUG - + unset backup_file_checksum
2024-01-27 09:30:37,258: DEBUG - + '[' / '!=' / ']'
2024-01-27 09:30:37,258: DEBUG - + ynh_replace_string '--match_string=^#root_path_only' --replace_string= --target_file=/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:37,366: DEBUG - + sed --in-place 's^#root_path_onlyg' /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:37,370: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:37,371: DEBUG - + update_only=0
2024-01-27 09:30:37,401: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_mail.maindomain.tld.d_roundcube.conf
2024-01-27 09:30:37,402: DEBUG - ++ md5sum /etc/nginx/conf.d/mail.maindomain.tld.d/roundcube.conf
2024-01-27 09:30:37,402: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-01-27 09:30:37,407: DEBUG - + ynh_app_setting_set --app=roundcube --key=checksum__etc_nginx_conf.d_mail.maindomain.tld.d_roundcube.conf --value=202786e0b527237375eaf384b1d783cf
2024-01-27 09:30:37,407: DEBUG - + local _globalapp=roundcube
2024-01-27 09:30:37,508: DEBUG - + app=roundcube
2024-01-27 09:30:37,509: DEBUG - + [[ checksum__etc_nginx_conf.d_mail.maindomain.tld.d_roundcube.conf =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:37,509: DEBUG - + ynh_app_setting set roundcube checksum__etc_nginx_conf.d_mail.maindomain.tld.d_roundcube.conf 202786e0b527237375eaf384b1d783cf
2024-01-27 09:30:37,582: DEBUG - + '[' -n '' ']'
2024-01-27 09:30:37,582: DEBUG - + unset backup_file_checksum
2024-01-27 09:30:37,582: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2024-01-27 09:30:37,734: DEBUG - + service_name=nginx
2024-01-27 09:30:37,734: DEBUG - + action=reload
2024-01-27 09:30:37,734: DEBUG - + line_match=
2024-01-27 09:30:37,735: DEBUG - + length=20
2024-01-27 09:30:37,735: DEBUG - + log_path=/var/log/nginx/nginx.log
2024-01-27 09:30:37,735: DEBUG - + timeout=300
2024-01-27 09:30:37,735: DEBUG - + '[' reload == stop ']'
2024-01-27 09:30:37,735: DEBUG - + '[' reload == reload ']'
2024-01-27 09:30:37,735: DEBUG - + action=reload-or-restart
2024-01-27 09:30:37,735: DEBUG - ++ date --utc --rfc-3339=seconds
2024-01-27 09:30:37,736: DEBUG - ++ cut -d+ -f1
2024-01-27 09:30:37,740: DEBUG - + local 'time_start=2024-01-27 08:30:37 UTC'
2024-01-27 09:30:37,740: DEBUG - + systemctl reload-or-restart nginx
2024-01-27 09:30:38,000: DEBUG - + '[' UPGRADE_APP == UPGRADE_APP ']'
2024-01-27 09:30:38,139: INFO - [####................] > Reconfiguring Roundcube...
2024-01-27 09:30:38,140: DEBUG - ++ ynh_string_random --length=24
2024-01-27 09:30:38,176: DEBUG - ++ length=24
2024-01-27 09:30:38,176: DEBUG - ++ filter=A-Za-z0-9
2024-01-27 09:30:38,178: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2024-01-27 09:30:38,178: DEBUG - ++ tr --complement --delete A-Za-z0-9
2024-01-27 09:30:38,179: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2024-01-27 09:30:38,188: DEBUG - + deskey=**********
2024-01-27 09:30:38,189: DEBUG - + ynh_add_config --template=../conf/config.inc.php --destination=/var/www/roundcube/config/config.inc.php
2024-01-27 09:30:38,246: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/../conf/config.inc.php ']'
2024-01-27 09:30:38,247: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/../conf/config.inc.php
2024-01-27 09:30:38,247: DEBUG - + ynh_backup_if_checksum_is_different --file=/var/www/roundcube/config/config.inc.php
2024-01-27 09:30:38,264: DEBUG - + local checksum_setting_name=checksum__var_www_roundcube_config_config.inc.php
2024-01-27 09:30:38,265: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=checksum__var_www_roundcube_config_config.inc.php
2024-01-27 09:30:38,265: DEBUG - ++ local _globalapp=roundcube
2024-01-27 09:30:38,318: DEBUG - ++ app=roundcube
2024-01-27 09:30:38,318: DEBUG - ++ [[ checksum__var_www_roundcube_config_config.inc.php =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:38,319: DEBUG - ++ ynh_app_setting get roundcube checksum__var_www_roundcube_config_config.inc.php
2024-01-27 09:30:38,390: DEBUG - + local checksum_value=34b6939e461eb1baadeff6bb22faddc9
2024-01-27 09:30:38,391: DEBUG - + backup_file_checksum=
2024-01-27 09:30:38,391: DEBUG - + '[' -n 34b6939e461eb1baadeff6bb22faddc9 ']'
2024-01-27 09:30:38,391: DEBUG - + '[' -e /var/www/roundcube/config/config.inc.php ']'
2024-01-27 09:30:38,391: DEBUG - + md5sum --check --status
2024-01-27 09:30:38,394: DEBUG - + touch /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:38,396: DEBUG - + chown root:root /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:38,398: DEBUG - + chmod 640 /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:38,400: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/../conf/config.inc.php /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:38,402: DEBUG - + _ynh_apply_default_permissions /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:38,403: DEBUG - + local target=/var/www/roundcube/config/config.inc.php
2024-01-27 09:30:38,404: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-01-27 09:30:38,404: DEBUG - ++ tr -d '<>= '
2024-01-27 09:30:38,437: DEBUG - ++ '[' '!' -e '' ']'
2024-01-27 09:30:38,437: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json ']'
2024-01-27 09:30:38,437: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json
2024-01-27 09:30:38,437: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json
2024-01-27 09:30:38,438: DEBUG - ++ grep -q '\.json$'
2024-01-27 09:30:38,441: DEBUG - ++ jq .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json --raw-output
2024-01-27 09:30:38,490: DEBUG - + local ynh_requirement=11.2
2024-01-27 09:30:38,491: DEBUG - + dpkg --compare-versions 1.0 ge 2
2024-01-27 09:30:38,493: DEBUG - + '[' -z 11.2 ']'
2024-01-27 09:30:38,493: DEBUG - + '[' 11.2 == null ']'
2024-01-27 09:30:38,494: DEBUG - + dpkg --compare-versions 11.2 ge 4.2
2024-01-27 09:30:38,495: DEBUG - + chmod o-rwx /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:38,496: DEBUG - + chmod g-w /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:38,498: DEBUG - + chown -R root:root /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:38,500: DEBUG - + ynh_system_user_exists roundcube
2024-01-27 09:30:38,514: DEBUG - + getent passwd roundcube
2024-01-27 09:30:38,516: DEBUG - + chown roundcube:roundcube /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:38,518: DEBUG - + echo /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:38,519: DEBUG - + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
2024-01-27 09:30:38,521: DEBUG - + ynh_replace_vars --file=/var/www/roundcube/config/config.inc.php
2024-01-27 09:30:38,540: DEBUG - + test -n /
2024-01-27 09:30:38,541: DEBUG - + local path_url_slash_less=
2024-01-27 09:30:38,541: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/var/www/roundcube/config/config.inc.php
2024-01-27 09:30:38,645: DEBUG - + sed --in-place $'s\001__PATH__/\001/\001g' /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:38,647: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/var/www/roundcube/config/config.inc.php
2024-01-27 09:30:38,750: DEBUG - + sed --in-place $'s\001__PATH__\001/\001g' /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:38,752: DEBUG - + test -n roundcube
2024-01-27 09:30:38,752: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=roundcube --target_file=/var/www/roundcube/config/config.inc.php
2024-01-27 09:30:38,872: DEBUG - + sed --in-place $'s\001__NAME__\001roundcube\001g' /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:38,876: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=roundcube --target_file=/var/www/roundcube/config/config.inc.php
2024-01-27 09:30:39,003: DEBUG - + sed --in-place $'s\001__NAMETOCHANGE__\001roundcube\001g' /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:39,006: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=roundcube --target_file=/var/www/roundcube/config/config.inc.php
2024-01-27 09:30:39,117: DEBUG - + sed --in-place $'s\001__USER__\001roundcube\001g' /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:39,120: DEBUG - + test -n /var/www/roundcube
2024-01-27 09:30:39,120: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/roundcube --target_file=/var/www/roundcube/config/config.inc.php
2024-01-27 09:30:39,225: DEBUG - + sed --in-place $'s\001__FINALPATH__\001/var/www/roundcube\001g' /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:39,228: DEBUG - + ynh_replace_string --match_string=__INSTALL_DIR__ --replace_string=/var/www/roundcube --target_file=/var/www/roundcube/config/config.inc.php
2024-01-27 09:30:39,338: DEBUG - + sed --in-place $'s\001__INSTALL_DIR__\001/var/www/roundcube\001g' /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:39,340: DEBUG - + dpkg --compare-versions 1.0 lt 2
2024-01-27 09:30:39,343: DEBUG - + test -n 7.4
2024-01-27 09:30:39,344: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.4 --target_file=/var/www/roundcube/config/config.inc.php
2024-01-27 09:30:39,455: DEBUG - + sed --in-place $'s\001__PHPVERSION__\0017.4\001g' /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:39,457: DEBUG - + test -n ''
2024-01-27 09:30:39,459: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:39,459: DEBUG - ++ sort --unique
2024-01-27 09:30:39,459: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2024-01-27 09:30:39,465: DEBUG - + uniques_vars=('db_name' 'db_pwd' 'deskey' 'language')
2024-01-27 09:30:39,466: DEBUG - + local delimit=@
2024-01-27 09:30:39,466: DEBUG - + for one_var in "${uniques_vars[@]}"
2024-01-27 09:30:39,466: DEBUG - + [[ -v db_name ]]
2024-01-27 09:30:39,467: DEBUG - + match_string=__DB_NAME__
2024-01-27 09:30:39,467: DEBUG - + match_string=__DB_NAME__
2024-01-27 09:30:39,467: DEBUG - + replace_string=roundcube
2024-01-27 09:30:39,467: DEBUG - + replace_string=roundcube
2024-01-27 09:30:39,467: DEBUG - + replace_string=roundcube
2024-01-27 09:30:39,467: DEBUG - + sed --in-place s@__DB_NAME__@roundcube@g /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:39,469: DEBUG - + for one_var in "${uniques_vars[@]}"
2024-01-27 09:30:39,469: DEBUG - + [[ -v db_pwd ]]
2024-01-27 09:30:39,469: DEBUG - + match_string=__DB_PWD__
2024-01-27 09:30:39,469: DEBUG - + match_string=__DB_PWD__
2024-01-27 09:30:39,470: DEBUG - + replace_string=**********
2024-01-27 09:30:39,470: DEBUG - + replace_string=**********
2024-01-27 09:30:39,470: DEBUG - + replace_string=**********
2024-01-27 09:30:39,470: DEBUG - + sed --in-place s@__DB_PWD__@**********@g /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:39,473: DEBUG - + for one_var in "${uniques_vars[@]}"
2024-01-27 09:30:39,473: DEBUG - + [[ -v deskey ]]
2024-01-27 09:30:39,473: DEBUG - + match_string=__DESKEY__
2024-01-27 09:30:39,473: DEBUG - + match_string=__DESKEY__
2024-01-27 09:30:39,473: DEBUG - + replace_string=**********
2024-01-27 09:30:39,473: DEBUG - + replace_string=**********
2024-01-27 09:30:39,474: DEBUG - + replace_string=**********
2024-01-27 09:30:39,474: DEBUG - + sed --in-place s@__DESKEY__@**********@g /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:39,477: DEBUG - + for one_var in "${uniques_vars[@]}"
2024-01-27 09:30:39,477: DEBUG - + [[ -v language ]]
2024-01-27 09:30:39,478: DEBUG - + match_string=__LANGUAGE__
2024-01-27 09:30:39,478: DEBUG - + match_string=__LANGUAGE__
2024-01-27 09:30:39,478: DEBUG - + replace_string=fr_FR
2024-01-27 09:30:39,478: DEBUG - + replace_string=fr_FR
2024-01-27 09:30:39,478: DEBUG - + replace_string=fr_FR
2024-01-27 09:30:39,479: DEBUG - + sed --in-place s@__LANGUAGE__@fr_FR@g /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:39,481: DEBUG - + ynh_store_file_checksum --file=/var/www/roundcube/config/config.inc.php
2024-01-27 09:30:39,482: DEBUG - + update_only=0
2024-01-27 09:30:39,514: DEBUG - + local checksum_setting_name=checksum__var_www_roundcube_config_config.inc.php
2024-01-27 09:30:39,515: DEBUG - ++ md5sum /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:39,515: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-01-27 09:30:39,520: DEBUG - + ynh_app_setting_set --app=roundcube --key=checksum__var_www_roundcube_config_config.inc.php --value=3f2a51b60203c1daa446a82e748eb5cb
2024-01-27 09:30:39,520: DEBUG - + local _globalapp=roundcube
2024-01-27 09:30:39,638: DEBUG - + app=roundcube
2024-01-27 09:30:39,639: DEBUG - + [[ checksum__var_www_roundcube_config_config.inc.php =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:39,639: DEBUG - + ynh_app_setting set roundcube checksum__var_www_roundcube_config_config.inc.php 3f2a51b60203c1daa446a82e748eb5cb
2024-01-27 09:30:39,707: DEBUG - + '[' -n '' ']'
2024-01-27 09:30:39,707: DEBUG - + unset backup_file_checksum
2024-01-27 09:30:39,833: INFO - [####+++++++.........] > Updating dependencies with Composer...
2024-01-27 09:30:39,834: DEBUG - + ynh_install_composer
2024-01-27 09:30:39,835: DEBUG - + local _globalphpversion=7.4
2024-01-27 09:30:39,835: DEBUG - + declare -Ar args_array
2024-01-27 09:30:39,836: DEBUG - + dpkg --compare-versions 1.0 lt 2
2024-01-27 09:30:39,836: DEBUG - + workdir=/var/www/roundcube
2024-01-27 09:30:39,836: DEBUG - + dpkg --compare-versions 1.0 lt 2
2024-01-27 09:30:39,838: DEBUG - + phpversion=7.4
2024-01-27 09:30:39,839: DEBUG - + install_args=
2024-01-27 09:30:39,839: DEBUG - + composerversion=2.3.7
2024-01-27 09:30:39,839: DEBUG - + curl -sS https://getcomposer.org/installer
2024-01-27 09:30:39,839: DEBUG - + COMPOSER_HOME=/var/www/roundcube/.composer
2024-01-27 09:30:39,839: DEBUG - + php7.4 -- --quiet --install-dir=/var/www/roundcube --version=2.3.7
2024-01-27 09:30:40,416: DEBUG - + ynh_composer_exec --phpversion=7.4 --workdir=/var/www/roundcube '--commands=install --no-dev '
2024-01-27 09:30:40,416: DEBUG - + local _globalphpversion=7.4
2024-01-27 09:30:40,416: DEBUG - + declare -Ar args_array
2024-01-27 09:30:40,524: DEBUG - + workdir=/var/www/roundcube
2024-01-27 09:30:40,525: DEBUG - + dpkg --compare-versions 1.0 lt 2
2024-01-27 09:30:40,529: DEBUG - + phpversion=7.4
2024-01-27 09:30:40,529: DEBUG - + COMPOSER_HOME=/var/www/roundcube/.composer
2024-01-27 09:30:40,529: DEBUG - + COMPOSER_MEMORY_LIMIT=-1
2024-01-27 09:30:40,530: DEBUG - + php7.4 /var/www/roundcube/composer.phar install --no-dev -d /var/www/roundcube --no-interaction --no-ansi
2024-01-27 09:30:40,651: DEBUG - Do not run Composer as root/super user! See https://getcomposer.org/root for details
2024-01-27 09:30:40,775: DEBUG - roundcube/plugin-installer contains a Composer plugin which is blocked by your allow-plugins config. You may add it to the list if you consider it safe. See https://getcomposer.org/allow-plugins
2024-01-27 09:30:40,776: DEBUG - You can run "composer config --no-plugins allow-plugins.roundcube/plugin-installer [true|false]" to enable it (true) or keep it disabled and suppress this warning (false)
2024-01-27 09:30:40,787: DEBUG - Installing dependencies from lock file
2024-01-27 09:30:40,787: DEBUG - Verifying lock file contents can be installed on current platform.
2024-01-27 09:30:40,800: DEBUG - Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`.
2024-01-27 09:30:40,813: DEBUG - Package operations: 0 installs, 0 updates, 27 removals
2024-01-27 09:30:40,813: DEBUG -   - Removing webmozart/assert (1.11.0)
2024-01-27 09:30:40,817: DEBUG -   - Removing theseer/tokenizer (1.2.1)
2024-01-27 09:30:40,819: DEBUG -   - Removing sebastian/version (2.0.1)
2024-01-27 09:30:40,822: DEBUG -   - Removing sebastian/resource-operations (2.0.2)
2024-01-27 09:30:40,825: DEBUG -   - Removing sebastian/recursion-context (3.0.1)
2024-01-27 09:30:40,828: DEBUG -   - Removing sebastian/object-reflector (1.1.2)
2024-01-27 09:30:40,830: DEBUG -   - Removing sebastian/object-enumerator (3.0.4)
2024-01-27 09:30:40,832: DEBUG -   - Removing sebastian/global-state (2.0.0)
2024-01-27 09:30:40,835: DEBUG -   - Removing sebastian/exporter (3.1.5)
2024-01-27 09:30:40,838: DEBUG -   - Removing sebastian/environment (4.2.4)
2024-01-27 09:30:40,840: DEBUG -   - Removing sebastian/diff (3.0.3)
2024-01-27 09:30:40,841: DEBUG -   - Removing sebastian/comparator (3.0.5)
2024-01-27 09:30:40,844: DEBUG -   - Removing sebastian/code-unit-reverse-lookup (1.0.2)
2024-01-27 09:30:40,844: DEBUG -   - Removing phpunit/phpunit (7.5.20)
2024-01-27 09:30:40,845: DEBUG -   - Removing phpunit/php-token-stream (3.1.3)
2024-01-27 09:30:40,845: DEBUG -   - Removing phpunit/php-timer (2.1.3)
2024-01-27 09:30:40,846: DEBUG -   - Removing phpunit/php-text-template (1.2.1)
2024-01-27 09:30:40,846: DEBUG -   - Removing phpunit/php-file-iterator (2.0.5)
2024-01-27 09:30:40,846: DEBUG -   - Removing phpunit/php-code-coverage (6.1.4)
2024-01-27 09:30:40,847: DEBUG -   - Removing phpspec/prophecy (v1.15.0)
2024-01-27 09:30:40,847: DEBUG -   - Removing phpdocumentor/type-resolver (1.6.1)
2024-01-27 09:30:40,847: DEBUG -   - Removing phpdocumentor/reflection-docblock (5.3.0)
2024-01-27 09:30:40,847: DEBUG -   - Removing phpdocumentor/reflection-common (2.2.0)
2024-01-27 09:30:40,848: DEBUG -   - Removing phar-io/version (2.0.1)
2024-01-27 09:30:40,848: DEBUG -   - Removing phar-io/manifest (1.0.3)
2024-01-27 09:30:40,848: DEBUG -   - Removing myclabs/deep-copy (1.11.0)
2024-01-27 09:30:40,848: DEBUG -   - Removing doctrine/instantiator (1.4.1)
2024-01-27 09:30:41,036: DEBUG - Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
2024-01-27 09:30:41,036: DEBUG - Generating autoload files
2024-01-27 09:30:41,059: DEBUG - 6 packages you are using are looking for funding.
2024-01-27 09:30:41,060: DEBUG - Use the `composer fund` command to find out more!
2024-01-27 09:30:41,072: DEBUG - + '[' -f /var/www/roundcube/composer.json ']'
2024-01-27 09:30:41,072: DEBUG - + ynh_exec_warn_less ynh_composer_exec --commands=update
2024-01-27 09:30:41,072: DEBUG - + [[ 2 -eq 1 ]]
2024-01-27 09:30:41,072: DEBUG - + ynh_composer_exec --commands=update
2024-01-27 09:30:41,073: DEBUG - + local _globalphpversion=7.4
2024-01-27 09:30:41,073: DEBUG - + declare -Ar args_array
2024-01-27 09:30:41,118: DEBUG - + workdir=/var/www/roundcube
2024-01-27 09:30:41,118: DEBUG - + dpkg --compare-versions 1.0 lt 2
2024-01-27 09:30:41,121: DEBUG - + phpversion=7.4
2024-01-27 09:30:41,121: DEBUG - + COMPOSER_HOME=/var/www/roundcube/.composer
2024-01-27 09:30:41,121: DEBUG - + COMPOSER_MEMORY_LIMIT=-1
2024-01-27 09:30:41,121: DEBUG - + php7.4 /var/www/roundcube/composer.phar update -d /var/www/roundcube --no-interaction --no-ansi
2024-01-27 09:30:41,249: DEBUG - Do not run Composer as root/super user! See https://getcomposer.org/root for details
2024-01-27 09:30:41,367: DEBUG - roundcube/plugin-installer contains a Composer plugin which is blocked by your allow-plugins config. You may add it to the list if you consider it safe. See https://getcomposer.org/allow-plugins
2024-01-27 09:30:41,368: DEBUG - You can run "composer config --no-plugins allow-plugins.roundcube/plugin-installer [true|false]" to enable it (true) or keep it disabled and suppress this warning (false)
2024-01-27 09:30:41,385: DEBUG - Loading composer repositories with package information
2024-01-27 09:30:42,486: DEBUG - Updating dependencies
2024-01-27 09:30:42,519: DEBUG - Lock file operations: 6 installs, 22 updates, 4 removals
2024-01-27 09:30:42,520: DEBUG -   - Removing endroid/qr-code (1.6.6)
2024-01-27 09:30:42,520: DEBUG -   - Removing symfony/polyfill-intl-idn (v1.26.0)
2024-01-27 09:30:42,520: DEBUG -   - Removing symfony/polyfill-intl-normalizer (v1.26.0)
2024-01-27 09:30:42,521: DEBUG -   - Removing symfony/polyfill-php72 (v1.26.0)
2024-01-27 09:30:42,521: DEBUG -   - Locking bacon/bacon-qr-code (2.0.8)
2024-01-27 09:30:42,521: DEBUG -   - Locking dasprid/enum (1.0.5)
2024-01-27 09:30:42,521: DEBUG -   - Locking doctrine/deprecations (1.1.2)
2024-01-27 09:30:42,521: DEBUG -   - Upgrading doctrine/instantiator (1.4.1 => 1.5.0)
2024-01-27 09:30:42,521: DEBUG -   - Upgrading guzzlehttp/guzzle (6.5.8 => 7.8.1)
2024-01-27 09:30:42,522: DEBUG -   - Upgrading guzzlehttp/promises (1.5.2 => 2.0.2)
2024-01-27 09:30:42,522: DEBUG -   - Upgrading guzzlehttp/psr7 (1.9.0 => 2.6.2)
2024-01-27 09:30:42,522: DEBUG -   - Upgrading kolab/net_ldap3 (v1.1.4 => v1.1.5)
2024-01-27 09:30:42,522: DEBUG -   - Upgrading mstilkerich/carddavclient (v1.2.3 => v1.4.0)
2024-01-27 09:30:42,523: DEBUG -   - Upgrading myclabs/deep-copy (1.11.0 => 1.11.1)
2024-01-27 09:30:42,523: DEBUG -   - Upgrading pear/console_commandline (v1.2.4 => v1.2.6)
2024-01-27 09:30:42,523: DEBUG -   - Upgrading pear/crypt_gpg (v1.6.7 => v1.6.8)
2024-01-27 09:30:42,523: DEBUG -   - Upgrading pear/net_ldap2 (v2.2.0 => v2.3.0)
2024-01-27 09:30:42,523: DEBUG -   - Upgrading pear/net_sieve (1.4.5 => 1.4.6)
2024-01-27 09:30:42,523: DEBUG -   - Upgrading pear/pear-core-minimal (v1.10.11 => v1.10.14)
2024-01-27 09:30:42,524: DEBUG -   - Upgrading phpdocumentor/type-resolver (1.6.1 => 1.8.0)
2024-01-27 09:30:42,524: DEBUG -   - Upgrading phpspec/prophecy (v1.15.0 => v1.18.0)
2024-01-27 09:30:42,524: DEBUG -   - Locking phpstan/phpdoc-parser (1.25.0)
2024-01-27 09:30:42,524: DEBUG -   - Upgrading psr/http-client (1.0.1 => 1.0.3)
2024-01-27 09:30:42,524: DEBUG -   - Locking psr/http-factory (1.0.2)
2024-01-27 09:30:42,525: DEBUG -   - Upgrading psr/http-message (1.0.1 => 2.0)
2024-01-27 09:30:42,525: DEBUG -   - Upgrading roundcube/rtf-html-php (v2.1 => v2.2)
2024-01-27 09:30:42,525: DEBUG -   - Upgrading sabre/uri (2.3.2 => 2.3.3)
2024-01-27 09:30:42,525: DEBUG -   - Upgrading sabre/vobject (4.5.0 => 4.5.4)
2024-01-27 09:30:42,525: DEBUG -   - Upgrading sabre/xml (2.2.5 => 4.0.4)
2024-01-27 09:30:42,525: DEBUG -   - Upgrading sebastian/diff (3.0.3 => 3.0.4)
2024-01-27 09:30:42,526: DEBUG -   - Locking symfony/deprecation-contracts (v2.5.2)
2024-01-27 09:30:42,526: DEBUG -   - Upgrading theseer/tokenizer (1.2.1 => 1.2.2)
2024-01-27 09:30:42,526: DEBUG - Writing lock file
2024-01-27 09:30:42,526: DEBUG - Installing dependencies from lock file (including require-dev)
2024-01-27 09:30:42,528: DEBUG - Package operations: 33 installs, 16 updates, 4 removals
2024-01-27 09:30:42,529: DEBUG -   - Downloading dasprid/enum (1.0.5)
2024-01-27 09:30:42,529: DEBUG -   - Downloading bacon/bacon-qr-code (2.0.8)
2024-01-27 09:30:42,530: DEBUG -   - Downloading symfony/deprecation-contracts (v2.5.2)
2024-01-27 09:30:42,531: DEBUG -   - Downloading psr/http-message (2.0)
2024-01-27 09:30:42,531: DEBUG -   - Downloading psr/http-client (1.0.3)
2024-01-27 09:30:42,531: DEBUG -   - Downloading psr/http-factory (1.0.2)
2024-01-27 09:30:42,532: DEBUG -   - Downloading guzzlehttp/psr7 (2.6.2)
2024-01-27 09:30:42,532: DEBUG -   - Downloading guzzlehttp/promises (2.0.2)
2024-01-27 09:30:42,533: DEBUG -   - Downloading guzzlehttp/guzzle (7.8.1)
2024-01-27 09:30:42,533: DEBUG -   - Downloading pear/pear-core-minimal (v1.10.14)
2024-01-27 09:30:42,533: DEBUG -   - Downloading pear/net_ldap2 (v2.3.0)
2024-01-27 09:30:42,534: DEBUG -   - Syncing kolab/net_ldap3 (v1.1.5) into cache
2024-01-27 09:30:43,229: DEBUG -   - Downloading pear/console_commandline (v1.2.6)
2024-01-27 09:30:43,230: DEBUG -   - Downloading pear/crypt_gpg (v1.6.8)
2024-01-27 09:30:43,231: DEBUG -   - Downloading pear/net_sieve (1.4.6)
2024-01-27 09:30:43,233: DEBUG -   - Downloading phpstan/phpdoc-parser (1.25.0)
2024-01-27 09:30:43,234: DEBUG -   - Downloading doctrine/deprecations (1.1.2)
2024-01-27 09:30:43,235: DEBUG -   - Downloading phpdocumentor/type-resolver (1.8.0)
2024-01-27 09:30:43,241: DEBUG -   - Downloading sebastian/diff (3.0.4)
2024-01-27 09:30:43,243: DEBUG -   - Downloading theseer/tokenizer (1.2.2)
2024-01-27 09:30:43,245: DEBUG -   - Downloading doctrine/instantiator (1.5.0)
2024-01-27 09:30:43,245: DEBUG -   - Downloading phpspec/prophecy (v1.18.0)
2024-01-27 09:30:43,247: DEBUG -   - Downloading myclabs/deep-copy (1.11.1)
2024-01-27 09:30:43,249: DEBUG -   - Downloading sabre/uri (2.3.3)
2024-01-27 09:30:43,249: DEBUG -   - Downloading sabre/xml (4.0.4)
2024-01-27 09:30:43,250: DEBUG -   - Downloading sabre/vobject (4.5.4)
2024-01-27 09:30:43,250: DEBUG -   - Downloading mstilkerich/carddavclient (v1.4.0)
2024-01-27 09:30:43,251: DEBUG -   - Downloading roundcube/rtf-html-php (v2.2)
2024-01-27 09:30:49,142: DEBUG -   - Removing symfony/polyfill-php72 (v1.26.0)
2024-01-27 09:30:49,147: DEBUG -   - Removing symfony/polyfill-intl-normalizer (v1.26.0)
2024-01-27 09:30:49,153: DEBUG -   - Removing symfony/polyfill-intl-idn (v1.26.0)
2024-01-27 09:30:49,158: DEBUG -   - Removing endroid/qr-code (1.6.6)
2024-01-27 09:30:49,163: DEBUG -   - Installing dasprid/enum (1.0.5): Extracting archive
2024-01-27 09:30:49,174: DEBUG -   - Installing bacon/bacon-qr-code (2.0.8): Extracting archive
2024-01-27 09:30:49,180: DEBUG -   - Installing symfony/deprecation-contracts (v2.5.2): Extracting archive
2024-01-27 09:30:49,187: DEBUG -   - Upgrading psr/http-message (1.0.1 => 2.0): Extracting archive
2024-01-27 09:30:49,192: DEBUG -   - Upgrading psr/http-client (1.0.1 => 1.0.3): Extracting archive
2024-01-27 09:30:49,197: DEBUG -   - Installing psr/http-factory (1.0.2): Extracting archive
2024-01-27 09:30:49,203: DEBUG -   - Upgrading guzzlehttp/psr7 (1.9.0 => 2.6.2): Extracting archive
2024-01-27 09:30:49,204: DEBUG -   - Upgrading guzzlehttp/promises (1.5.2 => 2.0.2): Extracting archive
2024-01-27 09:30:49,204: DEBUG -   - Upgrading guzzlehttp/guzzle (6.5.8 => 7.8.1): Extracting archive
2024-01-27 09:30:49,205: DEBUG -   - Upgrading pear/pear-core-minimal (v1.10.11 => v1.10.14): Extracting archive
2024-01-27 09:30:49,206: DEBUG -   - Upgrading pear/net_ldap2 (v2.2.0 => v2.3.0): Extracting archive
2024-01-27 09:30:49,207: DEBUG -   - Removing kolab/net_ldap3 (v1.1.4)
2024-01-27 09:30:49,207: DEBUG -   - Upgrading pear/console_commandline (v1.2.4 => v1.2.6): Extracting archive
2024-01-27 09:30:49,209: DEBUG -   - Upgrading pear/crypt_gpg (v1.6.7 => v1.6.8): Extracting archive
2024-01-27 09:30:49,210: DEBUG -   - Upgrading pear/net_sieve (1.4.5 => 1.4.6): Extracting archive
2024-01-27 09:30:49,210: DEBUG -   - Installing webmozart/assert (1.11.0): Extracting archive
2024-01-27 09:30:49,212: DEBUG -   - Installing phpstan/phpdoc-parser (1.25.0): Extracting archive
2024-01-27 09:30:49,212: DEBUG -   - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
2024-01-27 09:30:49,213: DEBUG -   - Installing doctrine/deprecations (1.1.2): Extracting archive
2024-01-27 09:30:49,214: DEBUG -   - Installing phpdocumentor/type-resolver (1.8.0): Extracting archive
2024-01-27 09:30:49,215: DEBUG -   - Installing phpdocumentor/reflection-docblock (5.3.0): Extracting archive
2024-01-27 09:30:49,216: DEBUG -   - Installing phpunit/php-token-stream (3.1.3): Extracting archive
2024-01-27 09:30:49,217: DEBUG -   - Installing sebastian/version (2.0.1): Extracting archive
2024-01-27 09:30:49,218: DEBUG -   - Installing sebastian/resource-operations (2.0.2): Extracting archive
2024-01-27 09:30:49,219: DEBUG -   - Installing sebastian/recursion-context (3.0.1): Extracting archive
2024-01-27 09:30:49,219: DEBUG -   - Installing sebastian/object-reflector (1.1.2): Extracting archive
2024-01-27 09:30:49,220: DEBUG -   - Installing sebastian/object-enumerator (3.0.4): Extracting archive
2024-01-27 09:30:49,221: DEBUG -   - Installing sebastian/global-state (2.0.0): Extracting archive
2024-01-27 09:30:49,221: DEBUG -   - Installing sebastian/exporter (3.1.5): Extracting archive
2024-01-27 09:30:49,222: DEBUG -   - Installing sebastian/environment (4.2.4): Extracting archive
2024-01-27 09:30:49,223: DEBUG -   - Installing sebastian/diff (3.0.4): Extracting archive
2024-01-27 09:30:49,223: DEBUG -   - Installing sebastian/comparator (3.0.5): Extracting archive
2024-01-27 09:30:49,224: DEBUG -   - Installing phpunit/php-timer (2.1.3): Extracting archive
2024-01-27 09:30:49,225: DEBUG -   - Installing phpunit/php-text-template (1.2.1): Extracting archive
2024-01-27 09:30:49,225: DEBUG -   - Installing phpunit/php-file-iterator (2.0.5): Extracting archive
2024-01-27 09:30:49,226: DEBUG -   - Installing theseer/tokenizer (1.2.2): Extracting archive
2024-01-27 09:30:49,227: DEBUG -   - Installing sebastian/code-unit-reverse-lookup (1.0.2): Extracting archive
2024-01-27 09:30:49,227: DEBUG -   - Installing phpunit/php-code-coverage (6.1.4): Extracting archive
2024-01-27 09:30:49,228: DEBUG -   - Installing doctrine/instantiator (1.5.0): Extracting archive
2024-01-27 09:30:49,228: DEBUG -   - Installing phpspec/prophecy (v1.18.0): Extracting archive
2024-01-27 09:30:49,229: DEBUG -   - Installing phar-io/version (2.0.1): Extracting archive
2024-01-27 09:30:49,229: DEBUG -   - Installing phar-io/manifest (1.0.3): Extracting archive
2024-01-27 09:30:49,230: DEBUG -   - Installing myclabs/deep-copy (1.11.1): Extracting archive
2024-01-27 09:30:49,230: DEBUG -   - Installing phpunit/phpunit (7.5.20): Extracting archive
2024-01-27 09:30:49,231: DEBUG -   - Upgrading sabre/uri (2.3.2 => 2.3.3): Extracting archive
2024-01-27 09:30:49,231: DEBUG -   - Upgrading sabre/xml (2.2.5 => 4.0.4): Extracting archive
2024-01-27 09:30:49,232: DEBUG -   - Upgrading sabre/vobject (4.5.0 => 4.5.4): Extracting archive
2024-01-27 09:30:49,232: DEBUG -   - Upgrading mstilkerich/carddavclient (v1.2.3 => v1.4.0): Extracting archive
2024-01-27 09:30:49,232: DEBUG -   - Upgrading roundcube/rtf-html-php (v2.1 => v2.2): Extracting archive
2024-01-27 09:30:49,401: DEBUG -   - Installing kolab/net_ldap3 (v1.1.5): Cloning 5a319cf437 from cache
2024-01-27 09:30:50,208: DEBUG - 1 package suggestions were added by new dependencies, use `composer suggest` to see details.
2024-01-27 09:30:50,210: DEBUG - Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
2024-01-27 09:30:50,210: DEBUG - Generating autoload files
2024-01-27 09:30:50,359: DEBUG - 19 packages you are using are looking for funding.
2024-01-27 09:30:50,359: DEBUG - Use the `composer fund` command to find out more!
2024-01-27 09:30:50,402: DEBUG - + ynh_exec_warn_less ynh_composer_exec '--commands=require roundcube/plugin-installer:>=0.2.0'
2024-01-27 09:30:50,403: DEBUG - + [[ 2 -eq 1 ]]
2024-01-27 09:30:50,403: DEBUG - + ynh_composer_exec '--commands=require roundcube/plugin-installer:>=0.2.0'
2024-01-27 09:30:50,403: DEBUG - + local _globalphpversion=7.4
2024-01-27 09:30:50,403: DEBUG - + declare -Ar args_array
2024-01-27 09:30:50,445: DEBUG - + workdir=/var/www/roundcube
2024-01-27 09:30:50,445: DEBUG - + dpkg --compare-versions 1.0 lt 2
2024-01-27 09:30:50,448: DEBUG - + phpversion=7.4
2024-01-27 09:30:50,448: DEBUG - + COMPOSER_HOME=/var/www/roundcube/.composer
2024-01-27 09:30:50,448: DEBUG - + COMPOSER_MEMORY_LIMIT=-1
2024-01-27 09:30:50,448: DEBUG - + php7.4 /var/www/roundcube/composer.phar require 'roundcube/plugin-installer:>=0.2.0' -d /var/www/roundcube --no-interaction --no-ansi
2024-01-27 09:30:50,567: DEBUG - Do not run Composer as root/super user! See https://getcomposer.org/root for details
2024-01-27 09:30:50,683: DEBUG - roundcube/plugin-installer contains a Composer plugin which is blocked by your allow-plugins config. You may add it to the list if you consider it safe. See https://getcomposer.org/allow-plugins
2024-01-27 09:30:50,683: DEBUG - You can run "composer config --no-plugins allow-plugins.roundcube/plugin-installer [true|false]" to enable it (true) or keep it disabled and suppress this warning (false)
2024-01-27 09:30:50,691: DEBUG - ./composer.json has been updated
2024-01-27 09:30:50,735: DEBUG - Running composer update roundcube/plugin-installer
2024-01-27 09:30:50,748: DEBUG - Loading composer repositories with package information
2024-01-27 09:30:51,021: DEBUG - Updating dependencies
2024-01-27 09:30:51,028: DEBUG - Nothing to modify in lock file
2024-01-27 09:30:51,037: DEBUG - Writing lock file
2024-01-27 09:30:51,037: DEBUG - Installing dependencies from lock file (including require-dev)
2024-01-27 09:30:51,042: DEBUG - Nothing to install, update or remove
2024-01-27 09:30:51,053: DEBUG - Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
2024-01-27 09:30:51,053: DEBUG - Generating autoload files
2024-01-27 09:30:51,212: DEBUG - 19 packages you are using are looking for funding.
2024-01-27 09:30:51,213: DEBUG - Use the `composer fund` command to find out more!
2024-01-27 09:30:51,354: INFO - [###########++++++...] > Upgrading additional plugins...
2024-01-27 09:30:51,354: DEBUG - + mkdir -p /var/www/roundcube/logs /var/www/roundcube/temp
2024-01-27 09:30:51,357: DEBUG - + ynh_composer_exec '--commands=require kolab/net_ldap3'
2024-01-27 09:30:51,357: DEBUG - + local _globalphpversion=7.4
2024-01-27 09:30:51,357: DEBUG - + declare -Ar args_array
2024-01-27 09:30:51,399: DEBUG - + workdir=/var/www/roundcube
2024-01-27 09:30:51,400: DEBUG - + dpkg --compare-versions 1.0 lt 2
2024-01-27 09:30:51,402: DEBUG - + phpversion=7.4
2024-01-27 09:30:51,403: DEBUG - + COMPOSER_HOME=/var/www/roundcube/.composer
2024-01-27 09:30:51,403: DEBUG - + COMPOSER_MEMORY_LIMIT=-1
2024-01-27 09:30:51,403: DEBUG - + php7.4 /var/www/roundcube/composer.phar require kolab/net_ldap3 -d /var/www/roundcube --no-interaction --no-ansi
2024-01-27 09:30:51,519: DEBUG - Do not run Composer as root/super user! See https://getcomposer.org/root for details
2024-01-27 09:30:51,622: DEBUG - roundcube/plugin-installer contains a Composer plugin which is blocked by your allow-plugins config. You may add it to the list if you consider it safe. See https://getcomposer.org/allow-plugins
2024-01-27 09:30:51,623: DEBUG - You can run "composer config --no-plugins allow-plugins.roundcube/plugin-installer [true|false]" to enable it (true) or keep it disabled and suppress this warning (false)
2024-01-27 09:30:51,865: DEBUG - Using version ^1.1 for kolab/net_ldap3
2024-01-27 09:30:51,868: DEBUG - ./composer.json has been updated
2024-01-27 09:30:51,917: DEBUG - Running composer update kolab/net_ldap3
2024-01-27 09:30:51,927: DEBUG - Loading composer repositories with package information
2024-01-27 09:30:52,173: DEBUG - Updating dependencies
2024-01-27 09:30:52,183: DEBUG - Nothing to modify in lock file
2024-01-27 09:30:52,189: DEBUG - Installing dependencies from lock file (including require-dev)
2024-01-27 09:30:52,192: DEBUG - Nothing to install, update or remove
2024-01-27 09:30:52,202: DEBUG - Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
2024-01-27 09:30:52,203: DEBUG - Generating autoload files
2024-01-27 09:30:52,361: DEBUG - 19 packages you are using are looking for funding.
2024-01-27 09:30:52,361: DEBUG - Use the `composer fund` command to find out more!
2024-01-27 09:30:52,384: DEBUG - + ynh_composer_exec '--commands=update --no-dev --prefer-dist         johndoh/contextmenu 3.3.1         sblaisot/automatic_addressbook v0.4.3'
2024-01-27 09:30:52,385: DEBUG - + local _globalphpversion=7.4
2024-01-27 09:30:52,385: DEBUG - + declare -Ar args_array
2024-01-27 09:30:52,426: DEBUG - + workdir=/var/www/roundcube
2024-01-27 09:30:52,426: DEBUG - + dpkg --compare-versions 1.0 lt 2
2024-01-27 09:30:52,430: DEBUG - + phpversion=7.4
2024-01-27 09:30:52,431: DEBUG - + COMPOSER_HOME=/var/www/roundcube/.composer
2024-01-27 09:30:52,431: DEBUG - + COMPOSER_MEMORY_LIMIT=-1
2024-01-27 09:30:52,431: DEBUG - + php7.4 /var/www/roundcube/composer.phar update --no-dev --prefer-dist johndoh/contextmenu 3.3.1 sblaisot/automatic_addressbook v0.4.3 -d /var/www/roundcube --no-interaction --no-ansi
2024-01-27 09:30:52,550: DEBUG - Do not run Composer as root/super user! See https://getcomposer.org/root for details
2024-01-27 09:30:52,679: DEBUG - roundcube/plugin-installer contains a Composer plugin which is blocked by your allow-plugins config. You may add it to the list if you consider it safe. See https://getcomposer.org/allow-plugins
2024-01-27 09:30:52,679: DEBUG - You can run "composer config --no-plugins allow-plugins.roundcube/plugin-installer [true|false]" to enable it (true) or keep it disabled and suppress this warning (false)
2024-01-27 09:30:52,694: DEBUG - Loading composer repositories with package information
2024-01-27 09:30:52,701: DEBUG - Package "3.3.1" listed for update is not locked.
2024-01-27 09:30:52,701: DEBUG - Package "v0.4.3" listed for update is not locked.
2024-01-27 09:30:53,199: DEBUG - Updating dependencies
2024-01-27 09:30:53,217: DEBUG - Nothing to modify in lock file
2024-01-27 09:30:53,227: DEBUG - Installing dependencies from lock file
2024-01-27 09:30:53,228: DEBUG - Package operations: 0 installs, 0 updates, 29 removals
2024-01-27 09:30:53,229: DEBUG -   - Removing webmozart/assert (1.11.0)
2024-01-27 09:30:53,234: DEBUG -   - Removing theseer/tokenizer (1.2.2)
2024-01-27 09:30:53,237: DEBUG -   - Removing sebastian/version (2.0.1)
2024-01-27 09:30:53,240: DEBUG -   - Removing sebastian/resource-operations (2.0.2)
2024-01-27 09:30:53,244: DEBUG -   - Removing sebastian/recursion-context (3.0.1)
2024-01-27 09:30:53,247: DEBUG -   - Removing sebastian/object-reflector (1.1.2)
2024-01-27 09:30:53,251: DEBUG -   - Removing sebastian/object-enumerator (3.0.4)
2024-01-27 09:30:53,255: DEBUG -   - Removing sebastian/global-state (2.0.0)
2024-01-27 09:30:53,259: DEBUG -   - Removing sebastian/exporter (3.1.5)
2024-01-27 09:30:53,262: DEBUG -   - Removing sebastian/environment (4.2.4)
2024-01-27 09:30:53,265: DEBUG -   - Removing sebastian/diff (3.0.4)
2024-01-27 09:30:53,266: DEBUG -   - Removing sebastian/comparator (3.0.5)
2024-01-27 09:30:53,267: DEBUG -   - Removing sebastian/code-unit-reverse-lookup (1.0.2)
2024-01-27 09:30:53,267: DEBUG -   - Removing phpunit/phpunit (7.5.20)
2024-01-27 09:30:53,267: DEBUG -   - Removing phpunit/php-token-stream (3.1.3)
2024-01-27 09:30:53,268: DEBUG -   - Removing phpunit/php-timer (2.1.3)
2024-01-27 09:30:53,268: DEBUG -   - Removing phpunit/php-text-template (1.2.1)
2024-01-27 09:30:53,268: DEBUG -   - Removing phpunit/php-file-iterator (2.0.5)
2024-01-27 09:30:53,268: DEBUG -   - Removing phpunit/php-code-coverage (6.1.4)
2024-01-27 09:30:53,269: DEBUG -   - Removing phpstan/phpdoc-parser (1.25.0)
2024-01-27 09:30:53,269: DEBUG -   - Removing phpspec/prophecy (v1.18.0)
2024-01-27 09:30:53,269: DEBUG -   - Removing phpdocumentor/type-resolver (1.8.0)
2024-01-27 09:30:53,269: DEBUG -   - Removing phpdocumentor/reflection-docblock (5.3.0)
2024-01-27 09:30:53,269: DEBUG -   - Removing phpdocumentor/reflection-common (2.2.0)
2024-01-27 09:30:53,270: DEBUG -   - Removing phar-io/version (2.0.1)
2024-01-27 09:30:53,270: DEBUG -   - Removing phar-io/manifest (1.0.3)
2024-01-27 09:30:53,270: DEBUG -   - Removing myclabs/deep-copy (1.11.1)
2024-01-27 09:30:53,271: DEBUG -   - Removing doctrine/instantiator (1.5.0)
2024-01-27 09:30:53,271: DEBUG -   - Removing doctrine/deprecations (1.1.2)
2024-01-27 09:30:53,476: DEBUG - Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
2024-01-27 09:30:53,476: DEBUG - Generating autoload files
2024-01-27 09:30:53,497: DEBUG - 4 packages you are using are looking for funding.
2024-01-27 09:30:53,497: DEBUG - Use the `composer fund` command to find out more!
2024-01-27 09:30:53,519: DEBUG - + installed_plugins+=' '\''contextmenu'\'', '\''automatic_addressbook'\'','
2024-01-27 09:30:53,519: DEBUG - + ynh_add_config --template=../conf/enigma.config.inc.php --destination=/var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:53,568: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/../conf/enigma.config.inc.php ']'
2024-01-27 09:30:53,568: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/../conf/enigma.config.inc.php
2024-01-27 09:30:53,568: DEBUG - + ynh_backup_if_checksum_is_different --file=/var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:53,581: DEBUG - + local checksum_setting_name=checksum__var_www_roundcube_plugins_enigma_config.inc.php
2024-01-27 09:30:53,582: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=checksum__var_www_roundcube_plugins_enigma_config.inc.php
2024-01-27 09:30:53,582: DEBUG - ++ local _globalapp=roundcube
2024-01-27 09:30:53,634: DEBUG - ++ app=roundcube
2024-01-27 09:30:53,635: DEBUG - ++ [[ checksum__var_www_roundcube_plugins_enigma_config.inc.php =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:53,635: DEBUG - ++ ynh_app_setting get roundcube checksum__var_www_roundcube_plugins_enigma_config.inc.php
2024-01-27 09:30:53,704: DEBUG - + local checksum_value=6709fd33fa4a510b07db68e3b33e1c1d
2024-01-27 09:30:53,704: DEBUG - + backup_file_checksum=
2024-01-27 09:30:53,705: DEBUG - + '[' -n 6709fd33fa4a510b07db68e3b33e1c1d ']'
2024-01-27 09:30:53,705: DEBUG - + '[' -e /var/www/roundcube/plugins/enigma/config.inc.php ']'
2024-01-27 09:30:53,705: DEBUG - + md5sum --check --status
2024-01-27 09:30:53,707: DEBUG - + touch /var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:53,709: DEBUG - + chown root:root /var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:53,711: DEBUG - + chmod 640 /var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:53,713: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/conf/../conf/enigma.config.inc.php /var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:53,715: DEBUG - + _ynh_apply_default_permissions /var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:53,715: DEBUG - + local target=/var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:53,717: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-01-27 09:30:53,717: DEBUG - ++ tr -d '<>= '
2024-01-27 09:30:53,752: DEBUG - ++ '[' '!' -e '' ']'
2024-01-27 09:30:53,752: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json ']'
2024-01-27 09:30:53,752: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json
2024-01-27 09:30:53,753: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json
2024-01-27 09:30:53,753: DEBUG - ++ grep -q '\.json$'
2024-01-27 09:30:53,756: DEBUG - ++ jq .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/manifest.json --raw-output
2024-01-27 09:30:53,804: DEBUG - + local ynh_requirement=11.2
2024-01-27 09:30:53,804: DEBUG - + dpkg --compare-versions 1.0 ge 2
2024-01-27 09:30:53,807: DEBUG - + '[' -z 11.2 ']'
2024-01-27 09:30:53,807: DEBUG - + '[' 11.2 == null ']'
2024-01-27 09:30:53,807: DEBUG - + dpkg --compare-versions 11.2 ge 4.2
2024-01-27 09:30:53,809: DEBUG - + chmod o-rwx /var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:53,811: DEBUG - + chmod g-w /var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:53,813: DEBUG - + chown -R root:root /var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:53,816: DEBUG - + ynh_system_user_exists roundcube
2024-01-27 09:30:53,833: DEBUG - + getent passwd roundcube
2024-01-27 09:30:53,835: DEBUG - + chown roundcube:roundcube /var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:53,837: DEBUG - + echo /var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:53,838: DEBUG - + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
2024-01-27 09:30:53,841: DEBUG - + ynh_replace_vars --file=/var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:53,858: DEBUG - + test -n /
2024-01-27 09:30:53,859: DEBUG - + local path_url_slash_less=
2024-01-27 09:30:53,859: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:53,962: DEBUG - + sed --in-place $'s\001__PATH__/\001/\001g' /var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:53,965: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:54,074: DEBUG - + sed --in-place $'s\001__PATH__\001/\001g' /var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:54,077: DEBUG - + test -n roundcube
2024-01-27 09:30:54,077: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=roundcube --target_file=/var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:54,178: DEBUG - + sed --in-place $'s\001__NAME__\001roundcube\001g' /var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:54,180: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=roundcube --target_file=/var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:54,281: DEBUG - + sed --in-place $'s\001__NAMETOCHANGE__\001roundcube\001g' /var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:54,284: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=roundcube --target_file=/var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:54,400: DEBUG - + sed --in-place $'s\001__USER__\001roundcube\001g' /var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:54,402: DEBUG - + test -n /var/www/roundcube
2024-01-27 09:30:54,402: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/roundcube --target_file=/var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:54,518: DEBUG - + sed --in-place $'s\001__FINALPATH__\001/var/www/roundcube\001g' /var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:54,521: DEBUG - + ynh_replace_string --match_string=__INSTALL_DIR__ --replace_string=/var/www/roundcube --target_file=/var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:54,634: DEBUG - + sed --in-place $'s\001__INSTALL_DIR__\001/var/www/roundcube\001g' /var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:54,640: DEBUG - + dpkg --compare-versions 1.0 lt 2
2024-01-27 09:30:54,643: DEBUG - + test -n 7.4
2024-01-27 09:30:54,643: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.4 --target_file=/var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:54,751: DEBUG - + sed --in-place $'s\001__PHPVERSION__\0017.4\001g' /var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:54,754: DEBUG - + test -n ''
2024-01-27 09:30:54,756: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:54,756: DEBUG - ++ sort --unique
2024-01-27 09:30:54,756: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2024-01-27 09:30:54,761: DEBUG - + uniques_vars=('app')
2024-01-27 09:30:54,762: DEBUG - + local delimit=@
2024-01-27 09:30:54,762: DEBUG - + for one_var in "${uniques_vars[@]}"
2024-01-27 09:30:54,762: DEBUG - + [[ -v app ]]
2024-01-27 09:30:54,762: DEBUG - + match_string=__APP__
2024-01-27 09:30:54,762: DEBUG - + match_string=__APP__
2024-01-27 09:30:54,762: DEBUG - + replace_string=roundcube
2024-01-27 09:30:54,763: DEBUG - + replace_string=roundcube
2024-01-27 09:30:54,763: DEBUG - + replace_string=roundcube
2024-01-27 09:30:54,763: DEBUG - + sed --in-place s@__APP__@roundcube@g /var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:54,766: DEBUG - + ynh_store_file_checksum --file=/var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:54,766: DEBUG - + update_only=0
2024-01-27 09:30:54,796: DEBUG - + local checksum_setting_name=checksum__var_www_roundcube_plugins_enigma_config.inc.php
2024-01-27 09:30:54,797: DEBUG - ++ md5sum /var/www/roundcube/plugins/enigma/config.inc.php
2024-01-27 09:30:54,797: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-01-27 09:30:54,802: DEBUG - + ynh_app_setting_set --app=roundcube --key=checksum__var_www_roundcube_plugins_enigma_config.inc.php --value=6709fd33fa4a510b07db68e3b33e1c1d
2024-01-27 09:30:54,802: DEBUG - + local _globalapp=roundcube
2024-01-27 09:30:54,919: DEBUG - + app=roundcube
2024-01-27 09:30:54,920: DEBUG - + [[ checksum__var_www_roundcube_plugins_enigma_config.inc.php =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:54,920: DEBUG - + ynh_app_setting set roundcube checksum__var_www_roundcube_plugins_enigma_config.inc.php 6709fd33fa4a510b07db68e3b33e1c1d
2024-01-27 09:30:55,000: DEBUG - + '[' -n '' ']'
2024-01-27 09:30:55,000: DEBUG - + unset backup_file_checksum
2024-01-27 09:30:55,001: DEBUG - + mkdir -p /var/www/roundcube/plugins/enigma/home
2024-01-27 09:30:55,003: DEBUG - + chown -R roundcube:roundcube /var/www/roundcube/plugins/enigma/home
2024-01-27 09:30:55,006: DEBUG - + ynh_composer_exec '--commands=require roundcube/carddav 5.0.1 --with-all-dependencies'
2024-01-27 09:30:55,006: DEBUG - + local _globalphpversion=7.4
2024-01-27 09:30:55,007: DEBUG - + declare -Ar args_array
2024-01-27 09:30:55,052: DEBUG - + workdir=/var/www/roundcube
2024-01-27 09:30:55,053: DEBUG - + dpkg --compare-versions 1.0 lt 2
2024-01-27 09:30:55,056: DEBUG - + phpversion=7.4
2024-01-27 09:30:55,056: DEBUG - + COMPOSER_HOME=/var/www/roundcube/.composer
2024-01-27 09:30:55,056: DEBUG - + COMPOSER_MEMORY_LIMIT=-1
2024-01-27 09:30:55,056: DEBUG - + php7.4 /var/www/roundcube/composer.phar require roundcube/carddav 5.0.1 --with-all-dependencies -d /var/www/roundcube --no-interaction --no-ansi
2024-01-27 09:30:55,193: DEBUG - Do not run Composer as root/super user! See https://getcomposer.org/root for details
2024-01-27 09:30:55,306: DEBUG - roundcube/plugin-installer contains a Composer plugin which is blocked by your allow-plugins config. You may add it to the list if you consider it safe. See https://getcomposer.org/allow-plugins
2024-01-27 09:30:55,307: DEBUG - You can run "composer config --no-plugins allow-plugins.roundcube/plugin-installer [true|false]" to enable it (true) or keep it disabled and suppress this warning (false)
2024-01-27 09:30:55,311: DEBUG - ./composer.json has been updated
2024-01-27 09:30:55,355: DEBUG - Running composer update roundcube/carddav --with-all-dependencies
2024-01-27 09:30:55,363: DEBUG - Loading composer repositories with package information
2024-01-27 09:30:55,793: DEBUG - Updating dependencies
2024-01-27 09:30:55,817: DEBUG - Lock file operations: 0 installs, 1 update, 0 removals
2024-01-27 09:30:55,817: DEBUG -   - Upgrading roundcube/carddav (v4.4.1 => v5.0.1)
2024-01-27 09:30:55,820: DEBUG - Writing lock file
2024-01-27 09:30:55,820: DEBUG - Installing dependencies from lock file (including require-dev)
2024-01-27 09:30:55,824: DEBUG - Package operations: 29 installs, 1 update, 0 removals
2024-01-27 09:30:55,843: DEBUG -   - Downloading roundcube/carddav (v5.0.1)
2024-01-27 09:30:56,200: DEBUG -   - Installing webmozart/assert (1.11.0): Extracting archive
2024-01-27 09:30:56,206: DEBUG -   - Installing phpstan/phpdoc-parser (1.25.0): Extracting archive
2024-01-27 09:30:56,210: DEBUG -   - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
2024-01-27 09:30:56,214: DEBUG -   - Installing doctrine/deprecations (1.1.2): Extracting archive
2024-01-27 09:30:56,218: DEBUG -   - Installing phpdocumentor/type-resolver (1.8.0): Extracting archive
2024-01-27 09:30:56,221: DEBUG -   - Installing phpdocumentor/reflection-docblock (5.3.0): Extracting archive
2024-01-27 09:30:56,224: DEBUG -   - Installing phpunit/php-token-stream (3.1.3): Extracting archive
2024-01-27 09:30:56,228: DEBUG -   - Installing sebastian/version (2.0.1): Extracting archive
2024-01-27 09:30:56,231: DEBUG -   - Installing sebastian/resource-operations (2.0.2): Extracting archive
2024-01-27 09:30:56,236: DEBUG -   - Installing sebastian/recursion-context (3.0.1): Extracting archive
2024-01-27 09:30:56,241: DEBUG -   - Installing sebastian/object-reflector (1.1.2): Extracting archive
2024-01-27 09:30:56,242: DEBUG -   - Installing sebastian/object-enumerator (3.0.4): Extracting archive
2024-01-27 09:30:56,243: DEBUG -   - Installing sebastian/global-state (2.0.0): Extracting archive
2024-01-27 09:30:56,243: DEBUG -   - Installing sebastian/exporter (3.1.5): Extracting archive
2024-01-27 09:30:56,244: DEBUG -   - Installing sebastian/environment (4.2.4): Extracting archive
2024-01-27 09:30:56,244: DEBUG -   - Installing sebastian/diff (3.0.4): Extracting archive
2024-01-27 09:30:56,245: DEBUG -   - Installing sebastian/comparator (3.0.5): Extracting archive
2024-01-27 09:30:56,245: DEBUG -   - Installing phpunit/php-timer (2.1.3): Extracting archive
2024-01-27 09:30:56,246: DEBUG -   - Installing phpunit/php-text-template (1.2.1): Extracting archive
2024-01-27 09:30:56,246: DEBUG -   - Installing phpunit/php-file-iterator (2.0.5): Extracting archive
2024-01-27 09:30:56,246: DEBUG -   - Installing theseer/tokenizer (1.2.2): Extracting archive
2024-01-27 09:30:56,247: DEBUG -   - Installing sebastian/code-unit-reverse-lookup (1.0.2): Extracting archive
2024-01-27 09:30:56,247: DEBUG -   - Installing phpunit/php-code-coverage (6.1.4): Extracting archive
2024-01-27 09:30:56,248: DEBUG -   - Installing doctrine/instantiator (1.5.0): Extracting archive
2024-01-27 09:30:56,248: DEBUG -   - Installing phpspec/prophecy (v1.18.0): Extracting archive
2024-01-27 09:30:56,249: DEBUG -   - Installing phar-io/version (2.0.1): Extracting archive
2024-01-27 09:30:56,249: DEBUG -   - Installing phar-io/manifest (1.0.3): Extracting archive
2024-01-27 09:30:56,250: DEBUG -   - Installing myclabs/deep-copy (1.11.1): Extracting archive
2024-01-27 09:30:56,251: DEBUG -   - Installing phpunit/phpunit (7.5.20): Extracting archive
2024-01-27 09:30:56,251: DEBUG -   - Upgrading roundcube/carddav (v4.4.1 => v5.0.1): Extracting archive
2024-01-27 09:30:56,755: DEBUG - Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
2024-01-27 09:30:56,756: DEBUG - Generating autoload files
2024-01-27 09:30:56,919: DEBUG - 19 packages you are using are looking for funding.
2024-01-27 09:30:56,920: DEBUG - Use the `composer fund` command to find out more!
2024-01-27 09:30:56,941: DEBUG - + carddav_tmp_config=../conf/carddav.config.inc.php
2024-01-27 09:30:56,941: DEBUG - + carddav_server=0
2024-01-27 09:30:56,941: DEBUG - + cp /var/www/roundcube/plugins/carddav/config.inc.php.dist /var/www/roundcube/plugins/carddav/config.inc.php
2024-01-27 09:30:56,943: DEBUG - + for carddav_app in "nextcloud" "baikal"
2024-01-27 09:30:56,944: DEBUG - ++ yunohost app list
2024-01-27 09:30:56,945: DEBUG - ++ grep 'id: nextcloud'
2024-01-27 09:30:56,945: DEBUG - ++ grep -Po 'id: \K(.*)'
2024-01-27 09:30:57,657: DEBUG - + carddav_app_ids=nextcloud
2024-01-27 09:30:57,657: DEBUG - + for carddav_app_id in $carddav_app_ids
2024-01-27 09:30:57,658: DEBUG - + carddav_server=1
2024-01-27 09:30:57,658: DEBUG - + cat ../conf/nextcloud.inc.php
2024-01-27 09:30:57,660: DEBUG - ++ ynh_app_setting_get --app=nextcloud --key=domain
2024-01-27 09:30:57,660: DEBUG - ++ local _globalapp=roundcube
2024-01-27 09:30:57,714: DEBUG - ++ app=nextcloud
2024-01-27 09:30:57,714: DEBUG - ++ [[ domain =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:57,714: DEBUG - ++ ynh_app_setting get nextcloud domain
2024-01-27 09:30:57,786: DEBUG - + carddav_domain=nextcloud.maindomain.tld
2024-01-27 09:30:57,787: DEBUG - ++ ynh_app_setting_get --app=nextcloud --key=path
2024-01-27 09:30:57,787: DEBUG - ++ local _globalapp=roundcube
2024-01-27 09:30:57,840: DEBUG - ++ app=nextcloud
2024-01-27 09:30:57,840: DEBUG - ++ [[ path =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:57,841: DEBUG - ++ ynh_app_setting get nextcloud path
2024-01-27 09:30:57,914: DEBUG - + carddav_path=/
2024-01-27 09:30:57,914: DEBUG - + carddav_url=https://nextcloud.maindomain.tld
2024-01-27 09:30:57,914: DEBUG - + ynh_replace_string '--match_string={nextcloud_id}' --replace_string=nextcloud --target_file=/var/www/roundcube/plugins/carddav/config.inc.php
2024-01-27 09:30:58,024: DEBUG - + sed --in-place 's{nextcloud_id}nextcloudg' /var/www/roundcube/plugins/carddav/config.inc.php
2024-01-27 09:30:58,029: DEBUG - + ynh_replace_string '--match_string={nextcloud_url}' --replace_string=https://nextcloud.maindomain.tld --target_file=/var/www/roundcube/plugins/carddav/config.inc.php
2024-01-27 09:30:58,143: DEBUG - + sed --in-place 's{nextcloud_url}https://nextcloud.maindomain.tldg' /var/www/roundcube/plugins/carddav/config.inc.php
2024-01-27 09:30:58,145: DEBUG - + for carddav_app in "nextcloud" "baikal"
2024-01-27 09:30:58,147: DEBUG - ++ yunohost app list
2024-01-27 09:30:58,147: DEBUG - ++ grep 'id: baikal'
2024-01-27 09:30:58,148: DEBUG - ++ grep -Po 'id: \K(.*)'
2024-01-27 09:30:58,863: DEBUG - ++ echo ''
2024-01-27 09:30:58,864: DEBUG - + carddav_app_ids=
2024-01-27 09:30:58,865: DEBUG - + installed_plugins+=' '\''carddav'\'','
2024-01-27 09:30:58,996: DEBUG - + ynh_replace_string '--match_string=^\s*// installed plugins' '--replace_string=&\n  '\''contextmenu'\'', '\''automatic_addressbook'\'', '\''carddav'\'',' --target_file=/var/www/roundcube/config/config.inc.php
2024-01-27 09:30:58,997: INFO - [#################+..] > Updating roundcube configuration...
2024-01-27 09:30:59,112: DEBUG - + sed --in-place 's^\s*// installed plugins&\n  '\''contextmenu'\'', '\''automatic_addressbook'\'', '\''carddav'\'',g' /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:59,114: DEBUG - + pushd /var/www/roundcube
2024-01-27 09:30:59,115: DEBUG - /var/www/roundcube /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/scripts
2024-01-27 09:30:59,115: DEBUG - + COMPOSER_ALLOW_SUPERUSER=1
2024-01-27 09:30:59,115: DEBUG - + ./bin/update.sh '--version=?' -y
2024-01-27 09:30:59,223: DEBUG - WARNING: Changed defaults (These config options have new default values):
2024-01-27 09:30:59,224: DEBUG - - 'skin'
2024-01-27 09:30:59,224: DEBUG - - 'smtp_port'
2024-01-27 09:30:59,224: DEBUG - - 'smtp_user'
2024-01-27 09:30:59,224: DEBUG - - 'smtp_pass'
2024-01-27 09:30:59,225: DEBUG - - 'jquery_ui_skin_map'
2024-01-27 09:30:59,232: DEBUG - Executing database schema update.
2024-01-27 09:30:59,238: DEBUG - Updating database schema (2022081200)... [OK]
2024-01-27 09:30:59,242: DEBUG - Executing php composer.phar to update dependencies...
2024-01-27 09:30:59,381: DEBUG - 
2024-01-27 09:30:59,394: WARNING - In Factory.php line 693:
2024-01-27 09:30:59,395: DEBUG - 
2024-01-27 09:30:59,395: WARNING -   The HOME or COMPOSER_HOME environment variable must be set for composer to
2024-01-27 09:30:59,396: WARNING -   run correctly
2024-01-27 09:30:59,396: DEBUG - 
2024-01-27 09:30:59,396: DEBUG - 
2024-01-27 09:30:59,396: WARNING - update [--with WITH] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-dev] [--lock] [--no-install] [--no-autoloader] [--no-suggest] [--no-progress] [-w|--with-dependencies] [-W|--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>...]
2024-01-27 09:30:59,397: DEBUG - 
2024-01-27 09:30:59,406: DEBUG - -----------------------------------------------------------------------------
2024-01-27 09:30:59,407: DEBUG - ATTENTION: Update dependencies by running `php composer.phar update --no-dev`
2024-01-27 09:30:59,407: DEBUG - -----------------------------------------------------------------------------
2024-01-27 09:30:59,407: DEBUG - Indexing contacts for user 1...
2024-01-27 09:30:59,407: DEBUG - Indexing contacts for user 2...
2024-01-27 09:30:59,408: DEBUG - Indexing contacts for user 3...
2024-01-27 09:30:59,408: DEBUG - done.
2024-01-27 09:30:59,408: DEBUG - This instance of Roundcube is up-to-date.
2024-01-27 09:30:59,408: DEBUG - Have fun!
2024-01-27 09:30:59,415: DEBUG - + ynh_store_file_checksum --file=/var/www/roundcube/config/config.inc.php
2024-01-27 09:30:59,416: DEBUG - + update_only=0
2024-01-27 09:30:59,447: DEBUG - + local checksum_setting_name=checksum__var_www_roundcube_config_config.inc.php
2024-01-27 09:30:59,450: DEBUG - ++ md5sum /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:59,451: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-01-27 09:30:59,455: DEBUG - + ynh_app_setting_set --app=roundcube --key=checksum__var_www_roundcube_config_config.inc.php --value=406635d50652777aa22b316d08847218
2024-01-27 09:30:59,455: DEBUG - + local _globalapp=roundcube
2024-01-27 09:30:59,562: DEBUG - + app=roundcube
2024-01-27 09:30:59,563: DEBUG - + [[ checksum__var_www_roundcube_config_config.inc.php =~ (unprotected|protected|skipped)_ ]]
2024-01-27 09:30:59,566: DEBUG - + ynh_app_setting set roundcube checksum__var_www_roundcube_config_config.inc.php 406635d50652777aa22b316d08847218
2024-01-27 09:30:59,636: DEBUG - + '[' -n '' ']'
2024-01-27 09:30:59,637: DEBUG - + unset backup_file_checksum
2024-01-27 09:30:59,637: DEBUG - + chmod 400 /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:59,638: DEBUG - + chown roundcube:roundcube /var/www/roundcube/config/config.inc.php
2024-01-27 09:30:59,761: INFO - [##################+.] > Updating roundcube core...
2024-01-27 09:30:59,762: DEBUG - + COMPOSER_ALLOW_SUPERUSER=1
2024-01-27 09:30:59,763: DEBUG - + ynh_exec_warn ./bin/update.sh --version=1.6.0 -y
2024-01-27 09:30:59,763: DEBUG - + [[ 3 -eq 1 ]]
2024-01-27 09:30:59,763: DEBUG - ++ ./bin/update.sh --version=1.6.0 -y
2024-01-27 09:30:59,983: DEBUG - 
2024-01-27 09:30:59,989: WARNING - In Factory.php line 693:
2024-01-27 09:30:59,990: DEBUG - 
2024-01-27 09:30:59,991: WARNING -   The HOME or COMPOSER_HOME environment variable must be set for composer to
2024-01-27 09:30:59,991: WARNING -   run correctly
2024-01-27 09:30:59,992: DEBUG - 
2024-01-27 09:30:59,992: DEBUG - 
2024-01-27 09:30:59,992: WARNING - update [--with WITH] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-dev] [--lock] [--no-install] [--no-autoloader] [--no-suggest] [--no-progress] [-w|--with-dependencies] [-W|--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>...]
2024-01-27 09:30:59,992: DEBUG - 
2024-01-27 09:31:00,013: DEBUG - + ynh_print_warn '--message=Executing database schema update.
2024-01-27 09:31:00,014: DEBUG - Executing php composer.phar to update dependencies...
2024-01-27 09:31:00,014: DEBUG - -----------------------------------------------------------------------------
2024-01-27 09:31:00,014: DEBUG - ATTENTION: Update dependencies by running `php composer.phar update --no-dev`
2024-01-27 09:31:00,014: DEBUG - -----------------------------------------------------------------------------
2024-01-27 09:31:00,014: DEBUG - This instance of Roundcube is up-to-date.
2024-01-27 09:31:00,015: DEBUG - Have fun!'
2024-01-27 09:31:00,016: DEBUG - Executing php composer.phar to update dependencies...
2024-01-27 09:31:00,016: DEBUG - -----------------------------------------------------------------------------
2024-01-27 09:31:00,016: DEBUG - ATTENTION: Update dependencies by running `php composer.phar update --no-dev`
2024-01-27 09:31:00,016: DEBUG - -----------------------------------------------------------------------------
2024-01-27 09:31:00,016: DEBUG - This instance of Roundcube is up-to-date.
2024-01-27 09:31:00,016: DEBUG - Have fun!'
2024-01-27 09:31:00,032: DEBUG - + ynh_print_log 'Executing database schema update.
2024-01-27 09:31:00,033: DEBUG - Executing php composer.phar to update dependencies...
2024-01-27 09:31:00,033: DEBUG - -----------------------------------------------------------------------------
2024-01-27 09:31:00,033: DEBUG - ATTENTION: Update dependencies by running `php composer.phar update --no-dev`
2024-01-27 09:31:00,033: DEBUG - -----------------------------------------------------------------------------
2024-01-27 09:31:00,033: DEBUG - This instance of Roundcube is up-to-date.
2024-01-27 09:31:00,034: DEBUG - Have fun!'
2024-01-27 09:31:00,034: DEBUG - + echo -e 'Executing database schema update.
2024-01-27 09:31:00,034: DEBUG - Executing php composer.phar to update dependencies...
2024-01-27 09:31:00,034: DEBUG - -----------------------------------------------------------------------------
2024-01-27 09:31:00,034: DEBUG - ATTENTION: Update dependencies by running `php composer.phar update --no-dev`
2024-01-27 09:31:00,034: DEBUG - -----------------------------------------------------------------------------
2024-01-27 09:31:00,035: DEBUG - This instance of Roundcube is up-to-date.
2024-01-27 09:31:00,035: DEBUG - Have fun!'
2024-01-27 09:31:00,035: DEBUG - + popd
2024-01-27 09:31:00,035: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_kgz9hft6/scripts
2024-01-27 09:31:00,036: WARNING - Executing database schema update.
2024-01-27 09:31:00,037: WARNING - Executing php composer.phar to update dependencies...
2024-01-27 09:31:00,037: WARNING - -----------------------------------------------------------------------------
2024-01-27 09:31:00,038: WARNING - ATTENTION: Update dependencies by running `php composer.phar update --no-dev`
2024-01-27 09:31:00,038: WARNING - -----------------------------------------------------------------------------
2024-01-27 09:31:00,039: WARNING - This instance of Roundcube is up-to-date.
2024-01-27 09:31:00,040: WARNING - Have fun!
2024-01-27 09:31:00,155: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2024-01-27 09:31:00,156: INFO - [###################.] > Reloading NGINX web server...
2024-01-27 09:31:00,312: DEBUG - + service_name=nginx
2024-01-27 09:31:00,312: DEBUG - + action=reload
2024-01-27 09:31:00,312: DEBUG - + line_match=
2024-01-27 09:31:00,313: DEBUG - + length=20
2024-01-27 09:31:00,313: DEBUG - + log_path=/var/log/nginx/nginx.log
2024-01-27 09:31:00,313: DEBUG - + timeout=300
2024-01-27 09:31:00,313: DEBUG - + '[' reload == stop ']'
2024-01-27 09:31:00,313: DEBUG - + '[' reload == reload ']'
2024-01-27 09:31:00,313: DEBUG - + action=reload-or-restart
2024-01-27 09:31:00,313: DEBUG - ++ date --utc --rfc-3339=seconds
2024-01-27 09:31:00,314: DEBUG - ++ cut -d+ -f1
2024-01-27 09:31:00,317: DEBUG - + local 'time_start=2024-01-27 08:31:00 UTC'
2024-01-27 09:31:00,317: DEBUG - + systemctl reload-or-restart nginx
2024-01-27 09:31:00,605: INFO - [####################] > Installation of roundcube completed
2024-01-27 09:31:00,607: DEBUG - + ynh_exit_properly
2024-01-27 09:31:00,608: DEBUG - + [[ upgrade =~ ^install$|^upgrade$|^restore$ ]]
2024-01-27 09:31:01,610: DEBUG - Checking that required services are up and running...
2024-01-27 09:31:03,029: SUCCESS - roundcube mis à jour