Skip to content

Commit

Permalink
Merge pull request docker-library#1590 from Bonitasoft-Community/master
Browse files Browse the repository at this point in the history
Update Bonita and Migration Tool versions
  • Loading branch information
tianon authored Oct 19, 2019
2 parents a858fb6 + fdb7aaa commit 2e45394
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions bonita/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.44.0.zip
wget https://release.ow2.org/bonita/bonita-migration-distrib-2.45.0.zip
wget https://download.forge.ow2.org/bonita/BonitaBPMCommunity-7.2.4-Tomcat-7.0.67.zip
unzip bonita-migration-distrib-2.44.0.zip
unzip bonita-migration-distrib-2.45.0.zip
unzip BonitaBPMCommunity-7.2.4-Tomcat-7.0.67.zip
```

Expand All @@ -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.44.0.zip
unzip bonita-migration-distrib-2.44.0.zip
wget https://release.ow2.org/bonita/bonita-migration-distrib-2.45.0.zip
unzip bonita-migration-distrib-2.45.0.zip
```

- Configure the migration tool

```console
$ cd bonita-migration-distrib-2.44.0
$ cd bonita-migration-distrib-2.45.0
```

edit the migration tool config to point towards the copy of bonita home and db
Expand Down Expand Up @@ -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.9.3_postgres --link mydbpostgres:postgres -e "DB_NAME=newbonitadb" -e "DB_USER=newbonitauser" -e "DB_PASS=newbonitapass" -d -p 8081:8080 %%IMAGE%%:7.9.3
$ docker run --name=bonita_7.9.4_postgres --link mydbpostgres:postgres -e "DB_NAME=newbonitadb" -e "DB_USER=newbonitauser" -e "DB_PASS=newbonitapass" -d -p 8081:8080 %%IMAGE%%:7.9.4
```

- Reapply specific configuration if needed, for example with a version >= 7.3.0 :

```console
$ docker exec -ti bonita_7.9.3_postgres /bin/bash
$ docker exec -ti bonita_7.9.4_postgres /bin/bash
```

```console
$ cd /opt/bonita/BonitaCommunity-7.9.3-tomcat/setup
$ cd /opt/bonita/BonitaCommunity-7.9.4-tomcat/setup
$ ./setup.sh pull
$ TENANT_LOGIN=tech_user
$ TENANT_PASSWORD=secret
Expand All @@ -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.9.3_postgres
$ docker restart bonita_7.9.4_postgres
```

- Specific consideration regarding migration to Java 11 in Bonita 7.9
Expand Down

0 comments on commit 2e45394

Please sign in to comment.