# mautic offline error

**URL:** <https://forum.mautic.org/t/mautic-offline-error/7394>\
**Category:** Product Support\
**Created:** [February 6, 2017, 11:18am UTC](https://forum.mautic.org/t/mautic-offline-error/7394 "2017-02-06T11:18:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![precords](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/precords/32/1504_2.png) [@precords](https://forum.mautic.org/u/precords)\
**Post date:** [February 6, 2017, 11:18am UTC](https://forum.mautic.org/t/mautic-offline-error/7394/1 "2017-02-06T11:18:50Z")

</div>

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](http://mautic.com) doesn’t work to open a new free account either.  
  
  
  
Ouch.

---

<div class="post-metadata">

**Author:** ![precords](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/precords/32/1504_2.png) [@precords](https://forum.mautic.org/u/precords)\
**Post date:** [February 6, 2017, 11:18am UTC](https://forum.mautic.org/t/mautic-offline-error/7394/2 "2017-02-06T11:18:50Z")

</div>

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](http://mautic.com) doesn’t work to open a new free account either.

Ouch.

---

<div class="post-metadata">

**Author:** ![precords](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/precords/32/1504_2.png) [@precords](https://forum.mautic.org/u/precords)\
**Post date:** [February 6, 2017, 11:19am UTC](https://forum.mautic.org/t/mautic-offline-error/7394/3 "2017-02-06T11:19:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![precords](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/precords/32/1504_2.png) [@precords](https://forum.mautic.org/u/precords)\
**Post date:** [February 6, 2017, 9:07pm UTC](https://forum.mautic.org/t/mautic-offline-error/7394/4 "2017-02-06T21:07:15Z")

</div>

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.
