From 5c26adaa57d1bd0818f3f1e81a9868368b5cab22 Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Tue, 5 Mar 2024 22:14:59 +0100 Subject: [PATCH] =?UTF-8?q?synapse=20:=20fix=20suite=20=C3=A0=20https://gi?= =?UTF-8?q?thub.com/matrix-org/synapse/pull/16740?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- podman-matrix/05_freshinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podman-matrix/05_freshinstall.sh b/podman-matrix/05_freshinstall.sh index c2e2cdb..6a8e446 100755 --- a/podman-matrix/05_freshinstall.sh +++ b/podman-matrix/05_freshinstall.sh @@ -20,7 +20,7 @@ if ! podman image exists ${synapse_image}:${synapse_version}; then fi podman volume create ${confvolume} && podman volume create ${dbvolume} && -podman container run -it --rm --name ${container_name}-generate --mount type=volume,src=${confvolume},dst=/data -e SYNAPSE_SERVER_NAME=${GARBAYE_MATRIX_DOMAIN} -e SYNAPSE_REPORT_STATS=no ${synapse_image}:${synapse_version} generate && +podman container run -it --rm --user 991:991 --name ${container_name}-generate --mount type=volume,src=${confvolume},dst=/data -e SYNAPSE_SERVER_NAME=${GARBAYE_MATRIX_DOMAIN} -e SYNAPSE_REPORT_STATS=no ${synapse_image}:${synapse_version} generate && podman_unshare_sed_in_place "^pid_file: /data/homeserver.pid$" "pid_file: /data/homeserver.pid\npublic_baseurl: ${GARBAYE_MATRIX_URL}\nallow_public_rooms_over_federation: true" `get_podman_volume_path ${confvolume}`/homeserver.yaml && podman_unshare_sed_in_place_multiline "database:\n name: sqlite3\n args:\n database: /data/homeserver.db" "database:\n name: psycopg2\n args:\n user: synapse\n password: ${GARBAYE_MATRIX_POSTGRES_PASSWORD}\n database: synapse\n host: synapse-db\n port: 5432\n cp_min: 5\n cp_max: 10\n cp_reconnect: true" `get_podman_volume_path ${confvolume}`/homeserver.yaml && ${ABSDIR}/10_install.sh