Skip to content

Commit 25cb58e

Browse files
authored
Update CHANGELOG.md
1 parent 78f82ae commit 25cb58e

File tree

1 file changed

+50
-16
lines changed

1 file changed

+50
-16
lines changed

CHANGELOG.md

Lines changed: 50 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,68 @@
44

55
### Update Instructions
66

7-
This release of Phraseanet includes an upgrade of MariaDB.
7+
The ```docker compose``` stack bump version of the provided MariaDB.
88

9-
Docker Compose does not cleanly stop MySQL by default. Therefore, an error can occur when restarting the DB after an update.
9+
Docker Compose does not cleanly stop MySQL by default.
10+
Therefore, an error can occur when restarting the DB after an update.
1011
see:https://github.com/MariaDB/mariadb-docker/issues/185
1112

1213
To cleanly stop MariaDB with docker compose, you can use the following command:
1314
```dc exec db /usr/bin/mysqladmin -uroot -p shutdown```
1415

16+
Performing a DB backup is recommended before starting the update procedure.
17+
You can use the db-backup profile included in the docker-compose.tools.yml file to perform the backup.
18+
19+
Added environement variable
1520
MARIADB_AUTO_UPGRADE variable is set to 1 (activated) by default and used to automate the upgrade of the mariadb system tables.
1621
When this environment variable is set, this will run the mariadb-upgrade⁠ (https://mariadb.com/kb/en/mariadb-upgrade/), if needed, so any changes in the MariaDB system tables required to expose new features will be made. This may impeed some downgrade options⁠. Unless the environment variable MARIADB_DISABLE_UPGRADE_BACKUP is set, there will be a backup of the system tables created as system_mysql_backup_*.sql.zst in the top level of the data directory to assist in the downgrade if needed.
1722

18-
- **Migration Patch**:
23+
Keep in mind, the provided MariaDB container in ```docker compose``` and stack is not ready for production as-is and requires adjustments.
24+
It is recommended to use an external, redundant service for the primary datastore.
25+
26+
#### Steps to Follow for Update docker compose stack
27+
28+
29+
1. Perform a backup of the application box and all databoxes published on your MariaDB server (the MariaDB database).
30+
2. Stop the MariaDB server with (adapt it with your credentials):
31+
```sh
32+
dc exec db /usr/bin/mysqladmin -uroot -p shutdown
33+
```
34+
3. Take down the Docker stack with:
35+
```sh
36+
dc down
37+
```
38+
4. Deploy the new Docker stack version.
39+
5. Bring up your stack with:
40+
```sh
41+
dc up -d
42+
```
43+
44+
**Note:** `dc` is a bash function aliasing `docker compose` with `.env` and `.env.local` values merged. See the [README.md](https://github.com/alchemy-fr/Phraseanet/blob/master/README.md#using-a-envlocal-method-for-custom-env-values) for more details.
45+
46+
47+
- **Phraseanet Migration Patch**:
1948
- A migration script for the configuration file is available. Run the following command in the setup container with Docker if the environment variable `PHRASEANET_UPGRADE=1` is set:
2049
```
2150
bin/setup system:upgrade
2251
```
52+
53+
54+
### Stack (Docker Compose and Helm)
55+
56+
- **MariaDB**: Bumped to 10.11.4
57+
2358
### Version Summary
2459
2560
- Bump MariaDB
2661
- todo
2762
2863
29-
## What's Changed
64+
### What's Changed
3065
3166
- WIP
3267
68+
__
3369
## 4.1.15
3470
3571
### Update Instructions
@@ -45,7 +81,7 @@ When this environment variable is set, this will run the mariadb-upgrade⁠ (htt
4581
- Fixed status bit on persisted user's query.
4682
- Fixed issue with expose enabled publication during creation.
4783
48-
## What's Changed
84+
### What's Changed
4985
* PHRAS-3416 Phraseanet Translation by @nmaillat in https://github.com/alchemy-fr/Phraseanet/pull/4578
5086
* PHRAS-4123 : Prod - status preference saved : gives wrong answer after re-authentication by @aynsix in https://github.com/alchemy-fr/Phraseanet/pull/4579
5187
* PHRAS-4115 Prod - Export window - Save File name choice made by the user by @aynsix in https://github.com/alchemy-fr/Phraseanet/pull/4577
@@ -69,13 +105,12 @@ __
69105
- Correcting issue in patch 4111phras4106 where an error occurs if type is absent in IDP providers.
70106
71107
72-
## What's Changed
108+
### What's Changed
73109
* PHRAS-4120: bin/system upgrade - Upgrade fails on 4111phras4106 patch by @aynsix in https://github.com/alchemy-fr/Phraseanet/pull/4574
74110
75111
76112
**Full Changelog**: https://github.com/alchemy-fr/Phraseanet/compare/4.1.13...4.1.14
77113
78-
79114
__
80115
## 4.1.13
81116
@@ -92,14 +127,13 @@ __
92127
- Remove www/.htacess from docker stack.
93128
- Remove Nginx access status.
94129
95-
## What's Changed
130+
### What's Changed
96131
* PHRAS-4117 remove gateway /status and /ping page direct access by @moctardiouf in https://github.com/alchemy-fr/Phraseanet/pull/4571
97132
* PHRAS-4119 exclude www/.htaccess file form docker stack in https://github.com/alchemy-fr/Phraseanet/pull/4573
98133
99134
100135
**Full Changelog**: https://github.com/alchemy-fr/Phraseanet/compare/4.1.12...4.1.13
101136
102-
103137
__
104138
## 4.1.12
105139
@@ -120,7 +154,7 @@ __
120154
121155
- **Phraseanet Base Image**: Bumped to 1.2.2
122156
123-
## What's Changed
157+
### What's Changed
124158
* PHRAS-4109: Language : Secure cookie seems to be always needing HTTPS by @aynsix in https://github.com/alchemy-fr/Phraseanet/pull/4566
125159
* PHRAS-4112 bump base image to 1.2.1 / fix MP4Box by @moctardiouf in https://github.com/alchemy-fr/Phraseanet/pull/4567
126160
* PHRAS-4114 newrelic install fix by @nmaillat in https://github.com/alchemy-fr/Phraseanet/pull/4569
@@ -149,7 +183,7 @@ __
149183
- **Phraseanet Base Image**: Bumped to 1.2.0.
150184
- **Nginx**: adding quota on https requests, set it with environnements variables.
151185
152-
## What's Changed
186+
### What's Changed
153187
* PHRAS-4106 ignore openid groups by @jygaulier in https://github.com/alchemy-fr/Phraseanet/pull/4561
154188
* PHRAS-4093 Adding in UFRAW in Phraseanet base Image by @moctardiouf in https://github.com/alchemy-fr/Phraseanet/pull/4562
155189
* PHRAS-3588 Implement http request quota by type by @moctardiouf in https://github.com/alchemy-fr/Phraseanet/pull/4564
@@ -197,7 +231,7 @@ __
197231
- `imagePullPolicy` can now be set from `values.yaml`.
198232
- Release details: [Helm chart release 0.47.0](https://github.com/alchemy-fr/alchemy-helm-charts-repo/releases/tag/phraseanet-0.47.0)
199233
200-
## What's Changed
234+
### What's Changed
201235
* PHRAS-3416 : fix string in admin create subdef by @aynsix in https://github.com/alchemy-fr/Phraseanet/pull/4534
202236
* PHRAS-3416 create subdefinition localisation by @nmaillat in https://github.com/alchemy-fr/Phraseanet/pull/4537
203237
* PHRAS-4094 Bump rabbitMQ version to 3.8.34 by @gjacobjn in https://github.com/alchemy-fr/Phraseanet/pull/4546
@@ -212,7 +246,7 @@ __
212246
* PHRAS-4104 Nginx bump 1.27.2 by @nmaillat in https://github.com/alchemy-fr/Phraseanet/pull/4557
213247
* PHRAS-4101: Update Range for Subdefinition Image Sizes by @nmaillat in https://github.com/alchemy-fr/Phraseanet/pull/4558
214248
215-
## New Contributors
249+
### New Contributors
216250
* @tacman made their first contribution in https://github.com/alchemy-fr/Phraseanet/pull/4552
217251
218252
**Full Changelog**: https://github.com/alchemy-fr/Phraseanet/compare/4.1.9...4.1.10
@@ -236,7 +270,7 @@ ___
236270
237271
- No change
238272
239-
## What's Changed
273+
### What's Changed
240274
* PHRAS-4083_searchraw-limit-offset-to-result by @jygaulier in https://github.com/alchemy-fr/Phraseanet/pull/4528
241275
* PHRAS-4082: Github action - Check the push image method by @aynsix in https://github.com/alchemy-fr/Phraseanet/pull/4530
242276
* PHRAS-4086_pdftotext-exception by @jygaulier in https://github.com/alchemy-fr/Phraseanet/pull/4532
@@ -272,7 +306,7 @@ ___
272306
- Build of Phraseanet image has been updated with a "Phraseanet base image" available on dockerhub
273307
274308
275-
## What's Changed
309+
### What's Changed
276310
* PHRAS-4058 Admin - workermanager default filter since 3 days by @aynsix in https://github.com/alchemy-fr/Phraseanet/pull/4507
277311
* PHRAS-4064 Fix worker plugin install as app by @moctardiouf in https://github.com/alchemy-fr/Phraseanet/pull/4508
278312
* PHRAS-4042 Fix language in webvtt field uploaded to expose by @aynsix in https://github.com/alchemy-fr/Phraseanet/pull/4510
@@ -312,7 +346,7 @@ ___
312346
313347
- Redis native session support
314348
315-
## What's Changed
349+
### What's Changed
316350
* PHRAS-4041:Prod - matomo - Field display - improve rendering of Matomomediametrics by @aynsix in https://github.com/alchemy-fr/Phraseanet/pull/4497
317351
* PHRAS-3416 Local for worker jobs by @nmaillat in https://github.com/alchemy-fr/Phraseanet/pull/4499
318352
* PHRAS-4056 Change imagemagick version and config file path by @moctardiouf in https://github.com/alchemy-fr/Phraseanet/pull/4500

0 commit comments

Comments
 (0)