From 341a1a8e62381dbdd7ef237022a7df24630714c6 Mon Sep 17 00:00:00 2001 From: devlikeapro <155617407+devlikepro@users.noreply.github.com> Date: Wed, 24 Sep 2025 12:38:09 +0700 Subject: [PATCH 1/2] Update Docker commands to use 'docker compose' --- self-hosted/deployment/upgrade.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/self-hosted/deployment/upgrade.mdx b/self-hosted/deployment/upgrade.mdx index 35c9c6e2..a10375c0 100644 --- a/self-hosted/deployment/upgrade.mdx +++ b/self-hosted/deployment/upgrade.mdx @@ -27,9 +27,9 @@ This upgrade method is applicable for all manual linux installations including i Update the images using the latest image from chatwoot. ```bash -docker-compose down -docker-compose pull -docker-compose up -d +docker compose down +docker compose pull +docker compose up -d ``` Run the `rails db:chatwoot_prepare` option after accessing the console from one of the containers running the latest image. From 4fa749c58e0234451fbdffb3dd646cdda9aff2c5 Mon Sep 17 00:00:00 2001 From: Sojan Jose Date: Wed, 27 May 2026 19:22:10 +0530 Subject: [PATCH 2/2] docs: update Docker upgrade commands --- self-hosted/deployment/upgrade.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/self-hosted/deployment/upgrade.mdx b/self-hosted/deployment/upgrade.mdx index 557725bf..e5fd07e5 100644 --- a/self-hosted/deployment/upgrade.mdx +++ b/self-hosted/deployment/upgrade.mdx @@ -40,10 +40,10 @@ docker compose pull docker compose up -d ``` -Run the `rails db:chatwoot_prepare` option after accessing the console from one of the containers running the latest image. +Run the database preparation task after starting the containers with the updated image. ```bash -docker exec -it $(basename $(pwd))-rails-1 sh -c 'RAILS_ENV=production bundle exec rails db:chatwoot_prepare' +docker compose run --rm rails bundle exec rails db:chatwoot_prepare ``` ## Helm(Kubernetes)