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
+33-2Lines changed: 33 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +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 2023.6.1 to 2024.2.1
13
+
## Migration guide from 2024.2.x to 2024.3.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.3.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 (`a5d4defded55`, `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
+
a5d4defded55
30
+
223e3be99e92 (head)
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 a5d4defded55
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@0e3fc92aeaaa
42
+
```
43
+
44
+
## Migration guide from 2023.6.1 to 2024.2.x
14
45
15
46
Get the latest <GitHubRepo id="MerginMaps/server/blob/master/docker-compose.yml" desc="docker-compose file" /> or update docker images manually to version `2024.2.1`.
16
47
Perform the migration:
@@ -31,7 +62,7 @@ Perform the migration:
31
62
35af0c8be41e
32
63
```
33
64
34
-
- If you do not see the version numbers at all, run the following command:
65
+
- If you do not see the version numbers at all, run the following commands:
35
66
```bash
36
67
$ docker exec merginmaps-server flask db stamp 35af0c8be41e
37
68
$ docker exec merginmaps-server flask db stamp 3a77058a2fd7
0 commit comments