You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/server/upgrade/index.md
+74-7Lines changed: 74 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,32 +10,99 @@ Make sure to always back up your database data before doing a migration.
10
10
11
11
[[toc]]
12
12
13
-
## Migration guide from 2024.4.x to 2025.2.x
14
13
15
-
Get the latest <GitHubRepoid="MerginMaps/server/blob/master/docker-compose.yml"desc="docker-compose file" /> or update docker images manually to version `2025.2.0`.
Previous individual `server` container is replaced by 3 service dedicated containers that split the core components of <MainPlatformName />, `server-gunicorn` the app, `celery-beat` Celery task scheduler and `celery-worker` a dedicated worker container for Celery tasks.
20
+
:::
21
+
22
+
<MigrationTypetype="CE" />
23
+
24
+
Get the latest <GitHubRepoid="MerginMaps/server/blob/master/docker-compose.yml"desc="docker-compose file" /> or update docker images manually to version `2025.2.2`.
16
25
Perform the migration:
17
26
18
-
<MigrationTypetype="EE" />
27
+
1. Stop your running docker containers
28
+
```bash
29
+
$ docker compose -f docker-compose.yml down # or similarly, based on your deployment
30
+
# INFO: After shutdown update the docker-compose.yml file to latest release
31
+
```
32
+
33
+
2. Double check if below environment variables are available and filled in `.prod.env` environment file. If not, add them.
34
+
```bash
35
+
SECURITY_EMAIL_SALT='<YOUR STRONG HASH>'
36
+
SECURITY_BEARER_SALT='<YOUR STRONG HASH>'
37
+
```
38
+
39
+
3. Start up your docker containers
40
+
- If you stopped the containers during step `1` with new version compose file, you need to manually stop and remove containers.
Previous individual `server` container is replaced by 3 service dedicated containers that split the core components of <MainPlatformName />, `server-gunicorn` the app, `celery-beat` Celery task scheduler and `celery-worker` a dedicated worker container for Celery tasks.
23
79
:::
24
80
81
+
<MigrationType type="EE" />
82
+
83
+
Get the latest <GitHubRepo id="MerginMaps/server/blob/master/docker-compose.yml" desc="docker-compose file" /> or update docker images manually to version `2025.2.0`.
84
+
Perform the migration:
85
+
25
86
1. Stop your running docker containers and build the new images
26
87
```bash
27
88
$ docker compose -f docker-compose.yml down # or similarly, based on your deployment
28
89
# INFO: After shutdown update the docker-compose.yml file to latest release
29
90
```
30
91
31
-
2. Double check if below environment variables are available and filled in `.prod.env` environment file. If not, add them.
32
-
92
+
2. Double check if below environment variables are available and filled in`.prod.env` environment file. If not, add them.
33
93
```bash
34
94
SECURITY_EMAIL_SALT='<YOUR STRONG HASH>'
35
95
SECURITY_BEARER_SALT='<YOUR STRONG HASH>'
36
96
```
37
97
38
98
3. Start up your docker containers
99
+
- If you stopped the containers during step `1` with new version compose file, you need to manually stop and remove containers.
0 commit comments