π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Improve Museum deployment readiness check
Manav Rathibf696ab7f5e5
diff --git a/server/scripts/deploy/README.md b/server/scripts/deploy/README.mdindex d2fabf1ccd..89b072fc67 100644--- a/server/scripts/deploy/README.md+++ b/server/scripts/deploy/README.md@@ -78,8 +78,6 @@ SSH into the instance and run:./update-and-restart-museum.sh```-The script pulls the latest image, restarts Museum, and tails its logs.-## RollbackThe update script tags the currently running image as `museum-prod:previous` before pulling. To roll back:diff --git a/server/scripts/deploy/update-and-restart-museum.sh b/server/scripts/deploy/update-and-restart-museum.shindex 82bafcb023..daac10e363 100755--- a/server/scripts/deploy/update-and-restart-museum.sh+++ b/server/scripts/deploy/update-and-restart-museum.sh@@ -1,9 +1,6 @@#!/bin/sh# This script is meant to be run on the production instances.-#-# It will tag the old image, pull the latest Docker image, restart museum and-# start tailing the logs as a sanity check.set -o errexit@@ -14,5 +11,6 @@ fisudo docker pull rg.fr-par.scw.cloud/ente/museum-prodsudo systemctl restart museum-sudo systemctl status museum | more-sudo tail -F /root/var/logs/museum.log+curl -fk --retry 5 --retry-connrefused --retry-delay 1 https://localhost/ping+sudo systemctl status museum --no-pager+sudo tail -n 20 /root/var/logs/museum.log