Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 14 additions & 11 deletions docs/administration/docker/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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
Expand All @@ -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`
Expand Down Expand Up @@ -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
Expand All @@ -494,21 +494,21 @@ 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
```

#### 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 \
Expand Down Expand Up @@ -569,7 +569,7 @@ volumes:
#### 5. Start your services

```bash
docker compose up -d
$ docker compose up -d
```

### Undefined volume: invalid compose project
Expand All @@ -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';
Expand All @@ -606,6 +606,9 @@ 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
```