# Upgrade path from v2.14.2

**URL:** <https://forum.mautic.org/t/upgrade-path-from-v2-14-2/23160>\
**Category:** Mautic 4 Install/Upgrade Support\
**Created:** [March 21, 2022, 11:16pm UTC](https://forum.mautic.org/t/upgrade-path-from-v2-14-2/23160 "2022-03-21T23:16:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![conorseed](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/conorseed/32/201_2.png) [@conorseed](https://forum.mautic.org/u/conorseed)\
**Post date:** [March 21, 2022, 11:16pm UTC](https://forum.mautic.org/t/upgrade-path-from-v2-14-2/23160/1 "2022-03-21T23:16:43Z")

</div>

**Your software**  
_My PHP version is_ : 7.3.X  
_My MySQL/MariaDB version is_: MySQL version 5.7.37-cll-lve

**Updating/Installing Errors**  
_I am_ (delete as applicable): Updating  
_Upgrading/installing via_: Command Line

**Your problem**  
_My problem is_ :  
Just confirming what the best pathway is to update to the latest version of mautic from v2.14.2. Haven’t done updates in a long time. And migrating to a new server with PHP7.4 installed. v2.14.2 doesn’t run on php7.4! So needing to upgrade…

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [March 22, 2022, 12:03am UTC](https://forum.mautic.org/t/upgrade-path-from-v2-14-2/23160/2 "2022-03-22T00:03:37Z")

</div>

Hi,

- first upgrade to the latest version of series 2.x
- then upgrade to the latest 3.x
- and lastly upgrade from 3.x to 4.x

Make full backup before each migration (source, database)

---

<div class="post-metadata">

**Author:** ![conorseed](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/conorseed/32/201_2.png) [@conorseed](https://forum.mautic.org/u/conorseed)\
**Post date:** [March 23, 2022, 8:09pm UTC](https://forum.mautic.org/t/upgrade-path-from-v2-14-2/23160/3 "2022-03-23T20:09:28Z")

</div>

Thanks for the direction! Ok, so new info is:

Installed Mautic version: 2.16.5  
PHP version: 7.3.33-1+0~20211119.91+debian10~1.gbp618351  
OS: Linux  
Upgrade type: CLI  
Database: mariaDB 10.4

When I try to upgrade to v3, it wants to go direct to Version 3.2.4. CLI gives this error:

```auto
One or more warnings occurred during pre-upgrade checks, please run this script with the --ignore-warnings flag to continue: 
- We couldn't reliably detect the amount of available database migrations. Please proceed with caution!

```

So I try running the script with the ignore warnings flag, and it comes back with:

```auto
ERR_MAUTIC_2_MIGRATIONS_IDENTIFICATION_FAILED: We couldn't reliably detect the amount of available database migrations.. For more details about this message, see http://mau.tc/m3-upgrade-error#err_mautic_2_migrations_identification_failed

```

What should I do from here?

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [March 24, 2022, 10:44pm UTC](https://forum.mautic.org/t/upgrade-path-from-v2-14-2/23160/4 "2022-03-24T22:44:44Z")

</div>

What does it say at the link?

I would try to incrementally updating by manually downloading releases from github.

---

<div class="post-metadata">

**Author:** ![conorseed](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/conorseed/32/201_2.png) [@conorseed](https://forum.mautic.org/u/conorseed)\
**Post date:** [March 24, 2022, 11:01pm UTC](https://forum.mautic.org/t/upgrade-path-from-v2-14-2/23160/5 "2022-03-24T23:01:27Z")

</div>

The link just says:

> During this stage, the script checks to ensure that there are no database migrations outstanding from previous Mautic upgrades.  
> If an error occurs in this stage, the upgrade script was unable to find or access the appropriate files, or there was an interruption in the process for some reason.  
> The error message gives you more details about where the problem lies. You can find further information in the `upgrade_log.txt` file - created in the root of your Mautic instance when an upgrade starts.  
> To move forward from this stage, refresh the page.  
> If you need any further help, please post into the dedicated [Mautic 3 Installation/Upgrade forum](https://forum.mautic.org/c/support/mautic-3-install-upgrade-support/98). Please ensure that you provide all the details requested in the post template, which enables the community volunteers to provide effective support.

Which is particularly helpful 😉 I’m using the console to upgrade so can’t “refresh” to move forward.

If I were to update by manually downloading from github, what’s the process for a manual upgrade like that?

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [March 25, 2022, 10:42am UTC](https://forum.mautic.org/t/upgrade-path-from-v2-14-2/23160/6 "2022-03-25T10:42:50Z")

</div>

This guide should give you the info you are looking for:

> **[How to Successfully Update your Own Mautic Self-Hosted](https://mauteam.org/mautic/mautic-admins/mautic-update-how-to-dont-click-that-button/)**
>
> Flawless Mautic upgrades every time, a simple step by step guide… Check the health of your Mautic installation, you might have an incomplete Mautic update!
