# Version 2.13.1 update fails

**URL:** <https://forum.mautic.org/t/version-2-13-1-update-fails/10595>\
**Category:** Product Support\
**Created:** [June 18, 2018, 11:18am UTC](https://forum.mautic.org/t/version-2-13-1-update-fails/10595 "2018-06-18T11:18:50Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![mediamix](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mediamix/32/679_2.png) [@mediamix](https://forum.mautic.org/u/mediamix)\
**Post date:** [June 18, 2018, 11:18am UTC](https://forum.mautic.org/t/version-2-13-1-update-fails/10595/1 "2018-06-18T11:18:50Z")

</div>

When attempting to update to Version 2.13.1 of Mautic, the update completes but then an error message displays that the install is broken.

This happened on three domains.

I restored from a backup and tried again and the same thing happened.

Is there something wrong with the update?

---

<div class="post-metadata">

**Author:** ![ricardomartins](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ricardomartins/32/198_2.png) [@ricardomartins](https://forum.mautic.org/u/ricardomartins)\
**Post date:** [July 24, 2018, 11:22pm UTC](https://forum.mautic.org/t/version-2-13-1-update-fails/10595/2 "2018-07-24T23:22:20Z")

</div>

Try updating it using ssh and running php 7.  
Here is what I usually do:

- rm -rf app/cache/prod
- php70 app/console mautic:update:find
- php70 app/console mautic:update:apply

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [July 30, 2018, 1:46am UTC](https://forum.mautic.org/t/version-2-13-1-update-fails/10595/3 "2018-07-30T01:46:37Z")

</div>

@mediamix you need to migrate database also

---

<div class="post-metadata">

**Author:** ![alfredosimoes](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/alfredosimoes/32/23_2.png) [@alfredosimoes](https://forum.mautic.org/u/alfredosimoes)\
**Post date:** [July 31, 2018, 1:25pm UTC](https://forum.mautic.org/t/version-2-13-1-update-fails/10595/4 "2018-07-31T13:25:48Z")

</div>

how do we migrate the database?

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [July 31, 2018, 1:57pm UTC](https://forum.mautic.org/t/version-2-13-1-update-fails/10595/5 "2018-07-31T13:57:14Z")

</div>

@alfredosimoes php app/console doctrine:migration:migrate

---

<div class="post-metadata">

**Author:** ![mediamix](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mediamix/32/679_2.png) [@mediamix](https://forum.mautic.org/u/mediamix)\
**Post date:** [August 2, 2018, 12:36pm UTC](https://forum.mautic.org/t/version-2-13-1-update-fails/10595/6 "2018-08-02T12:36:11Z")

</div>

I tried upgrading to mautic 2.13.1 again and am having the same problem.  
Install crashed at last step when it is clearing cache.

My server is an Ubuntu 16.04 with ISPConfig.

I have ungraded in the past with no problem.

Prior to this upgrade there were files in the /var/www/clients/client1/web6/web/mautic/app/cache/prod and owner/group of all folders are web6/client1

After the crash, the ip\_data, prod and run folders remain while the files within those folders are gone.

Given that upgrades have worked in the past, and permissions have not been changed, I have to think that there is an issue with the update.

Any thoughts?

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [August 2, 2018, 12:39pm UTC](https://forum.mautic.org/t/version-2-13-1-update-fails/10595/7 "2018-08-02T12:39:00Z")

</div>

@mediamix how did you try to upgrade the mautic ?

---

<div class="post-metadata">

**Author:** ![mediamix](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mediamix/32/679_2.png) [@mediamix](https://forum.mautic.org/u/mediamix)\
**Post date:** [August 2, 2018, 12:45pm UTC](https://forum.mautic.org/t/version-2-13-1-update-fails/10595/8 "2018-08-02T12:45:51Z")

</div>

As you know, when logged in to Mautic there is a bell icon to the right of the Mautic logo in the upper left corner.

Clicked on the bell and then Clicked on update now.  
This is the same way that I have upgraded in the past.  
By the way, the version I was trying to upgrade to is 2.14.0

Thanks for the help

Joe

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [August 2, 2018, 12:47pm UTC](https://forum.mautic.org/t/version-2-13-1-update-fails/10595/9 "2018-08-02T12:47:55Z")

</div>

@mediamix to upgrade mautic by bell sometimes not work properly.

---

<div class="post-metadata">

**Author:** ![mediamix](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mediamix/32/679_2.png) [@mediamix](https://forum.mautic.org/u/mediamix)\
**Post date:** [August 2, 2018, 12:52pm UTC](https://forum.mautic.org/t/version-2-13-1-update-fails/10595/10 "2018-08-02T12:52:24Z")

</div>

So you have a procedure that works?
