Merge pull request #1445 from Bonitasoft-Community/master
update Bonita and migration tool versions
This commit is contained in:
commit
ace7a0f425
|
|
@ -167,9 +167,9 @@ The `-v /my/own/datadir:/opt/bonita` part of the command mounts the `/my/own/dat
|
||||||
|
|
||||||
```console
|
```console
|
||||||
cd bonita_migration
|
cd bonita_migration
|
||||||
wget https://release.ow2.org/bonita/bonita-migration-distrib-2.38.0.zip
|
wget https://release.ow2.org/bonita/bonita-migration-distrib-2.39.0.zip
|
||||||
wget https://download.forge.ow2.org/bonita/BonitaBPMCommunity-7.2.4-Tomcat-7.0.67.zip
|
wget https://download.forge.ow2.org/bonita/BonitaBPMCommunity-7.2.4-Tomcat-7.0.67.zip
|
||||||
unzip bonita-migration-distrib-2.38.0.zip
|
unzip bonita-migration-distrib-2.39.0.zip
|
||||||
unzip BonitaBPMCommunity-7.2.4-Tomcat-7.0.67.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
|
```console
|
||||||
cd bonita_migration
|
cd bonita_migration
|
||||||
wget https://release.ow2.org/bonita/bonita-migration-distrib-2.38.0.zip
|
wget https://release.ow2.org/bonita/bonita-migration-distrib-2.39.0.zip
|
||||||
unzip bonita-migration-distrib-2.38.0.zip
|
unzip bonita-migration-distrib-2.39.0.zip
|
||||||
```
|
```
|
||||||
|
|
||||||
- Configure the migration tool
|
- Configure the migration tool
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ cd bonita-migration-distrib-2.38.0
|
$ cd bonita-migration-distrib-2.39.0
|
||||||
```
|
```
|
||||||
|
|
||||||
edit the migration tool config to point towards the copy of bonita home and db
|
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
|
- If >= 7.3.0
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker run --name=bonita_7.8.2_postgres --link mydbpostgres:postgres -e "DB_NAME=newbonitadb" -e "DB_USER=newbonitauser" -e "DB_PASS=newbonitapass" -d -p 8081:8080 %%IMAGE%%:7.8.2
|
$ docker run --name=bonita_7.8.3_postgres --link mydbpostgres:postgres -e "DB_NAME=newbonitadb" -e "DB_USER=newbonitauser" -e "DB_PASS=newbonitapass" -d -p 8081:8080 %%IMAGE%%:7.8.3
|
||||||
```
|
```
|
||||||
|
|
||||||
- Reapply specific configuration if needed, for example with a version >= 7.3.0 :
|
- Reapply specific configuration if needed, for example with a version >= 7.3.0 :
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker exec -ti bonita_7.8.2_postgres /bin/bash
|
$ docker exec -ti bonita_7.8.3_postgres /bin/bash
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ cd /opt/bonita/BonitaCommunity-7.8.2-Tomcat-8.5.34/setup
|
$ cd /opt/bonita/BonitaCommunity-7.8.3-Tomcat-8.5.34/setup
|
||||||
$ ./setup.sh pull
|
$ ./setup.sh pull
|
||||||
$ TENANT_LOGIN=tech_user
|
$ TENANT_LOGIN=tech_user
|
||||||
$ TENANT_PASSWORD=secret
|
$ TENANT_PASSWORD=secret
|
||||||
|
|
@ -258,7 +258,7 @@ The `-v /my/own/datadir:/opt/bonita` part of the command mounts the `/my/own/dat
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker restart bonita_7.8.2_postgres
|
$ docker restart bonita_7.8.3_postgres
|
||||||
```
|
```
|
||||||
|
|
||||||
For more details regarding Bonita migration, see the [documentation](https://documentation.bonitasoft.com/bonita/7.8/migrate-from-an-earlier-version-of-bonita-bpm).
|
For more details regarding Bonita migration, see the [documentation](https://documentation.bonitasoft.com/bonita/7.8/migrate-from-an-earlier-version-of-bonita-bpm).
|
||||||
|
|
@ -370,7 +370,7 @@ For example, you can increase the log level :
|
||||||
```console
|
```console
|
||||||
$ mkdir -p custom_bonita
|
$ mkdir -p custom_bonita
|
||||||
$ echo '#!/bin/bash' > custom_bonita/bonita.sh
|
$ echo '#!/bin/bash' > custom_bonita/bonita.sh
|
||||||
$ echo 'sed -i "s/^org.bonitasoft.level = WARNING$/org.bonitasoft.level = FINEST/" /opt/bonita/BonitaCommunity-7.8.2-Tomcat-8.5.34/server/conf/logging.properties' >> custom_bonita/bonita.sh
|
$ echo 'sed -i "s/^org.bonitasoft.level = WARNING$/org.bonitasoft.level = FINEST/" /opt/bonita/BonitaCommunity-7.8.3-Tomcat-8.5.34/server/conf/logging.properties' >> custom_bonita/bonita.sh
|
||||||
$ chmod +x 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%%
|
$ docker run --name bonita_custom -v "$PWD"/custom_bonita/:/opt/custom-init.d -d -p 8080:8080 %%IMAGE%%
|
||||||
|
|
@ -380,5 +380,5 @@ Note: There are several ways to check the `bonita` logs. One of them is
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker exec -ti bonita_custom /bin/bash
|
$ docker exec -ti bonita_custom /bin/bash
|
||||||
tail -f /opt/bonita/BonitaCommunity-7.8.2-Tomcat-8.5.34/server/logs/bonita.`date +%Y-%m-%d`.log
|
tail -f /opt/bonita/BonitaCommunity-7.8.3-Tomcat-8.5.34/server/logs/bonita.`date +%Y-%m-%d`.log
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue