This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
Update
Roy Braam edited this page Jul 29, 2013
·
7 revisions
Updating the war files is the same for all versions:
- Undeploy applications with the tomcat manager.
- Place the .war files in the webapp directory
Good news and bad news... \ The Bad: You have to update the database by executing a script on the database... The Good: After updating to 4.3 you don't have to execute scripts on the database any more when updating to later version (4.3+). We implemented a auto database synchronizer that updates the database schema to the correct version.
Updating the database to the new version can be done with the following script:
This update is a bit harder, because it's a unofficial update... You first have to determine the current version of the database schema and then execute the correct scripts. The best way to do this is:
- get the update script 4.2 > 4.3.
- Open the script and check the sub update scripts (scripts are seperated with '-- script xx').
- Open a database client to check if a sub update script is already executed on the database. Do this by checking if there is a:
- column 'value' in table 'layer_details, If so, skip sub script 14 and execute the rest of the script
- table 'geo_service_style_libraries', if so also skip sub script 15 and execute the rest of the script
- column 'extra_legend_parameters' in the table 'style_library', if so also skip sub script 16 and execute the rest of the script
- column 'value' in the table 'application_layer_details', if so also skip sub script 17 and execute the rest of the script
- table 'feature_type_relation', if so also skip sub script 18 and execute the rest of the script
- column 'feature_type' in the table 'configured_attribute', if so also skip sub script 19 and execute the rest of the script
- table 'metadata', if so also skip sub script 20 and execute the rest of the script