# Site offline after upgrade

**URL:** <https://forum.mautic.org/t/site-offline-after-upgrade/3238>\
**Category:** Product Support\
**Created:** [January 14, 2016, 12:14am UTC](https://forum.mautic.org/t/site-offline-after-upgrade/3238 "2016-01-14T00:14:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![doud](https://avatars.discourse-cdn.com/v4/letter/d/76d3ee/32.png) [@doud](https://forum.mautic.org/u/doud)\
**Post date:** [January 14, 2016, 12:14am UTC](https://forum.mautic.org/t/site-offline-after-upgrade/3238/1 "2016-01-14T00:14:43Z")

</div>

Hi everyone,  
  
  
  
I am having some problems after an upgrade to the latest Mautic version. I am running it on a AWS EC2 with a bitnami image. And I haven’t done backup before updating …  
  
When I started the update in ssh first, I had this message :

Code:

PHP Catchable fatal error: Argument 2 passed to MauticInstallBundleConfiguratorConfigurator::\_\_construct() must be an instance of MauticCoreBundleFactoryMauticFactory, none given, called in /opt/bitnami/apps/mautic/cache/pro\_/ap\_ProdProjectContainer.php on line 1426 and defined in /opt/bitnami/apps/mautic/htdocs/app/bundles/InstallBundle/Configurator/Configurator.php on line 52

  
I tried the install again, it worked, I cleared the cache, tried to access my Mautic again, and site was offline.  
I would like to give you the log but I cannot find it (I do find a log file, but there doesn't seems to be any info in it, so it is probably the wrong one).  
  
I have read that it probably comes from my permissions, I tried to execute a "sudo chown -R bitnami app", but didn't change anything.  
  
I would really appreciate if you have some ideas for me ![:)]( ":)")  
  
Thanks a lot,  
  
Ed  
  
Edit: I tried to create a new instance with Mautic and update it, I have the exact same error when trying to install. On second try I can install and then the website goes offline.  
  
Edit 2: I checked on a working instance, and a file permission in the app folder looks like :

Code:

-rw-rw-r-- 1 root deamon

On an instance where I performed the update, it looks like:

Code:

-rw-rw-r-- 1 root root

I tried to change it back to deamon, but no effect. I don't really know that I am doing here ![:(]( ":(")

---

<div class="post-metadata">

**Author:** ![doud](https://avatars.discourse-cdn.com/v4/letter/d/76d3ee/32.png) [@doud](https://forum.mautic.org/u/doud)\
**Post date:** [January 14, 2016, 12:14am UTC](https://forum.mautic.org/t/site-offline-after-upgrade/3238/2 "2016-01-14T00:14:43Z")

</div>

Hi everyone,

I am having some problems after an upgrade to the latest Mautic version. I am running it on a AWS EC2 with a bitnami image. And I haven’t done backup before updating …  
When I started the update in ssh first, I had this message :

`PHP Catchable fatal error: Argument 2 passed to MauticInstallBundleConfiguratorConfigurator::__construct() must be an instance of MauticCoreBundleFactoryMauticFactory, none given, called in /opt/bitnami/apps/mautic/cache/pro_/ap_ProdProjectContainer.php on line 1426 and defined in /opt/bitnami/apps/mautic/htdocs/app/bundles/InstallBundle/Configurator/Configurator.php on line 52
`

I tried the install again, it worked, I cleared the cache, tried to access my Mautic again, and site was offline.  
I would like to give you the log but I cannot find it (I do find a log file, but there doesn’t seems to be any info in it, so it is probably the wrong one).

I have read that it probably comes from my permissions, I tried to execute a “sudo chown -R bitnami app”, but didn’t change anything.

I would really appreciate if you have some ideas for me 🙂

Thanks a lot,

Ed

Edit: I tried to create a new instance with Mautic and update it, I have the exact same error when trying to install. On second try I can install and then the website goes offline.

Edit 2: I checked on a working instance, and a file permission in the app folder looks like :

```auto
-rw-rw-r-- 1 root deamon
```

On an instance where I performed the update, it looks like:

```auto
-rw-rw-r-- 1 root root
```

I tried to change it back to deamon, but no effect. I don’t really know that I am doing here ☹

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [January 14, 2016, 8:32am UTC](https://forum.mautic.org/t/site-offline-after-upgrade/3238/3 "2016-01-14T08:32:39Z")

</div>

My guess is also the permission issue. Try to google/ask the server provider what is the proper user and group for a web app. For example in freshly installed Ubuntu with LAMP, it is www-data:www-data. It cannot most certainly be root.
