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: docs/IntelOwl/installation.md
+68Lines changed: 68 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -356,6 +356,74 @@ Maintainers strive to keep the upgrade between major version easy but it's not a
356
356
Below you can find the additional process required to upgrade from each major versions.
357
357
</div>
358
358
359
+
#### Updating to >=7.0.0 from a 6.x.x version
360
+
361
+
*Note: Version 7.0.0 is not yet officially released; this guide is provided for the upcoming major update.*
362
+
363
+
IntelOwl v7.0.0 updated the base PostgreSQL image from version 16 to version 18. This change is a breaking change for the database data. You have two choices:
364
+
365
+
- **Choice 1: Start from scratch**: Remove your actual database volumes and start from scratch with a new one.
366
+
- **Choice 2: Migrate your data**: Follow the migration procedure below to move your data from PostgreSQL 16 (v6.x.x) to PostgreSQL 18 (v7.0.0).
367
+
368
+
<div class="admonition warning">
369
+
<p class="admonition-title">Warning</p>
370
+
CARE! We are providing this database migration procedure to help the users to migrate to a new PostgreSQL version.
371
+
372
+
Upgrading PostgreSQL is outside the scope of the IntelOwl project so we do not guarantee that everything will work as intended.
373
+
374
+
In case of doubt, please check the official PostgreSQL documentation.
375
+
376
+
Upgrade at your own risk.
377
+
378
+
</div>
379
+
380
+
The database migration procedure is as follows:
381
+
382
+
1. Ensure IntelOwl version 6.x.x is up and running.
383
+
2. Bring down the application:
384
+
```bash
385
+
./start prod down
386
+
```
387
+
3. Go to the docker folder: `cd docker`
388
+
4. Start a temporary PostgreSQL 16 container with your old data:
389
+
```bash
390
+
docker run -d --name intelowl_postgres_16 -v <OLD_POSTGRES_VOLUME>:/var/lib/postgresql/data/ --env-file env_file_postgres library/postgres:16-alpine
391
+
```
392
+
*Note: `<OLD_POSTGRES_VOLUME>` is usually `intelowl_postgres_data` or `postgres_data` depending on your Docker project name.*
0 commit comments