From b2a480f55ce7fd327d46b81f43697069c9befdbd Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 7 Jun 2024 12:39:23 -0400 Subject: [PATCH] Fixing sed command for postgres upgrade. (#4791) - 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