Probleme pour installer Synapse / Can't Install Synapse

My YunoHost server

Hardware: Raspberry Pi at home
YunoHost version: 4.2.8.3 (stable)
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

Hi everyone,
I’m trying to install Synpase but somehow it get stucks.
I’ve tried both with an installation in synapse.mydomain.org or mydomain.org/synapse, and both via the interface or in line commands, but same thing.
I paste my log here.

args:
  app: synapse
  args: domain=synapse.maindomain.tld&server_name=synapse.maindomain.tld&is_public=0&jitsi_server=synapse.maindomain.tld
  force: false
  label: Synapse
  no_remove_on_failure: false
ended_at: 2021-10-28 21:41:35.593325
env:
  YNH_APP_ARG_DOMAIN: synapse.maindomain.tld
  YNH_APP_ARG_IS_PUBLIC: '0'
  YNH_APP_ARG_JITSI_SERVER: synapse.maindomain.tld
  YNH_APP_ARG_SERVER_NAME: synapse.maindomain.tld
  YNH_APP_ID: synapse
  YNH_APP_INSTANCE_NAME: synapse
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 1.42.0~ynh1
error: "Une erreur est survenue dans le script d\u2019installation de l\u2019application"
interface: api
operation: app_install
parent: null
related_to:
- - app
  - synapse
started_at: 2021-10-28 21:41:05.601317
success: false
yunohost_version: 4.2.8.3

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

2021-10-28 23:41:05,632: INFO - Installation de synapse...
2021-10-28 23:41:06,316: DEBUG - Permission 'synapse.main' mise à jour
2021-10-28 23:41:06,797: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20211028-214106-permission_url-synapse" style="text-decoration:underline"> Mise à jour de l’URL associée à l’autorisation 'synapse' </a>'
2021-10-28 23:41:07,804: DEBUG - The permission database has been resynchronized
2021-10-28 23:41:08,426: DEBUG - La configuration de SSOwat a été regénérée
2021-10-28 23:41:08,931: DEBUG - Permission 'synapse.main' créée
2021-10-28 23:41:08,932: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20211028-214105-permission_create-synapse" style="text-decoration:underline"> Créer permission 'synapse' </a>'
2021-10-28 23:41:08,956: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install"  7>&1']'
2021-10-28 23:41:08,978: DEBUG - + source _common.sh
2021-10-28 23:41:08,979: 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'
2021-10-28 23:41:08,980: DEBUG - +++ python3 -V
2021-10-28 23:41:08,981: DEBUG - +++ cut '-d ' -f2
2021-10-28 23:41:08,982: DEBUG - +++ cut -d. -f1-2
2021-10-28 23:41:08,986: DEBUG - ++ python_version=3.7
2021-10-28 23:41:08,987: DEBUG - + source experimental_helper.sh
2021-10-28 23:41:08,989: DEBUG - + source /usr/share/yunohost/helpers
2021-10-28 23:41:08,991: DEBUG - +++ set +o
2021-10-28 23:41:08,992: DEBUG - +++ grep xtrace
2021-10-28 23:41:08,996: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-10-28 23:41:08,996: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2021-10-28 23:41:09,077: DEBUG - + ynh_abort_if_errors
2021-10-28 23:41:09,078: DEBUG - + set -o errexit
2021-10-28 23:41:09,078: DEBUG - + set -o nounset
2021-10-28 23:41:09,078: DEBUG - + trap ynh_exit_properly EXIT
2021-10-28 23:41:09,079: DEBUG - + domain=synapse.maindomain.tld
2021-10-28 23:41:09,079: DEBUG - + is_public=0
2021-10-28 23:41:09,080: DEBUG - + app=synapse
2021-10-28 23:41:09,080: DEBUG - + synapse_user=matrix-synapse
2021-10-28 23:41:09,081: DEBUG - + synapse_db_name=matrix_synapse
2021-10-28 23:41:09,081: DEBUG - + synapse_db_user=matrix_synapse
2021-10-28 23:41:09,082: DEBUG - + synapse_db_name=matrix_synapse
2021-10-28 23:41:09,082: DEBUG - ++ ynh_app_upstream_version
2021-10-28 23:41:09,084: DEBUG - ++ manifest=
2021-10-28 23:41:09,085: DEBUG - ++ [[ '' != '' ]]
2021-10-28 23:41:09,085: DEBUG - ++ version_key_=1.42.0~ynh1
2021-10-28 23:41:09,087: DEBUG - ++ echo 1.42.0
2021-10-28 23:41:09,088: DEBUG - + upstream_version=1.42.0
2021-10-28 23:41:09,089: DEBUG - + report_stats=false
2021-10-28 23:41:09,089: DEBUG - + allow_public_rooms=false
2021-10-28 23:41:09,089: DEBUG - + e2e_enabled_by_default=true
2021-10-28 23:41:09,090: DEBUG - + default_domain_value='Same than the domain'
2021-10-28 23:41:09,090: DEBUG - + domain=synapse.maindomain.tld
2021-10-28 23:41:09,091: DEBUG - + server_name=synapse.maindomain.tld
2021-10-28 23:41:09,091: DEBUG - + is_public=0
2021-10-28 23:41:09,091: DEBUG - + jitsi_server=synapse.maindomain.tld
2021-10-28 23:41:09,091: DEBUG - + path_url=/_matrix
2021-10-28 23:41:09,092: DEBUG - + final_path=/opt/yunohost/matrix-synapse
2021-10-28 23:41:09,092: DEBUG - + final_www_path=/var/www/synapse
2021-10-28 23:41:09,093: DEBUG - + data_path=/home/yunohost.app/matrix-synapse
2021-10-28 23:41:09,093: DEBUG - + [[ synapse.maindomain.tld == \S\a\m\e\ \t\h\a\n\ \t\h\e\ \d\o\m\a\i\n ]]
2021-10-28 23:41:09,327: DEBUG - + echo '[....................] > Validating installation parameters...'
2021-10-28 23:41:09,328: INFO - [....................] > Validating installation parameters...
2021-10-28 23:41:09,330: DEBUG - ++ ynh_webpath_available --domain=synapse.maindomain.tld --path_url=/_matrix
2021-10-28 23:41:09,423: DEBUG - ++ yunohost domain url-available synapse.maindomain.tld /_matrix
2021-10-28 23:41:10,780: DEBUG - + '[' True == True ']'
2021-10-28 23:41:10,781: DEBUG - + test '!' -e '/etc/nginx/conf.d/synapse.maindomain.tld.d/synapse*.conf'
2021-10-28 23:41:10,781: DEBUG - + test '!' -e /opt/yunohost/matrix-synapse
2021-10-28 23:41:10,782: DEBUG - + '[' -e /home/yunohost.app/matrix-synapse ']'
2021-10-28 23:41:10,988: DEBUG - + echo '[....................] > Storing installation settings...'
2021-10-28 23:41:10,989: INFO - [....................] > Storing installation settings...
2021-10-28 23:41:10,990: DEBUG - + ynh_app_setting_set --app=synapse --key=domain --value=synapse.maindomain.tld
2021-10-28 23:41:11,175: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2021-10-28 23:41:11,176: DEBUG - + ynh_app_setting set synapse domain synapse.maindomain.tld
2021-10-28 23:41:11,301: DEBUG - + ynh_app_setting_set --app=synapse --key=path --value=/_matrix
2021-10-28 23:41:11,483: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2021-10-28 23:41:11,484: DEBUG - + ynh_app_setting set synapse path /_matrix
2021-10-28 23:41:11,610: DEBUG - + ynh_app_setting_set --app=synapse --key=no_sso --value true
2021-10-28 23:41:11,951: DEBUG - + [[ no_sso =~ (unprotected|protected|skipped)_ ]]
2021-10-28 23:41:11,952: DEBUG - + ynh_app_setting set synapse no_sso true
2021-10-28 23:41:12,115: DEBUG - + ynh_app_setting_set --app=synapse --key=server_name --value=synapse.maindomain.tld
2021-10-28 23:41:12,299: DEBUG - + [[ server_name =~ (unprotected|protected|skipped)_ ]]
2021-10-28 23:41:12,300: DEBUG - + ynh_app_setting set synapse server_name synapse.maindomain.tld
2021-10-28 23:41:12,428: DEBUG - + ynh_app_setting_set --app=synapse --key=jitsi_server --value=synapse.maindomain.tld
2021-10-28 23:41:12,615: DEBUG - + [[ jitsi_server =~ (unprotected|protected|skipped)_ ]]
2021-10-28 23:41:12,616: DEBUG - + ynh_app_setting set synapse jitsi_server synapse.maindomain.tld
2021-10-28 23:41:12,745: DEBUG - + ynh_app_setting_set --app=synapse --key=final_path --value=/opt/yunohost/matrix-synapse
2021-10-28 23:41:13,011: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)_ ]]
2021-10-28 23:41:13,012: DEBUG - + ynh_app_setting set synapse final_path /opt/yunohost/matrix-synapse
2021-10-28 23:41:13,165: DEBUG - + ynh_app_setting_set --app=synapse --key=synapse_version --value=1.42.0
2021-10-28 23:41:13,352: DEBUG - + [[ synapse_version =~ (unprotected|protected|skipped)_ ]]
2021-10-28 23:41:13,353: DEBUG - + ynh_app_setting set synapse synapse_version 1.42.0
2021-10-28 23:41:13,480: DEBUG - + ynh_app_setting_set --app=synapse --key=is_public --value=0
2021-10-28 23:41:13,667: DEBUG - + [[ is_public =~ (unprotected|protected|skipped)_ ]]
2021-10-28 23:41:13,668: DEBUG - + ynh_app_setting set synapse is_public 0
2021-10-28 23:41:13,799: DEBUG - + ynh_app_setting_set --app=synapse --key=report_stats --value=false
2021-10-28 23:41:14,071: DEBUG - + [[ report_stats =~ (unprotected|protected|skipped)_ ]]
2021-10-28 23:41:14,077: DEBUG - + ynh_app_setting set synapse report_stats false
2021-10-28 23:41:14,241: DEBUG - + ynh_app_setting_set --app=synapse --key=allow_public_rooms --value=false
2021-10-28 23:41:14,429: DEBUG - + [[ allow_public_rooms =~ (unprotected|protected|skipped)_ ]]
2021-10-28 23:41:14,430: DEBUG - + ynh_app_setting set synapse allow_public_rooms false
2021-10-28 23:41:14,560: DEBUG - + ynh_app_setting_set --app=synapse --key=e2e_enabled_by_default --value=true
2021-10-28 23:41:14,745: DEBUG - + [[ e2e_enabled_by_default =~ (unprotected|protected|skipped)_ ]]
2021-10-28 23:41:14,746: DEBUG - + ynh_app_setting set synapse e2e_enabled_by_default true
2021-10-28 23:41:15,177: DEBUG - + echo '[++..................] > Configuring firewall...'
2021-10-28 23:41:15,178: INFO - [++..................] > Configuring firewall...
2021-10-28 23:41:15,180: DEBUG - ++ ynh_find_port --port=8448
2021-10-28 23:41:15,226: DEBUG - ++ test -n 8448
2021-10-28 23:41:15,227: DEBUG - ++ ynh_port_available --port=8448
2021-10-28 23:41:15,275: DEBUG - ++ ss --numeric --listening --tcp --udp
2021-10-28 23:41:15,277: DEBUG - ++ awk '{print$5}'
2021-10-28 23:41:15,278: DEBUG - ++ grep --quiet --extended-regexp ':8448$'
2021-10-28 23:41:15,302: DEBUG - ++ grep -q 'port: '\''8448'\''' /etc/yunohost/apps/calibreweb/settings.yml /etc/yunohost/apps/element/settings.yml /etc/yunohost/apps/hedgedoc/settings.yml /etc/yunohost/apps/hotspot/settings.yml /etc/yunohost/apps/keeweb/settings.yml /etc/yunohost/apps/lufi/settings.yml /etc/yunohost/apps/nextcloud/settings.yml /etc/yunohost/apps/opensondage/settings.yml /etc/yunohost/apps/roundcube/settings.yml /etc/yunohost/apps/searx/settings.yml /etc/yunohost/apps/snserver/settings.yml /etc/yunohost/apps/snweb/settings.yml /etc/yunohost/apps/synapse/settings.yml /etc/yunohost/apps/vpnclient/settings.yml /etc/yunohost/apps/zerobin/settings.yml
2021-10-28 23:41:15,309: DEBUG - ++ return 0
2021-10-28 23:41:15,309: DEBUG - ++ echo 8448
2021-10-28 23:41:15,310: DEBUG - + synapse_tls_port=8448
2021-10-28 23:41:15,313: DEBUG - ++ ynh_find_port --port=8008
2021-10-28 23:41:15,357: DEBUG - ++ test -n 8008
2021-10-28 23:41:15,358: DEBUG - ++ ynh_port_available --port=8008
2021-10-28 23:41:15,403: DEBUG - ++ ss --numeric --listening --tcp --udp
2021-10-28 23:41:15,404: DEBUG - ++ awk '{print$5}'
2021-10-28 23:41:15,405: DEBUG - ++ grep --quiet --extended-regexp ':8008$'
2021-10-28 23:41:15,427: DEBUG - ++ grep -q 'port: '\''8008'\''' /etc/yunohost/apps/calibreweb/settings.yml /etc/yunohost/apps/element/settings.yml /etc/yunohost/apps/hedgedoc/settings.yml /etc/yunohost/apps/hotspot/settings.yml /etc/yunohost/apps/keeweb/settings.yml /etc/yunohost/apps/lufi/settings.yml /etc/yunohost/apps/nextcloud/settings.yml /etc/yunohost/apps/opensondage/settings.yml /etc/yunohost/apps/roundcube/settings.yml /etc/yunohost/apps/searx/settings.yml /etc/yunohost/apps/snserver/settings.yml /etc/yunohost/apps/snweb/settings.yml /etc/yunohost/apps/synapse/settings.yml /etc/yunohost/apps/vpnclient/settings.yml /etc/yunohost/apps/zerobin/settings.yml
2021-10-28 23:41:15,434: DEBUG - ++ return 0
2021-10-28 23:41:15,434: DEBUG - ++ echo 8008
2021-10-28 23:41:15,435: DEBUG - + port=8008
2021-10-28 23:41:15,437: DEBUG - ++ ynh_find_port --port=5349
2021-10-28 23:41:15,482: DEBUG - ++ test -n 5349
2021-10-28 23:41:15,482: DEBUG - ++ ynh_port_available --port=5349
2021-10-28 23:41:15,527: DEBUG - ++ ss --numeric --listening --tcp --udp
2021-10-28 23:41:15,529: DEBUG - ++ awk '{print$5}'
2021-10-28 23:41:15,529: DEBUG - ++ grep --quiet --extended-regexp ':5349$'
2021-10-28 23:41:15,551: DEBUG - ++ grep -q 'port: '\''5349'\''' /etc/yunohost/apps/calibreweb/settings.yml /etc/yunohost/apps/element/settings.yml /etc/yunohost/apps/hedgedoc/settings.yml /etc/yunohost/apps/hotspot/settings.yml /etc/yunohost/apps/keeweb/settings.yml /etc/yunohost/apps/lufi/settings.yml /etc/yunohost/apps/nextcloud/settings.yml /etc/yunohost/apps/opensondage/settings.yml /etc/yunohost/apps/roundcube/settings.yml /etc/yunohost/apps/searx/settings.yml /etc/yunohost/apps/snserver/settings.yml /etc/yunohost/apps/snweb/settings.yml /etc/yunohost/apps/synapse/settings.yml /etc/yunohost/apps/vpnclient/settings.yml /etc/yunohost/apps/zerobin/settings.yml
2021-10-28 23:41:15,558: DEBUG - ++ return 0
2021-10-28 23:41:15,558: DEBUG - ++ echo 5349
2021-10-28 23:41:15,560: DEBUG - + turnserver_tls_port=5349
2021-10-28 23:41:15,562: DEBUG - ++ ynh_find_port --port=5350
2021-10-28 23:41:15,606: DEBUG - ++ test -n 5350
2021-10-28 23:41:15,606: DEBUG - ++ ynh_port_available --port=5350
2021-10-28 23:41:15,650: DEBUG - ++ ss --numeric --listening --tcp --udp
2021-10-28 23:41:15,651: DEBUG - ++ awk '{print$5}'
2021-10-28 23:41:15,652: DEBUG - ++ grep --quiet --extended-regexp ':5350$'
2021-10-28 23:41:15,675: DEBUG - ++ grep -q 'port: '\''5350'\''' /etc/yunohost/apps/calibreweb/settings.yml /etc/yunohost/apps/element/settings.yml /etc/yunohost/apps/hedgedoc/settings.yml /etc/yunohost/apps/hotspot/settings.yml /etc/yunohost/apps/keeweb/settings.yml /etc/yunohost/apps/lufi/settings.yml /etc/yunohost/apps/nextcloud/settings.yml /etc/yunohost/apps/opensondage/settings.yml /etc/yunohost/apps/roundcube/settings.yml /etc/yunohost/apps/searx/settings.yml /etc/yunohost/apps/snserver/settings.yml /etc/yunohost/apps/snweb/settings.yml /etc/yunohost/apps/synapse/settings.yml /etc/yunohost/apps/vpnclient/settings.yml /etc/yunohost/apps/zerobin/settings.yml
2021-10-28 23:41:15,681: DEBUG - ++ return 0
2021-10-28 23:41:15,682: DEBUG - ++ echo 5350
2021-10-28 23:41:15,683: DEBUG - + turnserver_alt_tls_port=5350
2021-10-28 23:41:15,685: DEBUG - ++ ynh_find_port --port=5766
2021-10-28 23:41:15,730: DEBUG - ++ test -n 5766
2021-10-28 23:41:15,731: DEBUG - ++ ynh_port_available --port=5766
2021-10-28 23:41:15,775: DEBUG - ++ ss --numeric --listening --tcp --udp
2021-10-28 23:41:15,776: DEBUG - ++ awk '{print$5}'
2021-10-28 23:41:15,778: DEBUG - ++ grep --quiet --extended-regexp ':5766$'
2021-10-28 23:41:15,799: DEBUG - ++ grep -q 'port: '\''5766'\''' /etc/yunohost/apps/calibreweb/settings.yml /etc/yunohost/apps/element/settings.yml /etc/yunohost/apps/hedgedoc/settings.yml /etc/yunohost/apps/hotspot/settings.yml /etc/yunohost/apps/keeweb/settings.yml /etc/yunohost/apps/lufi/settings.yml /etc/yunohost/apps/nextcloud/settings.yml /etc/yunohost/apps/opensondage/settings.yml /etc/yunohost/apps/roundcube/settings.yml /etc/yunohost/apps/searx/settings.yml /etc/yunohost/apps/snserver/settings.yml /etc/yunohost/apps/snweb/settings.yml /etc/yunohost/apps/synapse/settings.yml /etc/yunohost/apps/vpnclient/settings.yml /etc/yunohost/apps/zerobin/settings.yml
2021-10-28 23:41:15,806: DEBUG - ++ return 0
2021-10-28 23:41:15,806: DEBUG - ++ echo 5766
2021-10-28 23:41:15,807: DEBUG - + cli_port=5766
2021-10-28 23:41:15,808: DEBUG - + ynh_exec_warn_less yunohost firewall allow TCP 8448
2021-10-28 23:41:15,809: DEBUG - + eval yunohost firewall allow TCP 8448
2021-10-28 23:41:15,809: DEBUG - ++ yunohost firewall allow TCP 8448
2021-10-28 23:41:17,310: DEBUG - Firewall reloaded
2021-10-28 23:41:17,323: DEBUG - opened_ports:
2021-10-28 23:41:17,324: DEBUG -   - 22
2021-10-28 23:41:17,324: DEBUG -   - 25
2021-10-28 23:41:17,325: DEBUG -   - 53
2021-10-28 23:41:17,325: DEBUG -   - 67
2021-10-28 23:41:17,325: DEBUG -   - 80
2021-10-28 23:41:17,326: DEBUG -   - 443
2021-10-28 23:41:17,326: DEBUG -   - 547
2021-10-28 23:41:17,326: DEBUG -   - 587
2021-10-28 23:41:17,327: DEBUG -   - 993
2021-10-28 23:41:17,327: DEBUG -   - 5222
2021-10-28 23:41:17,328: DEBUG -   - 5269
2021-10-28 23:41:17,328: DEBUG -   - 5353
2021-10-28 23:41:17,329: DEBUG -   - 8448
2021-10-28 23:41:17,390: DEBUG - + ynh_exec_warn_less yunohost firewall allow Both 5349
2021-10-28 23:41:17,391: DEBUG - + eval yunohost firewall allow Both 5349
2021-10-28 23:41:17,391: DEBUG - ++ yunohost firewall allow Both 5349
2021-10-28 23:41:18,959: DEBUG - Firewall reloaded
2021-10-28 23:41:18,975: DEBUG - opened_ports:
2021-10-28 23:41:18,975: DEBUG -   - 22
2021-10-28 23:41:18,975: DEBUG -   - 25
2021-10-28 23:41:18,976: DEBUG -   - 53
2021-10-28 23:41:18,976: DEBUG -   - 67
2021-10-28 23:41:18,976: DEBUG -   - 80
2021-10-28 23:41:18,976: DEBUG -   - 443
2021-10-28 23:41:18,977: DEBUG -   - 547
2021-10-28 23:41:18,977: DEBUG -   - 587
2021-10-28 23:41:18,977: DEBUG -   - 993
2021-10-28 23:41:18,977: DEBUG -   - 5222
2021-10-28 23:41:18,978: DEBUG -   - 5269
2021-10-28 23:41:18,978: DEBUG -   - 5349
2021-10-28 23:41:18,978: DEBUG -   - 5353
2021-10-28 23:41:18,978: DEBUG -   - 8448
2021-10-28 23:41:19,045: DEBUG - + ynh_exec_warn_less yunohost firewall allow Both 5350
2021-10-28 23:41:19,046: DEBUG - + eval yunohost firewall allow Both 5350
2021-10-28 23:41:19,046: DEBUG - ++ yunohost firewall allow Both 5350
2021-10-28 23:41:20,685: DEBUG - Firewall reloaded
2021-10-28 23:41:20,700: DEBUG - opened_ports:
2021-10-28 23:41:20,701: DEBUG -   - 22
2021-10-28 23:41:20,701: DEBUG -   - 25
2021-10-28 23:41:20,702: DEBUG -   - 53
2021-10-28 23:41:20,702: DEBUG -   - 67
2021-10-28 23:41:20,702: DEBUG -   - 80
2021-10-28 23:41:20,703: DEBUG -   - 443
2021-10-28 23:41:20,703: DEBUG -   - 547
2021-10-28 23:41:20,703: DEBUG -   - 587
2021-10-28 23:41:20,704: DEBUG -   - 993
2021-10-28 23:41:20,704: DEBUG -   - 5222
2021-10-28 23:41:20,705: DEBUG -   - 5269
2021-10-28 23:41:20,706: DEBUG -   - 5349
2021-10-28 23:41:20,706: DEBUG -   - 5350
2021-10-28 23:41:20,707: DEBUG -   - 5353
2021-10-28 23:41:20,708: DEBUG -   - 8448
2021-10-28 23:41:20,767: DEBUG - + ynh_app_setting_set --app=synapse --key=synapse_port --value=8008
2021-10-28 23:41:20,962: DEBUG - + [[ synapse_port =~ (unprotected|protected|skipped)_ ]]
2021-10-28 23:41:20,963: DEBUG - + ynh_app_setting set synapse synapse_port 8008
2021-10-28 23:41:21,094: DEBUG - + ynh_app_setting_set --app=synapse --key=synapse_tls_port --value=8448
2021-10-28 23:41:21,277: DEBUG - + [[ synapse_tls_port =~ (unprotected|protected|skipped)_ ]]
2021-10-28 23:41:21,278: DEBUG - + ynh_app_setting set synapse synapse_tls_port 8448
2021-10-28 23:41:21,410: DEBUG - + ynh_app_setting_set --app=synapse --key=turnserver_tls_port --value=5349
2021-10-28 23:41:21,596: DEBUG - + [[ turnserver_tls_port =~ (unprotected|protected|skipped)_ ]]
2021-10-28 23:41:21,597: DEBUG - + ynh_app_setting set synapse turnserver_tls_port 5349
2021-10-28 23:41:21,729: DEBUG - + ynh_app_setting_set --app=synapse --key=turnserver_alt_tls_port --value=5350
2021-10-28 23:41:21,914: DEBUG - + [[ turnserver_alt_tls_port =~ (unprotected|protected|skipped)_ ]]
2021-10-28 23:41:21,915: DEBUG - + ynh_app_setting set synapse turnserver_alt_tls_port 5350
2021-10-28 23:41:22,047: DEBUG - + ynh_app_setting_set --app=synapse --key=cli_port --value=5766
2021-10-28 23:41:22,237: DEBUG - + [[ cli_port =~ (unprotected|protected|skipped)_ ]]
2021-10-28 23:41:22,237: DEBUG - + ynh_app_setting set synapse cli_port 5766
2021-10-28 23:41:22,651: INFO - [##..................] > Creating a dh file...
2021-10-28 23:41:22,654: DEBUG - + echo '[##..................] > Creating a dh file...'
2021-10-28 23:41:22,655: DEBUG - + '[' '!' -e /etc/ssl/private/dh2048.pem ']'
2021-10-28 23:41:22,987: INFO - [##++++++++..........] > Installing dependencies...
2021-10-28 23:41:22,989: DEBUG - + echo '[##++++++++..........] > Installing dependencies...'
2021-10-28 23:41:22,991: 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
2021-10-28 23:41:22,991: 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'
2021-10-28 23:41:22,993: 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'
2021-10-28 23:41:22,995: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2021-10-28 23:41:23,005: 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'
2021-10-28 23:41:23,006: 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'
2021-10-28 23:41:23,006: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_knoa36zf/manifest.json
2021-10-28 23:41:23,008: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_knoa36zf/manifest.json
2021-10-28 23:41:23,022: DEBUG - + local version=1.42.0~ynh1
2021-10-28 23:41:23,023: DEBUG - + '[' -z 1.42.0~ynh1 ']'
2021-10-28 23:41:23,024: DEBUG - + '[' 1.42.0~ynh1 == null ']'
2021-10-28 23:41:23,025: DEBUG - + local dep_app=synapse
2021-10-28 23:41:23,025: 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 =~ [<=>] ]]
2021-10-28 23:41:23,026: 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
2021-10-28 23:41:23,027: DEBUG - + grep --quiet php
2021-10-28 23:41:23,032: DEBUG - + cat
2021-10-28 23:41:23,039: DEBUG - + ynh_package_install_from_equivs /tmp/synapse-ynh-deps.control
2021-10-28 23:41:23,040: DEBUG - + local controlfile=/tmp/synapse-ynh-deps.control
2021-10-28 23:41:23,045: DEBUG - ++ grep '^Package: ' /tmp/synapse-ynh-deps.control
2021-10-28 23:41:23,046: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-10-28 23:41:23,054: DEBUG - + local pkgname=synapse-ynh-deps
2021-10-28 23:41:23,058: DEBUG - ++ grep '^Version: ' /tmp/synapse-ynh-deps.control
2021-10-28 23:41:23,060: DEBUG - ++ cut '--delimiter= ' --fields=2
2021-10-28 23:41:23,069: DEBUG - + local pkgversion=1.42.0~ynh1
2021-10-28 23:41:23,070: DEBUG - + [[ -z synapse-ynh-deps ]]
2021-10-28 23:41:23,070: DEBUG - + [[ -z 1.42.0~ynh1 ]]
2021-10-28 23:41:23,070: DEBUG - + ynh_package_update
2021-10-28 23:41:23,071: DEBUG - + ynh_apt update
2021-10-28 23:41:23,071: DEBUG - + ynh_wait_dpkg_free
2021-10-28 23:41:23,628: DEBUG - + return 0
2021-10-28 23:41:23,629: DEBUG - + LC_ALL=C
2021-10-28 23:41:23,629: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-10-28 23:41:23,630: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2021-10-28 23:41:23,844: DEBUG - Hit:1 http://archive.raspberrypi.org/debian buster InRelease
2021-10-28 23:41:23,844: DEBUG - Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
2021-10-28 23:41:23,845: DEBUG - Hit:3 http://forge.yunohost.org/debian buster InRelease
2021-10-28 23:41:27,563: DEBUG - Reading package lists...
2021-10-28 23:41:27,668: DEBUG - ++ mktemp --directory
2021-10-28 23:41:27,673: DEBUG - + local TMPDIR=/tmp/tmp.koGjufo4xk
2021-10-28 23:41:27,673: DEBUG - + echo 10
2021-10-28 23:41:27,674: DEBUG - + ynh_wait_dpkg_free
2021-10-28 23:41:28,140: DEBUG - + return 0
2021-10-28 23:41:28,141: DEBUG - + cp /tmp/synapse-ynh-deps.control /tmp/tmp.koGjufo4xk/control
2021-10-28 23:41:28,148: DEBUG - + cd /tmp/tmp.koGjufo4xk
2021-10-28 23:41:28,149: DEBUG - + LC_ALL=C
2021-10-28 23:41:28,149: DEBUG - + equivs-build ./control
2021-10-28 23:41:31,390: DEBUG - + LC_ALL=C
2021-10-28 23:41:31,391: DEBUG - + dpkg --force-depends --install ./synapse-ynh-deps_1.42.0~ynh1_all.deb
2021-10-28 23:41:31,391: DEBUG - + tee ./dpkg_log
2021-10-28 23:41:31,466: DEBUG - dpkg: unrecoverable fatal error, aborting:
2021-10-28 23:41:31,467: DEBUG -  unknown system group 'turnserver' in statoverride file; the system group got removed
2021-10-28 23:41:31,468: DEBUG - before the override, which is most probably a packaging bug, to recover you
2021-10-28 23:41:31,468: DEBUG - can remove the override manually with dpkg-statoverride
2021-10-28 23:41:31,472: DEBUG - + ynh_package_install --fix-broken
2021-10-28 23:41:31,473: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-10-28 23:41:31,473: DEBUG - + ynh_wait_dpkg_free
2021-10-28 23:41:32,009: DEBUG - + return 0
2021-10-28 23:41:32,010: DEBUG - + LC_ALL=C
2021-10-28 23:41:32,010: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-10-28 23:41:32,011: 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
2021-10-28 23:41:32,085: DEBUG - Reading package lists...
2021-10-28 23:41:32,551: DEBUG - Building dependency tree...
2021-10-28 23:41:32,554: DEBUG - Reading state information...
2021-10-28 23:41:33,441: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.
2021-10-28 23:41:33,443: DEBUG - + [[ -n /tmp/tmp.koGjufo4xk ]]
2021-10-28 23:41:33,443: DEBUG - + rm --recursive --force /tmp/tmp.koGjufo4xk
2021-10-28 23:41:33,446: DEBUG - + ynh_package_is_installed synapse-ynh-deps
2021-10-28 23:41:33,476: DEBUG - + ynh_wait_dpkg_free
2021-10-28 23:41:33,970: DEBUG - + return 0
2021-10-28 23:41:33,972: DEBUG - + dpkg-query --show '--showformat=${Status}' synapse-ynh-deps
2021-10-28 23:41:33,973: DEBUG - + grep --count 'ok installed'
2021-10-28 23:41:34,021: DEBUG - + ynh_die '--message=Unable to install dependencies'
2021-10-28 23:41:34,074: WARNING - Unable to install dependencies
2021-10-28 23:41:34,076: DEBUG - + ret_code=1
2021-10-28 23:41:34,076: DEBUG - + echo 'Unable to install dependencies'
2021-10-28 23:41:34,077: DEBUG - + exit 1
2021-10-28 23:41:34,077: DEBUG - + ynh_exit_properly
2021-10-28 23:41:34,077: DEBUG - + local exit_code=1
2021-10-28 23:41:34,078: DEBUG - + rm -rf /var/cache/yunohost/download/
2021-10-28 23:41:34,078: DEBUG - + '[' 1 -eq 0 ']'
2021-10-28 23:41:34,079: DEBUG - + trap '' EXIT
2021-10-28 23:41:34,079: DEBUG - + set +o errexit
2021-10-28 23:41:34,080: DEBUG - + set +o nounset
2021-10-28 23:41:34,080: DEBUG - + sleep 0.5
2021-10-28 23:41:34,585: DEBUG - + type -t ynh_clean_setup
2021-10-28 23:41:34,586: DEBUG - + ynh_clean_setup
2021-10-28 23:41:34,586: DEBUG - + ynh_clean_check_starting
2021-10-28 23:41:34,587: DEBUG - + '[' -n '' ']'
2021-10-28 23:41:34,587: DEBUG - + '[' -n '' ']'
2021-10-28 23:41:34,588: DEBUG - + exit 1
2021-10-28 23:41:35,591: ERROR - Impossible d’installer synapse : Une erreur est survenue dans le script d’installation de l’application


Mon serveur YunoHost

Matériel: Raspberry Pi à la maison
Version de YunoHost: 4.2.8.3 (stable)
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

Bonjour à tous,

j’essaie d’installer Synpase sur mon RPi4/Yunohost.
Malheureusement je reviens toujours avec un message d’erreur et une installation impossible. Cf log d’installation plus haut.
Essayé via la page d’administration et par les commandes en ligne.

Merci d’avance pour votre aide.

dpkg: unrecoverable fatal error, aborting:
unknown system group 'turnserver' in statoverride file; the system group got removed
before the override, which is most probably a packaging bug, to recover you
can remove the override manually with dpkg-statoverride

zblerg … could it be that you installed some stun/turnserver before installing synapse maybe ? Don’t know why that would not be good, but somehow could be related

Thx @Aleks for pointing this. I don’t know where this came from, but delting the reference in the statoverride file did the trick: sudo sed -i '/turnserver/d' /var/lib/dpkg/statoverride .

Same message with unknown groupor user in statoverride file should lead to the same solution, if that can be of any help in the future.

All good now. Closing.

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