Skip to content

Commit

Permalink
Upgrade Synapse (v0.33.5.1 -> v0.33.7rc2)
Browse files Browse the repository at this point in the history
We skipped v0.33.6 because of matrix-org/synapse#4014,
but v0.33.7rc2 fixed the problem.
  • Loading branch information
spantaleev committed Oct 18, 2018
1 parent 36658ad commit 6cc528b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion roles/matrix-server/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ matrix_docker_image_postgres_v9: "postgres:9.6.10-alpine"
matrix_docker_image_postgres_v10: "postgres:10.5-alpine"
matrix_docker_image_postgres_latest: "{{ matrix_docker_image_postgres_v10 }}"

matrix_docker_image_synapse: "matrixdotorg/synapse:v0.33.5.1"
matrix_docker_image_synapse: "matrixdotorg/synapse:v0.33.7rc2"
matrix_docker_image_nginx: "nginx:1.15.5-alpine"
matrix_docker_image_riot: "avhost/docker-matrix-riot:v0.16.4"
matrix_docker_image_goofys: "cloudproto/goofys:latest"
Expand Down
1 change: 0 additions & 1 deletion roles/matrix-server/templates/synapse/homeserver.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,6 @@ email:
require_transport_security: false
notif_from: "Matrix <{{ matrix_mailer_sender_address }}>"
app_name: Matrix
template_dir: /synapse/res/templates
notif_template_html: notif_mail.html
notif_template_text: notif_mail.txt
notif_for_new_users: True
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ password=$2
admin=$3

if [ "$admin" -eq "1" ]; then
docker exec matrix-synapse register_new_matrix_user -a -u $user -p $password -c /data/homeserver.yaml http://localhost:8008
docker exec matrix-synapse register_new_matrix_user -u $user -p $password -c /data/homeserver.yaml --admin http://localhost:8008
else
# If `-a` is not passed, we need to answer to an "admin: yes/no" question
echo 'no' | docker exec -i matrix-synapse register_new_matrix_user -u $user -p $password $extraFlags -c /data/homeserver.yaml http://localhost:8008
docker exec matrix-synapse register_new_matrix_user -u $user -p $password -c /data/homeserver.yaml --no-admin http://localhost:8008
fi

0 comments on commit 6cc528b

Please sign in to comment.