What app is this about, and its version: Synapse 1.128.0~ynh1
What YunoHost version are you running: 12.1.35 (stable)
What type of hardware are you using: Old laptop or computer
Describe your issue
After struggling to install it properly (tried to install it several time but I suspect I broke it by trying to install the whatsapp bridge), I’ve been quiet happy with Synapse but now it won’t update. I’m still testing it so far so I can uninstall again but I’d like to try and learn a bit.
Any thoughts ?
Many thanks in advance.
Share relevant logs or error messages
env:
YNH_APP_ACTION: upgrade
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_aw45vhbj
YNH_APP_CURRENT_VERSION: 1.128.0~ynh1
YNH_APP_ID: synapse
YNH_APP_INSTANCE_NAME: synapse
YNH_APP_INSTANCE_NUMBER: '1'
YNH_APP_MANIFEST_VERSION: 1.141.0~ynh1
YNH_APP_PACKAGING_FORMAT: '2.0'
YNH_APP_UPGRADE_TYPE: UPGRADE_APP
YNH_ARCH: amd64
YNH_DEBIAN_VERSION: bookworm
YNH_DEFAULT_PHP_VERSION: '8.2'
YNH_HELPERS_VERSION: '2.1'
error: An error occurred inside the app upgrade script
interface: api
operation: app_upgrade
parent: null
related_to:
- - app
- synapse
started_at: 2025-11-19 18:20:24.076325
started_by: ******
success: false
yunohost_version: 12.1.35
============
2025-11-19 19:20:25,106: INFO - Updating sources...
2025-11-19 19:20:25,106: DEBUG - Prefetching asset lk_jwt: https://github.com/element-hq/lk-jwt-service/archive/refs/tags/v0.3.0.tar.gz ...
2025-11-19 19:20:25,767: DEBUG - Prefetching asset livekit: https://github.com/livekit/livekit/releases/download/v1.9.2/livekit_1.9.2_linux_amd64.tar.gz ...
2025-11-19 19:20:27,859: INFO - Updating system_user...
2025-11-19 19:20:28,971: INFO - Updating install_dir...
2025-11-19 19:20:28,989: INFO - Updating data_dir...
2025-11-19 19:20:29,004: INFO - Updating permissions...
2025-11-19 19:20:29,021: DEBUG - Permission 'synapse.main' updated
2025-11-19 19:20:29,029: DEBUG - Permission 'synapse.main' updated
2025-11-19 19:20:29,053: DEBUG - Permission 'synapse.server_api' updated
2025-11-19 19:20:29,060: DEBUG - Permission 'synapse.server_api' updated
2025-11-19 19:20:29,084: DEBUG - Permission 'synapse.admin_api' updated
2025-11-19 19:20:29,091: DEBUG - Permission 'synapse.admin_api' updated
2025-11-19 19:20:29,107: DEBUG - Permission 'synapse.server_client_infos' updated
2025-11-19 19:20:29,131: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./50-calibreweb" synapse \'\' server_client_infos visitors 7>&1']'
2025-11-19 19:20:29,144: DEBUG - + source /usr/share/yunohost/helpers
2025-11-19 19:20:29,144: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2025-11-19 19:20:29,145: DEBUG - +++ cd -- /usr/share/yunohost
2025-11-19 19:20:29,145: DEBUG - +++ pwd
2025-11-19 19:20:29,146: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2025-11-19 19:20:29,146: DEBUG - ++ YNH_HELPERS_VERSION=1
2025-11-19 19:20:29,147: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2025-11-19 19:20:29,147: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2025-11-19 19:20:29,169: DEBUG - + app_trigger=synapse
2025-11-19 19:20:29,169: DEBUG - + users=
2025-11-19 19:20:29,169: DEBUG - + permission=server_client_infos
2025-11-19 19:20:29,170: DEBUG - + group=visitors
2025-11-19 19:20:29,170: DEBUG - ++ echo visitors
2025-11-19 19:20:29,170: DEBUG - ++ grep visitors
2025-11-19 19:20:29,171: DEBUG - + '[' visitors ']'
2025-11-19 19:20:29,171: DEBUG - + '[' server_client_infos = main ']'
2025-11-19 19:20:29,272: DEBUG - Permission 'synapse.server_client_infos' created
2025-11-19 19:20:29,290: DEBUG - Permission 'synapse.server_client_infos' updated
2025-11-19 19:20:29,298: DEBUG - Permission 'synapse.server_client_infos' updated
2025-11-19 19:20:29,319: DEBUG - Permission 'synapse.livekit' updated
2025-11-19 19:20:29,346: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./50-calibreweb" synapse \'\' livekit visitors 7>&1']'
2025-11-19 19:20:29,357: DEBUG - + source /usr/share/yunohost/helpers
2025-11-19 19:20:29,358: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2025-11-19 19:20:29,358: DEBUG - +++ cd -- /usr/share/yunohost
2025-11-19 19:20:29,359: DEBUG - +++ pwd
2025-11-19 19:20:29,359: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2025-11-19 19:20:29,359: DEBUG - ++ YNH_HELPERS_VERSION=1
2025-11-19 19:20:29,360: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2025-11-19 19:20:29,360: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2025-11-19 19:20:29,383: DEBUG - + app_trigger=synapse
2025-11-19 19:20:29,383: DEBUG - + users=
2025-11-19 19:20:29,383: DEBUG - + permission=livekit
2025-11-19 19:20:29,383: DEBUG - + group=visitors
2025-11-19 19:20:29,384: DEBUG - ++ echo visitors
2025-11-19 19:20:29,384: DEBUG - ++ grep visitors
2025-11-19 19:20:29,384: DEBUG - + '[' visitors ']'
2025-11-19 19:20:29,384: DEBUG - + '[' livekit = main ']'
2025-11-19 19:20:29,486: DEBUG - Permission 'synapse.livekit' created
2025-11-19 19:20:29,505: DEBUG - Permission 'synapse.livekit' updated
2025-11-19 19:20:29,513: DEBUG - Permission 'synapse.livekit' updated
2025-11-19 19:20:29,637: DEBUG - Creating LDAP perm synapse.livekit
2025-11-19 19:20:29,663: DEBUG - Creating LDAP perm synapse.server_client_infos
2025-11-19 19:20:29,666: DEBUG - Permissions were resynchronized to LDAP
2025-11-19 19:20:29,697: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:29,698: DEBUG - SSO and portal configurations regenerated
2025-11-19 19:20:29,698: INFO - Updating ports...
2025-11-19 19:20:29,961: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:29,993: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,025: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,058: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,090: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,123: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,154: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,186: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,217: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,249: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,280: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,312: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,349: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,380: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,411: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,444: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,475: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,507: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,538: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,569: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,601: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,632: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,664: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,696: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,727: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,759: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,790: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,822: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,853: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,885: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,916: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,949: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:30,982: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,016: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,049: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,085: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,117: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,150: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,181: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,212: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,244: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,276: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,307: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,339: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,370: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,402: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,433: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,471: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,502: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,534: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,565: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,597: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,628: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,660: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,691: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,722: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,754: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,785: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,817: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,849: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,880: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,912: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,943: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:31,975: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:32,006: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:32,038: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:32,070: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:32,101: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:32,132: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:32,164: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:32,182: DEBUG - Formating result in 'export' mode
2025-11-19 19:20:32,185: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./40-nftables" pre \'\' \'\' /var/cache/yunohost/regenconf/pending/nftables 7>&1']'
2025-11-19 19:20:32,202: DEBUG - + set -e
2025-11-19 19:20:32,203: DEBUG - + source /usr/share/yunohost/helpers
2025-11-19 19:20:32,203: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2025-11-19 19:20:32,204: DEBUG - +++ cd -- /usr/share/yunohost
2025-11-19 19:20:32,204: DEBUG - +++ pwd
2025-11-19 19:20:32,204: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2025-11-19 19:20:32,205: DEBUG - ++ YNH_HELPERS_VERSION=2
2025-11-19 19:20:32,206: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2025-11-19 19:20:32,206: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2025-11-19 19:20:32,226: DEBUG - + PY_LIST_PORTS_OF='
2025-11-19 19:20:32,227: DEBUG - import os
2025-11-19 19:20:32,227: DEBUG - import yaml
2025-11-19 19:20:32,227: DEBUG - file = os.environ['\''FILE'\'']
2025-11-19 19:20:32,228: DEBUG - proto = os.environ['\''PROTO'\'']
2025-11-19 19:20:32,228: DEBUG - data = yaml.safe_load(open(file, '\''r'\''))
2025-11-19 19:20:32,228: DEBUG - ports = [str(port) for port, info in data.get(proto, {}).items() if info['\''open'\'']]
2025-11-19 19:20:32,228: DEBUG - # Sane fallback in case for reason we cant find any TCP port opened which probably indicates there'\''s an issue with the file, we don'\''t want the server to just drop all the traffic
2025-11-19 19:20:32,229: DEBUG - if not ports and proto == '\''TCP'\'':
2025-11-19 19:20:32,229: DEBUG - ports = [22, 80, 443]
2025-11-19 19:20:32,229: DEBUG - print('\'' '\''.join(ports))
2025-11-19 19:20:32,229: DEBUG - '
2025-11-19 19:20:32,230: DEBUG - ++ echo ' /var/cache/yunohost/regenconf/pending/nftables'
2025-11-19 19:20:32,230: DEBUG - ++ xargs
2025-11-19 19:20:32,230: DEBUG - + do_pre_regen /var/cache/yunohost/regenconf/pending/nftables
2025-11-19 19:20:32,231: DEBUG - + pending_dir=/var/cache/yunohost/regenconf/pending/nftables
2025-11-19 19:20:32,231: DEBUG - + firewall_file=/etc/yunohost/firewall.yml
2025-11-19 19:20:32,231: DEBUG - ++ FILE=/etc/yunohost/firewall.yml
2025-11-19 19:20:32,231: DEBUG - ++ PROTO=tcp
2025-11-19 19:20:32,232: DEBUG - ++ python3 -c '
2025-11-19 19:20:32,232: DEBUG - import os
2025-11-19 19:20:32,232: DEBUG - import yaml
2025-11-19 19:20:32,232: DEBUG - file = os.environ['\''FILE'\'']
2025-11-19 19:20:32,233: DEBUG - proto = os.environ['\''PROTO'\'']
2025-11-19 19:20:32,233: DEBUG - data = yaml.safe_load(open(file, '\''r'\''))
2025-11-19 19:20:32,233: DEBUG - ports = [str(port) for port, info in data.get(proto, {}).items() if info['\''open'\'']]
2025-11-19 19:20:32,233: DEBUG - # Sane fallback in case for reason we cant find any TCP port opened which probably indicates there'\''s an issue with the file, we don'\''t want the server to just drop all the traffic
2025-11-19 19:20:32,234: DEBUG - if not ports and proto == '\''TCP'\'':
2025-11-19 19:20:32,234: DEBUG - ports = [22, 80, 443]
2025-11-19 19:20:32,234: DEBUG - print('\'' '\''.join(ports))
2025-11-19 19:20:32,234: DEBUG - '
2025-11-19 19:20:32,274: DEBUG - + tcp_ports='22 25 53 80 443 587 993 5222 5269 5349 5350 7881 8448 9091 51413'
2025-11-19 19:20:32,275: DEBUG - ++ FILE=/etc/yunohost/firewall.yml
2025-11-19 19:20:32,275: DEBUG - ++ PROTO=udp
2025-11-19 19:20:32,275: DEBUG - ++ python3 -c '
2025-11-19 19:20:32,276: DEBUG - import os
2025-11-19 19:20:32,276: DEBUG - import yaml
2025-11-19 19:20:32,276: DEBUG - file = os.environ['\''FILE'\'']
2025-11-19 19:20:32,277: DEBUG - proto = os.environ['\''PROTO'\'']
2025-11-19 19:20:32,277: DEBUG - data = yaml.safe_load(open(file, '\''r'\''))
2025-11-19 19:20:32,277: DEBUG - ports = [str(port) for port, info in data.get(proto, {}).items() if info['\''open'\'']]
2025-11-19 19:20:32,278: DEBUG - # Sane fallback in case for reason we cant find any TCP port opened which probably indicates there'\''s an issue with the file, we don'\''t want the server to just drop all the traffic
2025-11-19 19:20:32,278: DEBUG - if not ports and proto == '\''TCP'\'':
2025-11-19 19:20:32,278: DEBUG - ports = [22, 80, 443]
2025-11-19 19:20:32,278: DEBUG - print('\'' '\''.join(ports))
2025-11-19 19:20:32,279: DEBUG - '
2025-11-19 19:20:32,319: DEBUG - + udp_ports='53 5349 5350 5353 7359 51413'
2025-11-19 19:20:32,320: DEBUG - + export tcp_ports udp_ports
2025-11-19 19:20:32,320: DEBUG - + cd /usr/share/yunohost/conf/nftables
2025-11-19 19:20:32,320: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/nftables/etc/nftables.d
2025-11-19 19:20:32,321: DEBUG - + cp nftables.conf /var/cache/yunohost/regenconf/pending/nftables/etc/nftables.conf
2025-11-19 19:20:32,322: DEBUG - + ynh_render_template nftables.d/yunohost-firewall.tpl.conf /var/cache/yunohost/regenconf/pending/nftables/etc/nftables.d/yunohost-firewall.conf
2025-11-19 19:20:32,323: DEBUG - + local template_path=nftables.d/yunohost-firewall.tpl.conf
2025-11-19 19:20:32,323: DEBUG - + local output_path=/var/cache/yunohost/regenconf/pending/nftables/etc/nftables.d/yunohost-firewall.conf
2025-11-19 19:20:32,323: DEBUG - ++ dirname /var/cache/yunohost/regenconf/pending/nftables/etc/nftables.d/yunohost-firewall.conf
2025-11-19 19:20:32,324: DEBUG - + mkdir -p /var/cache/yunohost/regenconf/pending/nftables/etc/nftables.d
2025-11-19 19:20:32,325: DEBUG - + python3 -c 'import os, sys, jinja2; sys.stdout.write(
2025-11-19 19:20:32,325: DEBUG - jinja2.Template(sys.stdin.read()
2025-11-19 19:20:32,326: DEBUG - ).render(os.environ));'
2025-11-19 19:20:32,427: DEBUG - Checking pending configuration which would have been applied for category 'nftables'…
2025-11-19 19:20:32,448: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nftables/etc/nftables.conf' to system conf '/etc/nftables.conf'
2025-11-19 19:20:32,449: DEBUG - > system conf is already up-to-date
2025-11-19 19:20:32,449: DEBUG - processing pending conf '/var/cache/yunohost/regenconf/pending/nftables/etc/nftables.d/yunohost-firewall.conf' to system conf '/etc/nftables.d/yunohost-firewall.conf'
2025-11-19 19:20:32,449: DEBUG - Configuration file '/etc/nftables.d/yunohost-firewall.conf' backed up to '/var/cache/yunohost/regenconf/backup/etc/nftables.d/yunohost-firewall.conf-20251119.182032'
2025-11-19 19:20:32,450: DEBUG - Configuration file '/etc/nftables.d/yunohost-firewall.conf' updated
2025-11-19 19:20:32,450: SUCCESS - Configuration updated for 'nftables'
2025-11-19 19:20:32,450: DEBUG - updating conf hashes for 'nftables' with: {'/etc/nftables.conf': 'c07e67701b1cd52ebd1216b573186d2f', '/etc/nftables.d/yunohost-firewall.conf': 'a6ce1935ce0e28ed6a698bdfd9d7acba'}
2025-11-19 19:20:32,487: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./40-nftables" post \'\' \'\' /etc/nftables.d/yunohost-firewall.conf 7>&1']'
2025-11-19 19:20:32,498: DEBUG - + set -e
2025-11-19 19:20:32,499: DEBUG - + source /usr/share/yunohost/helpers
2025-11-19 19:20:32,499: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2025-11-19 19:20:32,500: DEBUG - +++ cd -- /usr/share/yunohost
2025-11-19 19:20:32,500: DEBUG - +++ pwd
2025-11-19 19:20:32,500: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2025-11-19 19:20:32,500: DEBUG - ++ YNH_HELPERS_VERSION=2
2025-11-19 19:20:32,502: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2025-11-19 19:20:32,502: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2025-11-19 19:20:32,522: DEBUG - + PY_LIST_PORTS_OF='
2025-11-19 19:20:32,523: DEBUG - import os
2025-11-19 19:20:32,523: DEBUG - import yaml
2025-11-19 19:20:32,524: DEBUG - file = os.environ['\''FILE'\'']
2025-11-19 19:20:32,524: DEBUG - proto = os.environ['\''PROTO'\'']
2025-11-19 19:20:32,524: DEBUG - data = yaml.safe_load(open(file, '\''r'\''))
2025-11-19 19:20:32,524: DEBUG - ports = [str(port) for port, info in data.get(proto, {}).items() if info['\''open'\'']]
2025-11-19 19:20:32,525: DEBUG - # Sane fallback in case for reason we cant find any TCP port opened which probably indicates there'\''s an issue with the file, we don'\''t want the server to just drop all the traffic
2025-11-19 19:20:32,525: DEBUG - if not ports and proto == '\''TCP'\'':
2025-11-19 19:20:32,525: DEBUG - ports = [22, 80, 443]
2025-11-19 19:20:32,526: DEBUG - print('\'' '\''.join(ports))
2025-11-19 19:20:32,526: DEBUG - '
2025-11-19 19:20:32,526: DEBUG - ++ echo ' /etc/nftables.d/yunohost-firewall.conf'
2025-11-19 19:20:32,526: DEBUG - ++ xargs
2025-11-19 19:20:32,527: DEBUG - + do_post_regen /etc/nftables.d/yunohost-firewall.conf
2025-11-19 19:20:32,527: DEBUG - + regen_conf_files=/etc/nftables.d/yunohost-firewall.conf
2025-11-19 19:20:32,527: DEBUG - + ls -l /etc/nftables.d/yunohost-firewall.conf
2025-11-19 19:20:32,528: DEBUG - + chown root:root /etc/nftables.d/yunohost-firewall.conf
2025-11-19 19:20:32,531: DEBUG - + chmod 644 /etc/nftables.d/yunohost-firewall.conf
2025-11-19 19:20:32,532: DEBUG - + [[ -z /etc/nftables.d/yunohost-firewall.conf ]]
2025-11-19 19:20:32,532: DEBUG - + systemctl restart nftables
2025-11-19 19:20:33,841: DEBUG - Full log of this operation: '<a href="#/tools/logs/20251119-182029-regen_conf-nftables" style="text-decoration:underline">Regenerate system configurations 'nftables'</a>'
2025-11-19 19:20:33,854: INFO - Updating apt...
2025-11-19 19:20:33,860: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./provision_or_update_apt" 7>&1']'
2025-11-19 19:20:33,871: DEBUG - + source /usr/share/yunohost/helpers
2025-11-19 19:20:33,872: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2025-11-19 19:20:33,872: DEBUG - +++ cd -- /usr/share/yunohost
2025-11-19 19:20:33,873: DEBUG - +++ pwd
2025-11-19 19:20:33,873: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2025-11-19 19:20:33,873: DEBUG - ++ YNH_HELPERS_VERSION=2.1
2025-11-19 19:20:33,874: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2025-11-19 19:20:33,875: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2025-11-19 19:20:33,887: DEBUG - + ynh_abort_if_errors
2025-11-19 19:20:33,889: DEBUG - + trap ynh_exit_properly EXIT
2025-11-19 19:20:33,889: DEBUG - + ynh_apt_install_dependencies coturn acl postgresql php8.3-fpm python3-dev python3-venv python3-pip python3-setuptools python3-lxml build-essential libffi-dev libssl-dev libxml2-dev libxslt1-dev zlib1g-dev libjpeg-dev libpq-dev
2025-11-19 19:20:33,889: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2025-11-19 19:20:33,890: DEBUG - ++ sed 's/|/ | /'
2025-11-19 19:20:33,890: DEBUG - + local 'dependencies=coturn, acl, postgresql, php8.3-fpm, python3-dev, python3-venv, python3-pip, python3-setuptools, python3-lxml, build-essential, libffi-dev, libssl-dev, libxml2-dev, libxslt1-dev, zlib1g-dev, libjpeg-dev, libpq-dev'
2025-11-19 19:20:33,890: DEBUG - ++ ynh_read_manifest version
2025-11-19 19:20:33,891: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_aw45vhbj/manifest.toml
2025-11-19 19:20:33,891: DEBUG - ++ toml_to_json
2025-11-19 19:20:33,891: DEBUG - ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2025-11-19 19:20:33,892: DEBUG - ++ jq .version --raw-output
2025-11-19 19:20:33,928: DEBUG - + local version=1.141.0~ynh1
2025-11-19 19:20:33,928: DEBUG - + local app_ynh_deps=synapse-ynh-deps
2025-11-19 19:20:33,929: DEBUG - + grep '[<=>]'
2025-11-19 19:20:33,930: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>|)'
2025-11-19 19:20:33,930: DEBUG - ++ sort -u
2025-11-19 19:20:33,931: DEBUG - + local specific_php_version=8.3
2025-11-19 19:20:33,932: DEBUG - + [[ -n 8.3 ]]
2025-11-19 19:20:33,932: DEBUG - ++ echo 8.3
2025-11-19 19:20:33,932: DEBUG - ++ wc -l
2025-11-19 19:20:33,933: DEBUG - + [[ 1 -eq 1 ]]
2025-11-19 19:20:33,933: DEBUG - + dependencies+=', php8.3, php8.3-fpm, php8.3-common'
2025-11-19 19:20:33,934: DEBUG - ++ ynh_app_setting_get --key=php_version
2025-11-19 19:20:33,996: DEBUG - + local old_php_version=8.3
2025-11-19 19:20:33,997: DEBUG - + '[' -n 8.3 ']'
2025-11-19 19:20:33,997: DEBUG - + '[' 8.3 '!=' 8.3 ']'
2025-11-19 19:20:33,997: DEBUG - + ynh_app_setting_set --key=php_version --value=8.3
2025-11-19 19:20:34,084: DEBUG - + test -e /usr/bin/php8.2
2025-11-19 19:20:34,084: DEBUG - + update-alternatives --set php /usr/bin/php8.2
2025-11-19 19:20:34,086: DEBUG - ++ _ynh_apt_package_is_installed postgresql-15
2025-11-19 19:20:34,086: DEBUG - ++ local package=postgresql-15
2025-11-19 19:20:34,086: DEBUG - ++ dpkg-query --show '--showformat=${db:Status-Status}' postgresql-15
2025-11-19 19:20:34,087: DEBUG - ++ grep --quiet '^installed$'
2025-11-19 19:20:34,102: DEBUG - ++ echo yes
2025-11-19 19:20:34,102: DEBUG - + local psql_installed=yes
2025-11-19 19:20:34,103: DEBUG - + [[ true == \t\r\u\e ]]
2025-11-19 19:20:34,103: DEBUG - + YNH_APT_INSTALL_DEPENDENCIES_REPLACE=false
2025-11-19 19:20:34,103: DEBUG - ++ mktemp --directory
2025-11-19 19:20:34,104: DEBUG - + local TMPDIR=/tmp/tmp.YYiASzeTbN
2025-11-19 19:20:34,104: DEBUG - + mkdir -p /tmp/tmp.YYiASzeTbN/synapse-ynh-deps/DEBIAN
2025-11-19 19:20:34,105: DEBUG - + chmod -R 755 /tmp/tmp.YYiASzeTbN/synapse-ynh-deps
2025-11-19 19:20:34,106: DEBUG - + cat
2025-11-19 19:20:34,107: DEBUG - + _ynh_apt update
2025-11-19 19:20:34,107: DEBUG - + [[ update == \u\p\d\a\t\e ]]
2025-11-19 19:20:34,107: DEBUG - + local aptcache=/var/cache/apt/pkgcache.bin
2025-11-19 19:20:34,108: DEBUG - + sleep 1
2025-11-19 19:20:35,108: DEBUG - + [[ -e /var/cache/apt/pkgcache.bin ]]
2025-11-19 19:20:35,109: DEBUG - ++ find /var/cache/apt/pkgcache.bin -mmin -30
2025-11-19 19:20:35,110: DEBUG - + [[ -n /var/cache/apt/pkgcache.bin ]]
2025-11-19 19:20:35,111: DEBUG - ++ find /etc/apt/ -newer /var/cache/apt/pkgcache.bin
2025-11-19 19:20:35,112: DEBUG - + [[ -z '' ]]
2025-11-19 19:20:35,113: DEBUG - apt cache was already updated in the last 30 minutes, skipping 'apt update'
2025-11-19 19:20:35,113: DEBUG - + return
2025-11-19 19:20:35,113: DEBUG - + _ynh_wait_dpkg_free
2025-11-19 19:20:35,338: DEBUG - + return 0
2025-11-19 19:20:35,339: DEBUG - + dpkg-deb --build /tmp/tmp.YYiASzeTbN/synapse-ynh-deps /tmp/tmp.YYiASzeTbN/synapse-ynh-deps.deb
2025-11-19 19:20:35,352: DEBUG - + dpkg --force-depends --install /tmp/tmp.YYiASzeTbN/synapse-ynh-deps.deb
2025-11-19 19:20:35,352: DEBUG - + tee /tmp/tmp.YYiASzeTbN/dpkg_log
2025-11-19 19:20:35,440: DEBUG - (Reading database ... 132306 files and directories currently installed.)
2025-11-19 19:20:35,443: DEBUG - Preparing to unpack .../synapse-ynh-deps.deb ...
2025-11-19 19:20:35,452: DEBUG - Unpacking synapse-ynh-deps (1.141.0~ynh1) over (1.128.0~ynh1) ...
2025-11-19 19:20:35,473: DEBUG - Setting up synapse-ynh-deps (1.141.0~ynh1) ...
2025-11-19 19:20:35,521: DEBUG - + _ynh_apt_install --fix-broken
2025-11-19 19:20:35,522: DEBUG - + _ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2025-11-19 19:20:35,522: DEBUG - + [[ --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken == \u\p\d\a\t\e ]]
2025-11-19 19:20:35,523: DEBUG - + _ynh_wait_dpkg_free
2025-11-19 19:20:35,751: DEBUG - + return 0
2025-11-19 19:20:35,752: 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
2025-11-19 19:20:35,853: DEBUG - Reading package lists...
2025-11-19 19:20:36,007: DEBUG - Building dependency tree...
2025-11-19 19:20:36,008: DEBUG - Reading state information...
2025-11-19 19:20:36,192: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2025-11-19 19:20:36,193: DEBUG - + rm --recursive --force /tmp/tmp.YYiASzeTbN
2025-11-19 19:20:36,195: DEBUG - + _ynh_apt_package_is_installed synapse-ynh-deps
2025-11-19 19:20:36,195: DEBUG - + local package=synapse-ynh-deps
2025-11-19 19:20:36,196: DEBUG - + dpkg-query --show '--showformat=${db:Status-Status}' synapse-ynh-deps
2025-11-19 19:20:36,196: DEBUG - + grep --quiet '^installed$'
2025-11-19 19:20:36,212: DEBUG - ++ _ynh_apt_package_is_installed postgresql-15
2025-11-19 19:20:36,212: DEBUG - ++ local package=postgresql-15
2025-11-19 19:20:36,213: DEBUG - ++ dpkg-query --show '--showformat=${db:Status-Status}' postgresql-15
2025-11-19 19:20:36,213: DEBUG - ++ grep --quiet '^installed$'
2025-11-19 19:20:36,229: DEBUG - ++ echo yes
2025-11-19 19:20:36,229: DEBUG - + local psql_installed2=yes
2025-11-19 19:20:36,229: DEBUG - + [[ yes != \y\e\s ]]
2025-11-19 19:20:36,230: DEBUG - + ynh_exit_properly
2025-11-19 19:20:36,230: DEBUG - + [[ provision_or_update_apt =~ ^install$|^upgrade$|^restore$ ]]
2025-11-19 19:20:36,332: INFO - Updating database...
2025-11-19 19:20:36,692: INFO - Provisioning go...
2025-11-19 19:20:36,698: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./provision_or_update_go" 7>&1']'
2025-11-19 19:20:36,709: DEBUG - + source /usr/share/yunohost/helpers
2025-11-19 19:20:36,710: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2025-11-19 19:20:36,710: DEBUG - +++ cd -- /usr/share/yunohost
2025-11-19 19:20:36,711: DEBUG - +++ pwd
2025-11-19 19:20:36,711: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2025-11-19 19:20:36,711: DEBUG - ++ YNH_HELPERS_VERSION=2.1
2025-11-19 19:20:36,712: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2025-11-19 19:20:36,713: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2025-11-19 19:20:36,725: DEBUG - + ynh_abort_if_errors
2025-11-19 19:20:36,726: DEBUG - + trap ynh_exit_properly EXIT
2025-11-19 19:20:36,726: DEBUG - + _ynh_git_clone https://github.com/syndbg/goenv /opt/goenv
2025-11-19 19:20:36,727: DEBUG - + local url=https://github.com/syndbg/goenv
2025-11-19 19:20:36,727: DEBUG - + local dest_dir=/opt/goenv
2025-11-19 19:20:36,727: DEBUG - + local branch=master
2025-11-19 19:20:36,727: DEBUG - + mkdir -p /opt/goenv
2025-11-19 19:20:36,727: DEBUG - + pushd /opt/goenv
2025-11-19 19:20:36,728: DEBUG - /opt/goenv /var/cache/yunohost/app_tmp_work_dirs/app_aw45vhbj
2025-11-19 19:20:36,728: DEBUG - + '[' -d /opt/goenv/.git ']'
2025-11-19 19:20:36,728: DEBUG - + git remote set-url origin https://github.com/syndbg/goenv
2025-11-19 19:20:36,728: DEBUG - + git fetch -q --tags --prune origin master
2025-11-19 19:20:37,102: DEBUG - + git reset --hard origin/master
2025-11-19 19:20:37,109: DEBUG - HEAD is now at ab71bb6 [goenv-bot]: Add 1.25.4 1.24.10 definition to goenv (#487)
2025-11-19 19:20:37,110: DEBUG - + popd
2025-11-19 19:20:37,110: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_aw45vhbj
2025-11-19 19:20:37,110: DEBUG - + _ynh_git_clone https://github.com/momo-lab/xxenv-latest /opt/goenv/plugins/xxenv-latest
2025-11-19 19:20:37,111: DEBUG - + local url=https://github.com/momo-lab/xxenv-latest
2025-11-19 19:20:37,111: DEBUG - + local dest_dir=/opt/goenv/plugins/xxenv-latest
2025-11-19 19:20:37,111: DEBUG - + local branch=master
2025-11-19 19:20:37,112: DEBUG - + mkdir -p /opt/goenv/plugins/xxenv-latest
2025-11-19 19:20:37,112: DEBUG - + pushd /opt/goenv/plugins/xxenv-latest
2025-11-19 19:20:37,112: DEBUG - /opt/goenv/plugins/xxenv-latest /var/cache/yunohost/app_tmp_work_dirs/app_aw45vhbj
2025-11-19 19:20:37,112: DEBUG - + '[' -d /opt/goenv/plugins/xxenv-latest/.git ']'
2025-11-19 19:20:37,112: DEBUG - + git remote set-url origin https://github.com/momo-lab/xxenv-latest
2025-11-19 19:20:37,113: DEBUG - + git fetch -q --tags --prune origin master
2025-11-19 19:20:37,471: DEBUG - + git reset --hard origin/master
2025-11-19 19:20:37,473: DEBUG - HEAD is now at fe8fb00 Merge pull request #24 from jmcantrell/master
2025-11-19 19:20:37,474: DEBUG - + popd
2025-11-19 19:20:37,474: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_aw45vhbj
2025-11-19 19:20:37,474: DEBUG - + mkdir -p /opt/goenv/cache
2025-11-19 19:20:37,475: DEBUG - + mkdir -p /opt/goenv/shims
2025-11-19 19:20:37,476: DEBUG - + ynh_exit_properly
2025-11-19 19:20:37,477: DEBUG - + [[ provision_or_update_go =~ ^install$|^upgrade$|^restore$ ]]
2025-11-19 19:20:37,987: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./provision_or_update_go" 7>&1']'
2025-11-19 19:20:37,998: DEBUG - + source /usr/share/yunohost/helpers
2025-11-19 19:20:37,999: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2025-11-19 19:20:38,000: DEBUG - +++ cd -- /usr/share/yunohost
2025-11-19 19:20:38,000: DEBUG - +++ pwd
2025-11-19 19:20:38,000: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2025-11-19 19:20:38,000: DEBUG - ++ YNH_HELPERS_VERSION=2.1
2025-11-19 19:20:38,002: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2025-11-19 19:20:38,002: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2025-11-19 19:20:38,046: DEBUG - Skipping loading go, because it doesn't seem to be provisioned yet. This is likely to happen during restore and other specific contexts.
2025-11-19 19:20:38,052: DEBUG - + ynh_abort_if_errors
2025-11-19 19:20:38,053: DEBUG - + trap ynh_exit_properly EXIT
2025-11-19 19:20:38,053: DEBUG - + /opt/goenv/bin/goenv install --quiet --skip-existing 1.24.2
2025-11-19 19:20:40,331: DEBUG - Installing Go Linux 64bit 1.24.2...
2025-11-19 19:20:42,609: DEBUG - Installed Go Linux 64bit 1.24.2 to /opt/goenv/versions/1.24.2
2025-11-19 19:20:42,609: DEBUG -
2025-11-19 19:20:42,998: DEBUG - + ynh_exit_properly
2025-11-19 19:20:42,999: DEBUG - + [[ provision_or_update_go =~ ^install$|^upgrade$|^restore$ ]]
2025-11-19 19:20:43,122: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./upgrade" 7>&1']'
2025-11-19 19:20:43,134: DEBUG - + source _common.sh
2025-11-19 19:20:43,134: DEBUG - +++ python3 -V
2025-11-19 19:20:43,135: DEBUG - +++ cut '-d ' -f2
2025-11-19 19:20:43,135: DEBUG - +++ cut -d. -f1-2
2025-11-19 19:20:43,135: DEBUG - ++ readonly python_version=3.11
2025-11-19 19:20:43,136: DEBUG - ++ python_version=3.11
2025-11-19 19:20:43,136: DEBUG - +++ yunohost --output-as json domain list
2025-11-19 19:20:43,136: DEBUG - +++ jq -r '.domains | .[]'
2025-11-19 19:20:43,330: DEBUG - ++ readonly 'domains_list=domain25.tld
2025-11-19 19:20:43,331: DEBUG - cl.domain25.tld
2025-11-19 19:20:43,331: DEBUG - el.domain25.tld
2025-11-19 19:20:43,331: DEBUG - ha.domain25.tld
2025-11-19 19:20:43,332: DEBUG - in.domain25.tld
2025-11-19 19:20:43,332: DEBUG - jf.domain25.tld
2025-11-19 19:20:43,332: DEBUG - lm.domain25.tld
2025-11-19 19:20:43,332: DEBUG - nc.domain25.tld
2025-11-19 19:20:43,333: DEBUG - nd.domain25.tld
2025-11-19 19:20:43,333: DEBUG - oo.domain25.tld
2025-11-19 19:20:43,333: DEBUG - sy.domain25.tld
2025-11-19 19:20:43,334: DEBUG - yt.domain25.tld
2025-11-19 19:20:43,334: DEBUG - maindomain.tld
2025-11-19 19:20:43,334: DEBUG - ai.maindomain.tld
2025-11-19 19:20:43,334: DEBUG - bj.maindomain.tld
2025-11-19 19:20:43,335: DEBUG - cb.maindomain.tld
2025-11-19 19:20:43,335: DEBUG - cl.maindomain.tld
2025-11-19 19:20:43,335: DEBUG - ea.maindomain.tld
2025-11-19 19:20:43,335: DEBUG - el.maindomain.tld
2025-11-19 19:20:43,336: DEBUG - ha.maindomain.tld
2025-11-19 19:20:43,336: DEBUG - in.maindomain.tld
2025-11-19 19:20:43,336: DEBUG - ina.maindomain.tld
2025-11-19 19:20:43,336: DEBUG - jf.maindomain.tld
2025-11-19 19:20:43,336: DEBUG - kg.maindomain.tld
2025-11-19 19:20:43,337: DEBUG - lm.maindomain.tld
2025-11-19 19:20:43,337: DEBUG - mt.maindomain.tld
2025-11-19 19:20:43,337: DEBUG - nc.maindomain.tld
2025-11-19 19:20:43,337: DEBUG - nd.maindomain.tld
2025-11-19 19:20:43,338: DEBUG - od.maindomain.tld
2025-11-19 19:20:43,338: DEBUG - ol.maindomain.tld
2025-11-19 19:20:43,338: DEBUG - oo.maindomain.tld
2025-11-19 19:20:43,338: DEBUG - pv.maindomain.tld
2025-11-19 19:20:43,338: DEBUG - sy.maindomain.tld
2025-11-19 19:20:43,339: DEBUG - sya.maindomain.tld
2025-11-19 19:20:43,339: DEBUG - tr.maindomain.tld'
2025-11-19 19:20:43,339: DEBUG - ++ domains_list='domain25.tld
2025-11-19 19:20:43,339: DEBUG - cl.domain25.tld
2025-11-19 19:20:43,340: DEBUG - el.domain25.tld
2025-11-19 19:20:43,340: DEBUG - ha.domain25.tld
2025-11-19 19:20:43,340: DEBUG - in.domain25.tld
2025-11-19 19:20:43,340: DEBUG - jf.domain25.tld
2025-11-19 19:20:43,340: DEBUG - lm.domain25.tld
2025-11-19 19:20:43,341: DEBUG - nc.domain25.tld
2025-11-19 19:20:43,341: DEBUG - nd.domain25.tld
2025-11-19 19:20:43,341: DEBUG - oo.domain25.tld
2025-11-19 19:20:43,341: DEBUG - sy.domain25.tld
2025-11-19 19:20:43,342: DEBUG - yt.domain25.tld
2025-11-19 19:20:43,342: DEBUG - maindomain.tld
2025-11-19 19:20:43,342: DEBUG - ai.maindomain.tld
2025-11-19 19:20:43,342: DEBUG - bj.maindomain.tld
2025-11-19 19:20:43,342: DEBUG - cb.maindomain.tld
2025-11-19 19:20:43,343: DEBUG - cl.maindomain.tld
2025-11-19 19:20:43,343: DEBUG - ea.maindomain.tld
2025-11-19 19:20:43,343: DEBUG - el.maindomain.tld
2025-11-19 19:20:43,344: DEBUG - ha.maindomain.tld
2025-11-19 19:20:43,344: DEBUG - in.maindomain.tld
2025-11-19 19:20:43,344: DEBUG - ina.maindomain.tld
2025-11-19 19:20:43,344: DEBUG - jf.maindomain.tld
2025-11-19 19:20:43,344: DEBUG - kg.maindomain.tld
2025-11-19 19:20:43,345: DEBUG - lm.maindomain.tld
2025-11-19 19:20:43,345: DEBUG - mt.maindomain.tld
2025-11-19 19:20:43,345: DEBUG - nc.maindomain.tld
2025-11-19 19:20:43,345: DEBUG - nd.maindomain.tld
2025-11-19 19:20:43,346: DEBUG - od.maindomain.tld
2025-11-19 19:20:43,346: DEBUG - ol.maindomain.tld
2025-11-19 19:20:43,346: DEBUG - oo.maindomain.tld
2025-11-19 19:20:43,346: DEBUG - pv.maindomain.tld
2025-11-19 19:20:43,347: DEBUG - sy.maindomain.tld
2025-11-19 19:20:43,347: DEBUG - sya.maindomain.tld
2025-11-19 19:20:43,347: DEBUG - tr.maindomain.tld'
2025-11-19 19:20:43,347: DEBUG - ++ readonly sfu_domain=sy.maindomain.tld
2025-11-19 19:20:43,347: DEBUG - ++ sfu_domain=sy.maindomain.tld
2025-11-19 19:20:43,348: DEBUG - + source experimental_helper.sh
2025-11-19 19:20:43,348: DEBUG - + source /usr/share/yunohost/helpers
2025-11-19 19:20:43,348: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2025-11-19 19:20:43,348: DEBUG - +++ cd -- /usr/share/yunohost
2025-11-19 19:20:43,349: DEBUG - +++ pwd
2025-11-19 19:20:43,349: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2025-11-19 19:20:43,349: DEBUG - ++ YNH_HELPERS_VERSION=2.1
2025-11-19 19:20:43,350: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2025-11-19 19:20:43,350: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2025-11-19 19:20:43,380: DEBUG - /var/www/synapse /var/cache/yunohost/app_tmp_work_dirs/app_aw45vhbj/scripts
2025-11-19 19:20:43,404: DEBUG - /var/cache/yunohost/app_tmp_work_dirs/app_aw45vhbj/scripts
2025-11-19 19:20:43,410: DEBUG - + ynh_app_setting_set_default --key=php_upload_max_filesize --value=100M
2025-11-19 19:20:43,443: DEBUG - + '[' -z 100M ']'
2025-11-19 19:20:43,444: DEBUG - + '[' -z sy.maindomain.tld ']'
2025-11-19 19:20:43,444: DEBUG - + ensure_vars_set
2025-11-19 19:20:43,444: DEBUG - + ynh_app_setting_set_default --key=report_stats --value=false
2025-11-19 19:20:43,476: DEBUG - + '[' -z false ']'
2025-11-19 19:20:43,477: DEBUG - + ynh_app_setting_set_default --key=e2e_enabled_by_default --value=invite
2025-11-19 19:20:43,510: DEBUG - + '[' -z invite ']'
2025-11-19 19:20:43,510: DEBUG - ++ ynh_string_random --length=30
2025-11-19 19:20:43,525: DEBUG - ++ length=30
2025-11-19 19:20:43,526: DEBUG - ++ filter=A-Za-z0-9
2025-11-19 19:20:43,526: DEBUG - ++ tr --complement --delete A-Za-z0-9
2025-11-19 19:20:43,526: DEBUG - ++ head -c 30
2025-11-19 19:20:43,527: DEBUG - + ynh_app_setting_set_default --key=turnserver_pwd --value=SU93dVzjrmR9BUw6qFpL6ZAIc2uLy2
2025-11-19 19:20:43,561: DEBUG - + '[' -z ********** ']'
2025-11-19 19:20:43,562: DEBUG - ++ ynh_string_random --length=30
2025-11-19 19:20:43,576: DEBUG - ++ length=30
2025-11-19 19:20:43,577: DEBUG - ++ filter=A-Za-z0-9
2025-11-19 19:20:43,577: DEBUG - ++ tr --complement --delete A-Za-z0-9
2025-11-19 19:20:43,577: DEBUG - ++ head -c 30
2025-11-19 19:20:43,578: DEBUG - + ynh_app_setting_set_default --key=turnserver_cli_pwd --value=XB5aKRRnNBJHHYs1pWYN4gWDLyO8sL
2025-11-19 19:20:43,613: DEBUG - + '[' -z ********** ']'
2025-11-19 19:20:43,613: DEBUG - + '[' -z https://matrix.to/ ']'
2025-11-19 19:20:43,614: DEBUG - + ynh_app_setting_set_default --key=jitsi_server --value=jitsi.riot.im
2025-11-19 19:20:43,648: DEBUG - + '[' -z jitsi.riot.im ']'
2025-11-19 19:20:43,648: DEBUG - + ynh_app_setting_set_default --key=client_base_url --value=https://matrix.to/
2025-11-19 19:20:43,682: DEBUG - + '[' -z https://matrix.to/ ']'
2025-11-19 19:20:43,683: DEBUG - + ynh_app_setting_set_default --key=invite_client_location --value=https://matrix.to/
2025-11-19 19:20:43,717: DEBUG - + '[' -z https://matrix.to/ ']'
2025-11-19 19:20:43,717: DEBUG - + ynh_app_setting_set_default --key=allow_public_rooms_without_auth --value=false
2025-11-19 19:20:43,751: DEBUG - + '[' -z false ']'
2025-11-19 19:20:43,752: DEBUG - + ynh_app_setting_set_default --key=allow_public_rooms_over_federation --value=false
2025-11-19 19:20:43,786: DEBUG - + '[' -z false ']'
2025-11-19 19:20:43,786: DEBUG - + ynh_app_setting_set_default --key=max_upload_size --value=100M
2025-11-19 19:20:43,820: DEBUG - + '[' -z 100M ']'
2025-11-19 19:20:43,821: DEBUG - + ynh_app_setting_set_default --key=disable_msisdn_registration --value=true
2025-11-19 19:20:43,855: DEBUG - + '[' -z true ']'
2025-11-19 19:20:43,856: DEBUG - + ynh_app_setting_set_default --key=account_threepid_delegates_msisdn --value=
2025-11-19 19:20:43,890: DEBUG - + '[' -z '' ']'
2025-11-19 19:20:43,890: DEBUG - + eval 'account_threepid_delegates_msisdn=$value'
2025-11-19 19:20:43,890: DEBUG - ++ account_threepid_delegates_msisdn=
2025-11-19 19:20:43,945: DEBUG - + ynh_app_setting_set_default --key=registrations_require_3pid --value=email
2025-11-19 19:20:43,980: DEBUG - + '[' -z email ']'
2025-11-19 19:20:43,981: DEBUG - + ynh_app_setting_set_default --key=allowed_local_3pids_email --value=
2025-11-19 19:20:44,015: DEBUG - + '[' -z '' ']'
2025-11-19 19:20:44,015: DEBUG - + eval 'allowed_local_3pids_email=$value'
2025-11-19 19:20:44,015: DEBUG - ++ allowed_local_3pids_email=
2025-11-19 19:20:44,070: DEBUG - + ynh_app_setting_set_default --key=allowed_local_3pids_msisdn --value=
2025-11-19 19:20:44,105: DEBUG - + '[' -z '' ']'
2025-11-19 19:20:44,106: DEBUG - + eval 'allowed_local_3pids_msisdn=$value'
2025-11-19 19:20:44,106: DEBUG - ++ allowed_local_3pids_msisdn=
2025-11-19 19:20:44,162: DEBUG - + ynh_app_setting_set_default --key=account_threepid_delegates_msisdn --value=
2025-11-19 19:20:44,197: DEBUG - + '[' -z '' ']'
2025-11-19 19:20:44,198: DEBUG - + eval 'account_threepid_delegates_msisdn=$value'
2025-11-19 19:20:44,198: DEBUG - ++ account_threepid_delegates_msisdn=
2025-11-19 19:20:44,253: DEBUG - + ynh_app_setting_set_default --key=allow_guest_access --value=false
2025-11-19 19:20:44,289: DEBUG - + '[' -z false ']'
2025-11-19 19:20:44,289: DEBUG - + ynh_app_setting_set_default --key=default_identity_server --value=https://matrix.org
2025-11-19 19:20:44,323: DEBUG - + '[' -z https://matrix.org ']'
2025-11-19 19:20:44,323: DEBUG - + ynh_app_setting_set_default --key=auto_join_rooms --value=
2025-11-19 19:20:44,357: DEBUG - + '[' -z '' ']'
2025-11-19 19:20:44,358: DEBUG - + eval 'auto_join_rooms=$value'
2025-11-19 19:20:44,358: DEBUG - ++ auto_join_rooms=
2025-11-19 19:20:44,413: DEBUG - + ynh_app_setting_set_default --key=autocreate_auto_join_rooms --value=false
2025-11-19 19:20:44,449: DEBUG - + '[' -z false ']'
2025-11-19 19:20:44,449: DEBUG - + ynh_app_setting_set_default --key=auto_join_rooms_for_guests --value=true
2025-11-19 19:20:44,483: DEBUG - + '[' -z true ']'
2025-11-19 19:20:44,484: DEBUG - + ynh_app_setting_set_default --key=enable_notifs --value=true
2025-11-19 19:20:44,518: DEBUG - + '[' -z true ']'
2025-11-19 19:20:44,518: DEBUG - + ynh_app_setting_set_default --key=notif_for_new_users --value=true
2025-11-19 19:20:44,552: DEBUG - + '[' -z true ']'
2025-11-19 19:20:44,553: DEBUG - + ynh_app_setting_set_default --key=enable_group_creation --value=true
2025-11-19 19:20:44,588: DEBUG - + '[' -z true ']'
2025-11-19 19:20:44,588: DEBUG - + ynh_app_setting_set_default --key=enable_3pid_lookup --value=false
2025-11-19 19:20:44,623: DEBUG - + '[' -z false ']'
2025-11-19 19:20:44,623: DEBUG - + ynh_app_setting_set_default --key=push_include_content --value=true
2025-11-19 19:20:44,657: DEBUG - + '[' -z true ']'
2025-11-19 19:20:44,658: DEBUG - + ynh_app_setting_set_default --key=enable_dtls_for_audio_video_turn_call --value=true
2025-11-19 19:20:44,692: DEBUG - + '[' -z true ']'
2025-11-19 19:20:44,692: DEBUG - + ynh_app_setting_set_default --key=allow_to_send_request_to_localhost --value=false
2025-11-19 19:20:44,727: DEBUG - + '[' -z '' ']'
2025-11-19 19:20:44,727: DEBUG - + eval 'allow_to_send_request_to_localhost=$value'
2025-11-19 19:20:44,727: DEBUG - ++ allow_to_send_request_to_localhost=false
2025-11-19 19:20:44,783: DEBUG - ++ ynh_string_random --length=40
2025-11-19 19:20:44,798: DEBUG - ++ length=40
2025-11-19 19:20:44,799: DEBUG - ++ filter=A-Za-z0-9
2025-11-19 19:20:44,799: DEBUG - ++ tr --complement --delete A-Za-z0-9
2025-11-19 19:20:44,800: DEBUG - ++ head -c 40
2025-11-19 19:20:44,800: DEBUG - + ynh_app_setting_set_default --key=livekit_secret --value=EqGpzjsJv0ASob3FD6wnGIaCqk8oSTshrhUDPPzz
2025-11-19 19:20:44,835: DEBUG - + '[' -z '' ']'
2025-11-19 19:20:44,835: DEBUG - + eval 'livekit_secret=**********
2025-11-19 19:20:44,836: DEBUG - ++ livekit_secret=**********
2025-11-19 19:20:44,890: DEBUG - + ynh_app_setting_set_default --key=contact_admin_email --value=
2025-11-19 19:20:44,927: DEBUG - + '[' -z '' ']'
2025-11-19 19:20:44,927: DEBUG - + eval 'contact_admin_email=**********
2025-11-19 19:20:44,927: DEBUG - ++ contact_admin_email=
2025-11-19 19:20:44,982: DEBUG - + ynh_app_setting_set_default --key=contact_admin_matrix_id --value=
2025-11-19 19:20:45,018: DEBUG - + '[' -z '' ']'
2025-11-19 19:20:45,019: DEBUG - + eval 'contact_admin_matrix_id=**********
2025-11-19 19:20:45,019: DEBUG - ++ contact_admin_matrix_id=
2025-11-19 19:20:45,074: DEBUG - + ynh_app_setting_set_default --key=contact_support_page --value=
2025-11-19 19:20:45,111: DEBUG - + '[' -z '' ']'
2025-11-19 19:20:45,112: DEBUG - + eval 'contact_support_page=**********
2025-11-19 19:20:45,112: DEBUG - ++ contact_support_page=
2025-11-19 19:20:45,167: DEBUG - + mkdir -p /var/www/synapse/cas /var/www/synapse/venv
2025-11-19 19:20:45,169: DEBUG - + ynh_app_setting_set_default --app=synapse --key=server_name --value=sy.maindomain.tld
2025-11-19 19:20:45,219: DEBUG - + '[' -z maindomain.tld ']'
2025-11-19 19:20:45,219: DEBUG - + ynh_app_setting_set_default --app=synapse --key=jitsi_server --value=jitsi.riot.im
2025-11-19 19:20:45,268: INFO - '/etc/default/coturn-synapse' wasn't deleted because it doesn't exist.
2025-11-19 19:20:45,269: DEBUG - + '[' -z jitsi.riot.im ']'
2025-11-19 19:20:45,270: DEBUG - + '[' invite = true ']'
2025-11-19 19:20:45,270: DEBUG - + '[' invite = false ']'
2025-11-19 19:20:45,270: DEBUG - + '[' email == none ']'
2025-11-19 19:20:45,270: DEBUG - + [[ '' =~ '.*' ]]
2025-11-19 19:20:45,271: DEBUG - + [[ '' =~ '.*' ]]
2025-11-19 19:20:45,271: DEBUG - + '[' -z true ']'
2025-11-19 19:20:45,271: DEBUG - + ynh_safe_rm /etc/default/coturn-synapse
2025-11-19 19:20:45,272: DEBUG - + local target=/etc/default/coturn-synapse
2025-11-19 19:20:45,272: DEBUG - + '[' -e /etc/systemd/system/matrix-synapse.service ']'
2025-11-19 19:20:45,272: DEBUG - + ynh_systemctl --service=synapse.service --action=stop
2025-11-19 19:20:45,330: DEBUG - + service=synapse.service
2025-11-19 19:20:45,331: DEBUG - + action=stop
2025-11-19 19:20:45,331: DEBUG - + wait_until=
2025-11-19 19:20:45,332: DEBUG - + length=20
2025-11-19 19:20:45,332: DEBUG - + log_path=/var/log/synapse.service/synapse.service.log
2025-11-19 19:20:45,332: DEBUG - + ynh_in_ci_tests
2025-11-19 19:20:45,333: DEBUG - + timeout=300
2025-11-19 19:20:45,333: DEBUG - + '[' stop == stop ']'
2025-11-19 19:20:45,333: DEBUG - + systemctl is-active --quiet synapse.service
2025-11-19 19:20:45,336: DEBUG - + '[' stop == reload ']'
2025-11-19 19:20:45,337: DEBUG - ++ date --utc --rfc-3339=seconds
2025-11-19 19:20:45,337: DEBUG - ++ cut -d+ -f1
2025-11-19 19:20:45,338: DEBUG - + local 'time_start=2025-11-19 18:20:45 UTC'
2025-11-19 19:20:45,338: DEBUG - + systemctl stop synapse.service
2025-11-19 19:20:45,385: DEBUG - + ynh_systemctl --service=synapse-coturn.service --action=stop
2025-11-19 19:20:45,447: DEBUG - + service=synapse-coturn.service
2025-11-19 19:20:45,448: DEBUG - + action=stop
2025-11-19 19:20:45,448: DEBUG - + wait_until=
2025-11-19 19:20:45,448: DEBUG - + length=20
2025-11-19 19:20:45,449: DEBUG - + log_path=/var/log/synapse-coturn.service/synapse-coturn.service.log
2025-11-19 19:20:45,449: DEBUG - + ynh_in_ci_tests
2025-11-19 19:20:45,449: DEBUG - + timeout=300
2025-11-19 19:20:45,450: DEBUG - + '[' stop == stop ']'
2025-11-19 19:20:45,450: DEBUG - + systemctl is-active --quiet synapse-coturn.service
2025-11-19 19:20:45,453: DEBUG - + '[' stop == reload ']'
2025-11-19 19:20:45,453: DEBUG - ++ date --utc --rfc-3339=seconds
2025-11-19 19:20:45,453: DEBUG - ++ cut -d+ -f1
2025-11-19 19:20:45,454: DEBUG - + local 'time_start=2025-11-19 18:20:45 UTC'
2025-11-19 19:20:45,455: DEBUG - + systemctl stop synapse-coturn.service
2025-11-19 19:20:45,463: DEBUG - + ynh_systemctl --service=synapse-livekit.service --action=stop
2025-11-19 19:20:45,526: DEBUG - + service=synapse-livekit.service
2025-11-19 19:20:45,527: DEBUG - + action=stop
2025-11-19 19:20:45,527: DEBUG - + wait_until=
2025-11-19 19:20:45,527: DEBUG - + length=20
2025-11-19 19:20:45,528: DEBUG - + log_path=/var/log/synapse-livekit.service/synapse-livekit.service.log
2025-11-19 19:20:45,528: DEBUG - + ynh_in_ci_tests
2025-11-19 19:20:45,528: DEBUG - + timeout=300
2025-11-19 19:20:45,529: DEBUG - + '[' stop == stop ']'
2025-11-19 19:20:45,529: DEBUG - + systemctl is-active --quiet synapse-livekit.service
2025-11-19 19:20:45,532: DEBUG - + return 0
2025-11-19 19:20:45,532: DEBUG - + ynh_systemctl --service=synapse-lk-jwt.service --action=stop
2025-11-19 19:20:45,595: DEBUG - + service=synapse-lk-jwt.service
2025-11-19 19:20:45,595: DEBUG - + action=stop
2025-11-19 19:20:45,596: DEBUG - + wait_until=
2025-11-19 19:20:45,596: DEBUG - + length=20
2025-11-19 19:20:45,596: DEBUG - + log_path=/var/log/synapse-lk-jwt.service/synapse-lk-jwt.service.log
2025-11-19 19:20:45,597: DEBUG - + ynh_in_ci_tests
2025-11-19 19:20:45,597: DEBUG - + timeout=300
2025-11-19 19:20:45,597: DEBUG - + '[' stop == stop ']'
2025-11-19 19:20:45,598: DEBUG - + systemctl is-active --quiet synapse-lk-jwt.service
2025-11-19 19:20:45,600: DEBUG - + return 0
2025-11-19 19:20:45,604: INFO - [+...................] > Managing migrations...
2025-11-19 19:20:45,605: DEBUG - + '[' -e /var/lib/matrix-synapse ']'
2025-11-19 19:20:45,605: DEBUG - + grep -q 'ssl-cert:x:[0-9]*:.*synapse' /etc/group
2025-11-19 19:20:45,606: DEBUG - + '[' '!' -e /etc/ssl/private/dh2048.pem ']'
2025-11-19 19:20:45,606: DEBUG - + '[' '!' -e /etc/matrix-synapse/coturn.conf ']'
2025-11-19 19:20:45,606: DEBUG - + ynh_psql_db_shell
2025-11-19 19:20:45,607: DEBUG - + local database=synapse
2025-11-19 19:20:45,607: DEBUG - + grep matrix_synapse
2025-11-19 19:20:45,607: DEBUG - + sudo --login --user=postgres psql synapse
2025-11-19 19:20:45,768: WARNING - WARNING: database "synapse" has no actual collation version, but a version was recorded
2025-11-19 19:20:45,773: DEBUG - + '[' -e /home/yunohost.app/matrix-synapse ']'
2025-11-19 19:20:45,773: DEBUG - + mv -t /home/yunohost.app/synapse /home/yunohost.app/matrix-synapse/media
2025-11-19 19:20:45,774: WARNING - mv: cannot move '/home/yunohost.app/matrix-synapse/media' to '/home/yunohost.app/synapse/media': File exists
2025-11-19 19:20:45,775: DEBUG - + ynh_exit_properly
2025-11-19 19:20:45,776: DEBUG - + [[ upgrade =~ ^install$|^upgrade$|^restore$ ]]
2025-11-19 19:20:46,379: ERROR - Failed to upgrade synapse: An error occurred inside the app upgrade script