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

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 , 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

  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.


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.

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

1 Like