How to upgrade Mautic 3.3.3 version to Mautic 4.0.0 version
To upgrade Mautic to the latest Mautic 4.0.0 version, We will need to first update the present Mautic version 3.3.3 to Mautic 3.3.4 version, which is the stable version before the Mautic 4.0.0 version. It is always recommended to upgrade the Mautic version through the command line. Let us see the commands to upgrade the Mautic version.
From the document root of mautic, we will need to run the below command to check whether any version upgrade is pending.
php bin/console mautic:update:find
If we have any upgrades available, it will show the output as in the below screenshot.
We will be able to run the below command to update the Mautic version.
php bin/console mautic:update:apply
We will now run the command below to complete the upgrade.
php bin/console mautic:update:apply --finish
Now we have upgraded the version of Mautic from 3.3.3 to Mautic 3.3.4. We will now proceed with the same set of commands to check, apply and finish the upgrade process
php bin/console mautic:update:find
php bin/console mautic:update:apply
php bin/console mautic:update:apply --finish
Once the upgrade is completed, we will see the output as shown in the screenshot.