Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ PHRASEANET_DOCKER_REGISTRY=alchemyfr

# Docker images tag.
# @run
PHRASEANET_DOCKER_TAG=4.1.18
PHRASEANET_DOCKER_TAG=4.1.19

# Stack Name
# An optionnal Name for the stack
Expand Down Expand Up @@ -258,7 +258,7 @@ PHRASEANET_MAINTENANCE=0
# Example :
# PHRASEANET_MAINTENANCE_MESSAGE="<p>Under&#32;maintenance!</p><p>More&#32;information&#32;<a href=\"https://www.yoururl.fr\">here</a></p>"
# @run
PHRASEANET_MAINTENANCE_MESSAGE="Site: $PHRASEANET_PROJECT_NAME are under Maintenance ! Sorry, come back Later"
PHRASEANET_MAINTENANCE_MESSAGE=

# --- RabbitMQ settings ------------------------------------------------------------------------------------------------

Expand Down
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
# CHANGELOG

## 4.1.19

#### Phraseanet Upgrade

- **Phraseanet Migration Patch**:
- 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:
```
bin/setup system:upgrade
```


### Stack (Docker Compose and Helm)

- The RabbitMQ image version can be set in the .env file and updated to 4.1.0-management.
- Introducing a stack_management script, a shortcut for the stack only for Linux and macOS hosts.
- The Minimum required Docker and Docker compose version are now `docker >=27.3.1` and `compose >= 2.30.3`
- Defining Elasticsearch ulimits.

### Version Summary

- New API routes for retrieving a story from records.
- Bug fix on story title.
- ImageMagick policies are applied in the fpm container

## What's Changed
* PHRAS-4151_stories-reference-in-api by @jygaulier in https://github.com/alchemy-fr/Phraseanet/pull/4602
* PHRAS-4153: Rabbitmq : Update rabbitmq to 4.1.0 to fix CVE-2025-32433 by @aynsix in https://github.com/alchemy-fr/Phraseanet/pull/4601
* PHRAS-4154 imageMagick policies management in FPM container by @nmaillat in https://github.com/alchemy-fr/Phraseanet/pull/4604
* PHRAS-4156 Redis image tag from env and others docker stacks fix by @nmaillat in https://github.com/alchemy-fr/Phraseanet/pull/4608
* PHRAS-4157 Add Elasticsearch ulimits inside docker-compose.datastores.yml by @gjacobjn in https://github.com/alchemy-fr/Phraseanet/pull/4612
* PHRAS-4158: Prod - Story -Story title is Nok when is not thumbtitle="1" by @aynsix in https://github.com/alchemy-fr/Phraseanet/pull/4614
* PHRAS-4149 stack management by @nmaillat in https://github.com/alchemy-fr/Phraseanet/pull/4615


**Full Changelog**: https://github.com/alchemy-fr/Phraseanet/compare/4.1.18...4.1.19

__
## 4.1.18

#### Phraseanet Upgrade
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,6 @@ this script work only Linux and MacOS.

This script wrapping standard oprations for the stack, using standard docker compose cmd and take in account `.env` and `env.local | .env.local` files.


The `stop` operation is the most critical function of the script, as it ensures a clean shutdown
of the database container before stopping the entire stack.

This script is useful if you are using the database container within the stack.

see more here ![stack](doc/infra/compose/stack.md)
Expand Down
2 changes: 1 addition & 1 deletion infra/helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> [!IMPORTANT]
> Helm charts included in this repositorie have been moved here
> https://github.com/alchemy-fr/alchemy-helm-charts-repo/tree/main/charts/phraseanet
> https://github.com/alchemy-fr/phraseanet-helm-charts

Helm charts and bash script in this repositorie are not maintained anymore

Expand Down
2 changes: 1 addition & 1 deletion lib/Alchemy/Phrasea/Core/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Version
* @var string
*/

private $number = '4.1.18';
private $number = '4.1.19';

/**
* @var string
Expand Down
7 changes: 1 addition & 6 deletions stack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,14 +166,9 @@ start_stack() {

# Function to stop the Docker stack
stop_stack() {
echo "Stopping the MySQL server in the db container..."
# Execute the mysqladmin command inside the container where the environment variable is defined
$DOCKER_COMPOSE_CMD exec db sh -c '/usr/bin/mysqladmin -uroot -p"$MYSQL_ROOT_PASSWORD" shutdown'
echo

echo "Stopping the Docker stack..."
local env_files=($(get_env_files))
$DOCKER_COMPOSE_CMD "${env_files[@]/#/--env-file=}" down
$DOCKER_COMPOSE_CMD down
}

# Function rabbimq queue information
Expand Down
Loading