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
+51-4Lines changed: 51 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,53 @@ Make sure to always back up your database data before doing a migration.
10
10
11
11
[[toc]]
12
12
13
+
## From 2025.3.x to 2025.5.x {#migration-guide-from-2025-3-x-to-2025-5-x}
14
+
15
+
<MigrationTypetype="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 <GitHubRepoid="MerginMaps/server/blob/master/"desc="server repository" /> or download <GitHubRepoid="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 <GitHubRepoid="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 foryour server, follow the instructionsin [Deployment of Single Sign On](../sso-deployment).
13
60
14
61
## From 2025.2.x to 2025.3.x {#migration-guide-from-2025-2-x-to-2025-3-x}
15
62
@@ -46,8 +93,8 @@ Perform the migration:
46
93
$ docker exec merginmaps-server flask db current
47
94
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
48
95
INFO [alembic.runtime.migration] Will assume transactional DDL.
49
-
ba5051218de4 (head)
50
-
ba5ae5972c4a (head)
96
+
ba5051218de4
97
+
ba5ae5972c4a
51
98
```
52
99
53
100
- If you do not see the version numbers at all, run the following commands:
@@ -170,8 +217,8 @@ Perform the migration:
170
217
$ docker exec merginmaps-server flask db current
171
218
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
172
219
INFO [alembic.runtime.migration] Will assume transactional DDL.
173
-
07f2185e2428 (head)
174
-
df5b4efdae7b (head)
220
+
07f2185e2428
221
+
df5b4efdae7b
175
222
```
176
223
177
224
- If you do not see the version numbers at all, run the following commands:
0 commit comments