Skip to content

Commit

Permalink
Migration guide for EE 2024.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
varmar05 committed Jun 20, 2024
1 parent f96bbb5 commit cabeb12
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions src/server/upgrade/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,38 @@ Make sure to always back up your database data before doing a migration.

[[toc]]

## Migration guide from 2024.3.x to 2024.4.x

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`.
Perform the migration:

<MigrationType type="EE" />
1. Start up your docker containers
```bash
$ docker-compose -f docker-compose.yml up # or similarly, based on your deployment
```

2. Check that you are on correct versions (`0e3fc92aeaaa`, `223e3be99e92`).
```bash
$ docker exec merginmaps-server flask db current
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO [alembic.runtime.migration] Will assume transactional DDL.
0e3fc92aeaaa
223e3be99e92
```

- If you do not see the version numbers at all, run the following commands:
```bash
$ docker exec merginmaps-server flask db stamp 0e3fc92aeaaa
$ docker exec merginmaps-server flask db stamp 223e3be99e92
```

3. Run the database migration:
```bash
$ docker exec merginmaps-server flask db upgrade community@07f2185e2428
$ docker exec merginmaps-server flask db upgrade enterprise@df5b4efdae7b
```

## Migration guide from 2024.2.x to 2024.3.x

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`.
Expand Down

0 comments on commit cabeb12

Please sign in to comment.