From b201a4bc055bc0431ba30e55965f7c9eece4641b Mon Sep 17 00:00:00 2001 From: Renata Slupetska <99325916+lazespo@users.noreply.github.com> Date: Fri, 3 Jul 2026 14:09:48 +0300 Subject: [PATCH 1/2] Add prompt symbol to Docker commands in installation.md Updated command examples in the installation guide to include the prompt symbol '$'. --- docs/administration/docker/installation.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/administration/docker/installation.md b/docs/administration/docker/installation.md index e740acea9..d66b49d4d 100644 --- a/docs/administration/docker/installation.md +++ b/docs/administration/docker/installation.md @@ -380,7 +380,7 @@ In most cases, this issue is caused by installed extensions that are not compati Navigate to your EspoCRM directory and run: ```bash -docker compose down +$ docker compose down ``` #### 2. Update your `docker-compose.yml` @@ -422,7 +422,7 @@ Replace `VERSION` with the EspoCRM version you were running before the upgrade ( #### 3. Start your services ```bash -docker compose up -d +$ docker compose up -d ``` ### Migration to EspoCRM 10 @@ -440,7 +440,7 @@ By following these instructions, your customizations and data will be preserved. Navigate to your EspoCRM directory and run: ```bash -docker compose down +$ docker compose down ``` #### 2. Update your `docker-compose.yml` @@ -476,7 +476,7 @@ Repeat this for all EspoCRM service containers. #### 3. Start your services ```bash -docker compose up -d +$ docker compose up -d ``` ### Migration to EspoCRM 10 with Docker volumes @@ -494,13 +494,13 @@ By following these instructions, your customizations and data will be preserved. Navigate to your EspoCRM directory and run: ```bash -docker compose down +$ docker compose down ``` #### 2. Create the required volumes ```bash -docker volume create espocrm-data; \ +$ docker volume create espocrm-data; \ docker volume create espocrm-custom; \ docker volume create espocrm-custom-client ``` @@ -508,7 +508,7 @@ docker volume create espocrm-custom-client #### 3. Migrate your data ```bash -docker compose run --rm \ +$ docker compose run --rm \ -v espocrm:/source:ro \ -v espocrm-data:/dest-data \ -v espocrm-custom:/dest-custom \ @@ -569,7 +569,7 @@ volumes: #### 5. Start your services ```bash -docker compose up -d +$ docker compose up -d ``` ### Undefined volume: invalid compose project @@ -594,7 +594,7 @@ Notes: - Replace the `YOUR_ESPOCRM_DB_PASSWORD` with your MySQL espocrm user password. ``` -sudo docker exec -i mysql mysql --user=root -p -e " +$ docker exec -i mysql mysql --user=root -p -e " ALTER USER IF EXISTS 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'YOUR_ROOT_PASSWORD'; ALTER USER IF EXISTS 'root'@'%' IDENTIFIED WITH caching_sha2_password BY 'YOUR_ROOT_PASSWORD'; ALTER USER IF EXISTS 'espocrm'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'YOUR_ESPOCRM_DB_PASSWORD'; @@ -606,6 +606,6 @@ sudo docker exec -i mysql mysql --user=root -p -e " 3\. Restart and build `mysql` container: ``` -sudo docker stop mysql && sudo docker rm mysql -docker compose up -d --build +$ docker stop mysql && docker rm mysql +$ docker compose up -d --build ``` From 2e508a2e5ec8e5589d19a2aad1550ad45ba58ae2 Mon Sep 17 00:00:00 2001 From: Renata Slupetska <99325916+lazespo@users.noreply.github.com> Date: Fri, 3 Jul 2026 14:11:02 +0300 Subject: [PATCH 2/2] Fix formatting for mysql container restart instructions Add missing code block for restarting mysql container --- docs/administration/docker/installation.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/administration/docker/installation.md b/docs/administration/docker/installation.md index d66b49d4d..d2ee3f362 100644 --- a/docs/administration/docker/installation.md +++ b/docs/administration/docker/installation.md @@ -607,5 +607,8 @@ $ docker exec -i mysql mysql --user=root -p -e " ``` $ docker stop mysql && docker rm mysql +``` + +``` $ docker compose up -d --build ```