Probleme with synapse install / probleme lors de l'instalion de synapse

Mon serveur YunoHost

Matériel: VPS acheté en ligne /
Version de YunoHost: 4.3.6.3
J’ai accès à mon serveur : En SSH | Par la webadmin |
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non

Description du problème

:fr:
Bonjour à tous,

J’essaie d’installer Synapse pour mettre en place un serveur matrix et y ajouter des ponts.
J’ai donc ajouter un domaine visio.ndd.fr (désactivation mail et xmpp) pour installer une instance Jitsi.
Ensuite j’ai ajouté un domaine matrix.ndd.fr (avec seulement la désactivation des mail) pour y installer synapse.
Les deux domaine ont un certificat SSL et les dns pour le xmpp sur le domaine matrix sont bien réglés.

Je passe a l’installation de synapse et la ça part en erreur après quelques temps.

Je vous laisse les logs en fichier ou directement intégré dans le post.
Je suis preneur de vos idées.

Merci d’avance.

:uk:
Hello everyone,

I am trying to install Synapse to set up a matrix server and add bridges to it.
So I added a domain visio.ndd.fr (disable mail and xmpp) to install a Jitsi instance.
Then I added a domain matrix.ndd.fr (with only mail deactivation) to install synapse.
Both domains have an SSL certificate and the dns for the xmpp on the matrix domain are well set.

I go to the synapse installation and it goes to error after a while.
I leave you the logs in file or directly integrated in the post.

I am interested in your ideas.
Thanks in advance.

Translated with DeepL Translate: The world's most accurate translator (free version)

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

args:
  app: synapse
  force: false
  label: Synapse
  no_remove_on_failure: false
ended_at: 2022-04-09 17:44:49.689676
env:
  YNH_APP_ARG_DOMAIN: matrix.maindomain.tld
  YNH_APP_ARG_IS_PUBLIC: '1'
  YNH_APP_ARG_JITSI_SERVER: visio.maindomain.tld
  YNH_APP_ARG_SERVER_NAME: Same than the domain
  YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_qdmzmfbz
  YNH_APP_ID: synapse
  YNH_APP_INSTANCE_NAME: synapse
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 1.47.1~ynh1
  YNH_ARCH: amd64
error: Une erreur est survenue dans le script d'installation de l'application
interface: api
operation: app_install
parent: null
related_to:
- - app
  - synapse
started_at: 2022-04-09 17:41:56.428804
success: false
yunohost_version: 4.3.6.3

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

2022-04-09 19:41:56,447: INFO - Installation de synapse...
2022-04-09 19:41:56,977: DEBUG - Nothing to update in LDAP
2022-04-09 19:41:56,979: DEBUG - Permission 'synapse.main' mise à jour
2022-04-09 19:41:57,443: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20220409-174156-permission_url-synapse" style="text-decoration:underline"> Mise à jour de l'URL associée à l'autorisation 'synapse' </a>'
2022-04-09 19:41:58,397: DEBUG - The permission database has been resynchronized
2022-04-09 19:41:59,006: DEBUG - La configuration de SSOwat a été regénérée
2022-04-09 19:41:59,498: DEBUG - Permission 'synapse.main' créée
2022-04-09 19:41:59,499: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20220409-174156-permission_create-synapse" style="text-decoration:underline"> Créer permission 'synapse' </a>'
2022-04-09 19:41:59,538: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install"  7>&1']'
2022-04-09 19:41:59,558: DEBUG - + source _common.sh
2022-04-09 19:41:59,559: DEBUG - ++ dependances='coturn build-essential python3-dev libffi-dev python3-pip python3-setuptools sqlite3 libssl-dev python3-venv libxml2-dev libxslt1-dev python3-lxml zlib1g-dev libjpeg-dev libpq-dev postgresql acl'
2022-04-09 19:41:59,560: DEBUG - +++ cut '-d ' -f2
2022-04-09 19:41:59,561: DEBUG - +++ cut -d. -f1-2
2022-04-09 19:41:59,563: DEBUG - +++ python3 -V
2022-04-09 19:41:59,568: DEBUG - ++ python_version=3.7
2022-04-09 19:41:59,569: DEBUG - + source experimental_helper.sh
2022-04-09 19:41:59,572: DEBUG - + source /usr/share/yunohost/helpers
2022-04-09 19:41:59,573: DEBUG - +++ set +o
2022-04-09 19:41:59,574: DEBUG - +++ grep xtrace
2022-04-09 19:41:59,577: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2022-04-09 19:41:59,578: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2022-04-09 19:41:59,667: DEBUG - + ynh_abort_if_errors
2022-04-09 19:41:59,669: DEBUG - + trap ynh_exit_properly EXIT
2022-04-09 19:41:59,670: DEBUG - + domain=matrix.maindomain.tld
2022-04-09 19:41:59,672: DEBUG - + is_public=1
2022-04-09 19:41:59,673: DEBUG - + app=synapse
2022-04-09 19:41:59,673: DEBUG - + synapse_user=matrix-synapse
2022-04-09 19:41:59,674: DEBUG - + synapse_db_name=matrix_synapse
2022-04-09 19:41:59,674: DEBUG - + synapse_db_user=matrix_synapse
2022-04-09 19:41:59,675: DEBUG - + synapse_db_name=matrix_synapse
2022-04-09 19:41:59,676: DEBUG - ++ ynh_app_upstream_version
2022-04-09 19:41:59,680: DEBUG - ++ manifest=
2022-04-09 19:41:59,681: DEBUG - ++ [[ '' != '' ]]
2022-04-09 19:41:59,681: DEBUG - ++ version_key_=1.47.1~ynh1
2022-04-09 19:41:59,682: DEBUG - ++ echo 1.47.1
2022-04-09 19:41:59,682: DEBUG - + upstream_version=1.47.1
2022-04-09 19:41:59,683: DEBUG - + report_stats=false
2022-04-09 19:41:59,683: DEBUG - + allow_public_rooms=false
2022-04-09 19:41:59,684: DEBUG - + e2e_enabled_by_default=true
2022-04-09 19:41:59,684: DEBUG - + default_domain_value='Same than the domain'
2022-04-09 19:41:59,685: DEBUG - + domain=matrix.maindomain.tld
2022-04-09 19:41:59,685: DEBUG - + server_name='Same than the domain'
2022-04-09 19:41:59,686: DEBUG - + is_public=1
2022-04-09 19:41:59,686: DEBUG - + jitsi_server=visio.maindomain.tld
2022-04-09 19:41:59,687: DEBUG - + path_url=/_matrix
2022-04-09 19:41:59,687: DEBUG - + final_path=/opt/yunohost/matrix-synapse
2022-04-09 19:41:59,687: DEBUG - + final_www_path=/var/www/synapse
2022-04-09 19:41:59,688: DEBUG - + data_path=/home/yunohost.app/matrix-synapse
2022-04-09 19:41:59,688: DEBUG - + [[ Same than the domain == \S\a\m\e\ \t\h\a\n\ \t\h\e\ \d\o\m\a\i\n ]]
2022-04-09 19:41:59,688: DEBUG - + server_name=matrix.maindomain.tld
2022-04-09 19:41:59,878: INFO - [....................] > Validating installation parameters...
2022-04-09 19:41:59,880: DEBUG - ++ ynh_webpath_available --domain=matrix.maindomain.tld --path_url=/_matrix
2022-04-09 19:41:59,954: DEBUG - ++ yunohost domain url-available matrix.maindomain.tld /_matrix
2022-04-09 19:42:01,395: DEBUG - + '[' True == True ']'
2022-04-09 19:42:01,396: DEBUG - + test '!' -e '/etc/nginx/conf.d/matrix.maindomain.tld.d/synapse*.conf'
2022-04-09 19:42:01,397: DEBUG - + test '!' -e /opt/yunohost/matrix-synapse
2022-04-09 19:42:01,397: DEBUG - + '[' -e /home/yunohost.app/matrix-synapse ']'
2022-04-09 19:42:01,398: DEBUG - ++ date +%Y%m%d.%H%M%S
2022-04-09 19:42:01,402: DEBUG - + old_data_dir_path=/home/yunohost.app/matrix-synapse20220409.194201
2022-04-09 19:42:01,402: DEBUG - + ynh_print_warn 'A data directory already exist. Data was renamed to /home/yunohost.app/matrix-synapse20220409.194201'
2022-04-09 19:42:01,425: DEBUG - + ynh_print_log 'A data directory already exist. Data was renamed to /home/yunohost.app/matrix-synapse20220409.194201'
2022-04-09 19:42:01,426: DEBUG - + echo -e 'A data directory already exist. Data was renamed to /home/yunohost.app/matrix-synapse20220409.194201'
2022-04-09 19:42:01,426: WARNING - A data directory already exist. Data was renamed to /home/yunohost.app/matrix-synapse20220409.194201
2022-04-09 19:42:01,427: DEBUG - + mv /home/yunohost.app/matrix-synapse /home/yunohost.app/matrix-synapse20220409.194201
2022-04-09 19:42:01,603: DEBUG - + ynh_app_setting_set --app=synapse --key=domain --value=matrix.maindomain.tld
2022-04-09 19:42:01,604: DEBUG - + local _globalapp=synapse
2022-04-09 19:42:01,609: INFO - [....................] > Storing installation settings...
2022-04-09 19:42:01,765: DEBUG - + app=synapse
2022-04-09 19:42:01,765: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2022-04-09 19:42:01,766: DEBUG - + ynh_app_setting set synapse domain matrix.maindomain.tld
2022-04-09 19:42:01,912: DEBUG - + ynh_app_setting_set --app=synapse --key=path --value=/_matrix
2022-04-09 19:42:01,913: DEBUG - + local _globalapp=synapse
2022-04-09 19:42:02,062: DEBUG - + app=synapse
2022-04-09 19:42:02,063: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2022-04-09 19:42:02,064: DEBUG - + ynh_app_setting set synapse path /_matrix
2022-04-09 19:42:02,213: DEBUG - + ynh_app_setting_set --app=synapse --key=no_sso --value true
2022-04-09 19:42:02,214: DEBUG - + local _globalapp=synapse
2022-04-09 19:42:02,409: DEBUG - + app=synapse
2022-04-09 19:42:02,410: DEBUG - + [[ no_sso =~ (unprotected|protected|skipped)_ ]]
2022-04-09 19:42:02,410: DEBUG - + ynh_app_setting set synapse no_sso true
2022-04-09 19:42:02,561: DEBUG - + ynh_app_setting_set --app=synapse --key=server_name --value=matrix.maindomain.tld
2022-04-09 19:42:02,561: DEBUG - + local _globalapp=synapse
2022-04-09 19:42:02,715: DEBUG - + app=synapse
2022-04-09 19:42:02,716: DEBUG - + [[ server_name =~ (unprotected|protected|skipped)_ ]]
2022-04-09 19:42:02,717: DEBUG - + ynh_app_setting set synapse server_name matrix.maindomain.tld
2022-04-09 19:42:02,868: DEBUG - + ynh_app_setting_set --app=synapse --key=jitsi_server --value=visio.maindomain.tld
2022-04-09 19:42:02,869: DEBUG - + local _globalapp=synapse
2022-04-09 19:42:03,022: DEBUG - + app=synapse
2022-04-09 19:42:03,023: DEBUG - + [[ jitsi_server =~ (unprotected|protected|skipped)_ ]]
2022-04-09 19:42:03,024: DEBUG - + ynh_app_setting set synapse jitsi_server visio.maindomain.tld
2022-04-09 19:42:03,176: DEBUG - + ynh_app_setting_set --app=synapse --key=final_path --value=/opt/yunohost/matrix-synapse
2022-04-09 19:42:03,176: DEBUG - + local _globalapp=synapse
2022-04-09 19:42:03,329: DEBUG - + app=synapse
2022-04-09 19:42:03,330: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)_ ]]
2022-04-09 19:42:03,331: DEBUG - + ynh_app_setting set synapse final_path /opt/yunohost/matrix-synapse
2022-04-09 19:42:03,484: DEBUG - + ynh_app_setting_set --app=synapse --key=synapse_version --value=1.47.1
2022-04-09 19:42:03,484: DEBUG - + local _globalapp=synapse
2022-04-09 19:42:03,637: DEBUG - + app=synapse
2022-04-09 19:42:03,638: DEBUG - + [[ synapse_version =~ (unprotected|protected|skipped)_ ]]
2022-04-09 19:42:03,638: DEBUG - + ynh_app_setting set synapse synapse_version 1.47.1
2022-04-09 19:42:03,791: DEBUG - + ynh_app_setting_set --app=synapse --key=is_public --value=1
2022-04-09 19:42:03,791: DEBUG - + local _globalapp=synapse
2022-04-09 19:42:03,944: DEBUG - + app=synapse
2022-04-09 19:42:03,945: DEBUG - + [[ is_public =~ (unprotected|protected|skipped)_ ]]
2022-04-09 19:42:03,946: DEBUG - + ynh_app_setting set synapse is_public 1
2022-04-09 19:42:04,106: DEBUG - + ynh_app_setting_set --app=synapse --key=report_stats --value=false
2022-04-09 19:42:04,106: DEBUG - + local _globalapp=synapse
2022-04-09 19:42:04,263: DEBUG - + app=synapse
2022-04-09 19:42:04,264: DEBUG - + [[ report_stats =~ (unprotected|protected|skipped)_ ]]
2022-04-09 19:42:04,265: DEBUG - + ynh_app_setting set synapse report_stats false
2022-04-09 19:42:04,420: DEBUG - + ynh_app_setting_set --app=synapse --key=allow_public_rooms --value=false
2022-04-09 19:42:04,421: DEBUG - + local _globalapp=synapse
2022-04-09 19:42:04,575: DEBUG - + app=synapse
2022-04-09 19:42:04,575: DEBUG - + [[ allow_public_rooms =~ (unprotected|protected|skipped)_ ]]
2022-04-09 19:42:04,576: DEBUG - + ynh_app_setting set synapse allow_public_rooms false
2022-04-09 19:42:04,731: DEBUG - + ynh_app_setting_set --app=synapse --key=e2e_enabled_by_default --value=true
2022-04-09 19:42:04,732: DEBUG - + local _globalapp=synapse
2022-04-09 19:42:04,888: DEBUG - + app=synapse
2022-04-09 19:42:04,888: DEBUG - + [[ e2e_enabled_by_default =~ (unprotected|protected|skipped)_ ]]
2022-04-09 19:42:04,889: DEBUG - + ynh_app_setting set synapse e2e_enabled_by_default true
2022-04-09 19:42:05,216: INFO - [++..................] > Configuring firewall...
2022-04-09 19:42:05,218: DEBUG - ++ ynh_find_port --port=8448
2022-04-09 19:42:05,241: DEBUG - ++ test -n 8448
2022-04-09 19:42:05,242: DEBUG - ++ ynh_port_available --port=8448
2022-04-09 19:42:05,269: DEBUG - ++ ss --numeric --listening --tcp --udp
2022-04-09 19:42:05,270: DEBUG - ++ grep --quiet --extended-regexp ':8448$'
2022-04-09 19:42:05,272: DEBUG - ++ awk '{print$5}'
2022-04-09 19:42:05,307: DEBUG - ++ grep -q 'port: '\''8448'\''' /etc/yunohost/apps/adguardhome/settings.yml /etc/yunohost/apps/aeneria/settings.yml /etc/yunohost/apps/jitsi/settings.yml /etc/yunohost/apps/kanboard/settings.yml /etc/yunohost/apps/matomo/settings.yml /etc/yunohost/apps/my_webapp/settings.yml /etc/yunohost/apps/prosody/settings.yml /etc/yunohost/apps/rainloop/settings.yml /etc/yunohost/apps/redirect/settings.yml /etc/yunohost/apps/shellinabox/settings.yml /etc/yunohost/apps/synapse/settings.yml /etc/yunohost/apps/transmission/settings.yml /etc/yunohost/apps/unattended_upgrades/settings.yml /etc/yunohost/apps/uptime-kuma/settings.yml
2022-04-09 19:42:05,312: DEBUG - ++ return 0
2022-04-09 19:42:05,312: DEBUG - ++ echo 8448
2022-04-09 19:42:05,313: DEBUG - + synapse_tls_port=8448
2022-04-09 19:42:05,314: DEBUG - ++ ynh_find_port --port=8008
2022-04-09 19:42:05,342: DEBUG - ++ test -n 8008
2022-04-09 19:42:05,342: DEBUG - ++ ynh_port_available --port=8008
2022-04-09 19:42:05,371: DEBUG - ++ ss --numeric --listening --tcp --udp
2022-04-09 19:42:05,372: DEBUG - ++ awk '{print$5}'
2022-04-09 19:42:05,377: DEBUG - ++ grep --quiet --extended-regexp ':8008$'
2022-04-09 19:42:05,382: DEBUG - ++ grep -q 'port: '\''8008'\''' /etc/yunohost/apps/adguardhome/settings.yml /etc/yunohost/apps/aeneria/settings.yml /etc/yunohost/apps/jitsi/settings.yml /etc/yunohost/apps/kanboard/settings.yml /etc/yunohost/apps/matomo/settings.yml /etc/yunohost/apps/my_webapp/settings.yml /etc/yunohost/apps/prosody/settings.yml /etc/yunohost/apps/rainloop/settings.yml /etc/yunohost/apps/redirect/settings.yml /etc/yunohost/apps/shellinabox/settings.yml /etc/yunohost/apps/synapse/settings.yml /etc/yunohost/apps/transmission/settings.yml /etc/yunohost/apps/unattended_upgrades/settings.yml /etc/yunohost/apps/uptime-kuma/settings.yml
2022-04-09 19:42:05,386: DEBUG - ++ return 0
2022-04-09 19:42:05,387: DEBUG - ++ echo 8008
2022-04-09 19:42:05,388: DEBUG - + port=8008
2022-04-09 19:42:05,388: DEBUG - ++ ynh_find_port --port=5349
2022-04-09 19:42:05,412: DEBUG - ++ test -n 5349
2022-04-09 19:42:05,413: DEBUG - ++ ynh_port_available --port=5349
2022-04-09 19:42:05,442: DEBUG - ++ ss --numeric --listening --tcp --udp
2022-04-09 19:42:05,443: DEBUG - ++ awk '{print$5}'
2022-04-09 19:42:05,449: DEBUG - ++ grep --quiet --extended-regexp ':5349$'
2022-04-09 19:42:05,455: DEBUG - ++ grep -q 'port: '\''5349'\''' /etc/yunohost/apps/adguardhome/settings.yml /etc/yunohost/apps/aeneria/settings.yml /etc/yunohost/apps/jitsi/settings.yml /etc/yunohost/apps/kanboard/settings.yml /etc/yunohost/apps/matomo/settings.yml /etc/yunohost/apps/my_webapp/settings.yml /etc/yunohost/apps/prosody/settings.yml /etc/yunohost/apps/rainloop/settings.yml /etc/yunohost/apps/redirect/settings.yml /etc/yunohost/apps/shellinabox/settings.yml /etc/yunohost/apps/synapse/settings.yml /etc/yunohost/apps/transmission/settings.yml /etc/yunohost/apps/unattended_upgrades/settings.yml /etc/yunohost/apps/uptime-kuma/settings.yml
2022-04-09 19:42:05,459: DEBUG - ++ return 0
2022-04-09 19:42:05,460: DEBUG - ++ echo 5349
2022-04-09 19:42:05,461: DEBUG - + turnserver_tls_port=5349
2022-04-09 19:42:05,462: DEBUG - ++ ynh_find_port --port=5350
2022-04-09 19:42:05,487: DEBUG - ++ test -n 5350
2022-04-09 19:42:05,488: DEBUG - ++ ynh_port_available --port=5350
2022-04-09 19:42:05,517: DEBUG - ++ ss --numeric --listening --tcp --udp
2022-04-09 19:42:05,517: DEBUG - ++ grep --quiet --extended-regexp ':5350$'
2022-04-09 19:42:05,518: DEBUG - ++ awk '{print$5}'
2022-04-09 19:42:05,530: DEBUG - ++ grep -q 'port: '\''5350'\''' /etc/yunohost/apps/adguardhome/settings.yml /etc/yunohost/apps/aeneria/settings.yml /etc/yunohost/apps/jitsi/settings.yml /etc/yunohost/apps/kanboard/settings.yml /etc/yunohost/apps/matomo/settings.yml /etc/yunohost/apps/my_webapp/settings.yml /etc/yunohost/apps/prosody/settings.yml /etc/yunohost/apps/rainloop/settings.yml /etc/yunohost/apps/redirect/settings.yml /etc/yunohost/apps/shellinabox/settings.yml /etc/yunohost/apps/synapse/settings.yml /etc/yunohost/apps/transmission/settings.yml /etc/yunohost/apps/unattended_upgrades/settings.yml /etc/yunohost/apps/uptime-kuma/settings.yml
2022-04-09 19:42:05,534: DEBUG - ++ return 0
2022-04-09 19:42:05,535: DEBUG - ++ echo 5350
2022-04-09 19:42:05,536: DEBUG - + turnserver_alt_tls_port=5350
2022-04-09 19:42:05,536: DEBUG - ++ ynh_find_port --port=5766
2022-04-09 19:42:05,562: DEBUG - ++ test -n 5766
2022-04-09 19:42:05,562: DEBUG - ++ ynh_port_available --port=5766
2022-04-09 19:42:05,590: DEBUG - ++ ss --numeric --listening --tcp --udp
2022-04-09 19:42:05,591: DEBUG - ++ grep --quiet --extended-regexp ':5766$'
2022-04-09 19:42:05,593: DEBUG - ++ awk '{print$5}'
2022-04-09 19:42:05,604: DEBUG - ++ grep -q 'port: '\''5766'\''' /etc/yunohost/apps/adguardhome/settings.yml /etc/yunohost/apps/aeneria/settings.yml /etc/yunohost/apps/jitsi/settings.yml /etc/yunohost/apps/kanboard/settings.yml /etc/yunohost/apps/matomo/settings.yml /etc/yunohost/apps/my_webapp/settings.yml /etc/yunohost/apps/prosody/settings.yml /etc/yunohost/apps/rainloop/settings.yml /etc/yunohost/apps/redirect/settings.yml /etc/yunohost/apps/shellinabox/settings.yml /etc/yunohost/apps/synapse/settings.yml /etc/yunohost/apps/transmission/settings.yml /etc/yunohost/apps/unattended_upgrades/settings.yml /etc/yunohost/apps/uptime-kuma/settings.yml
2022-04-09 19:42:05,608: DEBUG - ++ return 0
2022-04-09 19:42:05,609: DEBUG - ++ echo 5766
2022-04-09 19:42:05,609: DEBUG - + cli_port=5766
2022-04-09 19:42:05,610: DEBUG - + ynh_exec_warn_less yunohost firewall allow TCP 8448
2022-04-09 19:42:05,610: DEBUG - + [[ 5 -eq 1 ]]
2022-04-09 19:42:05,611: DEBUG - + yunohost firewall allow TCP 8448
2022-04-09 19:42:07,415: DEBUG - Firewall reloaded
2022-04-09 19:42:07,440: DEBUG - opened_ports:
2022-04-09 19:42:07,441: DEBUG -   - 22
2022-04-09 19:42:07,441: DEBUG -   - 25
2022-04-09 19:42:07,442: DEBUG -   - 53
2022-04-09 19:42:07,442: DEBUG -   - 54
2022-04-09 19:42:07,443: DEBUG -   - 80
2022-04-09 19:42:07,443: DEBUG -   - 95
2022-04-09 19:42:07,444: DEBUG -   - 443
2022-04-09 19:42:07,444: DEBUG -   - 587
2022-04-09 19:42:07,445: DEBUG -   - 993
2022-04-09 19:42:07,445: DEBUG -   - 995
2022-04-09 19:42:07,446: DEBUG -   - 4443
2022-04-09 19:42:07,447: DEBUG -   - 5222
2022-04-09 19:42:07,448: DEBUG -   - 5269
2022-04-09 19:42:07,448: DEBUG -   - 5353
2022-04-09 19:42:07,449: DEBUG -   - 8448
2022-04-09 19:42:07,450: DEBUG -   - 9091
2022-04-09 19:42:07,450: DEBUG -   - 10000
2022-04-09 19:42:07,451: DEBUG -   - 51413
2022-04-09 19:42:07,451: DEBUG -   - 65000
2022-04-09 19:42:07,514: DEBUG - + ynh_exec_warn_less yunohost firewall allow Both 5349
2022-04-09 19:42:07,515: DEBUG - + [[ 5 -eq 1 ]]
2022-04-09 19:42:07,515: DEBUG - + yunohost firewall allow Both 5349
2022-04-09 19:42:09,377: DEBUG - Firewall reloaded
2022-04-09 19:42:09,405: DEBUG - opened_ports:
2022-04-09 19:42:09,406: DEBUG -   - 22
2022-04-09 19:42:09,406: DEBUG -   - 25
2022-04-09 19:42:09,407: DEBUG -   - 53
2022-04-09 19:42:09,407: DEBUG -   - 54
2022-04-09 19:42:09,407: DEBUG -   - 80
2022-04-09 19:42:09,408: DEBUG -   - 95
2022-04-09 19:42:09,409: DEBUG -   - 443
2022-04-09 19:42:09,409: DEBUG -   - 587
2022-04-09 19:42:09,410: DEBUG -   - 993
2022-04-09 19:42:09,410: DEBUG -   - 995
2022-04-09 19:42:09,411: DEBUG -   - 4443
2022-04-09 19:42:09,412: DEBUG -   - 5222
2022-04-09 19:42:09,412: DEBUG -   - 5269
2022-04-09 19:42:09,413: DEBUG -   - 5349
2022-04-09 19:42:09,413: DEBUG -   - 5353
2022-04-09 19:42:09,414: DEBUG -   - 8448
2022-04-09 19:42:09,415: DEBUG -   - 9091
2022-04-09 19:42:09,415: DEBUG -   - 10000
2022-04-09 19:42:09,416: DEBUG -   - 51413
2022-04-09 19:42:09,416: DEBUG -   - 65000
2022-04-09 19:42:09,477: DEBUG - + ynh_exec_warn_less yunohost firewall allow Both 5350
2022-04-09 19:42:09,478: DEBUG - + [[ 5 -eq 1 ]]
2022-04-09 19:42:09,478: DEBUG - + yunohost firewall allow Both 5350
2022-04-09 19:42:11,378: DEBUG - Firewall reloaded
2022-04-09 19:42:11,408: DEBUG - opened_ports:
2022-04-09 19:42:11,409: DEBUG -   - 22
2022-04-09 19:42:11,409: DEBUG -   - 25
2022-04-09 19:42:11,410: DEBUG -   - 53
2022-04-09 19:42:11,410: DEBUG -   - 54
2022-04-09 19:42:11,411: DEBUG -   - 80
2022-04-09 19:42:11,411: DEBUG -   - 95
2022-04-09 19:42:11,412: DEBUG -   - 443
2022-04-09 19:42:11,412: DEBUG -   - 587
2022-04-09 19:42:11,413: DEBUG -   - 993
2022-04-09 19:42:11,413: DEBUG -   - 995
2022-04-09 19:42:11,414: DEBUG -   - 4443
2022-04-09 19:42:11,415: DEBUG -   - 5222
2022-04-09 19:42:11,415: DEBUG -   - 5269
2022-04-09 19:42:11,416: DEBUG -   - 5349
2022-04-09 19:42:11,416: DEBUG -   - 5350
2022-04-09 19:42:11,417: DEBUG -   - 5353
2022-04-09 19:42:11,418: DEBUG -   - 8448
2022-04-09 19:42:11,418: DEBUG -   - 9091
2022-04-09 19:42:11,419: DEBUG -   - 10000
2022-04-09 19:42:11,419: DEBUG -   - 51413
2022-04-09 19:42:11,420: DEBUG -   - 65000
2022-04-09 19:42:11,480: DEBUG - + ynh_app_setting_set --app=synapse --key=synapse_port --value=8008
2022-04-09 19:42:11,481: DEBUG - + local _globalapp=synapse
2022-04-09 19:42:11,647: DEBUG - + app=synapse
2022-04-09 19:42:11,648: DEBUG - + [[ synapse_port =~ (unprotected|protected|skipped)_ ]]
2022-04-09 19:42:11,649: DEBUG - + ynh_app_setting set synapse synapse_port 8008
2022-04-09 19:42:11,808: DEBUG - + ynh_app_setting_set --app=synapse --key=synapse_tls_port --value=8448
2022-04-09 19:42:11,809: DEBUG - + local _globalapp=synapse
2022-04-09 19:42:11,961: DEBUG - + app=synapse
2022-04-09 19:42:11,961: DEBUG - + [[ synapse_tls_port =~ (unprotected|protected|skipped)_ ]]
2022-04-09 19:42:11,962: DEBUG - + ynh_app_setting set synapse synapse_tls_port 8448
2022-04-09 19:42:12,122: DEBUG - + ynh_app_setting_set --app=synapse --key=turnserver_tls_port --value=5349
2022-04-09 19:42:12,123: DEBUG - + local _globalapp=synapse
2022-04-09 19:42:12,279: DEBUG - + app=synapse
2022-04-09 19:42:12,279: DEBUG - + [[ turnserver_tls_port =~ (unprotected|protected|skipped)_ ]]
2022-04-09 19:42:12,280: DEBUG - + ynh_app_setting set synapse turnserver_tls_port 5349
2022-04-09 19:42:12,438: DEBUG - + ynh_app_setting_set --app=synapse --key=turnserver_alt_tls_port --value=5350
2022-04-09 19:42:12,439: DEBUG - + local _globalapp=synapse
2022-04-09 19:42:12,591: DEBUG - + app=synapse
2022-04-09 19:42:12,592: DEBUG - + [[ turnserver_alt_tls_port =~ (unprotected|protected|skipped)_ ]]
2022-04-09 19:42:12,593: DEBUG - + ynh_app_setting set synapse turnserver_alt_tls_port 5350
2022-04-09 19:42:12,752: DEBUG - + ynh_app_setting_set --app=synapse --key=cli_port --value=5766
2022-04-09 19:42:12,753: DEBUG - + local _globalapp=synapse
2022-04-09 19:42:12,904: DEBUG - + app=synapse
2022-04-09 19:42:12,905: DEBUG - + [[ cli_port =~ (unprotected|protected|skipped)_ ]]
2022-04-09 19:42:12,906: DEBUG - + ynh_app_setting set synapse cli_port 5766
2022-04-09 19:42:13,241: DEBUG - + '[' '!' -e /etc/ssl/private/dh2048.pem ']'
2022-04-09 19:42:13,243: INFO - [##..................] > Creating a dh file...
2022-04-09 19:42:13,424: INFO - [##++++++++..........] > Installing dependencies...
2022-04-09 19:42:13,425: DEBUG - + ynh_install_app_dependencies coturn build-essential python3-dev libffi-dev python3-pip python3-setuptools sqlite3 libssl-dev python3-venv libxml2-dev libxslt1-dev python3-lxml zlib1g-dev libjpeg-dev libpq-dev postgresql acl
2022-04-09 19:42:13,426: DEBUG - + local 'dependencies=coturn build-essential python3-dev libffi-dev python3-pip python3-setuptools sqlite3 libssl-dev python3-venv libxml2-dev libxslt1-dev python3-lxml zlib1g-dev libjpeg-dev libpq-dev postgresql acl'
2022-04-09 19:42:13,427: DEBUG - ++ echo 'coturn build-essential python3-dev libffi-dev python3-pip python3-setuptools sqlite3 libssl-dev python3-venv libxml2-dev libxslt1-dev python3-lxml zlib1g-dev libjpeg-dev libpq-dev postgresql acl'
2022-04-09 19:42:13,428: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2022-04-09 19:42:13,434: DEBUG - + dependencies='coturn, build-essential, python3-dev, libffi-dev, python3-pip, python3-setuptools, sqlite3, libssl-dev, python3-venv, libxml2-dev, libxslt1-dev, python3-lxml, zlib1g-dev, libjpeg-dev, libpq-dev, postgresql, acl'
2022-04-09 19:42:13,435: DEBUG - + local 'dependencies=coturn, build-essential, python3-dev, libffi-dev, python3-pip, python3-setuptools, sqlite3, libssl-dev, python3-venv, libxml2-dev, libxslt1-dev, python3-lxml, zlib1g-dev, libjpeg-dev, libpq-dev, postgresql, acl'
2022-04-09 19:42:13,436: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_qdmzmfbz/manifest.json
2022-04-09 19:42:13,436: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_qdmzmfbz/manifest.json
2022-04-09 19:42:13,477: DEBUG - + local version=1.47.1~ynh1
2022-04-09 19:42:13,477: DEBUG - + '[' -z 1.47.1~ynh1 ']'
2022-04-09 19:42:13,478: DEBUG - + '[' 1.47.1~ynh1 == null ']'
2022-04-09 19:42:13,479: DEBUG - + local dep_app=synapse
2022-04-09 19:42:13,479: DEBUG - + [[ coturn, build-essential, python3-dev, libffi-dev, python3-pip, python3-setuptools, sqlite3, libssl-dev, python3-venv, libxml2-dev, libxslt1-dev, python3-lxml, zlib1g-dev, libjpeg-dev, libpq-dev, postgresql, acl =~ [<=>] ]]
2022-04-09 19:42:13,480: DEBUG - ++ echo coturn, build-essential, python3-dev, libffi-dev, python3-pip, python3-setuptools, sqlite3, libssl-dev, python3-venv, libxml2-dev, libxslt1-dev, python3-lxml, zlib1g-dev, libjpeg-dev, libpq-dev, postgresql, acl
2022-04-09 19:42:13,481: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
2022-04-09 19:42:13,482: DEBUG - ++ sort -u
2022-04-09 19:42:13,487: DEBUG - + local specific_php_version=
2022-04-09 19:42:13,488: DEBUG - + [[ '' != \7\.\3 ]]
2022-04-09 19:42:13,489: DEBUG - + [[ true == \t\r\u\e ]]
2022-04-09 19:42:13,489: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2022-04-09 19:42:13,490: DEBUG - + grep --quiet php
2022-04-09 19:42:13,492: DEBUG - + cat
2022-04-09 19:42:13,496: DEBUG - + ynh_package_install_from_equivs /tmp/synapse-ynh-deps.control
2022-04-09 19:42:13,497: DEBUG - + local controlfile=/tmp/synapse-ynh-deps.control
2022-04-09 19:42:13,499: DEBUG - ++ grep '^Package: ' /tmp/synapse-ynh-deps.control
2022-04-09 19:42:13,499: DEBUG - ++ cut '--delimiter= ' --fields=2
2022-04-09 19:42:13,505: DEBUG - + local pkgname=synapse-ynh-deps
2022-04-09 19:42:13,507: DEBUG - ++ grep '^Version: ' /tmp/synapse-ynh-deps.control
2022-04-09 19:42:13,508: DEBUG - ++ cut '--delimiter= ' --fields=2
2022-04-09 19:42:13,513: DEBUG - + local pkgversion=1.47.1~ynh1
2022-04-09 19:42:13,514: DEBUG - + [[ -z synapse-ynh-deps ]]
2022-04-09 19:42:13,514: DEBUG - + [[ -z 1.47.1~ynh1 ]]
2022-04-09 19:42:13,515: DEBUG - + ynh_package_update
2022-04-09 19:42:13,515: DEBUG - + ynh_apt update
2022-04-09 19:42:13,516: DEBUG - + ynh_wait_dpkg_free
2022-04-09 19:42:13,811: DEBUG - + return 0
2022-04-09 19:42:13,812: DEBUG - + LC_ALL=C
2022-04-09 19:42:13,812: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-04-09 19:42:13,813: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2022-04-09 19:42:14,135: DEBUG - Hit:1 http://forge.yunohost.org/debian buster InRelease
2022-04-09 19:42:14,136: DEBUG - Hit:2 http://mirrors.online.net/debian buster InRelease
2022-04-09 19:42:14,137: DEBUG - Hit:3 http://security.debian.org/debian-security buster/updates InRelease
2022-04-09 19:42:14,138: DEBUG - Get:4 https://download.docker.com/linux/debian buster InRelease [54.0 kB]
2022-04-09 19:42:14,181: DEBUG - Hit:5 https://packages.sury.org/php buster InRelease
2022-04-09 19:42:15,625: DEBUG - Fetched 54.0 kB in 2s (35.2 kB/s)
2022-04-09 19:42:18,566: DEBUG - Reading package lists...
2022-04-09 19:42:18,639: DEBUG - ++ mktemp --directory
2022-04-09 19:42:18,642: DEBUG - + local TMPDIR=/tmp/tmp.Rmg0otYoNu
2022-04-09 19:42:18,642: DEBUG - + echo 10
2022-04-09 19:42:18,643: DEBUG - + ynh_wait_dpkg_free
2022-04-09 19:42:18,929: DEBUG - + return 0
2022-04-09 19:42:18,929: DEBUG - + cp /tmp/synapse-ynh-deps.control /tmp/tmp.Rmg0otYoNu/control
2022-04-09 19:42:18,934: DEBUG - + cd /tmp/tmp.Rmg0otYoNu
2022-04-09 19:42:18,934: DEBUG - + LC_ALL=C
2022-04-09 19:42:18,935: DEBUG - + equivs-build ./control
2022-04-09 19:42:21,628: DEBUG - + tee ./dpkg_log
2022-04-09 19:42:21,629: DEBUG - + LC_ALL=C
2022-04-09 19:42:21,630: DEBUG - + dpkg --force-depends --install ./synapse-ynh-deps_1.47.1~ynh1_all.deb
2022-04-09 19:42:21,791: DEBUG - Selecting previously unselected package synapse-ynh-deps.
2022-04-09 19:42:21,882: DEBUG - (Reading database ... 63850 files and directories currently installed.)
2022-04-09 19:42:21,891: DEBUG - Preparing to unpack .../synapse-ynh-deps_1.47.1~ynh1_all.deb ...
2022-04-09 19:42:21,948: DEBUG - Unpacking synapse-ynh-deps (1.47.1~ynh1) ...
2022-04-09 19:42:22,233: DEBUG - dpkg: synapse-ynh-deps: dependency problems, but configuring anyway as you requested:
2022-04-09 19:42:22,234: DEBUG -  synapse-ynh-deps depends on coturn; however:
2022-04-09 19:42:22,234: DEBUG -   Package coturn is not installed.
2022-04-09 19:42:22,234: DEBUG -  synapse-ynh-deps depends on libxml2-dev; however:
2022-04-09 19:42:22,235: DEBUG -   Package libxml2-dev is not installed.
2022-04-09 19:42:22,235: DEBUG -  synapse-ynh-deps depends on libxslt1-dev; however:
2022-04-09 19:42:22,235: DEBUG -   Package libxslt1-dev is not installed.
2022-04-09 19:42:22,236: DEBUG -  synapse-ynh-deps depends on zlib1g-dev; however:
2022-04-09 19:42:22,236: DEBUG -   Package zlib1g-dev is not installed.
2022-04-09 19:42:22,237: DEBUG -  synapse-ynh-deps depends on libjpeg-dev; however:
2022-04-09 19:42:22,237: DEBUG -   Package libjpeg-dev is not installed.
2022-04-09 19:42:22,238: DEBUG - 
2022-04-09 19:42:22,238: DEBUG - Setting up synapse-ynh-deps (1.47.1~ynh1) ...
2022-04-09 19:42:22,523: DEBUG - + ynh_package_install --fix-broken
2022-04-09 19:42:22,524: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2022-04-09 19:42:22,525: DEBUG - + ynh_wait_dpkg_free
2022-04-09 19:42:22,802: DEBUG - + return 0
2022-04-09 19:42:22,803: DEBUG - + LC_ALL=C
2022-04-09 19:42:22,803: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-04-09 19:42:22,804: 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-04-09 19:42:23,368: DEBUG - Reading package lists...
2022-04-09 19:42:23,840: DEBUG - Building dependency tree...
2022-04-09 19:42:23,843: DEBUG - Reading state information...
2022-04-09 19:42:24,360: DEBUG - Correcting dependencies... Done
2022-04-09 19:42:25,027: DEBUG - The following additional packages will be installed:
2022-04-09 19:42:25,029: DEBUG -   coturn icu-devtools libevent-extra-2.1-6 libevent-openssl-2.1-6 libicu-dev
2022-04-09 19:42:25,032: DEBUG -   libjpeg-dev libjpeg62-turbo-dev libxml2-dev libxslt1-dev zlib1g-dev
2022-04-09 19:42:25,037: DEBUG - Suggested packages:
2022-04-09 19:42:25,038: DEBUG -   sip-router xmpp-server icu-doc
2022-04-09 19:42:25,086: DEBUG - The following NEW packages will be installed:
2022-04-09 19:42:25,087: DEBUG -   coturn icu-devtools libevent-extra-2.1-6 libevent-openssl-2.1-6 libicu-dev
2022-04-09 19:42:25,090: DEBUG -   libjpeg-dev libjpeg62-turbo-dev libxml2-dev libxslt1-dev zlib1g-dev
2022-04-09 19:42:26,570: DEBUG - 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
2022-04-09 19:42:26,571: DEBUG - Need to get 0 B/11.9 MB of archives.
2022-04-09 19:42:26,571: DEBUG - After this operation, 54.0 MB of additional disk space will be used.
2022-04-09 19:42:27,093: DEBUG - Selecting previously unselected package libevent-extra-2.1-6:amd64.
2022-04-09 19:42:27,185: DEBUG - (Reading database ... 63854 files and directories currently installed.)
2022-04-09 19:42:27,194: DEBUG - Preparing to unpack .../0-libevent-extra-2.1-6_2.1.8-stable-4_amd64.deb ...
2022-04-09 19:42:27,610: DEBUG - Unpacking libevent-extra-2.1-6:amd64 (2.1.8-stable-4) ...
2022-04-09 19:42:28,164: DEBUG - Selecting previously unselected package libevent-openssl-2.1-6:amd64.
2022-04-09 19:42:28,182: DEBUG - Preparing to unpack .../1-libevent-openssl-2.1-6_2.1.8-stable-4_amd64.deb ...
2022-04-09 19:42:28,247: DEBUG - Unpacking libevent-openssl-2.1-6:amd64 (2.1.8-stable-4) ...
2022-04-09 19:42:28,787: DEBUG - Selecting previously unselected package coturn.
2022-04-09 19:42:28,803: DEBUG - Preparing to unpack .../2-coturn_4.5.1.1-1.1+deb10u2_amd64.deb ...
2022-04-09 19:42:28,861: DEBUG - Unpacking coturn (4.5.1.1-1.1+deb10u2) ...
2022-04-09 19:42:29,405: DEBUG - Selecting previously unselected package icu-devtools.
2022-04-09 19:42:29,421: DEBUG - Preparing to unpack .../3-icu-devtools_65.1-1+0~20200223.8+debian10~1.gbp519cf3_amd64.deb ...
2022-04-09 19:42:29,480: DEBUG - Unpacking icu-devtools (65.1-1+0~20200223.8+debian10~1.gbp519cf3) ...
2022-04-09 19:42:29,852: DEBUG - Selecting previously unselected package libicu-dev:amd64.
2022-04-09 19:42:29,869: DEBUG - Preparing to unpack .../4-libicu-dev_65.1-1+0~20200223.8+debian10~1.gbp519cf3_amd64.deb ...
2022-04-09 19:42:29,920: DEBUG - Unpacking libicu-dev:amd64 (65.1-1+0~20200223.8+debian10~1.gbp519cf3) ...
2022-04-09 19:42:32,301: DEBUG - Selecting previously unselected package libjpeg62-turbo-dev:amd64.
2022-04-09 19:42:32,318: DEBUG - Preparing to unpack .../5-libjpeg62-turbo-dev_1%3a1.5.2-2+deb10u1_amd64.deb ...
2022-04-09 19:42:32,376: DEBUG - Unpacking libjpeg62-turbo-dev:amd64 (1:1.5.2-2+deb10u1) ...
2022-04-09 19:42:32,757: DEBUG - Selecting previously unselected package libjpeg-dev.
2022-04-09 19:42:32,774: DEBUG - Preparing to unpack .../6-libjpeg-dev_1%3a1.5.2-2+deb10u1_all.deb ...
2022-04-09 19:42:32,823: DEBUG - Unpacking libjpeg-dev (1:1.5.2-2+deb10u1) ...
2022-04-09 19:42:33,069: DEBUG - Selecting previously unselected package libxml2-dev:amd64.
2022-04-09 19:42:33,086: DEBUG - Preparing to unpack .../7-libxml2-dev_2.9.12+dfsg-0+0~20210621.9+debian10~1.gbp43e861_amd64.deb ...
2022-04-09 19:42:33,135: DEBUG - Unpacking libxml2-dev:amd64 (2.9.12+dfsg-0+0~20210621.9+debian10~1.gbp43e861) ...
2022-04-09 19:42:33,609: DEBUG - Selecting previously unselected package libxslt1-dev:amd64.
2022-04-09 19:42:33,626: DEBUG - Preparing to unpack .../8-libxslt1-dev_1.1.32-2.2~deb10u1_amd64.deb ...
2022-04-09 19:42:33,667: DEBUG - Unpacking libxslt1-dev:amd64 (1.1.32-2.2~deb10u1) ...
2022-04-09 19:42:34,141: DEBUG - Selecting previously unselected package zlib1g-dev:amd64.
2022-04-09 19:42:34,158: DEBUG - Preparing to unpack .../9-zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ...
2022-04-09 19:42:34,208: DEBUG - Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ...
2022-04-09 19:42:34,615: DEBUG - Setting up libevent-extra-2.1-6:amd64 (2.1.8-stable-4) ...
2022-04-09 19:42:34,764: DEBUG - Setting up libevent-openssl-2.1-6:amd64 (2.1.8-stable-4) ...
2022-04-09 19:42:34,917: DEBUG - Setting up coturn (4.5.1.1-1.1+deb10u2) ...
2022-04-09 19:42:35,513: DEBUG - Adding group `turnserver' (GID 133) ...
2022-04-09 19:42:35,685: DEBUG - Done.
2022-04-09 19:42:35,971: DEBUG - Adding system user `turnserver' (UID 126) ...
2022-04-09 19:42:35,982: DEBUG - Adding new user `turnserver' (UID 126) with group `turnserver' ...
2022-04-09 19:42:36,477: DEBUG - Not creating home directory `/'.
2022-04-09 19:42:36,479: WARNING - I: Creating /var/lib/turn/turndb from /usr/share/doc/coturn/schema.sql
2022-04-09 19:42:41,132: DEBUG - Created symlink /etc/systemd/system/multi-user.target.wants/coturn.service -> /lib/systemd/system/coturn.service.
2022-04-09 19:42:41,717: DEBUG - Setting up libjpeg62-turbo-dev:amd64 (1:1.5.2-2+deb10u1) ...
2022-04-09 19:42:41,854: DEBUG - Setting up icu-devtools (65.1-1+0~20200223.8+debian10~1.gbp519cf3) ...
2022-04-09 19:42:41,980: DEBUG - Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ...
2022-04-09 19:42:42,115: DEBUG - Setting up libicu-dev:amd64 (65.1-1+0~20200223.8+debian10~1.gbp519cf3) ...
2022-04-09 19:42:42,266: DEBUG - Setting up libjpeg-dev (1:1.5.2-2+deb10u1) ...
2022-04-09 19:42:42,418: DEBUG - Setting up libxml2-dev:amd64 (2.9.12+dfsg-0+0~20210621.9+debian10~1.gbp43e861) ...
2022-04-09 19:42:42,554: DEBUG - Setting up libxslt1-dev:amd64 (1.1.32-2.2~deb10u1) ...
2022-04-09 19:42:42,682: DEBUG - Processing triggers for systemd (241-7~deb10u8) ...
2022-04-09 19:42:43,334: DEBUG - Processing triggers for man-db (2.8.5-2) ...
2022-04-09 19:42:44,428: DEBUG - Processing triggers for libc-bin (2.28-10+deb10u1) ...
2022-04-09 19:42:45,142: DEBUG - + [[ -n /tmp/tmp.Rmg0otYoNu ]]
2022-04-09 19:42:45,142: DEBUG - + rm --recursive --force /tmp/tmp.Rmg0otYoNu
2022-04-09 19:42:45,145: DEBUG - + ynh_package_is_installed synapse-ynh-deps
2022-04-09 19:42:45,167: DEBUG - + ynh_wait_dpkg_free
2022-04-09 19:42:45,468: DEBUG - + return 0
2022-04-09 19:42:45,470: DEBUG - + dpkg-query --show '--showformat=${Status}' synapse-ynh-deps
2022-04-09 19:42:45,470: DEBUG - + grep --count 'ok installed'
2022-04-09 19:42:45,516: DEBUG - + rm /tmp/synapse-ynh-deps.control
2022-04-09 19:42:45,519: DEBUG - + grep --quiet php
2022-04-09 19:42:45,699: DEBUG - + ynh_system_user_create --username=matrix-synapse --home_dir=/opt/yunohost/matrix-synapse
2022-04-09 19:42:45,705: INFO - [##########..........] > Configuring system user...
2022-04-09 19:42:45,852: DEBUG - + use_shell=0
2022-04-09 19:42:45,852: DEBUG - + home_dir=/opt/yunohost/matrix-synapse
2022-04-09 19:42:45,853: DEBUG - + groups=
2022-04-09 19:42:45,854: DEBUG - + ynh_system_user_exists matrix-synapse
2022-04-09 19:42:45,878: DEBUG - + getent passwd matrix-synapse
2022-04-09 19:42:45,888: DEBUG - + '[' -n /opt/yunohost/matrix-synapse ']'
2022-04-09 19:42:45,889: DEBUG - + local 'user_home_dir=--home-dir /opt/yunohost/matrix-synapse'
2022-04-09 19:42:45,890: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2022-04-09 19:42:45,890: DEBUG - + useradd --home-dir /opt/yunohost/matrix-synapse --system --user-group matrix-synapse --shell /usr/sbin/nologin
2022-04-09 19:42:46,298: DEBUG - + adduser matrix-synapse ssl-cert
2022-04-09 19:42:46,472: DEBUG - Adding user `matrix-synapse' to group `ssl-cert' ...
2022-04-09 19:42:46,495: DEBUG - Adding user matrix-synapse to group ssl-cert
2022-04-09 19:42:46,656: DEBUG - Done.
2022-04-09 19:42:46,660: DEBUG - + adduser turnserver ssl-cert
2022-04-09 19:42:46,838: DEBUG - Adding user `turnserver' to group `ssl-cert' ...
2022-04-09 19:42:46,861: DEBUG - Adding user turnserver to group ssl-cert
2022-04-09 19:42:47,015: DEBUG - Done.
2022-04-09 19:42:47,197: INFO - [##########+.........] > Creating a PostgreSQL database...
2022-04-09 19:42:47,199: DEBUG - + ynh_print_OFF
2022-04-09 19:42:47,199: DEBUG - + exec
2022-04-09 19:42:47,559: DEBUG - + echo ynh_print_ON
2022-04-09 19:42:47,560: DEBUG - + ynh_psql_test_if_first_run
2022-04-09 19:42:47,561: DEBUG - + grep -q 'ii  postgresql-11'
2022-04-09 19:42:47,561: DEBUG - + dpkg --list
2022-04-09 19:42:47,621: DEBUG - + '[' -e /etc/postgresql/11 ']'
2022-04-09 19:42:47,622: DEBUG - + systemctl is-active postgresql@11-main -q
2022-04-09 19:42:47,632: DEBUG - + systemctl is-enabled postgresql -q
2022-04-09 19:42:47,645: DEBUG - + '[' '!' -f /etc/yunohost/psql ']'
2022-04-09 19:42:47,646: DEBUG - + ynh_print_OFF
2022-04-09 19:42:47,646: DEBUG - + exec
2022-04-09 19:42:48,080: DEBUG - CREATE ROLE
2022-04-09 19:42:48,089: DEBUG - + echo ynh_print_ON
2022-04-09 19:42:48,090: DEBUG - + ynh_psql_execute_as_root '--sql=CREATE DATABASE matrix_synapse ENCODING '\''UTF8'\'' LC_COLLATE='\''C'\'' LC_CTYPE='\''C'\'' template=template0 OWNER matrix_synapse;'
2022-04-09 19:42:48,131: DEBUG - + database=
2022-04-09 19:42:48,132: DEBUG - + '[' -n '' ']'
2022-04-09 19:42:48,132: DEBUG - ++ cat /etc/yunohost/psql
2022-04-09 19:42:48,135: DEBUG - + ynh_psql_connect_as --user=postgres --password=**********
2022-04-09 19:42:48,241: DEBUG - + database=
2022-04-09 19:42:48,242: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql ''
2022-04-09 19:42:49,255: DEBUG - CREATE DATABASE
2022-04-09 19:42:49,447: DEBUG - + mkdir -p /home/yunohost.app/matrix-synapse
2022-04-09 19:42:49,447: INFO - [###########+++++....] > Setting up source files...
2022-04-09 19:42:49,450: DEBUG - + mkdir -p /var/log/matrix-synapse
2022-04-09 19:42:49,455: DEBUG - + mkdir -p /etc/matrix-synapse/conf.d
2022-04-09 19:42:49,458: DEBUG - + mkdir -p /etc/matrix-synapse/app-service
2022-04-09 19:42:49,464: DEBUG - + echo app_service_config_files:
2022-04-09 19:42:49,465: DEBUG - + install_sources
2022-04-09 19:42:49,465: DEBUG - + '[' '!' -e /opt/yunohost/matrix-synapse/bin/python3 ']'
2022-04-09 19:42:49,466: DEBUG - + ynh_secure_remove --file=/opt/yunohost/matrix-synapse/bin
2022-04-09 19:42:49,513: INFO - '/opt/yunohost/matrix-synapse/bin' wasn't deleted because it doesn't exist.
2022-04-09 19:42:49,515: DEBUG - + ynh_secure_remove --file=/opt/yunohost/matrix-synapse/lib
2022-04-09 19:42:49,566: INFO - '/opt/yunohost/matrix-synapse/lib' wasn't deleted because it doesn't exist.
2022-04-09 19:42:49,567: DEBUG - + ynh_secure_remove --file=/opt/yunohost/matrix-synapse/lib64
2022-04-09 19:42:49,616: INFO - '/opt/yunohost/matrix-synapse/lib64' wasn't deleted because it doesn't exist.
2022-04-09 19:42:49,617: DEBUG - + ynh_secure_remove --file=/opt/yunohost/matrix-synapse/include
2022-04-09 19:42:49,666: INFO - '/opt/yunohost/matrix-synapse/include' wasn't deleted because it doesn't exist.
2022-04-09 19:42:49,667: DEBUG - + ynh_secure_remove --file=/opt/yunohost/matrix-synapse/share
2022-04-09 19:42:49,721: INFO - '/opt/yunohost/matrix-synapse/share' wasn't deleted because it doesn't exist.
2022-04-09 19:42:49,722: DEBUG - + ynh_secure_remove --file=/opt/yunohost/matrix-synapse/pyvenv.cfg
2022-04-09 19:42:49,770: INFO - '/opt/yunohost/matrix-synapse/pyvenv.cfg' wasn't deleted because it doesn't exist.
2022-04-09 19:42:49,772: DEBUG - + mkdir -p /opt/yunohost/matrix-synapse
2022-04-09 19:42:49,774: DEBUG - + chown matrix-synapse:root -R /opt/yunohost/matrix-synapse
2022-04-09 19:42:49,787: DEBUG - ++ uname -m
2022-04-09 19:42:49,789: DEBUG - ++ grep arm
2022-04-09 19:42:49,795: DEBUG - + '[' -n '' ']'
2022-04-09 19:42:49,795: DEBUG - + test -e /opt/yunohost/matrix-synapse/bin/python3
2022-04-09 19:42:49,796: DEBUG - + python3 -m venv /opt/yunohost/matrix-synapse
2022-04-09 19:42:55,633: DEBUG - + u_arg=u
2022-04-09 19:42:55,633: DEBUG - + set +u
2022-04-09 19:42:55,634: DEBUG - + source /opt/yunohost/matrix-synapse/bin/activate
2022-04-09 19:42:55,634: DEBUG - ++ deactivate nondestructive
2022-04-09 19:42:55,635: DEBUG - ++ '[' -n '' ']'
2022-04-09 19:42:55,635: DEBUG - ++ '[' -n '' ']'
2022-04-09 19:42:55,636: DEBUG - ++ '[' -n /bin/bash -o -n '' ']'
2022-04-09 19:42:55,636: DEBUG - ++ hash -r
2022-04-09 19:42:55,637: DEBUG - ++ '[' -n '' ']'
2022-04-09 19:42:55,637: DEBUG - ++ unset VIRTUAL_ENV
2022-04-09 19:42:55,638: DEBUG - ++ '[' '!' nondestructive = nondestructive ']'
2022-04-09 19:42:55,638: DEBUG - ++ VIRTUAL_ENV=/opt/yunohost/matrix-synapse
2022-04-09 19:42:55,639: DEBUG - ++ export VIRTUAL_ENV
2022-04-09 19:42:55,639: DEBUG - ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-04-09 19:42:55,640: DEBUG - ++ PATH=/opt/yunohost/matrix-synapse/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-04-09 19:42:55,640: DEBUG - ++ export PATH
2022-04-09 19:42:55,641: DEBUG - ++ '[' -n '' ']'
2022-04-09 19:42:55,641: DEBUG - ++ '[' -z '' ']'
2022-04-09 19:42:55,642: DEBUG - ++ _OLD_VIRTUAL_PS1=
2022-04-09 19:42:55,642: DEBUG - ++ '[' 'x(matrix-synapse) ' '!=' x ']'
2022-04-09 19:42:55,643: DEBUG - ++ PS1='(matrix-synapse) '
2022-04-09 19:42:55,643: DEBUG - ++ export PS1
2022-04-09 19:42:55,643: DEBUG - ++ '[' -n /bin/bash -o -n '' ']'
2022-04-09 19:42:55,644: DEBUG - ++ hash -r
2022-04-09 19:42:55,644: DEBUG - + set -u
2022-04-09 19:42:55,645: DEBUG - + pip3 install --upgrade setuptools wheel pip
2022-04-09 19:43:01,737: DEBUG - Collecting setuptools
2022-04-09 19:43:03,745: DEBUG -   Using cached https://files.pythonhosted.org/packages/0c/3c/548d361162702df85a0301f0cd0c47d05176b20bb086077a0fda740daf41/setuptools-62.0.0-py3-none-any.whl
2022-04-09 19:43:04,146: DEBUG - Collecting wheel
2022-04-09 19:43:04,584: DEBUG -   Using cached https://files.pythonhosted.org/packages/27/d6/003e593296a85fd6ed616ed962795b2f87709c3eee2bca4f6d0fe55c6d00/wheel-0.37.1-py2.py3-none-any.whl
2022-04-09 19:43:05,216: DEBUG - Collecting pip
2022-04-09 19:43:05,921: DEBUG -   Using cached https://files.pythonhosted.org/packages/4d/16/0a14ca596f30316efd412a60bdfac02a7259bf8673d4d917dc60b9a21812/pip-22.0.4-py3-none-any.whl
2022-04-09 19:43:06,556: DEBUG - Installing collected packages: setuptools, wheel, pip
2022-04-09 19:43:06,556: DEBUG -   Found existing installation: setuptools 40.8.0
2022-04-09 19:43:06,809: DEBUG -     Uninstalling setuptools-40.8.0:
2022-04-09 19:43:06,849: DEBUG -       Successfully uninstalled setuptools-40.8.0
2022-04-09 19:43:08,605: DEBUG -   Found existing installation: pip 18.1
2022-04-09 19:43:08,915: DEBUG -     Uninstalling pip-18.1:
2022-04-09 19:43:08,962: DEBUG -       Successfully uninstalled pip-18.1
2022-04-09 19:43:12,968: DEBUG - Successfully installed pip-22.0.4 setuptools-62.0.0 wheel-0.37.1
2022-04-09 19:43:13,248: DEBUG - + chown matrix-synapse:root -R /opt/yunohost/matrix-synapse
2022-04-09 19:43:13,284: DEBUG - + sudo -u matrix-synapse env PATH=/opt/yunohost/matrix-synapse/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin pip3 install --upgrade 'cryptography>=3.4.7'
2022-04-09 19:43:17,891: DEBUG - Collecting cryptography>=3.4.7
2022-04-09 19:43:18,037: DEBUG -   Downloading cryptography-36.0.2-cp36-abi3-manylinux_2_24_x86_64.whl (3.6 MB)
2022-04-09 19:43:18,287: DEBUG -      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 15.1 MB/s eta 0:00:00
2022-04-09 19:43:19,867: DEBUG - Collecting cffi>=1.12
2022-04-09 19:43:19,889: DEBUG -   Downloading cffi-1.15.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (427 kB)
2022-04-09 19:43:19,963: DEBUG -      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 427.1/427.1 KB 6.9 MB/s eta 0:00:00
2022-04-09 19:43:20,332: DEBUG - Collecting pycparser
2022-04-09 19:43:20,353: DEBUG -   Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
2022-04-09 19:43:20,416: DEBUG -      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 KB 2.2 MB/s eta 0:00:00
2022-04-09 19:43:20,767: DEBUG - Installing collected packages: pycparser, cffi, cryptography
2022-04-09 19:43:22,315: DEBUG - Successfully installed cffi-1.15.0 cryptography-36.0.2 pycparser-2.21
2022-04-09 19:43:23,818: DEBUG - + pip3 install --upgrade cffi ndg-httpsclient psycopg2 lxml jinja2
2022-04-09 19:43:25,580: DEBUG - Requirement already satisfied: cffi in /opt/yunohost/matrix-synapse/lib/python3.7/site-packages (1.15.0)
2022-04-09 19:43:27,984: DEBUG - Collecting ndg-httpsclient
2022-04-09 19:43:27,992: DEBUG -   Using cached ndg_httpsclient-0.5.1-py3-none-any.whl (34 kB)
2022-04-09 19:43:28,723: DEBUG - Collecting psycopg2
2022-04-09 19:43:28,724: DEBUG -   Using cached psycopg2-2.9.3-cp37-cp37m-linux_x86_64.whl
2022-04-09 19:43:30,450: DEBUG - Collecting lxml
2022-04-09 19:43:30,503: DEBUG -   Using cached lxml-4.8.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (6.4 MB)
2022-04-09 19:43:31,089: DEBUG - Collecting jinja2
2022-04-09 19:43:31,097: DEBUG -   Using cached Jinja2-3.1.1-py3-none-any.whl (132 kB)
2022-04-09 19:43:31,111: DEBUG - Requirement already satisfied: pycparser in /opt/yunohost/matrix-synapse/lib/python3.7/site-packages (from cffi) (2.21)
2022-04-09 19:43:32,168: DEBUG - Collecting pyasn1>=0.1.1
2022-04-09 19:43:32,176: DEBUG -   Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
2022-04-09 19:43:32,597: DEBUG - Collecting PyOpenSSL
2022-04-09 19:43:32,604: DEBUG -   Using cached pyOpenSSL-22.0.0-py2.py3-none-any.whl (55 kB)
2022-04-09 19:43:33,299: DEBUG - Collecting MarkupSafe>=2.0
2022-04-09 19:43:33,306: DEBUG -   Using cached MarkupSafe-2.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
2022-04-09 19:43:33,373: DEBUG - Requirement already satisfied: cryptography>=35.0 in /opt/yunohost/matrix-synapse/lib/python3.7/site-packages (from PyOpenSSL->ndg-httpsclient) (36.0.2)
2022-04-09 19:43:33,831: DEBUG - Installing collected packages: pyasn1, psycopg2, MarkupSafe, lxml, jinja2, PyOpenSSL, ndg-httpsclient
2022-04-09 19:43:35,766: DEBUG - Successfully installed MarkupSafe-2.1.1 PyOpenSSL-22.0.0 jinja2-3.1.1 lxml-4.8.0 ndg-httpsclient-0.5.1 psycopg2-2.9.3 pyasn1-0.4.8
2022-04-09 19:43:36,052: DEBUG - + pip3 install --upgrade 'Twisted>=21' 'treq>=21.1.0' matrix-synapse==1.47.1 matrix-synapse-ldap3
2022-04-09 19:43:38,859: DEBUG - Collecting Twisted>=21
2022-04-09 19:43:38,886: DEBUG -   Using cached Twisted-22.2.0-py3-none-any.whl (3.1 MB)
2022-04-09 19:43:39,557: DEBUG - Collecting treq>=21.1.0
2022-04-09 19:43:39,565: DEBUG -   Using cached treq-22.2.0-py3-none-any.whl (64 kB)
2022-04-09 19:43:40,630: DEBUG - Collecting matrix-synapse==1.47.1
2022-04-09 19:43:40,651: DEBUG -   Using cached matrix_synapse-1.47.1-py3-none-any.whl (2.1 MB)
2022-04-09 19:43:41,065: DEBUG - Collecting matrix-synapse-ldap3
2022-04-09 19:43:41,072: DEBUG -   Using cached matrix_synapse_ldap3-0.2.0-py3-none-any.whl (13 kB)
2022-04-09 19:43:42,144: DEBUG - Collecting canonicaljson>=1.4.0
2022-04-09 19:43:42,151: DEBUG -   Using cached canonicaljson-1.6.0-py3-none-any.whl (7.5 kB)
2022-04-09 19:43:42,527: DEBUG - Collecting typing-extensions>=3.7.4
2022-04-09 19:43:42,535: DEBUG -   Using cached typing_extensions-4.1.1-py3-none-any.whl (26 kB)
2022-04-09 19:43:43,008: DEBUG - Collecting pyasn1-modules>=0.0.7
2022-04-09 19:43:43,017: DEBUG -   Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
2022-04-09 19:43:43,582: DEBUG - Collecting msgpack>=0.5.2
2022-04-09 19:43:43,591: DEBUG -   Using cached msgpack-1.0.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (299 kB)
2022-04-09 19:43:44,193: DEBUG - Collecting pyyaml>=3.11
2022-04-09 19:43:44,203: DEBUG -   Using cached PyYAML-6.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (596 kB)
2022-04-09 19:43:44,544: DEBUG - Collecting service-identity>=18.1.0
2022-04-09 19:43:44,551: DEBUG -   Using cached service_identity-21.1.0-py2.py3-none-any.whl (12 kB)
2022-04-09 19:43:44,560: DEBUG - Requirement already satisfied: pyasn1>=0.1.9 in /opt/yunohost/matrix-synapse/lib/python3.7/site-packages (from matrix-synapse==1.47.1) (0.4.8)
2022-04-09 19:43:45,218: DEBUG - Collecting unpaddedbase64>=1.1.0
2022-04-09 19:43:45,226: DEBUG -   Using cached unpaddedbase64-2.1.0-py3-none-any.whl (6.1 kB)
2022-04-09 19:43:45,700: DEBUG - Collecting pynacl>=1.2.1
2022-04-09 19:43:45,711: DEBUG -   Using cached PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (856 kB)
2022-04-09 19:43:47,679: DEBUG - Collecting pillow>=4.3.0
2022-04-09 19:43:47,716: DEBUG -   Using cached Pillow-9.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB)
2022-04-09 19:43:48,269: DEBUG - Collecting jsonschema>=3.0.0
2022-04-09 19:43:48,276: DEBUG -   Using cached jsonschema-4.4.0-py3-none-any.whl (72 kB)
2022-04-09 19:43:48,668: DEBUG - Collecting netaddr>=0.7.18
2022-04-09 19:43:48,686: DEBUG -   Using cached netaddr-0.8.0-py2.py3-none-any.whl (1.9 MB)
2022-04-09 19:43:49,263: DEBUG - Collecting signedjson>=1.1.0
2022-04-09 19:43:49,271: DEBUG -   Using cached signedjson-1.1.4-py3-none-any.whl (10 kB)
2022-04-09 19:43:49,279: DEBUG - Requirement already satisfied: cryptography>=3.4.7 in /opt/yunohost/matrix-synapse/lib/python3.7/site-packages (from matrix-synapse==1.47.1) (36.0.2)
2022-04-09 19:43:50,158: DEBUG - Collecting phonenumbers>=8.2.0
2022-04-09 19:43:50,181: DEBUG -   Using cached phonenumbers-8.12.46-py2.py3-none-any.whl (2.6 MB)
2022-04-09 19:43:50,707: DEBUG - Collecting idna>=2.5
2022-04-09 19:43:50,716: DEBUG -   Using cached idna-3.3-py3-none-any.whl (61 kB)
2022-04-09 19:43:51,111: DEBUG - Collecting sortedcontainers>=1.4.4
2022-04-09 19:43:51,119: DEBUG -   Using cached sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
2022-04-09 19:43:51,733: DEBUG - Collecting frozendict>=1
2022-04-09 19:43:51,741: DEBUG -   Using cached frozendict-2.3.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (98 kB)
2022-04-09 19:43:52,203: DEBUG - Collecting bleach>=1.4.3
2022-04-09 19:43:52,211: DEBUG -   Using cached bleach-5.0.0-py3-none-any.whl (160 kB)
2022-04-09 19:43:52,783: DEBUG - Collecting bcrypt>=3.1.0
2022-04-09 19:43:52,791: DEBUG -   Using cached bcrypt-3.2.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (61 kB)
2022-04-09 19:43:53,175: DEBUG - Collecting pymacaroons>=0.13.0
2022-04-09 19:43:53,182: DEBUG -   Using cached pymacaroons-0.13.0-py2.py3-none-any.whl (19 kB)
2022-04-09 19:43:53,573: DEBUG - Collecting prometheus-client>=0.4.0
2022-04-09 19:43:53,580: DEBUG -   Using cached prometheus_client-0.14.1-py3-none-any.whl (59 kB)
2022-04-09 19:43:53,591: DEBUG - Requirement already satisfied: pyopenssl>=16.0.0 in /opt/yunohost/matrix-synapse/lib/python3.7/site-packages (from matrix-synapse==1.47.1) (22.0.0)
2022-04-09 19:43:53,995: DEBUG - Collecting attrs!=21.1.0,>=19.2.0
2022-04-09 19:43:54,003: DEBUG -   Using cached attrs-21.4.0-py2.py3-none-any.whl (60 kB)
2022-04-09 19:43:54,974: DEBUG - Collecting ijson>=3.0
2022-04-09 19:43:54,982: DEBUG -   Using cached ijson-3.1.4-cp37-cp37m-manylinux2010_x86_64.whl (126 kB)
2022-04-09 19:43:55,017: DEBUG - Requirement already satisfied: Jinja2>=2.9 in /opt/yunohost/matrix-synapse/lib/python3.7/site-packages (from matrix-synapse==1.47.1) (3.1.1)
2022-04-09 19:43:56,201: DEBUG - Collecting Automat>=0.8.0
2022-04-09 19:43:56,208: DEBUG -   Using cached Automat-20.2.0-py2.py3-none-any.whl (31 kB)
2022-04-09 19:43:56,551: DEBUG - Collecting hyperlink>=17.1.1
2022-04-09 19:43:56,558: DEBUG -   Using cached hyperlink-21.0.0-py2.py3-none-any.whl (74 kB)
2022-04-09 19:43:56,901: DEBUG - Collecting incremental>=21.3.0
2022-04-09 19:43:56,908: DEBUG -   Using cached incremental-21.3.0-py2.py3-none-any.whl (15 kB)
2022-04-09 19:43:58,143: DEBUG - Collecting zope.interface>=4.4.2
2022-04-09 19:43:58,151: DEBUG -   Using cached zope.interface-5.4.0-cp37-cp37m-manylinux2010_x86_64.whl (251 kB)
2022-04-09 19:43:58,509: DEBUG - Collecting constantly>=15.1
2022-04-09 19:43:58,516: DEBUG -   Using cached constantly-15.1.0-py2.py3-none-any.whl (7.9 kB)
2022-04-09 19:43:59,155: DEBUG - Collecting requests>=2.1.0
2022-04-09 19:43:59,163: DEBUG -   Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
2022-04-09 19:43:59,888: DEBUG - Collecting ldap3>=2.8
2022-04-09 19:43:59,897: DEBUG -   Using cached ldap3-2.9.1-py2.py3-none-any.whl (432 kB)
2022-04-09 19:44:00,521: DEBUG - Collecting six
2022-04-09 19:44:00,529: DEBUG -   Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
2022-04-09 19:44:00,564: DEBUG - Requirement already satisfied: cffi>=1.1 in /opt/yunohost/matrix-synapse/lib/python3.7/site-packages (from bcrypt>=3.1.0->matrix-synapse==1.47.1) (1.15.0)
2022-04-09 19:44:01,021: DEBUG - Collecting webencodings
2022-04-09 19:44:01,028: DEBUG -   Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
2022-04-09 19:44:01,769: DEBUG - Collecting simplejson>=3.14.0
2022-04-09 19:44:01,776: DEBUG -   Using cached simplejson-3.17.6-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (130 kB)
2022-04-09 19:44:02,098: DEBUG - Requirement already satisfied: MarkupSafe>=2.0 in /opt/yunohost/matrix-synapse/lib/python3.7/site-packages (from Jinja2>=2.9->matrix-synapse==1.47.1) (2.1.1)
2022-04-09 19:44:02,673: DEBUG - Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
2022-04-09 19:44:02,681: DEBUG -   Using cached pyrsistent-0.18.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (117 kB)
2022-04-09 19:44:03,196: DEBUG - Collecting importlib-resources>=1.4.0
2022-04-09 19:44:03,203: DEBUG -   Using cached importlib_resources-5.6.0-py3-none-any.whl (28 kB)
2022-04-09 19:44:03,921: DEBUG - Collecting importlib-metadata
2022-04-09 19:44:03,928: DEBUG -   Using cached importlib_metadata-4.11.3-py3-none-any.whl (18 kB)
2022-04-09 19:44:04,868: DEBUG - Collecting certifi>=2017.4.17
2022-04-09 19:44:04,876: DEBUG -   Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
2022-04-09 19:44:05,303: DEBUG - Collecting charset-normalizer~=2.0.0
2022-04-09 19:44:05,311: DEBUG -   Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
2022-04-09 19:44:05,963: DEBUG - Collecting urllib3<1.27,>=1.21.1
2022-04-09 19:44:05,972: DEBUG -   Using cached urllib3-1.26.9-py2.py3-none-any.whl (138 kB)
2022-04-09 19:44:06,451: DEBUG - Requirement already satisfied: setuptools in /opt/yunohost/matrix-synapse/lib/python3.7/site-packages (from zope.interface>=4.4.2->Twisted>=21) (62.0.0)
2022-04-09 19:44:06,517: DEBUG - Requirement already satisfied: pycparser in /opt/yunohost/matrix-synapse/lib/python3.7/site-packages (from cffi>=1.1->bcrypt>=3.1.0->matrix-synapse==1.47.1) (2.21)
2022-04-09 19:44:07,080: DEBUG - Collecting zipp>=3.1.0
2022-04-09 19:44:07,087: DEBUG -   Using cached zipp-3.8.0-py3-none-any.whl (5.4 kB)
2022-04-09 19:44:10,738: DEBUG - Installing collected packages: webencodings, sortedcontainers, phonenumbers, netaddr, msgpack, incremental, ijson, constantly, certifi, zope.interface, zipp, urllib3, unpaddedbase64, typing-extensions, six, simplejson, pyyaml, pyrsistent, pyasn1-modules, prometheus-client, pillow, ldap3, idna, frozendict, charset-normalizer, attrs, requests, pynacl, importlib-resources, importlib-metadata, hyperlink, canonicaljson, bleach, bcrypt, Automat, Twisted, signedjson, service-identity, pymacaroons, jsonschema, matrix-synapse-ldap3, treq, matrix-synapse
2022-04-09 19:44:43,941: DEBUG - Successfully installed Automat-20.2.0 Twisted-22.2.0 attrs-21.4.0 bcrypt-3.2.0 bleach-5.0.0 canonicaljson-1.6.0 certifi-2021.10.8 charset-normalizer-2.0.12 constantly-15.1.0 frozendict-2.3.1 hyperlink-21.0.0 idna-3.3 ijson-3.1.4 importlib-metadata-4.11.3 importlib-resources-5.6.0 incremental-21.3.0 jsonschema-4.4.0 ldap3-2.9.1 matrix-synapse-1.47.1 matrix-synapse-ldap3-0.2.0 msgpack-1.0.3 netaddr-0.8.0 phonenumbers-8.12.46 pillow-9.1.0 prometheus-client-0.14.1 pyasn1-modules-0.2.8 pymacaroons-0.13.0 pynacl-1.5.0 pyrsistent-0.18.1 pyyaml-6.0 requests-2.27.1 service-identity-21.1.0 signedjson-1.1.4 simplejson-3.17.6 six-1.16.0 sortedcontainers-2.4.0 treq-22.2.0 typing-extensions-4.1.1 unpaddedbase64-2.1.0 urllib3-1.26.9 webencodings-0.5.1 zipp-3.8.0 zope.interface-5.4.0
2022-04-09 19:44:44,359: DEBUG - + set +u
2022-04-09 19:44:44,359: DEBUG - + deactivate
2022-04-09 19:44:44,360: DEBUG - + '[' -n /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ']'
2022-04-09 19:44:44,361: DEBUG - + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-04-09 19:44:44,361: DEBUG - + export PATH
2022-04-09 19:44:44,362: DEBUG - + unset _OLD_VIRTUAL_PATH
2022-04-09 19:44:44,362: DEBUG - + '[' -n '' ']'
2022-04-09 19:44:44,363: DEBUG - + '[' -n /bin/bash -o -n '' ']'
2022-04-09 19:44:44,363: DEBUG - + hash -r
2022-04-09 19:44:44,364: DEBUG - + '[' -n '' ']'
2022-04-09 19:44:44,364: DEBUG - + unset VIRTUAL_ENV
2022-04-09 19:44:44,365: DEBUG - + '[' '!' '' = nondestructive ']'
2022-04-09 19:44:44,365: DEBUG - + unset -f deactivate
2022-04-09 19:44:44,366: DEBUG - + set -u
2022-04-09 19:44:44,366: DEBUG - + ynh_secure_remove --file=/opt/yunohost/matrix-synapse/.rustup
2022-04-09 19:44:44,410: INFO - '/opt/yunohost/matrix-synapse/.rustup' wasn't deleted because it doesn't exist.
2022-04-09 19:44:44,411: DEBUG - + ynh_secure_remove --file=/opt/yunohost/matrix-synapse/.cargo
2022-04-09 19:44:44,461: INFO - '/opt/yunohost/matrix-synapse/.cargo' wasn't deleted because it doesn't exist.
2022-04-09 19:44:44,462: DEBUG - + mkdir -p /var/www/synapse
2022-04-09 19:44:44,464: DEBUG - + cp ../sources/cas_server.php /var/www/synapse/
2022-04-09 19:44:44,469: DEBUG - + chmod u=rwX,g=rX,o= -R /var/www/synapse
2022-04-09 19:44:44,472: DEBUG - + chown matrix-synapse:root -R /var/www/synapse
2022-04-09 19:44:44,667: INFO - [################....] > Creating synapse config...
2022-04-09 19:44:44,669: DEBUG - + set +u
2022-04-09 19:44:44,669: DEBUG - + source /opt/yunohost/matrix-synapse/bin/activate
2022-04-09 19:44:44,670: DEBUG - ++ deactivate nondestructive
2022-04-09 19:44:44,670: DEBUG - ++ '[' -n '' ']'
2022-04-09 19:44:44,671: DEBUG - ++ '[' -n '' ']'
2022-04-09 19:44:44,672: DEBUG - ++ '[' -n /bin/bash -o -n '' ']'
2022-04-09 19:44:44,672: DEBUG - ++ hash -r
2022-04-09 19:44:44,673: DEBUG - ++ '[' -n '' ']'
2022-04-09 19:44:44,673: DEBUG - ++ unset VIRTUAL_ENV
2022-04-09 19:44:44,674: DEBUG - ++ '[' '!' nondestructive = nondestructive ']'
2022-04-09 19:44:44,674: DEBUG - ++ VIRTUAL_ENV=/opt/yunohost/matrix-synapse
2022-04-09 19:44:44,675: DEBUG - ++ export VIRTUAL_ENV
2022-04-09 19:44:44,675: DEBUG - ++ _OLD_VIRTUAL_PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-04-09 19:44:44,676: DEBUG - ++ PATH=/opt/yunohost/matrix-synapse/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-04-09 19:44:44,676: DEBUG - ++ export PATH
2022-04-09 19:44:44,677: DEBUG - ++ '[' -n '' ']'
2022-04-09 19:44:44,677: DEBUG - ++ '[' -z '' ']'
2022-04-09 19:44:44,678: DEBUG - ++ _OLD_VIRTUAL_PS1='(matrix-synapse) '
2022-04-09 19:44:44,678: DEBUG - ++ '[' 'x(matrix-synapse) ' '!=' x ']'
2022-04-09 19:44:44,679: DEBUG - ++ PS1='(matrix-synapse) (matrix-synapse) '
2022-04-09 19:44:44,679: DEBUG - ++ export PS1
2022-04-09 19:44:44,680: DEBUG - ++ '[' -n /bin/bash -o -n '' ']'
2022-04-09 19:44:44,680: DEBUG - ++ hash -r
2022-04-09 19:44:44,681: DEBUG - + set -u
2022-04-09 19:44:44,681: DEBUG - + python -m synapse.app.homeserver --keys-directory /etc/matrix-synapse/ --generate-config --generate-keys --server-name matrix.maindomain.tld --report-stats=no -c homeserver.yml
2022-04-09 19:44:47,905: WARNING - Traceback (most recent call last):
2022-04-09 19:44:47,906: WARNING -   File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
2022-04-09 19:44:47,907: WARNING -     "__main__", mod_spec)
2022-04-09 19:44:47,908: WARNING -   File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
2022-04-09 19:44:47,909: WARNING -     exec(code, run_globals)
2022-04-09 19:44:47,910: WARNING -   File "/opt/yunohost/matrix-synapse/lib/python3.7/site-packages/synapse/app/homeserver.py", line 37, in <module>
2022-04-09 19:44:47,911: WARNING -     from synapse.app import _base
2022-04-09 19:44:47,913: WARNING -   File "/opt/yunohost/matrix-synapse/lib/python3.7/site-packages/synapse/app/_base.py", line 44, in <module>
2022-04-09 19:44:47,913: WARNING -     from synapse.events.spamcheck import load_legacy_spam_checkers
2022-04-09 19:44:47,914: WARNING -   File "/opt/yunohost/matrix-synapse/lib/python3.7/site-packages/synapse/events/spamcheck.py", line 31, in <module>
2022-04-09 19:44:47,916: WARNING -     from synapse.rest.media.v1._base import FileInfo
2022-04-09 19:44:47,917: WARNING -   File "/opt/yunohost/matrix-synapse/lib/python3.7/site-packages/synapse/rest/__init__.py", line 19, in <module>
2022-04-09 19:44:47,918: WARNING -     from synapse.rest.client import (
2022-04-09 19:44:47,919: WARNING -   File "/opt/yunohost/matrix-synapse/lib/python3.7/site-packages/synapse/rest/client/account.py", line 42, in <module>
2022-04-09 19:44:47,920: WARNING -     from synapse.push.mailer import Mailer
2022-04-09 19:44:47,921: WARNING -   File "/opt/yunohost/matrix-synapse/lib/python3.7/site-packages/synapse/push/mailer.py", line 860, in <module>
2022-04-09 19:44:47,922: WARNING -     def safe_markup(raw_html: str) -> jinja2.Markup:
2022-04-09 19:44:47,923: WARNING - AttributeError: module 'jinja2' has no attribute 'Markup'
2022-04-09 19:44:48,175: DEBUG - + ynh_exit_properly
2022-04-09 19:44:48,682: DEBUG - + ynh_clean_setup
2022-04-09 19:44:48,683: DEBUG - + ynh_clean_check_starting
2022-04-09 19:44:48,684: DEBUG - + '[' -n '' ']'
2022-04-09 19:44:48,684: DEBUG - + '[' -n '' ']'
2022-04-09 19:44:49,687: ERROR - Impossible d'installer synapse : Une erreur est survenue dans le script d'installation de l'application

Related Github issue to follow: AttributeError: module 'jinja2' has no attribute 'Markup' · Issue #304 · YunoHost-Apps/synapse_ynh · GitHub

1 Like

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