Upgrade

From Epiware document management wiki

Jump to: navigation, search

Upgrading Epiware

1. Download the latest version of Epiware from http://epiware.com

2. Extract the files from the archive

  tar xfz Epiware_4.x.x.tar.gz

3. Copy the new Epiware files into a temporary folder in your Apache document root for testing

  cp -r Epiware_4.x.x/epi /usr/local/apache/htdocs/epi_new

4. Copy over the config.inc.php and index.php files from the older Epiware installation

  cp /usr/local/apache/htdocs/epi/index.php /usr/local/apache/htdocs/epi_new
  cp /usr/local/apache/htdocs/epi/config.inc.php /usr/local/apache/htdocs/epi_new

5. Change the ownership of the directory so that Apache can read the files

  chown -R nobody /usr/local/apache/htdocs/epi_new

6. Test the new version

  http://www.mydomain.com/epi_new

7. Make a backup of your old installation, and move the new installation.

  mv /usr/local/apache/htdocs/epi /usr/local/apache/htdocs/epi.backup
  mv /usr/local/apache/htdocs/epi_new /usr/local/apache/htdocs/epi

Upgrading Epiware from versions older than 4.7.5

In addition to the steps above, you will also need to create one additional table in your Epiware database (default name is project_db).

  CREATE TABLE `token` (
    `token_id` int(11) NOT NULL auto_increment,
    `token_data` char(64) NOT NULL,
    `num_of_uses` int(11) NOT NULL default '0',
    `time_of_death` datetime NOT NULL default '0000-00-00 00:00:00',
    `user_id` int(11) NOT NULL default '0',
    `group_id` int(11) NOT NULL default '0',
    `time_created` datetime NOT NULL default '0000-00-00 00:00:00',
    PRIMARY KEY  (`token_id`)
  ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Personal tools