Skip to content

Commit 5dcc2cf

Browse files
authored
Merge pull request #489 from MerginMaps/mig_guide_2024.4.0
Migration guide for EE 2024.4.0
2 parents f96bbb5 + cabeb12 commit 5dcc2cf

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

src/server/upgrade/index.md

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

1111
[[toc]]
1212

13+
## Migration guide from 2024.3.x to 2024.4.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.4.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 (`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+
1345
## Migration guide from 2024.2.x to 2024.3.x
1446

1547
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

Comments
 (0)