Mautic Community Forums

mautic offline error

Hello,



I tried to get cronfig working and thought I should change the defualt queue directory. Now I get the dreaded offline mode when trying to go to the dashboard. Error logs are here. I tried to find in the sql database how to turn off queeing and api as I also turned this on. Is there a way to do this?? How do I access the configuration data?



So one of them is killing mautic. Can I install mautic again and reset everything without losing my work? Is all my work saved in the sql database???



Here’s logs:



The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator.



[Mon Feb 6 06:13:41 2017] [error] #0 /var/www/vhosts/61/259679/webspace/httpdocs/calvinjones.com/mautic/app/cache/prod/appProdProjectContainer.php(16742): Swift_FileSpool->__construct(’/mautic/cronfig…’)

[Mon Feb 6 06:13:41 2017] [error] #1 /var/www/vhosts/61/259679/webspace/httpdocs/calvinjones.com/mautic/vendor/symfony/dependency-injection/Container.php(314): appProdProjectContainer->getSwiftma



And from muatic…



[2017-02-06 11:08:04] mautic.WARNING: PHP Warning: mkdir(): Permission denied - in file /var/www/vhosts/61/259679/webspace/httpdocs/calvinjones.com/mautic/vendor/swiftmailer/swiftmailer/lib/classes/Swift/FileSpool.php - at line 41 [] []

[2017-02-06 11:08:04] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentConfigExceptionFileLoaderLoadException: “Unable to create path “/mautic/cronfig/spool/default” in . (which is loaded in resource “.”).” at /var/www/vhosts/61/259679/webspace/httpdocs/calvinjones.com/mautic/vendor/symfony/config/Loader/FileLoader.php line 133 {“exception”:"[object] (Symfony\Component\Config\Exception\FileLoaderLoadException(code: 0): Unable to create path “/mautic/cronfig/spool/default” in . (which is loaded in resource “.”). at /var/www/vhosts/61/259679/webspace/httpdocs/calvinjones.com/mautic/vendor/symfony/config/Loader/FileLoader.php:133, Swift_IoException(code: 0): Unable to create path “/mautic/cronfig/spool/default”. at /var/www/vhosts/61/259679/webspace/httpdocs/calvinjones.com/mautic/vendor/swiftmailer/swiftmailer/lib/classes/Swift/FileSpool.php:42)"} []

[2017-02-06 11:08:04] mautic.CRITICAL: Exception thrown when handling an exception (Swift_IoException: Unable to create path “/mautic/cronfig/spool/default”. at /var/www/vhosts/61/259679/webspace/httpdocs/calvinjones.com/mautic/vendor/swiftmailer/swiftmailer/lib/classes/Swift/FileSpool.php line 42) {“exception”:"[object] (Swift_IoException(code: 0): Unable to create path “/mautic/cronfig/spool/default”. at /var/www/vhosts/61/259679/webspace/httpdocs/calvinjones.com/mautic/vendor/swiftmailer/swiftmailer/lib/classes/Swift/FileSpool.php:42)"} []

[2017-02-06 11:08:04] mautic.ERROR: Warning: mkdir(): Permission denied - in file /var/www/vhosts/61/259679/webspace/httpdocs/calvinjones.com/mautic/vendor/swiftmailer/swiftmailer/lib/classes/Swift/FileSpool.php - at line 41 [] []



Thanks for any help. Mautic is becoming a nightmare.



And mautic.com doesn’t work to open a new free account either.



Ouch.

Hello,

I tried to get cronfig working and thought I should change the defualt queue directory. Now I get the dreaded offline mode when trying to go to the dashboard. Error logs are here. I tried to find in the sql database how to turn off queeing and api as I also turned this on. Is there a way to do this?? How do I access the configuration data?

So one of them is killing mautic. Can I install mautic again and reset everything without losing my work? Is all my work saved in the sql database???

Here’s logs:

The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator.

[Mon Feb 6 06:13:41 2017] [error] #0 /var/www/vhosts/61/259679/webspace/httpdocs/calvinjones.com/mautic/app/cache/prod/appProdProjectContainer.php(16742): Swift_FileSpool->__construct(’/mautic/cronfig…’)
[Mon Feb 6 06:13:41 2017] [error] #1 /var/www/vhosts/61/259679/webspace/httpdocs/calvinjones.com/mautic/vendor/symfony/dependency-injection/Container.php(314): appProdProjectContainer->getSwiftma

And from muatic…

[2017-02-06 11:08:04] mautic.WARNING: PHP Warning: mkdir(): Permission denied - in file /var/www/vhosts/61/259679/webspace/httpdocs/calvinjones.com/mautic/vendor/swiftmailer/swiftmailer/lib/classes/Swift/FileSpool.php - at line 41 [] []
[2017-02-06 11:08:04] mautic.CRITICAL: Uncaught PHP Exception SymfonyComponentConfigExceptionFileLoaderLoadException: “Unable to create path “/mautic/cronfig/spool/default” in . (which is loaded in resource “.”).” at /var/www/vhosts/61/259679/webspace/httpdocs/calvinjones.com/mautic/vendor/symfony/config/Loader/FileLoader.php line 133 {“exception”:"[object] (Symfony\Component\Config\Exception\FileLoaderLoadException(code: 0): Unable to create path “/mautic/cronfig/spool/default” in . (which is loaded in resource “.”). at /var/www/vhosts/61/259679/webspace/httpdocs/calvinjones.com/mautic/vendor/symfony/config/Loader/FileLoader.php:133, Swift_IoException(code: 0): Unable to create path “/mautic/cronfig/spool/default”. at /var/www/vhosts/61/259679/webspace/httpdocs/calvinjones.com/mautic/vendor/swiftmailer/swiftmailer/lib/classes/Swift/FileSpool.php:42)"} []
[2017-02-06 11:08:04] mautic.CRITICAL: Exception thrown when handling an exception (Swift_IoException: Unable to create path “/mautic/cronfig/spool/default”. at /var/www/vhosts/61/259679/webspace/httpdocs/calvinjones.com/mautic/vendor/swiftmailer/swiftmailer/lib/classes/Swift/FileSpool.php line 42) {“exception”:"[object] (Swift_IoException(code: 0): Unable to create path “/mautic/cronfig/spool/default”. at /var/www/vhosts/61/259679/webspace/httpdocs/calvinjones.com/mautic/vendor/swiftmailer/swiftmailer/lib/classes/Swift/FileSpool.php:42)"} []
[2017-02-06 11:08:04] mautic.ERROR: Warning: mkdir(): Permission denied - in file /var/www/vhosts/61/259679/webspace/httpdocs/calvinjones.com/mautic/vendor/swiftmailer/swiftmailer/lib/classes/Swift/FileSpool.php - at line 41 [] []

Thanks for any help. Mautic is becoming a nightmare.

And mautic.com doesn’t work to open a new free account either.

Ouch.

And yes I already tried deleting the cache. It just rebuilds it with the prod dir and kills mautic.

Yes I realize this. How to correct it was another problem. I ended up finding the local.php file editing it to the original queue directory for the spooler. Then I deleted the cache directory, deleted cache on my browser and got it back up and working again. Whew! Close call there for a non-tech.