Merge pull request #2623 from Bonitasoft-Community/master

Update Bonita Platform and Update Tool versions
This commit is contained in:
yosifkit 2025-09-26 14:42:58 -07:00 committed by GitHub
commit 3b88795e51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 5 deletions

View File

@ -28,7 +28,7 @@ As PostgreSQL is the recommended database for qualification and production envir
From Bonita 2022.1 onwards, the Bonita docker image does not include configuration scripts to automatically create databases and users anymore.
Therefore the PostgreSQL container needs to be configured to work with Bonita before starting the Bonita container. The configuration of a PostgreSQL database to work with Bonita is described in details in the [database configuration page](https://documentation.bonitasoft.com/bonita/latest/runtime/database-configuration#postgres_setup). + Alternatively, Bonita provides a preconfigured [PostgreSQL image](https://hub.docker.com/r/bonitasoft/bonita-postgres) on docker-hub. + You can run the image with the following command:
Therefore, the PostgreSQL container needs to be configured to work with Bonita before starting the Bonita container. The configuration of a PostgreSQL database to work with Bonita is described in details in the [database configuration page](https://documentation.bonitasoft.com/bonita/latest/runtime/database-configuration#postgres_setup). + Alternatively, Bonita provides a preconfigured [PostgreSQL image](https://hub.docker.com/r/bonitasoft/bonita-postgres) on docker-hub. + You can run the image with the following command:
```bash
docker run --name mydbpostgres -h <hostname> -d bonitasoft/bonita-postgres:16.4
@ -190,7 +190,7 @@ These variables are used in conjunction to define how Bonita should access the [
The logger can be configured by mounting a volume on folder `/opt/bonita/conf/logs` containing the configuration files.
the volume must contain the 2 files [log4j2-loggers.xml](https://raw.githubusercontent.com/bonitasoft/bonita-distrib/10.2.0/tomcat-resources/tomcat-distrib-for-bonita/src/main/resources/tomcat/server/conf/log4j2-loggers.xml) and [log4j2-appenders.xml](https://raw.githubusercontent.com/bonitasoft/bonita-distrib/10.2.0/docker/files/log4j2/log4j2-appenders.xml)
the volume must contain the 2 files [log4j2-loggers.xml](https://raw.githubusercontent.com/bonitasoft/bonita-distrib/10.3.0/tomcat-resources/tomcat-distrib-for-bonita/src/main/resources/tomcat/server/conf/log4j2-loggers.xml) and [log4j2-appenders.xml](https://raw.githubusercontent.com/bonitasoft/bonita-distrib/10.3.0/docker/files/log4j2/log4j2-appenders.xml)
Any change made to one of this 2 files is automatically hot-reloaded and taken into account immediately.
@ -249,13 +249,13 @@ For updating from a version before 7.10.0, please refer to the [documentation](h
- Retrieve the last update tool archive from https://www.bonitasoft.com/downloads
```console
unzip bonita-update-tool-3.6.0.zip
unzip bonita-update-tool-3.7.0.zip
```
- Configure the update tool
```console
$ cd bonita-update-tool-3.6.0
$ cd bonita-update-tool-3.7.0
```
edit the update tool configuration file `Config.properties` to point towards the database.
@ -284,7 +284,7 @@ For updating from a version before 7.10.0, please refer to the [documentation](h
- Launch the new container pointing towards the copy of the database.
```console
$ docker run --name=bonita --link mydbpostgres:postgres -e "DB_NAME=newbonitadb" -e "DB_USER=newbonitauser" -e "DB_PASS=newbonitapass" -d -p 8081:8080 %%IMAGE%%:2024.3-u0
$ docker run --name=bonita --link mydbpostgres:postgres -e "DB_NAME=newbonitadb" -e "DB_USER=newbonitauser" -e "DB_PASS=newbonitapass" -d -p 8081:8080 %%IMAGE%%:2025.1-u0
```
For more details regarding Bonita update and for version before 7.10.0, see the [documentation](https://documentation.bonitasoft.com/bonita/latest/version-update/migrate-from-an-earlier-version-of-bonita).