Merge pull request #1737 from Bonitasoft-Community/master

Update Bonita and Migration Tool versions
This commit is contained in:
Tianon Gravi 2020-06-11 14:10:45 -07:00 committed by GitHub
commit 2619fcaed8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 11 deletions

View File

@ -167,9 +167,9 @@ The `-v /my/own/datadir:/opt/bonita` part of the command mounts the `/my/own/dat
```console
cd bonita_migration
wget https://release.ow2.org/bonita/bonita-migration-distrib-2.50.0.zip
wget https://release.ow2.org/bonita/bonita-migration-distrib-2.51.0.zip
wget https://download.forge.ow2.org/bonita/BonitaBPMCommunity-7.2.4-Tomcat-7.0.67.zip
unzip bonita-migration-distrib-2.50.0.zip
unzip bonita-migration-distrib-2.51.0.zip
unzip BonitaBPMCommunity-7.2.4-Tomcat-7.0.67.zip
```
@ -184,14 +184,14 @@ The `-v /my/own/datadir:/opt/bonita` part of the command mounts the `/my/own/dat
```console
cd bonita_migration
wget https://release.ow2.org/bonita/bonita-migration-distrib-2.50.0.zip
unzip bonita-migration-distrib-2.50.0.zip
wget https://release.ow2.org/bonita/bonita-migration-distrib-2.51.0.zip
unzip bonita-migration-distrib-2.51.0.zip
```
- Configure the migration tool
```console
$ cd bonita-migration-distrib-2.50.0
$ cd bonita-migration-distrib-2.51.0
```
edit the migration tool config to point towards the copy of bonita home and db
@ -228,17 +228,17 @@ The `-v /my/own/datadir:/opt/bonita` part of the command mounts the `/my/own/dat
- If >= 7.3.0
```console
$ docker run --name=bonita_7.10.4_postgres --link mydbpostgres:postgres -e "DB_NAME=newbonitadb" -e "DB_USER=newbonitauser" -e "DB_PASS=newbonitapass" -d -p 8081:8080 %%IMAGE%%:7.10.4
$ docker run --name=bonita_7.10.5_postgres --link mydbpostgres:postgres -e "DB_NAME=newbonitadb" -e "DB_USER=newbonitauser" -e "DB_PASS=newbonitapass" -d -p 8081:8080 %%IMAGE%%:7.10.5
```
- Reapply specific configuration if needed, for example with a version >= 7.3.0 :
```console
$ docker exec -ti bonita_7.10.4_postgres /bin/bash
$ docker exec -ti bonita_7.10.5_postgres /bin/bash
```
```console
$ cd /opt/bonita/BonitaCommunity-7.10.4/setup
$ cd /opt/bonita/BonitaCommunity-7.10.5/setup
$ ./setup.sh pull
$ TENANT_LOGIN=tech_user
$ TENANT_PASSWORD=secret
@ -258,7 +258,7 @@ The `-v /my/own/datadir:/opt/bonita` part of the command mounts the `/my/own/dat
```
```console
$ docker restart bonita_7.10.4_postgres
$ docker restart bonita_7.10.5_postgres
```
- Specific consideration regarding migration to Java 11 in Bonita 7.9
@ -382,7 +382,7 @@ For example, you can increase the log level :
```console
$ mkdir -p custom_bonita
$ echo '#!/bin/bash' > custom_bonita/bonita.sh
$ echo 'sed -i "s/^org.bonitasoft.level = WARNING$/org.bonitasoft.level = FINEST/" /opt/bonita/BonitaCommunity-7.10.4/server/conf/logging.properties' >> custom_bonita/bonita.sh
$ echo 'sed -i "s/^org.bonitasoft.level = WARNING$/org.bonitasoft.level = FINEST/" /opt/bonita/BonitaCommunity-7.10.5/server/conf/logging.properties' >> custom_bonita/bonita.sh
$ chmod +x custom_bonita/bonita.sh
$ docker run --name bonita_custom -v "$PWD"/custom_bonita/:/opt/custom-init.d -d -p 8080:8080 %%IMAGE%%
@ -400,7 +400,7 @@ Note: There are several ways to check the `bonita` logs. Till Bonita 7.8, one of
```console
$ docker exec -ti bonita_custom /bin/bash
tail -f /opt/bonita/BonitaCommunity-7.10.4/server/logs/bonita.`date +%Y-%m-%d`.log
tail -f /opt/bonita/BonitaCommunity-7.10.5/server/logs/bonita.`date +%Y-%m-%d`.log
```
Since Bonita 7.9 bonita logs are redirected towards standard output and directly accessible using