# "We recommend upgrading by using the CLI" - where it is?

**URL:** https://forum.mautic.org/t/we-recommend-upgrading-by-using-the-cli-where-it-is/15574
**Category:** Mautic 3 - Install/Upgrade Support
**Created:** [August 9, 2020, 2:42pm UTC](https://forum.mautic.org/t/we-recommend-upgrading-by-using-the-cli-where-it-is/15574 "2020-08-09T14:42:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![pputnik](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pputnik/32/1059_2.png) [@pputnik](https://forum.mautic.org/u/pputnik)
#### Post date: [August 9, 2020, 2:42pm UTC](https://forum.mautic.org/t/we-recommend-upgrading-by-using-the-cli-where-it-is/15574/1 "2020-08-09T14:42:50Z")

</div>

**Mautic: 2.16.3**  
_PHP: 7.3_  
_My MariaDB version is_ 10.3.22-MariaDB-1ubuntu1

**Updating/Installing Errors**  
_I am_ Updating  
_Upgrading/installing via_ either Web / Command Line

**Your problem**  
First I started upgrade via web and get “We recommend upgrading by using the CLI” message.

I run `php upgrade_v3.php` in cli but received the same message. Checked [the doc](https://docs.mautic.org/en/mautic-3-upgrade/upgrade-steps) , there are some codes mentioned but no clue where to enter the codes, and no clear doc where the cli is. I tried:

```
php app/console startUpgrade

  [Symfony\Component\Console\Exception\CommandNotFoundException]
  Command "startUpgrade" is not defined.

```

Also tried `php upgrade_v3.php startUpgrade` but just received the same message (“We recommend…”) again.

So, which is the CLI file and how to upgrade using CLI? Where to enter those codes?

Thank you.

---

<div class="post-metadata">

### Author: ![codes9](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/codes9/32/682_2.png) [@codes9](https://forum.mautic.org/u/codes9)
#### Post date: [October 30, 2020, 12:05pm UTC](https://forum.mautic.org/t/we-recommend-upgrading-by-using-the-cli-where-it-is/15574/2 "2020-10-30T12:05:45Z")

</div>

I think you may need to contact someone to provide you with professional support if you value your install.

Upgrading Mautic can be fickle and you’d do better asking someone who is experienced and knows what to do when things go totally wrong with the upgrade.

---

<div class="post-metadata">

### Author: ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)
#### Post date: [October 31, 2020, 12:26pm UTC](https://forum.mautic.org/t/we-recommend-upgrading-by-using-the-cli-where-it-is/15574/3 "2020-10-31T12:26:25Z")

</div>

Using ssh

Run **mautic:update:find** command  
Then run **mautic:update:apply**  
Then you will be asked to run **mautic:update:apply —finish**

Here is an example- please understand you will have to modify the command per your paths

/opt/plesk/php/7.3/bin/php /var/www/vhosts/YOURMAUTIC/bin/console mautic:update:find
