From 1537af85c55aff3eb71a333728428e45d5c5a517 Mon Sep 17 00:00:00 2001 From: JeremJR Date: Thu, 7 Sep 2017 13:44:00 +0200 Subject: [PATCH] update Bonita BPM version --- bonita/content.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bonita/content.md b/bonita/content.md index dc147c6c5..a13c75085 100644 --- a/bonita/content.md +++ b/bonita/content.md @@ -214,17 +214,17 @@ $ chcon -Rt svirt_sandbox_file_t /my/own/datadir - If >= 7.3.0 ```console - $ docker run --name=bonita_7.5.2_postgres --link mydbpostgres:postgres -e "DB_NAME=newbonitadb" -e "DB_USER=newbonitauser" -e "DB_PASS=newbonitapass" -d -p 8081:8080 bonita:7.5.2 + $ docker run --name=bonita_7.5.4_postgres --link mydbpostgres:postgres -e "DB_NAME=newbonitadb" -e "DB_USER=newbonitauser" -e "DB_PASS=newbonitapass" -d -p 8081:8080 bonita:7.5.4 ``` - Reapply specific configuration if needed, for example with a version >= 7.3.0 : ```console - $ docker exec -ti bonita_7.5.2_postgres /bin/bash + $ docker exec -ti bonita_7.5.4_postgres /bin/bash ``` ```console - $ cd /opt/bonita/BonitaBPMCommunity-7.5.2-Tomcat-7.0.76/setup + $ cd /opt/bonita/BonitaBPMCommunity-7.5.4-Tomcat-7.0.76/setup $ ./setup.sh pull $ TENANT_LOGIN=tech_user $ TENANT_PASSWORD=secret @@ -244,7 +244,7 @@ $ chcon -Rt svirt_sandbox_file_t /my/own/datadir ``` ```console - $ docker restart bonita_7.5.2_postgres + $ docker restart bonita_7.5.4_postgres ``` For more details regarding Bonita migration, see the [documentation](http://documentation.bonitasoft.com/?page=migrate-from-an-earlier-version-of-bonita-bpm). @@ -347,7 +347,7 @@ For example, you can increase the log level : 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/BonitaBPMCommunity-7.5.2-Tomcat-7.0.76/server/conf/logging.properties' >> custom_bonita/bonita.sh + echo 'sed -i "s/^org.bonitasoft.level = WARNING$/org.bonitasoft.level = FINEST/" /opt/bonita/BonitaBPMCommunity-7.5.4-Tomcat-7.0.76/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 bonita @@ -356,5 +356,5 @@ Note: There are several ways to check the `bonita` logs. One of them is ```console $ docker exec -ti bonita_custom /bin/bash -tail -f /opt/bonita/BonitaBPMCommunity-7.5.2-Tomcat-7.0.76/server/logs/bonita.`date +%Y-%m-%d`.log +tail -f /opt/bonita/BonitaBPMCommunity-7.5.4-Tomcat-7.0.76/server/logs/bonita.`date +%Y-%m-%d`.log ```