WebMail Pro 8 documentation

Troubleshooting issues with data directory

To prevent or correct issues with file upload, creating temporary files etc., it's important to make sure data directory is writable by web server.

Typically, that's achieved by changing files ownership to the system user webserver runs under. For example:

chown -R www-data:www-data /var/www/pro/data

In the above line, www-data:www-data is webserver's user and group respectively. For instance, with Apache installed on Ubuntu, that information can be found in /etc/apache2/envvars file:

export APACHE_RUN_USER=www-data
export APACHE_RUN_GROUP=www-data

If you don't have SSH access or if it's not possible to change files ownership for any reason, you can try changing permissions recursively. On Linux systems, changing permissions recursively to 755 or 777 usually helps, e.g.:

chmod -R 0777 /var/www/pro/data

Also, if you may need to relocate data directory, that's supported by the product, see Protecting data directory documentation page for details.