args:
  app: collabora
  force: false
  label: Collabora Online
  no_remove_on_failure: false
ended_at: 2022-09-26 22:29:06.705665
env:
  YNH_APP_ARG_DOMAIN: office.maindomain.tld
  YNH_APP_ARG_NEXTCLOUD_DOMAIN: maindomain.tld/nextcloud
  YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_dh6ebn4g
  YNH_APP_ID: collabora
  YNH_APP_INSTANCE_NAME: collabora
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 21.11.4.1~ynh1
  YNH_ARCH: arm64
error: Une erreur est survenue dans le script d'installation de l'application
interface: api
operation: app_install
parent: null
related_to:
- - app
  - collabora
started_at: 2022-09-26 22:28:23.185619
success: false
yunohost_version: 11.0.9.14

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

2022-09-26 23:28:23,207: INFO - Installation de collabora...
2022-09-26 23:28:23,520: DEBUG - Nothing to update in LDAP
2022-09-26 23:28:23,521: DEBUG - Permission 'collabora.main' mise à jour
2022-09-26 23:28:23,755: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20220926-222823-permission_url-collabora" style="text-decoration:underline"> Mise à jour de l'URL associée à l'autorisation 'collabora' </a>'
2022-09-26 23:28:24,312: DEBUG - The permission database has been resynchronized
2022-09-26 23:28:24,633: DEBUG - La configuration de SSOwat a été regénérée
2022-09-26 23:28:24,884: DEBUG - Permission 'collabora.main' créée
2022-09-26 23:28:24,885: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20220926-222823-permission_create-collabora" style="text-decoration:underline"> Créer permission 'collabora' </a>'
2022-09-26 23:28:24,919: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install"  7>&1']'
2022-09-26 23:28:24,939: DEBUG - + source _common.sh
2022-09-26 23:28:24,940: DEBUG - ++ pkg_dependencies='coolwsd code-brand'
2022-09-26 23:28:24,941: DEBUG - + source /usr/share/yunohost/helpers
2022-09-26 23:28:24,941: DEBUG - +++ set +o
2022-09-26 23:28:24,942: DEBUG - +++ grep xtrace
2022-09-26 23:28:24,944: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2022-09-26 23:28:24,945: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2022-09-26 23:28:24,976: DEBUG - + ynh_abort_if_errors
2022-09-26 23:28:24,978: DEBUG - + trap ynh_exit_properly EXIT
2022-09-26 23:28:24,978: DEBUG - + domain=office.maindomain.tld
2022-09-26 23:28:24,979: DEBUG - + path_url=/
2022-09-26 23:28:24,979: DEBUG - + password='**********'
2022-09-26 23:28:24,979: DEBUG - + nextcloud_domain=maindomain.tld/nextcloud
2022-09-26 23:28:24,980: DEBUG - + app=collabora
2022-09-26 23:28:25,169: INFO - [....................] > Validating installation parameters...
2022-09-26 23:28:25,171: DEBUG - + dpkg-architecture --is armhf
2022-09-26 23:28:25,305: DEBUG - + ynh_webpath_register --app=collabora --domain=office.maindomain.tld --path_url=/
2022-09-26 23:28:25,450: DEBUG - + yunohost app register-url collabora office.maindomain.tld /
2022-09-26 23:28:29,352: INFO - [+...................] > Storing installation settings...
2022-09-26 23:28:29,354: DEBUG - + ynh_app_setting_set --app=collabora --key=domain --value=office.maindomain.tld
2022-09-26 23:28:29,355: DEBUG - + local _globalapp=collabora
2022-09-26 23:28:29,552: DEBUG - + app=collabora
2022-09-26 23:28:29,552: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2022-09-26 23:28:29,553: DEBUG - + ynh_app_setting set collabora domain office.maindomain.tld
2022-09-26 23:28:29,720: DEBUG - + ynh_app_setting_set --app=collabora --key=path --value=/
2022-09-26 23:28:29,721: DEBUG - + local _globalapp=collabora
2022-09-26 23:28:29,904: DEBUG - + app=collabora
2022-09-26 23:28:29,904: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2022-09-26 23:28:29,905: DEBUG - + ynh_app_setting set collabora path /
2022-09-26 23:28:30,089: DEBUG - + ynh_app_setting_set --app=collabora --key=password '--value=**********'
2022-09-26 23:28:30,090: DEBUG - + local _globalapp=collabora
2022-09-26 23:28:30,270: DEBUG - + app=collabora
2022-09-26 23:28:30,271: DEBUG - + [[ password =~ (unprotected|protected|skipped)_ ]]
2022-09-26 23:28:30,271: DEBUG - + ynh_app_setting set collabora password '**********'
2022-09-26 23:28:30,432: DEBUG - + ynh_app_setting_set --app=collabora --key=nextcloud_domain --value=maindomain.tld/nextcloud
2022-09-26 23:28:30,432: DEBUG - + local _globalapp=collabora
2022-09-26 23:28:30,654: DEBUG - + app=collabora
2022-09-26 23:28:30,654: DEBUG - + [[ nextcloud_domain =~ (unprotected|protected|skipped)_ ]]
2022-09-26 23:28:30,655: DEBUG - + ynh_app_setting set collabora nextcloud_domain maindomain.tld/nextcloud
2022-09-26 23:28:31,025: INFO - [#+..................] > Finding an available port...
2022-09-26 23:28:31,027: DEBUG - ++ ynh_find_port --port=9980
2022-09-26 23:28:31,051: DEBUG - ++ test -n 9980
2022-09-26 23:28:31,052: DEBUG - ++ ynh_port_available --port=9980
2022-09-26 23:28:31,090: DEBUG - ++ ss --numeric --listening --tcp --udp
2022-09-26 23:28:31,091: DEBUG - ++ grep --quiet --extended-regexp ':9980$'
2022-09-26 23:28:31,091: DEBUG - ++ awk '{print$5}'
2022-09-26 23:28:31,126: DEBUG - ++ grep -q 'port: '\''9980'\''' /etc/yunohost/apps/adguardhome/settings.yml /etc/yunohost/apps/alltube/settings.yml /etc/yunohost/apps/cockpit/settings.yml /etc/yunohost/apps/collabora/settings.yml /etc/yunohost/apps/cryptpad/settings.yml /etc/yunohost/apps/jellyfin/settings.yml /etc/yunohost/apps/librespeed/settings.yml /etc/yunohost/apps/lstu/settings.yml /etc/yunohost/apps/nextcloud/settings.yml /etc/yunohost/apps/pyload/settings.yml /etc/yunohost/apps/send/settings.yml /etc/yunohost/apps/transmission/settings.yml /etc/yunohost/apps/wireguard/settings.yml
2022-09-26 23:28:31,128: DEBUG - ++ return 0
2022-09-26 23:28:31,129: DEBUG - ++ echo 9980
2022-09-26 23:28:31,132: DEBUG - + port=9980
2022-09-26 23:28:31,133: DEBUG - + ynh_app_setting_set --app=collabora --key=port --value=9980
2022-09-26 23:28:31,134: DEBUG - + local _globalapp=collabora
2022-09-26 23:28:31,315: DEBUG - + app=collabora
2022-09-26 23:28:31,316: DEBUG - + [[ port =~ (unprotected|protected|skipped)_ ]]
2022-09-26 23:28:31,317: DEBUG - + ynh_app_setting set collabora port 9980
2022-09-26 23:28:31,698: INFO - [##+.................] > Installing config file...
2022-09-26 23:28:31,700: DEBUG - + mkdir -p /etc/coolwsd
2022-09-26 23:28:31,703: DEBUG - + ynh_add_config --template=../conf/coolwsd.xml --destination=/etc/coolwsd/coolwsd.xml
2022-09-26 23:28:31,796: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_dh6ebn4g/conf/../conf/coolwsd.xml ']'
2022-09-26 23:28:31,796: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_dh6ebn4g/conf/../conf/coolwsd.xml
2022-09-26 23:28:31,797: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/coolwsd/coolwsd.xml
2022-09-26 23:28:31,824: DEBUG - + local checksum_setting_name=checksum__etc_coolwsd_coolwsd.xml
2022-09-26 23:28:31,825: DEBUG - ++ ynh_app_setting_get --app=collabora --key=checksum__etc_coolwsd_coolwsd.xml
2022-09-26 23:28:31,826: DEBUG - ++ local _globalapp=collabora
2022-09-26 23:28:31,910: DEBUG - ++ app=collabora
2022-09-26 23:28:31,911: DEBUG - ++ [[ checksum__etc_coolwsd_coolwsd.xml =~ (unprotected|protected|skipped)_ ]]
2022-09-26 23:28:31,912: DEBUG - ++ ynh_app_setting get collabora checksum__etc_coolwsd_coolwsd.xml
2022-09-26 23:28:32,070: DEBUG - + local checksum_value=
2022-09-26 23:28:32,071: DEBUG - + backup_file_checksum=
2022-09-26 23:28:32,071: DEBUG - + '[' -n '' ']'
2022-09-26 23:28:32,071: DEBUG - + touch /etc/coolwsd/coolwsd.xml
2022-09-26 23:28:32,075: DEBUG - + chown root:root /etc/coolwsd/coolwsd.xml
2022-09-26 23:28:32,088: DEBUG - + chmod 640 /etc/coolwsd/coolwsd.xml
2022-09-26 23:28:32,093: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_dh6ebn4g/conf/../conf/coolwsd.xml /etc/coolwsd/coolwsd.xml
2022-09-26 23:28:32,098: DEBUG - + _ynh_apply_default_permissions /etc/coolwsd/coolwsd.xml
2022-09-26 23:28:32,099: DEBUG - + local target=/etc/coolwsd/coolwsd.xml
2022-09-26 23:28:32,100: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_dh6ebn4g/manifest.json
2022-09-26 23:28:32,101: DEBUG - ++ tr -d '>= '
2022-09-26 23:28:32,278: DEBUG - + local ynh_requirement=4.2.4
2022-09-26 23:28:32,278: DEBUG - + '[' -z 4.2.4 ']'
2022-09-26 23:28:32,279: DEBUG - + '[' 4.2.4 == null ']'
2022-09-26 23:28:32,279: DEBUG - + dpkg --compare-versions 4.2.4 ge 4.2
2022-09-26 23:28:32,282: DEBUG - + chmod o-rwx /etc/coolwsd/coolwsd.xml
2022-09-26 23:28:32,287: DEBUG - + chmod g-w /etc/coolwsd/coolwsd.xml
2022-09-26 23:28:32,290: DEBUG - + chown -R root:root /etc/coolwsd/coolwsd.xml
2022-09-26 23:28:32,294: DEBUG - + ynh_system_user_exists collabora
2022-09-26 23:28:32,324: DEBUG - + getent passwd collabora
2022-09-26 23:28:32,334: DEBUG - + echo /etc/coolwsd/coolwsd.xml
2022-09-26 23:28:32,336: DEBUG - + grep -q '^/etc/cron'
2022-09-26 23:28:32,342: DEBUG - + ynh_replace_vars --file=/etc/coolwsd/coolwsd.xml
2022-09-26 23:28:32,369: DEBUG - + test -n /
2022-09-26 23:28:32,370: DEBUG - + local path_url_slash_less=
2022-09-26 23:28:32,371: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/coolwsd/coolwsd.xml
2022-09-26 23:28:32,545: DEBUG - + sed --in-place s@__PATH__/@/@g /etc/coolwsd/coolwsd.xml
2022-09-26 23:28:32,550: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/coolwsd/coolwsd.xml
2022-09-26 23:28:32,729: DEBUG - + sed --in-place s@__PATH__@/@g /etc/coolwsd/coolwsd.xml
2022-09-26 23:28:32,735: DEBUG - + test -n collabora
2022-09-26 23:28:32,735: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=collabora --target_file=/etc/coolwsd/coolwsd.xml
2022-09-26 23:28:32,912: DEBUG - + sed --in-place s@__NAME__@collabora@g /etc/coolwsd/coolwsd.xml
2022-09-26 23:28:32,917: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=collabora --target_file=/etc/coolwsd/coolwsd.xml
2022-09-26 23:28:33,095: DEBUG - + sed --in-place s@__NAMETOCHANGE__@collabora@g /etc/coolwsd/coolwsd.xml
2022-09-26 23:28:33,100: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=collabora --target_file=/etc/coolwsd/coolwsd.xml
2022-09-26 23:28:33,343: DEBUG - + sed --in-place s@__USER__@collabora@g /etc/coolwsd/coolwsd.xml
2022-09-26 23:28:33,348: DEBUG - + test -n ''
2022-09-26 23:28:33,349: DEBUG - + test -n 7.4
2022-09-26 23:28:33,349: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.4 --target_file=/etc/coolwsd/coolwsd.xml
2022-09-26 23:28:33,504: DEBUG - + sed --in-place s@__PHPVERSION__@7.4@g /etc/coolwsd/coolwsd.xml
2022-09-26 23:28:33,509: DEBUG - + test -n ''
2022-09-26 23:28:33,512: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/coolwsd/coolwsd.xml
2022-09-26 23:28:33,513: DEBUG - ++ sort --unique
2022-09-26 23:28:33,514: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2022-09-26 23:28:33,520: DEBUG - + uniques_vars=('nextcloud_domain' 'password')
2022-09-26 23:28:33,521: DEBUG - + local delimit=@
2022-09-26 23:28:33,521: DEBUG - + for one_var in "${uniques_vars[@]}"
2022-09-26 23:28:33,521: DEBUG - + [[ -v nextcloud_domain ]]
2022-09-26 23:28:33,522: DEBUG - + match_string=__NEXTCLOUD_DOMAIN__
2022-09-26 23:28:33,522: DEBUG - + match_string=__NEXTCLOUD_DOMAIN__
2022-09-26 23:28:33,522: DEBUG - + replace_string=maindomain.tld/nextcloud
2022-09-26 23:28:33,522: DEBUG - + replace_string=maindomain.tld/nextcloud
2022-09-26 23:28:33,523: DEBUG - + replace_string=maindomain.tld/nextcloud
2022-09-26 23:28:33,523: DEBUG - + sed --in-place s@__NEXTCLOUD_DOMAIN__@maindomain.tld/nextcloud@g /etc/coolwsd/coolwsd.xml
2022-09-26 23:28:33,525: DEBUG - + for one_var in "${uniques_vars[@]}"
2022-09-26 23:28:33,526: DEBUG - + [[ -v password ]]
2022-09-26 23:28:33,526: DEBUG - + match_string=__PASSWORD__
2022-09-26 23:28:33,526: DEBUG - + match_string=__PASSWORD__
2022-09-26 23:28:33,527: DEBUG - + replace_string='**********'
2022-09-26 23:28:33,527: DEBUG - + replace_string='**********'
2022-09-26 23:28:33,527: DEBUG - + replace_string='**********'
2022-09-26 23:28:33,528: DEBUG - + sed --in-place 's@__PASSWORD__@**********@g' /etc/coolwsd/coolwsd.xml
2022-09-26 23:28:33,532: DEBUG - + ynh_store_file_checksum --file=/etc/coolwsd/coolwsd.xml
2022-09-26 23:28:33,535: DEBUG - + update_only=0
2022-09-26 23:28:33,575: DEBUG - + local checksum_setting_name=checksum__etc_coolwsd_coolwsd.xml
2022-09-26 23:28:33,576: DEBUG - ++ md5sum /etc/coolwsd/coolwsd.xml
2022-09-26 23:28:33,578: DEBUG - ++ cut '--delimiter= ' --fields=1
2022-09-26 23:28:33,585: DEBUG - + ynh_app_setting_set --app=collabora --key=checksum__etc_coolwsd_coolwsd.xml --value=a2ddd45b14945808626e3beb1371c76e
2022-09-26 23:28:33,586: DEBUG - + local _globalapp=collabora
2022-09-26 23:28:33,741: DEBUG - + app=collabora
2022-09-26 23:28:33,742: DEBUG - + [[ checksum__etc_coolwsd_coolwsd.xml =~ (unprotected|protected|skipped)_ ]]
2022-09-26 23:28:33,742: DEBUG - + ynh_app_setting set collabora checksum__etc_coolwsd_coolwsd.xml a2ddd45b14945808626e3beb1371c76e
2022-09-26 23:28:33,872: DEBUG - + '[' -n '' ']'
2022-09-26 23:28:33,873: DEBUG - + unset backup_file_checksum
2022-09-26 23:28:33,873: DEBUG - + chmod 640 /etc/coolwsd/coolwsd.xml
2022-09-26 23:28:34,049: INFO - [###++++++++.........] > Installing dependencies...
2022-09-26 23:28:34,052: DEBUG - ++ cat /etc/debian_version
2022-09-26 23:28:34,053: DEBUG - ++ head -n 1
2022-09-26 23:28:34,055: DEBUG - ++ cut -f1 -d .
2022-09-26 23:28:34,060: DEBUG - + DEBIAN_VERSION_NUMBER=11
2022-09-26 23:28:34,061: DEBUG - + ynh_install_extra_app_dependencies '--repo=deb https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian11 ./ ' '--package=coolwsd code-brand' '--key=https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x0C54D189F4BA284D'
2022-09-26 23:28:34,263: DEBUG - + name=collabora
2022-09-26 23:28:34,264: DEBUG - + key='https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x0C54D189F4BA284D'
2022-09-26 23:28:34,264: DEBUG - + '[' -n 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x0C54D189F4BA284D' ']'
2022-09-26 23:28:34,264: DEBUG - + key='--key=https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x0C54D189F4BA284D'
2022-09-26 23:28:34,265: DEBUG - + ynh_install_extra_repo '--repo=deb https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian11 ./ ' '--key=https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x0C54D189F4BA284D' --priority=995 --name=collabora
2022-09-26 23:28:34,575: DEBUG - + name=collabora
2022-09-26 23:28:34,575: DEBUG - + append=0
2022-09-26 23:28:34,576: DEBUG - + key='https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x0C54D189F4BA284D'
2022-09-26 23:28:34,576: DEBUG - + priority=995
2022-09-26 23:28:34,577: DEBUG - + append=
2022-09-26 23:28:34,578: DEBUG - + wget_append=tee
2022-09-26 23:28:34,579: DEBUG - + repo='https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian11 ./ '
2022-09-26 23:28:34,579: DEBUG - ++ echo 'https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian11 ./ '
2022-09-26 23:28:34,579: DEBUG - ++ awk '{ print $1 }'
2022-09-26 23:28:34,586: DEBUG - + local uri=https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian11
2022-09-26 23:28:34,587: DEBUG - ++ echo 'https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian11 ./ '
2022-09-26 23:28:34,588: DEBUG - ++ awk '{ print $2 }'
2022-09-26 23:28:34,596: DEBUG - + local suite=./
2022-09-26 23:28:34,597: DEBUG - + local component=
2022-09-26 23:28:34,597: DEBUG - + ynh_add_repo --uri=https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian11 --suite=./ --component= --name=collabora
2022-09-26 23:28:34,913: DEBUG - + name=collabora
2022-09-26 23:28:34,913: DEBUG - + append=0
2022-09-26 23:28:34,914: DEBUG - + append=tee
2022-09-26 23:28:34,915: DEBUG - + mkdir --parents /etc/apt/sources.list.d
2022-09-26 23:28:34,919: DEBUG - + tee /etc/apt/sources.list.d/collabora.list
2022-09-26 23:28:34,926: DEBUG - deb https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian11 ./
2022-09-26 23:28:34,927: DEBUG - + local pin=collaboraoffice.com/repos/CollaboraOnline/CODE-debian11
2022-09-26 23:28:34,928: DEBUG - + pin=collaboraoffice.com
2022-09-26 23:28:34,929: DEBUG - + '[' -n 995 ']'
2022-09-26 23:28:34,929: DEBUG - + priority=--priority=995
2022-09-26 23:28:34,929: DEBUG - + ynh_pin_repo '--package=*' '--pin=origin "collaboraoffice.com"' --priority=995 --name=collabora
2022-09-26 23:28:35,257: DEBUG - + package='*'
2022-09-26 23:28:35,258: DEBUG - + priority=995
2022-09-26 23:28:35,259: DEBUG - + name=collabora
2022-09-26 23:28:35,259: DEBUG - + append=0
2022-09-26 23:28:35,260: DEBUG - + append=tee
2022-09-26 23:28:35,260: DEBUG - + [[ collabora != \e\x\t\r\a\_\p\h\p\_\v\e\r\s\i\o\n ]]
2022-09-26 23:28:35,260: DEBUG - + mkdir --parents /etc/apt/preferences.d
2022-09-26 23:28:35,263: DEBUG - Pin: origin "collaboraoffice.com"
2022-09-26 23:28:35,264: DEBUG - Pin-Priority: 995
2022-09-26 23:28:35,264: DEBUG - '
2022-09-26 23:28:35,264: DEBUG - + tee /etc/apt/preferences.d/collabora
2022-09-26 23:28:35,266: DEBUG - Package: *
2022-09-26 23:28:35,267: DEBUG - Pin: origin "collaboraoffice.com"
2022-09-26 23:28:35,267: DEBUG - Pin-Priority: 995
2022-09-26 23:28:35,268: DEBUG - 
2022-09-26 23:28:35,268: DEBUG - + '[' -n 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x0C54D189F4BA284D' ']'
2022-09-26 23:28:35,269: DEBUG - + mkdir --parents /etc/apt/trusted.gpg.d
2022-09-26 23:28:35,272: DEBUG - + wget --timeout 900 --quiet 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x0C54D189F4BA284D' --output-document=-
2022-09-26 23:28:35,274: DEBUG - + tee /etc/apt/trusted.gpg.d/collabora.gpg
2022-09-26 23:28:35,275: DEBUG - + gpg --dearmor
2022-09-26 23:28:35,458: DEBUG - + ynh_package_update
2022-09-26 23:28:35,459: DEBUG - + ynh_apt update
2022-09-26 23:28:35,459: DEBUG - + ynh_wait_dpkg_free
2022-09-26 23:28:35,870: DEBUG - + return 0
2022-09-26 23:28:35,871: DEBUG - + LC_ALL=C
2022-09-26 23:28:35,871: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-09-26 23:28:35,872: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2022-09-26 23:28:36,152: DEBUG - Hit:1 http://deb.debian.org/debian bullseye InRelease
2022-09-26 23:28:36,161: DEBUG - Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
2022-09-26 23:28:36,161: DEBUG - Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
2022-09-26 23:28:36,162: DEBUG - Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
2022-09-26 23:28:36,162: DEBUG - Hit:6 http://forge.yunohost.org/debian bullseye InRelease
2022-09-26 23:28:36,179: DEBUG - Hit:7 https://packages.sury.org/php bullseye InRelease
2022-09-26 23:28:36,202: DEBUG - Get:5 http://download.opensuse.org/repositories/devel:languages:crystal/Debian_Unstable  InRelease [1557 B]
2022-09-26 23:28:36,531: DEBUG - Hit:8 https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian11 ./ InRelease
2022-09-26 23:28:38,455: DEBUG - Fetched 1557 B in 2s (695 B/s)
2022-09-26 23:28:42,296: DEBUG - Reading package lists...
2022-09-26 23:28:42,353: DEBUG - + ynh_install_app_dependencies 'coolwsd code-brand'
2022-09-26 23:28:42,354: DEBUG - + local 'dependencies=coolwsd code-brand'
2022-09-26 23:28:42,355: DEBUG - ++ echo 'coolwsd code-brand'
2022-09-26 23:28:42,356: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2022-09-26 23:28:42,362: DEBUG - + dependencies='coolwsd, code-brand'
2022-09-26 23:28:42,362: DEBUG - + local 'dependencies=coolwsd, code-brand'
2022-09-26 23:28:42,363: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_dh6ebn4g/manifest.json
2022-09-26 23:28:42,363: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_dh6ebn4g/manifest.json
2022-09-26 23:28:42,452: DEBUG - + local version=21.11.4.1~ynh1
2022-09-26 23:28:42,452: DEBUG - + '[' -z 21.11.4.1~ynh1 ']'
2022-09-26 23:28:42,453: DEBUG - + '[' 21.11.4.1~ynh1 == null ']'
2022-09-26 23:28:42,454: DEBUG - + local dep_app=collabora
2022-09-26 23:28:42,455: DEBUG - + [[ coolwsd, code-brand =~ [<=>] ]]
2022-09-26 23:28:42,456: DEBUG - ++ echo coolwsd, code-brand
2022-09-26 23:28:42,456: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
2022-09-26 23:28:42,457: DEBUG - ++ sort -u
2022-09-26 23:28:42,460: DEBUG - + local specific_php_version=
2022-09-26 23:28:42,461: DEBUG - + grep --quiet php
2022-09-26 23:28:42,465: DEBUG - ++ ynh_package_is_installed postgresql-13
2022-09-26 23:28:42,490: DEBUG - ++ ynh_wait_dpkg_free
2022-09-26 23:28:42,864: DEBUG - ++ return 0
2022-09-26 23:28:42,866: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2022-09-26 23:28:42,867: DEBUG - ++ grep --count 'ok installed'
2022-09-26 23:28:42,904: DEBUG - ++ echo yes
2022-09-26 23:28:42,907: DEBUG - + local psql_installed=yes
2022-09-26 23:28:42,907: DEBUG - + [[ true == \t\r\u\e ]]
2022-09-26 23:28:42,908: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2022-09-26 23:28:42,908: DEBUG - + cat
2022-09-26 23:28:42,910: DEBUG - + ynh_package_install_from_equivs /tmp/collabora-ynh-deps.control
2022-09-26 23:28:42,911: DEBUG - + local controlfile=/tmp/collabora-ynh-deps.control
2022-09-26 23:28:42,913: DEBUG - ++ grep '^Package: ' /tmp/collabora-ynh-deps.control
2022-09-26 23:28:42,913: DEBUG - ++ cut '--delimiter= ' --fields=2
2022-09-26 23:28:42,918: DEBUG - + local pkgname=collabora-ynh-deps
2022-09-26 23:28:42,920: DEBUG - ++ grep '^Version: ' /tmp/collabora-ynh-deps.control
2022-09-26 23:28:42,921: DEBUG - ++ cut '--delimiter= ' --fields=2
2022-09-26 23:28:42,925: DEBUG - + local pkgversion=21.11.4.1~ynh1
2022-09-26 23:28:42,926: DEBUG - + [[ -z collabora-ynh-deps ]]
2022-09-26 23:28:42,927: DEBUG - + [[ -z 21.11.4.1~ynh1 ]]
2022-09-26 23:28:42,927: DEBUG - + ynh_package_update
2022-09-26 23:28:42,927: DEBUG - + ynh_apt update
2022-09-26 23:28:42,928: DEBUG - + ynh_wait_dpkg_free
2022-09-26 23:28:43,328: DEBUG - + return 0
2022-09-26 23:28:43,329: DEBUG - + LC_ALL=C
2022-09-26 23:28:43,330: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-09-26 23:28:43,330: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2022-09-26 23:28:43,571: DEBUG - Hit:1 http://deb.debian.org/debian bullseye InRelease
2022-09-26 23:28:43,571: DEBUG - Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
2022-09-26 23:28:43,572: DEBUG - Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
2022-09-26 23:28:43,583: DEBUG - Hit:5 http://archive.raspberrypi.org/debian bullseye InRelease
2022-09-26 23:28:43,588: DEBUG - Hit:6 http://forge.yunohost.org/debian bullseye InRelease
2022-09-26 23:28:43,595: DEBUG - Hit:7 https://packages.sury.org/php bullseye InRelease
2022-09-26 23:28:43,635: DEBUG - Get:4 http://download.opensuse.org/repositories/devel:languages:crystal/Debian_Unstable  InRelease [1557 B]
2022-09-26 23:28:43,916: DEBUG - Hit:8 https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian11 ./ InRelease
2022-09-26 23:28:45,956: DEBUG - Fetched 1557 B in 2s (634 B/s)
2022-09-26 23:28:49,326: DEBUG - Reading package lists...
2022-09-26 23:28:49,397: DEBUG - ++ mktemp --directory
2022-09-26 23:28:49,405: DEBUG - + local TMPDIR=/tmp/tmp.o3IVwDmf9P
2022-09-26 23:28:49,406: DEBUG - + rm -f /usr/share/equivs/template/debian/compat
2022-09-26 23:28:49,418: DEBUG - + ynh_wait_dpkg_free
2022-09-26 23:28:50,012: DEBUG - + return 0
2022-09-26 23:28:50,013: DEBUG - + cp /tmp/collabora-ynh-deps.control /tmp/tmp.o3IVwDmf9P/control
2022-09-26 23:28:50,017: DEBUG - + cd /tmp/tmp.o3IVwDmf9P
2022-09-26 23:28:50,018: DEBUG - + LC_ALL=C
2022-09-26 23:28:50,019: DEBUG - + equivs-build ./control
2022-09-26 23:28:50,547: DEBUG - dpkg-buildpackage: info: source package collabora-ynh-deps
2022-09-26 23:28:50,547: DEBUG - dpkg-buildpackage: info: source version 21.11.4.1~ynh1
2022-09-26 23:28:50,548: DEBUG - dpkg-buildpackage: info: source distribution unstable
2022-09-26 23:28:50,549: DEBUG - dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator <root@maindomain.tld>
2022-09-26 23:28:50,666: DEBUG -  dpkg-source --before-build .
2022-09-26 23:28:50,667: DEBUG - dpkg-buildpackage: info: host architecture arm64
2022-09-26 23:28:51,077: DEBUG -  debian/rules clean
2022-09-26 23:28:51,091: DEBUG - dh clean
2022-09-26 23:28:51,387: DEBUG -    dh_clean
2022-09-26 23:28:51,483: DEBUG -  debian/rules binary
2022-09-26 23:28:51,488: DEBUG - dh binary
2022-09-26 23:28:51,699: DEBUG -    dh_update_autotools_config
2022-09-26 23:28:51,781: DEBUG -    dh_autoreconf
2022-09-26 23:28:51,946: DEBUG -    create-stamp debian/debhelper-build-stamp
2022-09-26 23:28:51,947: DEBUG -    dh_prep
2022-09-26 23:28:52,065: DEBUG -    dh_install
2022-09-26 23:28:52,163: DEBUG -    dh_installdocs
2022-09-26 23:28:52,276: DEBUG -    dh_installchangelogs
2022-09-26 23:28:52,536: DEBUG -    dh_perl
2022-09-26 23:28:52,642: DEBUG -    dh_link
2022-09-26 23:28:52,742: DEBUG -    dh_strip_nondeterminism
2022-09-26 23:28:53,049: DEBUG -    dh_compress
2022-09-26 23:28:53,164: DEBUG -    dh_fixperms
2022-09-26 23:28:53,279: DEBUG -    dh_missing
2022-09-26 23:28:53,354: DEBUG -    dh_installdeb
2022-09-26 23:28:53,454: DEBUG -    dh_gencontrol
2022-09-26 23:28:53,833: DEBUG -    dh_md5sums
2022-09-26 23:28:53,931: DEBUG -    dh_builddeb
2022-09-26 23:28:54,011: DEBUG - dpkg-deb: building package 'collabora-ynh-deps' in '../collabora-ynh-deps_21.11.4.1~ynh1_all.deb'.
2022-09-26 23:28:54,064: DEBUG -  dpkg-genbuildinfo --build=binary
2022-09-26 23:28:55,576: DEBUG -  dpkg-genchanges --build=binary >../collabora-ynh-deps_21.11.4.1~ynh1_arm64.changes
2022-09-26 23:28:55,814: DEBUG - dpkg-genchanges: info: binary-only upload (no source code included)
2022-09-26 23:28:55,823: DEBUG -  dpkg-source --after-build .
2022-09-26 23:28:56,124: DEBUG - dpkg-buildpackage: info: binary-only upload (no source included)
2022-09-26 23:28:56,136: DEBUG - 
2022-09-26 23:28:56,137: DEBUG - The package has been created.
2022-09-26 23:28:56,137: DEBUG - Attention, the package has been created in the current directory,
2022-09-26 23:28:56,138: DEBUG - not in ".." as indicated by the message above!
2022-09-26 23:28:56,141: DEBUG - + LC_ALL=C
2022-09-26 23:28:56,141: DEBUG - + tee ./dpkg_log
2022-09-26 23:28:56,142: DEBUG - + dpkg --force-depends --install ./collabora-ynh-deps_21.11.4.1~ynh1_all.deb
2022-09-26 23:28:56,249: DEBUG - Selecting previously unselected package collabora-ynh-deps.
2022-09-26 23:28:56,909: DEBUG - (Reading database ... 73819 files and directories currently installed.)
2022-09-26 23:28:56,916: DEBUG - Preparing to unpack .../collabora-ynh-deps_21.11.4.1~ynh1_all.deb ...
2022-09-26 23:28:56,926: DEBUG - Unpacking collabora-ynh-deps (21.11.4.1~ynh1) ...
2022-09-26 23:28:56,994: DEBUG - dpkg: collabora-ynh-deps: dependency problems, but configuring anyway as you requested:
2022-09-26 23:28:56,995: DEBUG -  collabora-ynh-deps depends on coolwsd; however:
2022-09-26 23:28:56,995: DEBUG -   Package coolwsd is not installed.
2022-09-26 23:28:56,995: DEBUG -  collabora-ynh-deps depends on code-brand; however:
2022-09-26 23:28:56,995: DEBUG -   Package code-brand is not installed.
2022-09-26 23:28:56,996: DEBUG - 
2022-09-26 23:28:56,996: DEBUG - Setting up collabora-ynh-deps (21.11.4.1~ynh1) ...
2022-09-26 23:28:57,113: DEBUG - + ynh_package_install --fix-broken
2022-09-26 23:28:57,114: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2022-09-26 23:28:57,115: DEBUG - + ynh_wait_dpkg_free
2022-09-26 23:28:57,555: DEBUG - + return 0
2022-09-26 23:28:57,555: DEBUG - + LC_ALL=C
2022-09-26 23:28:57,557: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-09-26 23:28:57,557: 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
2022-09-26 23:28:58,059: DEBUG - Reading package lists...
2022-09-26 23:28:58,792: DEBUG - Building dependency tree...
2022-09-26 23:28:59,636: DEBUG - Reading state information...
2022-09-26 23:29:00,385: DEBUG - Correcting dependencies... Done
2022-09-26 23:29:01,373: DEBUG - The following packages will be REMOVED:
2022-09-26 23:29:01,385: DEBUG -   collabora-ynh-deps
2022-09-26 23:29:01,481: DEBUG - 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2022-09-26 23:29:01,486: DEBUG - ++ cat /tmp/tmp.o3IVwDmf9P/dpkg_log
2022-09-26 23:29:01,487: DEBUG - ++ grep -oP '(?<=-ynh-deps depends on ).*(?=; however)'
2022-09-26 23:29:01,488: DEBUG - ++ tr '\n' ' '
2022-09-26 23:29:01,497: DEBUG - + local 'problematic_dependencies=coolwsd code-brand '
2022-09-26 23:29:01,499: DEBUG - + [[ -n coolwsd code-brand  ]]
2022-09-26 23:29:01,500: DEBUG - + ynh_package_install coolwsd code-brand --dry-run
2022-09-26 23:29:01,500: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install coolwsd code-brand --dry-run
2022-09-26 23:29:01,501: DEBUG - + sed --quiet '/Reading state info/,$p'
2022-09-26 23:29:01,502: DEBUG - + grep -v 'fix-broken\|Reading state info'
2022-09-26 23:29:01,503: DEBUG - + ynh_wait_dpkg_free
2022-09-26 23:29:02,631: DEBUG - + return 0
2022-09-26 23:29:02,633: DEBUG - + LC_ALL=C
2022-09-26 23:29:02,634: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-09-26 23:29:02,635: 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 coolwsd code-brand --dry-run
2022-09-26 23:29:05,134: DEBUG - + ynh_die '--message=Unable to install dependencies'
2022-09-26 23:29:05,183: DEBUG - + ynh_exit_properly
2022-09-26 23:29:05,693: DEBUG - + ynh_clean_setup
2022-09-26 23:29:05,694: DEBUG - + ynh_clean_check_starting
2022-09-26 23:29:05,695: DEBUG - + '[' -n '' ']'
2022-09-26 23:29:05,696: DEBUG - + '[' -n '' ']'
2022-09-26 23:29:06,703: ERROR - Impossible d'installer collabora : Une erreur est survenue dans le script d'installation de l'application