# Site is offline after upgrading to 2.15.3

**URL:** <https://forum.mautic.org/t/site-is-offline-after-upgrading-to-2-15-3/12088>\
**Category:** Product Support\
**Created:** [December 19, 2019, 6:25pm UTC](https://forum.mautic.org/t/site-is-offline-after-upgrading-to-2-15-3/12088 "2019-12-19T18:25:36Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![rodrigocvb](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rodrigocvb/32/510_2.png) [@rodrigocvb](https://forum.mautic.org/u/rodrigocvb)\
**Post date:** [December 19, 2019, 6:25pm UTC](https://forum.mautic.org/t/site-is-offline-after-upgrading-to-2-15-3/12088/1 "2019-12-19T18:25:36Z")

</div>

**Your software**  
My Mautic version is: not sure, because now I don’t have access to my Mautic.  
My PHP version is: 7.0.27

**Your problem**  
My problem is: I’ve tried to perform an upgrade to 2.15.3 and now the system is offline.

**These errors are showing in the log:**

- Mautic log: no one since this upgrade attempt;
- Apache log: several entries such as: Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: The service “mautic.lead.campaignbundle.action\_delete\_contacts.subscriber” has a dependency on a non-existent service “mautic.campaign.helper.removed\_contact\_tracker”. - in file /home/mautic/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php - at line 58, referer: 

**Steps I have tried to fix the problem:**

- I tried to clear the cache as my ssh user: permission denied;
- I did the same as a root: ok, cache was removed;
- Back as my user, every command I tried, such as app/console doctrine:migration:migrate, doctrine:schema:update --force or cache:clear gives me: [RuntimeException] Unable to write in the cache directory
- As a root, if I try those commands, I get always [Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException]  
The service “mautic.lead.campaignbundle.action\_delete\_contacts.subscriber” has a dependency on a non-existent service “mautic.campaign.helper.removed\_contact\_tracker”.

PS: www-data is the owner of my mautic directory.

Any clue about this? Thanks a lot folks.

---

<div class="post-metadata">

**Author:** ![rodrigocvb](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rodrigocvb/32/510_2.png) [@rodrigocvb](https://forum.mautic.org/u/rodrigocvb)\
**Post date:** [December 19, 2019, 6:50pm UTC](https://forum.mautic.org/t/site-is-offline-after-upgrading-to-2-15-3/12088/2 "2019-12-19T18:50:31Z")

</div>

My Mautic version is 2.13.1.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [December 19, 2019, 7:58pm UTC](https://forum.mautic.org/t/site-is-offline-after-upgrading-to-2-15-3/12088/3 "2019-12-19T19:58:06Z")

</div>

Hi @rodrigocvb and welcome back to the forums 🙂

Seems like there are some permissions/ownership issues going on as a starting point - does the cache directory exist after you deleted it? If not, then it seems that there aren’t sufficient permissions to create it.

Take a look at the file ownership part here: [https://www.mautic.org/docs/en/setup/getting\_started.html](https://www.mautic.org/docs/en/setup/getting_started.html) and double check your permissions/ownership?

---

<div class="post-metadata">

**Author:** ![rodrigocvb](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rodrigocvb/32/510_2.png) [@rodrigocvb](https://forum.mautic.org/u/rodrigocvb)\
**Post date:** [December 20, 2019, 1:54am UTC](https://forum.mautic.org/t/site-is-offline-after-upgrading-to-2-15-3/12088/4 "2019-12-20T01:54:27Z")

</div>

Hi @silavapi,

I login to my Digital Ocean machine via SSH and, once I’m there, I login as root. After that, I run every command from the ‘file ownership’ section you sent me. And I have still the same errors if I try to visit my-mautic-url or my-mautic-url/s/update/schema or any url of my website (I think it happens because of tracking pixel or something like that, no?). After any of that visits, the cache directory is created, but apache log keeps giving me those errors for each one:

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: The service “mautic.lead.campaignbundle.action\_delete\_contacts.subscriber” has a dependency on a non-existent service “mautic.campaign.helper.removed\_contact\_tracker”. - in file /home/mautic/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php - at line 58

---

<div class="post-metadata">

**Author:** ![rodrigocvb](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rodrigocvb/32/510_2.png) [@rodrigocvb](https://forum.mautic.org/u/rodrigocvb)\
**Post date:** [December 20, 2019, 3:28am UTC](https://forum.mautic.org/t/site-is-offline-after-upgrading-to-2-15-3/12088/5 "2019-12-20T03:28:32Z")

</div>

I was noticing that it mentions /var/www folder, but this folder on my server is empty. If I run ls -al /var I get

drwxr-xr-x 3 root root 4096 Sep 27 2014 www

Inside www, I have an ‘html’ folder (which is empty) and an index.html file. That’s all.

My mautic installation is in /home/mautic. If I run ls -al in /home I get:

drwxr-xr-x 11 www-data www-data 4096 May 11 2018 mautic

So I got confused about the folder where I should perform the permissions change. I did in in /home/mautic folder, because in /var/www I don’t have anything.

---

<div class="post-metadata">

**Author:** ![deepti](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/deepti/32/411_2.png) [@deepti](https://forum.mautic.org/u/deepti)\
**Post date:** [December 20, 2019, 3:40am UTC](https://forum.mautic.org/t/site-is-offline-after-upgrading-to-2-15-3/12088/6 "2019-12-20T03:40:37Z")

</div>

Just give 777 permission for cache

---

<div class="post-metadata">

**Author:** ![rodrigocvb](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rodrigocvb/32/510_2.png) [@rodrigocvb](https://forum.mautic.org/u/rodrigocvb)\
**Post date:** [December 20, 2019, 12:45pm UTC](https://forum.mautic.org/t/site-is-offline-after-upgrading-to-2-15-3/12088/7 "2019-12-20T12:45:58Z")

</div>

@deepti I did this. Still the same problem: site offline and dependency on a non-existent service error on Apache log.

---

<div class="post-metadata">

**Author:** ![roye](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/roye/32/510_2.png) [@roye](https://forum.mautic.org/u/roye)\
**Post date:** [December 20, 2019, 2:39pm UTC](https://forum.mautic.org/t/site-is-offline-after-upgrading-to-2-15-3/12088/8 "2019-12-20T14:39:40Z")

</div>

Hi @rodrigocvb,  
That same issue happened to my installation, and cause lots of anxiety ;(  
I don’t know the root cause, but it is relates to dependencies that was before the upgrade and now they are missing.  
To know how to solve, I need the following two items:

1. The content of the app/bundles/CampaignBundle/Config/config.php
2. Check if you have the following file, app/bundles/CampaignBundle/Helper/RemovedContactTracker.php
3. If you have the file at step2, upload this file too.

Good luck
