Child pages
  • Upgrading WAR
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

There are some significant changes between the way 0.8.4 and 0.9.1 is deployed. To upgrade 0.8.4 to 0.9.1, do a fresh install of 0.9.1 using the installation instructions but skip the Database setup part.

Take note that when you're running eHour as a Windows service you need to uninstall the 0.8.4 service first using the eHour-uninstallService.bat script in eHour's 0.8.4 directory.

Upgrading from version 0.8.4 to version 0.9.1

There are some significant changes between the way 0.8.4 and 0.9.1 is deployed. To upgrade 0.8.4 to 0.9.1, do a fresh install of 0.9.1 using the installation instructions but skip the Database setup part.

Take note that when you're running eHour as a Windows service you need to uninstall the 0.8.4 service first using the eHour-uninstallService.bat script in eHour's 0.8.4 directory.

Upgrading from version 0.8.3 to version 0.8.4

In the sql/mysql/upgrade directory of the distribution there is an update.v0_8.3_to_v0.8.4.mysql.sql script, execute that on your 0.8.3 database to upgrade the tables:

mysql ehour -u user -p < update_v0.8.3_to_v0.8.4.mysql.sql

Copy the ehour-0.8.4.war to your tomcat deploy directory. Update the version number of the war file in the ehour.xml (conf/Catalina/localhost/ehour.xml) and restart Tomcat.

After you restarted Tomcat and you still end up in the previous version, delete the ehour directory in Tomcat's webapps dir.

Take note that when you're running eHour as a Windows service you need to uninstall the service first using the eHour-uninstallService.bat script.

Upgrading from version 0.8.2 to version 0.8.3

For the audit and configurable logo's a few modifications need to be made to the database.
In the sql directory of the distribution there is an update.v0_8.2_to_v0.8.3.mysql.sql script, execute that on your 0.8.2 database to upgrade the tables:

mysql ehour -u user -p < update_v0.8.2_to_v0.8.3.mysql.sql

Copy the ehour-0.8.3.war to your tomcat deploy directory. Update the version number of the war file in the ehour.xml (conf/Catalina/localhost/ehour.xml) and restart Tomcat.

After you restarted Tomcat and you still end up in the previous version, delete the ehour directory in Tomcat's webapps dir.

Take note that when you're running eHour as a Windows service you need to uninstall the service first using the eHour-uninstallService.bat script.

  • No labels