Skip to content

Commit 5e4182a

Browse files
authored
Merge pull request #477 from MerginMaps/ee_release_3.0
Add migration guide for EE 2024.3.0
2 parents 2b6dd4f + fd8c04f commit 5e4182a

File tree

1 file changed

+33
-2
lines changed

1 file changed

+33
-2
lines changed

src/server/upgrade/index.md

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,38 @@ Make sure to always back up your database data before doing a migration.
1010

1111
[[toc]]
1212

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 <GitHubRepo id="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+
<MigrationType type="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
1445

1546
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`.
1647
Perform the migration:
@@ -31,7 +62,7 @@ Perform the migration:
3162
35af0c8be41e
3263
```
3364

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:
3566
```bash
3667
$ docker exec merginmaps-server flask db stamp 35af0c8be41e
3768
$ docker exec merginmaps-server flask db stamp 3a77058a2fd7

0 commit comments

Comments
 (0)