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
To cleanly stop MariaDB with docker compose, you can use the following command:
13
14
```dc exec db /usr/bin/mysqladmin -uroot -p shutdown```
14
15
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
15
20
MARIADB_AUTO_UPGRADE variable is set to 1 (activated) by default and used to automate the upgrade of the mariadb system tables.
16
21
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.
17
22
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**:
19
48
- 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:
20
49
```
21
50
bin/setup system:upgrade
22
51
```
52
+
53
+
54
+
### Stack (Docker Compose and Helm)
55
+
56
+
- **MariaDB**: Bumped to 10.11.4
57
+
23
58
### Version Summary
24
59
25
60
- Bump MariaDB
26
61
- todo
27
62
28
63
29
-
## What's Changed
64
+
### What's Changed
30
65
31
66
- WIP
32
67
68
+
__
33
69
## 4.1.15
34
70
35
71
### Update Instructions
@@ -45,7 +81,7 @@ When this environment variable is set, this will run the mariadb-upgrade (htt
45
81
- Fixed status bit on persisted user's query.
46
82
- Fixed issue with expose enabled publication during creation.
47
83
48
-
## What's Changed
84
+
### What's Changed
49
85
* PHRAS-3416 Phraseanet Translation by @nmaillat in https://github.com/alchemy-fr/Phraseanet/pull/4578
50
86
* PHRAS-4123 : Prod - status preference saved : gives wrong answer after re-authentication by @aynsix in https://github.com/alchemy-fr/Phraseanet/pull/4579
51
87
* 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 @@ __
69
105
- Correcting issue in patch 4111phras4106 where an error occurs if type is absent in IDP providers.
70
106
71
107
72
-
## What's Changed
108
+
### What's Changed
73
109
* PHRAS-4120: bin/system upgrade - Upgrade fails on 4111phras4106 patch by @aynsix in https://github.com/alchemy-fr/Phraseanet/pull/4574
* PHRAS-4117 remove gateway /status and /ping page direct access by @moctardiouf in https://github.com/alchemy-fr/Phraseanet/pull/4571
97
132
* PHRAS-4119 exclude www/.htaccess file form docker stack in https://github.com/alchemy-fr/Phraseanet/pull/4573
* PHRAS-4109: Language : Secure cookie seems to be always needing HTTPS by @aynsix in https://github.com/alchemy-fr/Phraseanet/pull/4566
125
159
* PHRAS-4112 bump base image to 1.2.1 / fix MP4Box by @moctardiouf in https://github.com/alchemy-fr/Phraseanet/pull/4567
126
160
* PHRAS-4114 newrelic install fix by @nmaillat in https://github.com/alchemy-fr/Phraseanet/pull/4569
@@ -149,7 +183,7 @@ __
149
183
- **Phraseanet Base Image**: Bumped to 1.2.0.
150
184
- **Nginx**: adding quota on https requests, set it with environnements variables.
151
185
152
-
## What's Changed
186
+
### What's Changed
153
187
* PHRAS-4106 ignore openid groups by @jygaulier in https://github.com/alchemy-fr/Phraseanet/pull/4561
154
188
* PHRAS-4093 Adding in UFRAW in Phraseanet base Image by @moctardiouf in https://github.com/alchemy-fr/Phraseanet/pull/4562
155
189
* PHRAS-3588 Implement http request quota by type by @moctardiouf in https://github.com/alchemy-fr/Phraseanet/pull/4564
@@ -197,7 +231,7 @@ __
197
231
- `imagePullPolicy` can now be set from `values.yaml`.
* PHRAS-4083_searchraw-limit-offset-to-result by @jygaulier in https://github.com/alchemy-fr/Phraseanet/pull/4528
241
275
* PHRAS-4082: Github action - Check the push image method by @aynsix in https://github.com/alchemy-fr/Phraseanet/pull/4530
242
276
* PHRAS-4086_pdftotext-exception by @jygaulier in https://github.com/alchemy-fr/Phraseanet/pull/4532
@@ -272,7 +306,7 @@ ___
272
306
- Build of Phraseanet image has been updated with a "Phraseanet base image" available on dockerhub
273
307
274
308
275
-
## What's Changed
309
+
### What's Changed
276
310
* PHRAS-4058 Admin - workermanager default filter since 3 days by @aynsix in https://github.com/alchemy-fr/Phraseanet/pull/4507
277
311
* PHRAS-4064 Fix worker plugin install as app by @moctardiouf in https://github.com/alchemy-fr/Phraseanet/pull/4508
278
312
* 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 @@ ___
312
346
313
347
- Redis native session support
314
348
315
-
## What's Changed
349
+
### What's Changed
316
350
* PHRAS-4041:Prod - matomo - Field display - improve rendering of Matomomediametrics by @aynsix in https://github.com/alchemy-fr/Phraseanet/pull/4497
317
351
* PHRAS-3416 Local for worker jobs by @nmaillat in https://github.com/alchemy-fr/Phraseanet/pull/4499
318
352
* PHRAS-4056 Change imagemagick version and config file path by @moctardiouf in https://github.com/alchemy-fr/Phraseanet/pull/4500
0 commit comments