Run update.sh
This commit is contained in:
parent
125a32361d
commit
21e9c5d58f
|
|
@ -258,9 +258,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.33.0.zip
|
wget https://release.ow2.org/bonita/bonita-migration-distrib-2.34.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.33.0.zip
|
unzip bonita-migration-distrib-2.34.0.zip
|
||||||
unzip BonitaBPMCommunity-7.2.4-Tomcat-7.0.67.zip
|
unzip BonitaBPMCommunity-7.2.4-Tomcat-7.0.67.zip
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -275,13 +275,13 @@ 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.33.0.zip
|
wget https://release.ow2.org/bonita/bonita-migration-distrib-2.34.0.zip
|
||||||
unzip bonita-migration-distrib-2.33.0.zip
|
unzip bonita-migration-distrib-2.34.0.zip
|
||||||
```
|
```
|
||||||
|
|
||||||
- Configure the migration tool
|
- Configure the migration tool
|
||||||
|
|
||||||
cd bonita-migration-distrib-2.33.0
|
cd bonita-migration-distrib-2.34.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
|
||||||
|
|
||||||
|
|
@ -313,17 +313,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.7.3_postgres --link mydbpostgres:postgres -e "DB_NAME=newbonitadb" -e "DB_USER=newbonitauser" -e "DB_PASS=newbonitapass" -d -p 8081:8080 bonita:7.7.3
|
$ docker run --name=bonita_7.7.4_postgres --link mydbpostgres:postgres -e "DB_NAME=newbonitadb" -e "DB_USER=newbonitauser" -e "DB_PASS=newbonitapass" -d -p 8081:8080 bonita:7.7.4
|
||||||
```
|
```
|
||||||
|
|
||||||
- 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.7.3_postgres /bin/bash
|
$ docker exec -ti bonita_7.7.4_postgres /bin/bash
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ cd /opt/bonita/BonitaCommunity-7.7.3-Tomcat-8.5.31/setup
|
$ cd /opt/bonita/BonitaCommunity-7.7.4-Tomcat-8.5.31/setup
|
||||||
$ ./setup.sh pull
|
$ ./setup.sh pull
|
||||||
$ TENANT_LOGIN=tech_user
|
$ TENANT_LOGIN=tech_user
|
||||||
$ TENANT_PASSWORD=secret
|
$ TENANT_PASSWORD=secret
|
||||||
|
|
@ -343,7 +343,7 @@ The `-v /my/own/datadir:/opt/bonita` part of the command mounts the `/my/own/dat
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker restart bonita_7.7.3_postgres
|
$ docker restart bonita_7.7.4_postgres
|
||||||
```
|
```
|
||||||
|
|
||||||
For more details regarding Bonita migration, see the [documentation](https://documentation.bonitasoft.com/bonita/7.7/migrate-from-an-earlier-version-of-bonita-bpm).
|
For more details regarding Bonita migration, see the [documentation](https://documentation.bonitasoft.com/bonita/7.7/migrate-from-an-earlier-version-of-bonita-bpm).
|
||||||
|
|
@ -454,7 +454,7 @@ For example, you can increase the log level :
|
||||||
|
|
||||||
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.7.3-Tomcat-8.5.31/server/conf/logging.properties' >> custom_bonita/bonita.sh
|
echo 'sed -i "s/^org.bonitasoft.level = WARNING$/org.bonitasoft.level = FINEST/" /opt/bonita/BonitaCommunity-7.7.4-Tomcat-8.5.31/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 bonita
|
docker run --name bonita_custom -v "$PWD"/custom_bonita/:/opt/custom-init.d -d -p 8080:8080 bonita
|
||||||
|
|
@ -463,7 +463,7 @@ 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.7.3-Tomcat-8.5.31/server/logs/bonita.`date +%Y-%m-%d`.log
|
tail -f /opt/bonita/BonitaCommunity-7.7.4-Tomcat-8.5.31/server/logs/bonita.`date +%Y-%m-%d`.log
|
||||||
```
|
```
|
||||||
|
|
||||||
# License
|
# License
|
||||||
|
|
|
||||||
|
|
@ -16,21 +16,21 @@ WARNING:
|
||||||
|
|
||||||
# Supported tags and respective `Dockerfile` links
|
# Supported tags and respective `Dockerfile` links
|
||||||
|
|
||||||
- [`12.0.12RC1-apache`, `12.0.12-rc-apache`, `12.0-rc-apache`, `12-rc-apache`, `12.0.12RC1`, `12.0.12-rc`, `12.0-rc`, `12-rc` (*12.0-rc/apache/Dockerfile*)](https://github.com/nextcloud/docker/blob/0a18ad5c3e29fde4d3022843773be41a72ebf8e4/12.0-rc/apache/Dockerfile)
|
- [`12.0.12RC2-apache`, `12.0.12-rc-apache`, `12.0-rc-apache`, `12-rc-apache`, `12.0.12RC2`, `12.0.12-rc`, `12.0-rc`, `12-rc` (*12.0-rc/apache/Dockerfile*)](https://github.com/nextcloud/docker/blob/37be10745fe9fd6bc2b00cabfa1bd5121e286918/12.0-rc/apache/Dockerfile)
|
||||||
- [`12.0.12RC1-fpm-alpine`, `12.0.12-rc-fpm-alpine`, `12.0-rc-fpm-alpine`, `12-rc-fpm-alpine` (*12.0-rc/fpm-alpine/Dockerfile*)](https://github.com/nextcloud/docker/blob/0a18ad5c3e29fde4d3022843773be41a72ebf8e4/12.0-rc/fpm-alpine/Dockerfile)
|
- [`12.0.12RC2-fpm-alpine`, `12.0.12-rc-fpm-alpine`, `12.0-rc-fpm-alpine`, `12-rc-fpm-alpine` (*12.0-rc/fpm-alpine/Dockerfile*)](https://github.com/nextcloud/docker/blob/37be10745fe9fd6bc2b00cabfa1bd5121e286918/12.0-rc/fpm-alpine/Dockerfile)
|
||||||
- [`12.0.12RC1-fpm`, `12.0.12-rc-fpm`, `12.0-rc-fpm`, `12-rc-fpm` (*12.0-rc/fpm/Dockerfile*)](https://github.com/nextcloud/docker/blob/0a18ad5c3e29fde4d3022843773be41a72ebf8e4/12.0-rc/fpm/Dockerfile)
|
- [`12.0.12RC2-fpm`, `12.0.12-rc-fpm`, `12.0-rc-fpm`, `12-rc-fpm` (*12.0-rc/fpm/Dockerfile*)](https://github.com/nextcloud/docker/blob/37be10745fe9fd6bc2b00cabfa1bd5121e286918/12.0-rc/fpm/Dockerfile)
|
||||||
- [`12.0.11-apache`, `12.0-apache`, `12-apache`, `12.0.11`, `12.0`, `12` (*12.0/apache/Dockerfile*)](https://github.com/nextcloud/docker/blob/91adc66faed2d784b4d6d973d731dd5b5541a5fd/12.0/apache/Dockerfile)
|
- [`12.0.11-apache`, `12.0-apache`, `12-apache`, `12.0.11`, `12.0`, `12` (*12.0/apache/Dockerfile*)](https://github.com/nextcloud/docker/blob/91adc66faed2d784b4d6d973d731dd5b5541a5fd/12.0/apache/Dockerfile)
|
||||||
- [`12.0.11-fpm-alpine`, `12.0-fpm-alpine`, `12-fpm-alpine` (*12.0/fpm-alpine/Dockerfile*)](https://github.com/nextcloud/docker/blob/91adc66faed2d784b4d6d973d731dd5b5541a5fd/12.0/fpm-alpine/Dockerfile)
|
- [`12.0.11-fpm-alpine`, `12.0-fpm-alpine`, `12-fpm-alpine` (*12.0/fpm-alpine/Dockerfile*)](https://github.com/nextcloud/docker/blob/91adc66faed2d784b4d6d973d731dd5b5541a5fd/12.0/fpm-alpine/Dockerfile)
|
||||||
- [`12.0.11-fpm`, `12.0-fpm`, `12-fpm` (*12.0/fpm/Dockerfile*)](https://github.com/nextcloud/docker/blob/91adc66faed2d784b4d6d973d731dd5b5541a5fd/12.0/fpm/Dockerfile)
|
- [`12.0.11-fpm`, `12.0-fpm`, `12-fpm` (*12.0/fpm/Dockerfile*)](https://github.com/nextcloud/docker/blob/91adc66faed2d784b4d6d973d731dd5b5541a5fd/12.0/fpm/Dockerfile)
|
||||||
- [`13.0.7RC1-apache`, `13.0.7-rc-apache`, `13.0-rc-apache`, `13-rc-apache`, `13.0.7RC1`, `13.0.7-rc`, `13.0-rc`, `13-rc` (*13.0-rc/apache/Dockerfile*)](https://github.com/nextcloud/docker/blob/0a18ad5c3e29fde4d3022843773be41a72ebf8e4/13.0-rc/apache/Dockerfile)
|
- [`13.0.7RC2-apache`, `13.0.7-rc-apache`, `13.0-rc-apache`, `13-rc-apache`, `13.0.7RC2`, `13.0.7-rc`, `13.0-rc`, `13-rc` (*13.0-rc/apache/Dockerfile*)](https://github.com/nextcloud/docker/blob/529d4e743c68f24f1065f1940384cbe3ef876128/13.0-rc/apache/Dockerfile)
|
||||||
- [`13.0.7RC1-fpm-alpine`, `13.0.7-rc-fpm-alpine`, `13.0-rc-fpm-alpine`, `13-rc-fpm-alpine` (*13.0-rc/fpm-alpine/Dockerfile*)](https://github.com/nextcloud/docker/blob/0a18ad5c3e29fde4d3022843773be41a72ebf8e4/13.0-rc/fpm-alpine/Dockerfile)
|
- [`13.0.7RC2-fpm-alpine`, `13.0.7-rc-fpm-alpine`, `13.0-rc-fpm-alpine`, `13-rc-fpm-alpine` (*13.0-rc/fpm-alpine/Dockerfile*)](https://github.com/nextcloud/docker/blob/529d4e743c68f24f1065f1940384cbe3ef876128/13.0-rc/fpm-alpine/Dockerfile)
|
||||||
- [`13.0.7RC1-fpm`, `13.0.7-rc-fpm`, `13.0-rc-fpm`, `13-rc-fpm` (*13.0-rc/fpm/Dockerfile*)](https://github.com/nextcloud/docker/blob/0a18ad5c3e29fde4d3022843773be41a72ebf8e4/13.0-rc/fpm/Dockerfile)
|
- [`13.0.7RC2-fpm`, `13.0.7-rc-fpm`, `13.0-rc-fpm`, `13-rc-fpm` (*13.0-rc/fpm/Dockerfile*)](https://github.com/nextcloud/docker/blob/529d4e743c68f24f1065f1940384cbe3ef876128/13.0-rc/fpm/Dockerfile)
|
||||||
- [`13.0.6-apache`, `13.0-apache`, `13-apache`, `stable-apache`, `production-apache`, `13.0.6`, `13.0`, `13`, `stable`, `production` (*13.0/apache/Dockerfile*)](https://github.com/nextcloud/docker/blob/91adc66faed2d784b4d6d973d731dd5b5541a5fd/13.0/apache/Dockerfile)
|
- [`13.0.6-apache`, `13.0-apache`, `13-apache`, `stable-apache`, `production-apache`, `13.0.6`, `13.0`, `13`, `stable`, `production` (*13.0/apache/Dockerfile*)](https://github.com/nextcloud/docker/blob/91adc66faed2d784b4d6d973d731dd5b5541a5fd/13.0/apache/Dockerfile)
|
||||||
- [`13.0.6-fpm-alpine`, `13.0-fpm-alpine`, `13-fpm-alpine`, `stable-fpm-alpine`, `production-fpm-alpine` (*13.0/fpm-alpine/Dockerfile*)](https://github.com/nextcloud/docker/blob/91adc66faed2d784b4d6d973d731dd5b5541a5fd/13.0/fpm-alpine/Dockerfile)
|
- [`13.0.6-fpm-alpine`, `13.0-fpm-alpine`, `13-fpm-alpine`, `stable-fpm-alpine`, `production-fpm-alpine` (*13.0/fpm-alpine/Dockerfile*)](https://github.com/nextcloud/docker/blob/91adc66faed2d784b4d6d973d731dd5b5541a5fd/13.0/fpm-alpine/Dockerfile)
|
||||||
- [`13.0.6-fpm`, `13.0-fpm`, `13-fpm`, `stable-fpm`, `production-fpm` (*13.0/fpm/Dockerfile*)](https://github.com/nextcloud/docker/blob/91adc66faed2d784b4d6d973d731dd5b5541a5fd/13.0/fpm/Dockerfile)
|
- [`13.0.6-fpm`, `13.0-fpm`, `13-fpm`, `stable-fpm`, `production-fpm` (*13.0/fpm/Dockerfile*)](https://github.com/nextcloud/docker/blob/91adc66faed2d784b4d6d973d731dd5b5541a5fd/13.0/fpm/Dockerfile)
|
||||||
- [`14.0.2RC1-apache`, `14.0.2-rc-apache`, `14.0-rc-apache`, `14-rc-apache`, `rc-apache`, `14.0.2RC1`, `14.0.2-rc`, `14.0-rc`, `14-rc`, `rc` (*14.0-rc/apache/Dockerfile*)](https://github.com/nextcloud/docker/blob/0a18ad5c3e29fde4d3022843773be41a72ebf8e4/14.0-rc/apache/Dockerfile)
|
- [`14.0.2RC2-apache`, `14.0.2-rc-apache`, `14.0-rc-apache`, `14-rc-apache`, `rc-apache`, `14.0.2RC2`, `14.0.2-rc`, `14.0-rc`, `14-rc`, `rc` (*14.0-rc/apache/Dockerfile*)](https://github.com/nextcloud/docker/blob/9fced6721e079ca1c0722ebe6412949154d031cb/14.0-rc/apache/Dockerfile)
|
||||||
- [`14.0.2RC1-fpm-alpine`, `14.0.2-rc-fpm-alpine`, `14.0-rc-fpm-alpine`, `14-rc-fpm-alpine`, `rc-fpm-alpine` (*14.0-rc/fpm-alpine/Dockerfile*)](https://github.com/nextcloud/docker/blob/0a18ad5c3e29fde4d3022843773be41a72ebf8e4/14.0-rc/fpm-alpine/Dockerfile)
|
- [`14.0.2RC2-fpm-alpine`, `14.0.2-rc-fpm-alpine`, `14.0-rc-fpm-alpine`, `14-rc-fpm-alpine`, `rc-fpm-alpine` (*14.0-rc/fpm-alpine/Dockerfile*)](https://github.com/nextcloud/docker/blob/9fced6721e079ca1c0722ebe6412949154d031cb/14.0-rc/fpm-alpine/Dockerfile)
|
||||||
- [`14.0.2RC1-fpm`, `14.0.2-rc-fpm`, `14.0-rc-fpm`, `14-rc-fpm`, `rc-fpm` (*14.0-rc/fpm/Dockerfile*)](https://github.com/nextcloud/docker/blob/0a18ad5c3e29fde4d3022843773be41a72ebf8e4/14.0-rc/fpm/Dockerfile)
|
- [`14.0.2RC2-fpm`, `14.0.2-rc-fpm`, `14.0-rc-fpm`, `14-rc-fpm`, `rc-fpm` (*14.0-rc/fpm/Dockerfile*)](https://github.com/nextcloud/docker/blob/9fced6721e079ca1c0722ebe6412949154d031cb/14.0-rc/fpm/Dockerfile)
|
||||||
- [`14.0.1-apache`, `14.0-apache`, `14-apache`, `apache`, `14.0.1`, `14.0`, `14`, `latest` (*14.0/apache/Dockerfile*)](https://github.com/nextcloud/docker/blob/91adc66faed2d784b4d6d973d731dd5b5541a5fd/14.0/apache/Dockerfile)
|
- [`14.0.1-apache`, `14.0-apache`, `14-apache`, `apache`, `14.0.1`, `14.0`, `14`, `latest` (*14.0/apache/Dockerfile*)](https://github.com/nextcloud/docker/blob/91adc66faed2d784b4d6d973d731dd5b5541a5fd/14.0/apache/Dockerfile)
|
||||||
- [`14.0.1-fpm-alpine`, `14.0-fpm-alpine`, `14-fpm-alpine`, `fpm-alpine` (*14.0/fpm-alpine/Dockerfile*)](https://github.com/nextcloud/docker/blob/91adc66faed2d784b4d6d973d731dd5b5541a5fd/14.0/fpm-alpine/Dockerfile)
|
- [`14.0.1-fpm-alpine`, `14.0-fpm-alpine`, `14-fpm-alpine`, `fpm-alpine` (*14.0/fpm-alpine/Dockerfile*)](https://github.com/nextcloud/docker/blob/91adc66faed2d784b4d6d973d731dd5b5541a5fd/14.0/fpm-alpine/Dockerfile)
|
||||||
- [`14.0.1-fpm`, `14.0-fpm`, `14-fpm`, `fpm` (*14.0/fpm/Dockerfile*)](https://github.com/nextcloud/docker/blob/91adc66faed2d784b4d6d973d731dd5b5541a5fd/14.0/fpm/Dockerfile)
|
- [`14.0.1-fpm`, `14.0-fpm`, `14-fpm`, `fpm` (*14.0/fpm/Dockerfile*)](https://github.com/nextcloud/docker/blob/91adc66faed2d784b4d6d973d731dd5b5541a5fd/14.0/fpm/Dockerfile)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue