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 root:root /var/www/lite
chown -R www-data:www-data /var/www/lite/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 0755 /var/www/lite/data
In case if you install the product from our APT repository, you might run into data directory access permissions issue. In some PHP-FPM environments, for example those deployed from DEB.SURY.ORG repository, /usr directory is not writable by default. To make the product work, you will need to modify /lib/systemd/system/php8.4-fpm.service file (assuming PHP 8.4 is used):
Add ReadWritePaths=/usr/share/afterlogic/data
(doublecheck the path as it depends on the installation method)
Also, if you may need to relocate data directory, that's supported by the product, see Protecting data directory documentation page for details.