Mautic – The site is currently offline due to encountering an error

After a recent Mautic update, I was hit with the dreaded too many redirects … After fixing that, I got this error: The site is currently offline due to encountering an error

A quick check of the mautic log in the terminal (check your apache conf for its location if needed) showed me it was a permissions issue:

[Sun Nov 12 19:13:32.633775 2017] [:error] [pid 74259] [client 192.168.69.174:28232] RuntimeException: Cache directory “/usr/local/www/apache24/data/mautic/app/cache/prod” is not writable. – in file /usr/local/www/apache24/data/mautic/vendor/symfony/class-loader/ClassCollectionLoader.php – at line 280

So I fixed my webserver file and folder permissions

 

Leave a Reply

Your email address will not be published. Required fields are marked *