Skip to content

Commit 4ab1a8c

Browse files
committed
Merge branch 'update' into 'master'
clarified the Postgres update process See merge request CodeScoring/docs!608
2 parents aaddbb2 + bd1d27a commit 4ab1a8c

4 files changed

Lines changed: 10 additions & 2 deletions

File tree

docs/on-premise/postgres-upgrade-compose.en.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ hide:
77

88
Upgrading PostgreSQL to a new major version requires initializing the database using the new PostgreSQL version, creating a dump, and restoring it. Below is the procedure for CodeScoring installations deployed with Docker Compose.
99

10+
!!! warning "Correct update order"
11+
It is not recommended to update the installation and database simultaneously.
12+
The update should be performed sequentially: first update the installation and ensure the service is working correctly, then update the database.
13+
1014
## Prerequisites
1115

1216
### Disk space

docs/on-premise/postgres-upgrade-compose.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ hide:
77

88
Обновление мажорной версии PostgreSQL требует инициализации БД с использованием новой версии PostgreSQL, создания дампа и его восстановления. Ниже описана процедура для инсталляций CodeScoring, развёрнутых с помощью Docker Compose.
99

10+
!!! warning "Корректный порядок обновления"
11+
Не рекомендуется выполнять обновление инсталляции и базы данных одновременно.
12+
Обновление следует проводить последовательно: сначала обновить инсталляцию и убедиться в корректной работе сервиса, после чего выполнять обновление базы данных.
13+
1014
## Необходимые условия
1115

1216
### Дисковое пространство

docs/on-premise/update.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ hide:
77

88
## Standard update guide
99

10-
!!! warning "Recommendation"
10+
!!! warning "Backup"
1111
Before performing an update, make sure to create a full backup of the platform.
1212

1313
To update the system, you need the latest versions of the following files: `docker-compose.yml`, `external-db.override.yml`, `app.env`, and `.env`, which can be obtained from the vendor.

docs/on-premise/update.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ hide:
77

88
## Стандартная инструкция по обновлению
99

10-
!!! warning "Рекомендация"
10+
!!! warning "Резервное копирование"
1111
Перед обновлением обязательно выполните резервное копирование платформы.
1212

1313
Для обновления необходимо иметь актуальные версии файлов `docker-compose.yml`, `external-db.override.yml`, `app.env` и `.env`, которые можно получить у вендора.

0 commit comments

Comments
 (0)