ActivityPub-federated video streaming platform using P2P directly in your web browser
Require at least 3GB to upgrade peertube
Chocobozzz0babdbc24371
diff --git a/server/scripts/upgrade.sh b/server/scripts/upgrade.shindex 10164c68a2..ca9191e3a9 100755--- a/server/scripts/upgrade.sh+++ b/server/scripts/upgrade.sh@@ -22,12 +22,12 @@ fiif [ -x "$(command -v awk)" ] && [ -x "$(command -v sed)" ]; thenREMAINING=$(df -k $PEERTUBE_PATH | awk '{ print $4}' | sed -n 2p)- ONE_GB=$((1024 * 1024))+ THREE_GB=$((3 * 1024 * 1024))- if [ "$REMAINING" -lt "$ONE_GB" ]; then+ if [ "$REMAINING" -lt "$THREE_GB" ]; thenecho "Error - not enough free space for upgrading"echo ""- echo "Make sure you have at least 1 GB of free space in $PEERTUBE_PATH"+ echo "Make sure you have at least 3 GB of free space in $PEERTUBE_PATH"exit 1fifi