The /var/www/mautic/app/logs directory must be writable

Guys,



After a fresh install of Mautic 2.0, I can’t solve just one major problem: “The /var/www/mautic/app/logs directory must be writable. Change the permissions of the /var/www/mautic/app/logs directory so that the web server can write into it.”.



I’m using Ubuntu Linux, and tried to recreate ‘logs’ folder, change permissions of it (with “sudo chmod -R 775 logs”), etc. Nothing works!



Could you help me?



Thanks!



Waldemiro

Guys,

After a fresh install of Mautic 2.0, I can’t solve just one major problem: “The /var/www/mautic/app/logs directory must be writable. Change the permissions of the /var/www/mautic/app/logs directory so that the web server can write into it.”.

I’m using Ubuntu Linux, and tried to recreate ‘logs’ folder, change permissions of it (with “sudo chmod -R 775 logs”), etc. Nothing works!

Could you help me?

Thanks!

Waldemiro

I found out, the ‘logs’ folder doesn’t exist at all. So I just created new ‘logs’ folder in app directory. That works for me.

Unfortunately, this was my first action, and didn’t solve the problem…

Make sure the web user has rights to the folder.

Example - from a command line in Debian/Ubuntu type:

chown -R www-data:www-data /var/www/yoursites.com/app/logs

Just modify the path to go to your mautic install.

Worked perfectly! Thank you!!

Great! np.