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
+32Lines changed: 32 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,38 @@ 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.3.x to 2024.4.x
14
+
15
+
Get the latest <GitHubRepoid="MerginMaps/server/blob/master/docker-compose.yml"desc="docker-compose file" /> or update docker images manually to version `2024.4.0`.
16
+
Perform the migration:
17
+
18
+
<MigrationTypetype="EE" />
19
+
1. Start up your docker containers
20
+
```bash
21
+
$ docker-compose -f docker-compose.yml up # or similarly, based on your deployment
22
+
```
23
+
24
+
2. Check that you are on correct versions (`0e3fc92aeaaa`, `223e3be99e92`).
25
+
```bash
26
+
$ docker exec merginmaps-server flask db current
27
+
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
28
+
INFO [alembic.runtime.migration] Will assume transactional DDL.
29
+
0e3fc92aeaaa
30
+
223e3be99e92
31
+
```
32
+
33
+
- If you do not see the version numbers at all, run the following commands:
34
+
```bash
35
+
$ docker exec merginmaps-server flask db stamp 0e3fc92aeaaa
36
+
$ docker exec merginmaps-server flask db stamp 223e3be99e92
37
+
```
38
+
39
+
3. Run the database migration:
40
+
```bash
41
+
$ docker exec merginmaps-server flask db upgrade community@07f2185e2428
42
+
$ docker exec merginmaps-server flask db upgrade enterprise@df5b4efdae7b
43
+
```
44
+
13
45
## Migration guide from 2024.2.x to 2024.3.x
14
46
15
47
Get the latest <GitHubRepo id="MerginMaps/server/blob/master/docker-compose.yml" desc="docker-compose file" /> or update docker images manually to version `2024.3.0`.
0 commit comments