Update existing installation
This page describes how to update an existing installation to a newer version. Existing apps, app templates and report templates as well as uploaded bundles are preserved.
To identify which version you are running, open the URL https://<yourserver>/mapapps/info.txt.
|
Before updating
|
Update steps
To update map.apps to a newer version, follow these steps:
-
Stop the Apache Tomcat server.
-
Remove the old map.apps context from
%TOMCAT%\webapps\(move it to a backup folder before deleting it completely). -
Extract the new map.apps version to
%TOMCAT%\webapps\. -
Check which settings were made in the previous installation of map.apps in the file
WEB-INF\classes\custom-application.properties. Restore these settings in the file%TOMCAT%\webapps\mapapps\WEB-INF\classes\custom-application.properties:-
data.directory.location: Set this property to the path of the working directory of your previous map.apps version. -
config.directory.location: Set this property to the path of the data directory of your previous map.apps version. This setting is only necessary if the working directory and data directory differ from each other.
-
-
If you are using a database connection via JNDI, open the file
%TOMCAT%\webapps\mapapps\META-INF\context.xmland remove the enclosing comment tags from the element<ResourceLink name="jdbc/mapapps" global="mapappsdb" type="javax.sql.DataSource"/>to reenable it. -
Start the Apache Tomcat server.