Revert container stop order to original
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
f3ccacb2da
commit
f4dbae1805
2 changed files with 2 additions and 4 deletions
|
|
@ -77,9 +77,8 @@ echo "All images pulled successfully." >>"$LOGFILE"
|
|||
|
||||
# Stop and remove existing Coolify containers to prevent conflicts
|
||||
# This handles both old installations (project "source") and new ones (project "coolify")
|
||||
# Stop coolify last to allow upgrade process to complete gracefully
|
||||
echo "Stopping existing Coolify containers..." >>"$LOGFILE"
|
||||
for container in coolify-db coolify-redis coolify-realtime coolify; do
|
||||
for container in coolify coolify-db coolify-redis coolify-realtime; do
|
||||
if docker ps -a --format '{{.Names}}' | grep -q "^${container}$"; then
|
||||
docker stop "$container" >>"$LOGFILE" 2>&1 || true
|
||||
docker rm "$container" >>"$LOGFILE" 2>&1 || true
|
||||
|
|
|
|||
|
|
@ -175,8 +175,7 @@ echo " All images pulled successfully."
|
|||
log_section "Step 4/6: Stopping existing containers"
|
||||
echo ""
|
||||
echo "4/6 Stopping existing containers..."
|
||||
# Stop coolify last to allow upgrade process to complete gracefully
|
||||
for container in coolify-db coolify-redis coolify-realtime coolify; do
|
||||
for container in coolify coolify-db coolify-redis coolify-realtime; do
|
||||
if docker ps -a --format '{{.Names}}' | grep -q "^${container}$"; then
|
||||
echo " - Stopping ${container}..."
|
||||
log "Stopping container: ${container}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue