|
|
|
|
431
|
chown -R matrix:matrix /etc/matrix
|
431
|
chown -R matrix:matrix /etc/matrix
|
432
|
chown -R matrix:matrix $MATRIX_DATA_DIR
|
432
|
chown -R matrix:matrix $MATRIX_DATA_DIR
|
433
|
|
433
|
|
434
|
- pip install --upgrade --force "pynacl==0.3.0"
|
|
|
|
|
434
|
+ pip install --upgrade --force "pynacl>=1.2.1"
|
435
|
pip install --upgrade --force "phonenumbers>=8.2.0"
|
435
|
pip install --upgrade --force "phonenumbers>=8.2.0"
|
436
|
|
436
|
|
437
|
if [ -f /etc/ssl/certs/${MATRIX_DOMAIN_NAME}.dhparam ]; then
|
437
|
if [ -f /etc/ssl/certs/${MATRIX_DOMAIN_NAME}.dhparam ]; then
|
|
|
|
|
804
|
# wait for nginx to start otherwise user add fails later
|
804
|
# wait for nginx to start otherwise user add fails later
|
805
|
sleep 5
|
805
|
sleep 5
|
806
|
|
806
|
|
807
|
- pip install --upgrade --force "pynacl==0.3.0"
|
|
|
|
|
807
|
+ pip install --upgrade --force "pynacl>=1.2.1"
|
808
|
|
808
|
|
809
|
if [[ $(add_user_matrix "${MY_USERNAME}" "${MATRIX_PASSWORD}" | tail -n 1) != "0" ]]; then
|
809
|
if [[ $(add_user_matrix "${MY_USERNAME}" "${MATRIX_PASSWORD}" | tail -n 1) != "0" ]]; then
|
810
|
echo $'Failed to add matrix admin user';
|
810
|
echo $'Failed to add matrix admin user';
|