Skip to content

Commit ec6014e

Browse files
authored
Merge pull request #643 from MerginMaps/upgrade-server-sso
Upgrade notes for 2025.5.0
2 parents 822c3d3 + 21af680 commit ec6014e

File tree

1 file changed

+51
-4
lines changed

1 file changed

+51
-4
lines changed

src/server/upgrade/index.md

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

1111
[[toc]]
1212

13+
## From 2025.3.x to 2025.5.x {#migration-guide-from-2025-3-x-to-2025-5-x}
14+
15+
<MigrationType type="EE" />
16+
17+
Perform the migration:
18+
19+
1. Stop your running docker containers
20+
```bash
21+
$ docker compose -f docker-compose.yml down # or similarly, based on your previous deployment
22+
```
23+
2. Please clone or pull the <GitHubRepo id="MerginMaps/server/blob/master/" desc="server repository" /> or download <GitHubRepo id="MerginMaps/server/blob/master/deployment/" desc="deployment folder" />
24+
```bash
25+
$ cd server/deployment/enterprise
26+
```
27+
3. Adapt your existing `docker-compose.yml` file to the new version.
28+
4. Upgrade your nginx proxy configuration file with the latest version available in the <GitHubRepo id="MerginMaps/server/blob/master/deployment/common/nginx.conf" desc="nginx.conf" /> (This is a necessary step for improved downloading of zip files from the dashboard).
29+
5. Start up your docker containers
30+
```bash
31+
$ docker compose -f docker-compose.yml -d up # or similarly, based on your deployment
32+
```
33+
6. Check that you are on correct database migration versions (`5ad13be6f7ef`, `819e6b20ee93`).
34+
```bash
35+
$ docker exec merginmaps-server flask db current
36+
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
37+
INFO [alembic.runtime.migration] Will assume transactional DDL.
38+
5ad13be6f7ef
39+
819e6b20ee93
40+
```
41+
42+
- If you do not see the version numbers at all, run the following commands:
43+
```bash
44+
$ docker exec merginmaps-server flask db stamp 5ad13be6f7ef
45+
$ docker exec merginmaps-server flask db stamp 819e6b20ee93
46+
```
47+
7. Run the database migration:
48+
```bash
49+
$ docker exec merginmaps-server flask db upgrade community@6cb54659c1de
50+
$ docker exec merginmaps-server flask db upgrade enterprise@e95d051969ce
51+
```
52+
53+
:::warning Downloading zip files from the dashboard
54+
Zip files are now stored in temporary storage and are deleted after 7 days. This can increase the storage usage of <MainPlatformName /> server. Make sure you have enough space on your server.
55+
:::
56+
57+
### Enable Single Sign-On
58+
59+
To enable Single Sign-On for your server, follow the instructions in [Deployment of Single Sign On](../sso-deployment).
1360

1461
## From 2025.2.x to 2025.3.x {#migration-guide-from-2025-2-x-to-2025-3-x}
1562

@@ -46,8 +93,8 @@ Perform the migration:
4693
$ docker exec merginmaps-server flask db current
4794
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
4895
INFO [alembic.runtime.migration] Will assume transactional DDL.
49-
ba5051218de4 (head)
50-
ba5ae5972c4a (head)
96+
ba5051218de4
97+
ba5ae5972c4a
5198
```
5299

53100
- If you do not see the version numbers at all, run the following commands:
@@ -170,8 +217,8 @@ Perform the migration:
170217
$ docker exec merginmaps-server flask db current
171218
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
172219
INFO [alembic.runtime.migration] Will assume transactional DDL.
173-
07f2185e2428 (head)
174-
df5b4efdae7b (head)
220+
07f2185e2428
221+
df5b4efdae7b
175222
```
176223

177224
- If you do not see the version numbers at all, run the following commands:

0 commit comments

Comments
 (0)