Upgrading instructions

Please use the following instructions to upgrade from previous v8 of WebMail Pro to the latest version of WebMail Pro 8.

If you need to upgrade from v7 of WebMail Pro, please following "Alternative migration approach" described in Migration from v7 documentation page.

Create complete backup of your existing installation and the database. You can use tools like PhpMyAdmin or mysqldump to get a database backup.

Remove all the installation files except for data/ subdirectory.

Download and extract new product package, copy all the subdirectories and files where the previous installation was located; data/ subdirectory must however remain intact.

NB: The package includes .htaccess file with adjustment directives to make CSRF protection work; getting Error 500 may mean you have mod_rewrite disabled. Read more on this at CSRF protection documentation page.

In dev/update_dav.php file, locate the following line and supply a password there:

$sPassword = "";

and run the script with password specified, for instance:

http://your-pro-domain/dev/update_dav.php?pass=12345

It will update the DAV database tables for the latest version.

Alternately, the script can be run from console, the password isn't required for that:

php /var/www/pro/dev/update_dav.php

NB: There's a known issue when, upon the upgrade, users have Contacts or Calendar screen opened by default, rather than email inbox. To correct that, modify data/settings/modules/CoreWebclient.config.json file and make sure it has the following configuration settings added: