From 76d6583d5bb87746dc129c8fb7d60339fcd49a5b Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 7 Jun 2024 12:36:30 -0400 Subject: [PATCH] Fixing sed command for postgres upgrade. - Context: https://github.com/LemmyNet/lemmy-ansible/issues/245 --- scripts/postgres_15_to_16_upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/postgres_15_to_16_upgrade.sh b/scripts/postgres_15_to_16_upgrade.sh index f2ac0d5d6..d83803a4f 100755 --- a/scripts/postgres_15_to_16_upgrade.sh +++ b/scripts/postgres_15_to_16_upgrade.sh @@ -24,7 +24,7 @@ echo "Removing the old postgres folder" sudo rm -rf volumes/postgres echo "Updating docker compose to use postgres version 16." -sudo sed -i "s/image: .*postgres:.*/image: docker.io/postgres:16-alpine/" ./docker-compose.yml +sudo sed -i "s/image: .*postgres:.*/image: docker.io\/postgres:16-alpine/" ./docker-compose.yml echo "Starting up new postgres..." sudo docker compose up -d postgres