Skip to content

Commit

Permalink
How to upgrade KNOWAGE reviewed
Browse files Browse the repository at this point in the history
(cherry picked from commit 26970aa)
  • Loading branch information
davide-zerbetto committed May 5, 2023
1 parent 7ff4668 commit c92f7bb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions chapter_5/how_upgrade.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
How upgrade KNOWAGE
How to upgrade KNOWAGE
#############

This section describes the main steps to manually update an existing Knowage installation, on top of the certified Apache Tomcat server, to the latest available version.
This section describes the main steps to manually update an existing Knowage installation, on top of the certified Apache Tomcat server, to the latest available version. In case you are moving between 2 KNOWAGE versions with different certified Apache Tomcat servers, we recommend to follow all the instructions described on the manual installation section.

Pay attention to the fact that Knowage versions' names adhere to the Semantic Versioning 2.0.0.

Expand Down Expand Up @@ -60,6 +60,15 @@ To upgrade Knowage installation follow these steps:
<Environment name="password_encryption_secret" description="File for security encryption location"
type="java.lang.String" value="${catalina.home}/conf/knowage.secret"/>
- in case you are upgrading from a version prior to 8.1.0, you need to add the ``symmetric_encryption_key`` system property in file ``TOMCAT_HOME/bin/setenv.sh`` or ``TOMCAT_HOME/bin/setenv.bat``; that property is required to encrypt/decrypt the JDBC data source passwords:

.. code-block:: bash
export JAVA_OPTS="$JAVA_OPTS -Dsymmetric_encryption_key=<any random string>"
.. code-block:: bash
set JAVA_OPTS=%JAVA_OPTS% -Dsymmetric_encryption_key=<any random string>
At this point, in some cases you need to deal with some configuration files, in particular when you modified the following files within the previous Knowage installation, then you need to restore those changes (after having unzipped the war files):

Expand Down
2 changes: 1 addition & 1 deletion chapter_5/sso/index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
How configure the KNOWAGE Single Sign On
How to configure the KNOWAGE Single Sign On
###########

.. toctree::
Expand Down

0 comments on commit c92f7bb

Please sign in to comment.