Landingpages not work - Can't download templates - error ....Failed to open stream: Permission denied

Your software Ubuntu 22.04
My Mautic version is: 4.4.10
My PHP version is: 8.0.30
My Database type and version is: 10.6

I tried to make a landing page - but it doesn’t work. Blank site. I tried to download templates, but here ist the error message.

The stream or file "/var/www/html/mautic/app/../var/logs/mautic_prod-2023-10-02.php" could not be opened in append mode: Failed to open stream: Permission denied

What can i do?

i found the reason and the solution

Due to an upgrade of my server (i think that was the reason) the permission rights were not set to this:

chown -R www-data:www-data /var/www/html/mautic
chmod -R 755 /var/www/html/mautic

After that i deleted the cache and now it works.

php /var/www/html/mautic/bin/console cache:clear

Greetings, Stefan

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.