diff --git a/bin/convertdomain b/bin/convertdomain index 7dfcac6..d77b082 100755 --- a/bin/convertdomain +++ b/bin/convertdomain @@ -495,6 +495,7 @@ convert_matrix() { # Delete matrix database so we can start from scratch MATRIX_SECRET=$(create_password); + COTURN_MATRIX_SECRET=$(create_password); docker exec postgresql psql -U postgres -c "drop database matrix" &> /dev/null docker exec postgresql psql -U postgres -c "drop user matrix" &> /dev/null docker exec postgresql psql -U postgres -c "CREATE USER matrix WITH PASSWORD '$MATRIX_SECRET'" @@ -521,7 +522,11 @@ convert_matrix() { # Insert our Postgres and LDAP config cat >> /federated/apps/matrix/data/matrix/homeserver.yaml < /dev/null" + + echo -ne "done." +} usage() { echo "$0: " exit 2 @@ -882,3 +904,4 @@ convert_caddy convert_castopod convert_autodiscover convert_wordpress +convert_coturn