Try Free

Custom Upgrading Package for Windows

actiTIME upgrade procedure includes replacement of actiTIME installation files with the newer ones and update of the database structure. Follow the steps outlined in this instruction to make actiTIME work correctly with your old data.

We have done our best to ensure that your data stays safe. However, it is strongly recommended that you make a backup of actiTIME files prior to upgrading actiTIME.

We also recommend you to back up your actiTIME database before the upgrade procedure.

  1. Stop the Tomcat server.
  2. Make sure Java 8 is installed.

    If not, upgrade it. You can check your current Java version as follows:

    1. Launch Windows Start menu
    2. Click on Programs
    3. Find the Java program listing
    4. Click About Java and see the Java version

    OR:

    Run Command Prompt and execute the command:

    java -version

  3. Make a backup copy of your database parameters. To do that, copy the file actiTIME\WEB-INF\classes\com\actimind\actitime\AT.properties to actiTIME\, where 'actiTIME' is the directory where actiTIME is installed.
  4. Delete all old application resources. To do that, delete all files and directories from the directory 'actiTIME\WEB-INF', where 'actiTIME' is the directory where actiTIME is installed.
  5. Replace actiTIME installation files with the new ones. To do that, copy the installation package file (.zip) to the parent directory of the 'actitime' directory (where actiTIME is installed). Unpack the file. The files of your existing actiTIME installation will be overwritten with their new versions.
  6. Restore your old database parameters. To do that, move the file actiTIME\AT.properties back to the directory actiTIME\WEB-INF\classes\com\actimind\actitime\
  7. Enter the 'actitime' directory.
  8. Allow actiTIME to create stored functions in its database.

    To do that, run the following query in MySQL under the 'root' user account or under any other user account with SUPER privilege:

    SET GLOBAL log_bin_trust_function_creators = 1;

  9. Set up database parameters.

    Database parameters are set up using scripts provided in the installation package.

    If you want actiTIME to work with MS Access database, launch one of the following scripts without parameters:

    1. setup_access_vista.vbs if you are using Windows Vista
    2. setup_access_win7.vbs if you are using Windows 7, 8, 8.1 or 10
    3. setup_access.vbs otherwise

    If you want actiTIME to work with MySQL database server, launch one of the following scripts.

    1. setup_mysql_vista.vbs if you are using Windows Vista
    2. setup_mysql_win7.vbs if you are using Windows 7, 8, 8.1 or 10
    3. setup_mysql.vbs otherwise

    These scripts have the same launch format:

    (script name).vbs
    [/mysqlpath <MYSQLPATH>]

    where

    <MYSQLPATH> is the path to the MySQL executables (where the 'mysql' and 'mysqldump' executable files are placed). If not specified, setup_mysql.sh will ask for it when running.

    Prior to updating the database structure, the setup script backs up the database and saves the data in a file in the 'actitime' directory. The name of the backup file is actitime.mysql4.sql.backup_<YYYYMMDDhhmmss>, where <YYYYMMDDhhmmss> is date and time when the script was run.

  10. Revert the permission to create stored functions to the previous value(if necessary).

    To do that, run the following query in MySQL under the 'root' user account or under any other user with SUPER privilege:

    SET GLOBAL log_bin_trust_function_creators = 0;

  11. Delete old web application data by deleting all files from the Tomcat cache directory <tomcat>/work/<Engine Name>/<Host Name>/actitime/

    where

    <tomcat> is the directory where Tomcat is installed;

    <Engine Name> is the name of the Tomcat engine configured for your installation. Usually it is 'Standalone' or 'Catalina';

    <Host Name> is the name of the virtual host configured for your Tomcat installation.

  12. Start the Tomcat server. Log in to your actiTIME.

    actiTIME will ask you to copy your license key during the first start. If you don’t have license key and want to continue using the free basic 5-user version, click on the 'Run with Free License' button.