# Mautic update failed

**URL:** <https://forum.mautic.org/t/mautic-update-failed/11829>\
**Category:** Product Support\
**Created:** [November 29, 2019, 1:31pm UTC](https://forum.mautic.org/t/mautic-update-failed/11829 "2019-11-29T13:31:32Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![dageci](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dageci/32/439_2.png) [@dageci](https://forum.mautic.org/u/dageci)\
**Post date:** [November 29, 2019, 1:31pm UTC](https://forum.mautic.org/t/mautic-update-failed/11829/1 "2019-11-29T13:31:32Z")

</div>

**Your software**  
**My Mautic version is: v2.15.3**  
**My PHP version is: 7.1.33**

**Your problem**  
My problem is:  
The update failed. The database didn’t update properly.  
Now I can’t access Forms, and users can’t submit forms.  
I have tried to update the database with the my-mautic-url/s/update/schema  
With the error message:  
An error occurred while updating the database. Check log for more details.

These errors are showing in the log:  
[2019-11-29 13:24:42] mautic.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\InvalidFieldNameException: “An exception occurred while executing ‘SELECT COUNT(_) AS dctrn\_count FROM (SELECT DISTINCT id\_10 FROM (SELECT m0\_.is\_published AS is\_published\_0, m0\_.date\_added AS date\_added\_1, m0\_.created\_by AS created\_by\_2, m0\_.created\_by\_user AS created\_by\_user\_3, m0\_.date\_modified AS date\_modified\_4, m0\_.modified\_by AS modified\_by\_5, m0\_.modified\_by\_user AS modified\_by\_user\_6, m0\_.checked\_out AS checked\_out\_7, m0\_.checked\_out\_by AS checked\_out\_by\_8, m0\_.checked\_out\_by\_user AS checked\_out\_by\_user\_9, m0\_.id AS id\_10, m0\_.name AS name\_11, m0\_.description AS description\_12, m0\_.alias AS alias\_13, m0\_.form\_attr AS form\_attr\_14, m0\_.cached\_html AS cached\_html\_15, m0\_.post\_action AS post\_action\_16, m0\_.post\_action\_property AS post\_action\_property\_17, m0\_.publish\_up AS publish\_up\_18, m0\_.publish\_down AS publish\_down\_19, m0\_.template AS template\_20, m0\_.in\_kiosk\_mode AS in\_kiosk\_mode\_21, m0\_.render\_style AS render\_style\_22, m0\_.form\_type AS form\_type\_23, m0\_.no\_index AS no\_index\_24, (SELECT count(m1\_.id) AS dctrn\_\_1 FROM maumi\_form\_submissions m1\_ WHERE m1\_.form\_id = m0\_.id) AS sclr\_25 FROM maumi\_forms m0\_ LEFT JOIN maumi\_categories m2\_ ON m0\_.category\_id = m2\_.id ORDER BY m0\_.name ASC) dctrn\_result) dctrn\_table’: Unknown column ‘m0\_.form\_attr’ in ‘field list’" at /home/virtu149/public\_html/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 71 {“exception”:"[object] (Doctrine\DBAL\Exception\InvalidFieldNameException(code: 0): An exception occurred while executing 'SELECT COUNT(_) AS dctrn\_count FROM (SELECT DISTINCT id\_10 FROM (SELECT m0\_.is\_published AS is\_published\_0, m0\_.date\_added AS date\_added\_1, m0\_.created\_by AS created\_by\_2, m0\_.created\_by\_user AS created\_by\_user\_3, m0\_.date\_modified AS date\_modified\_4, m0\_.modified\_by AS modified\_by\_5, m0\_.modified\_by\_user AS modified\_by\_user\_6, m0\_.checked\_out AS checked\_out\_7, m0\_.checked\_out\_by AS checked\_out\_by\_8, m0\_.checked\_out\_by\_user AS checked\_out\_by\_user\_9, m0\_.id AS id\_10, m0\_.name AS name\_11, m0\_.description AS description\_12, m0\_.alias AS alias\_13, m0\_.form\_attr AS form\_attr\_14, m0\_.cached\_html AS cached\_html\_15, m0\_.post\_action AS post\_action\_16, m0\_.post\_action\_property AS post\_action\_property\_17, m0\_.publish\_up AS publish\_up\_18, m0\_.publish\_down AS publish\_down\_19, m0\_.template AS template\_20, m0\_.in\_kiosk\_mode AS in\_kiosk\_mode\_21, m0\_.render\_style AS render\_style\_22, m0\_.form\_type AS form\_type\_23, m0\_.no\_index AS no\_index\_24, (SELECT count(m1\_.id) AS dctrn\_\_1 FROM maumi\_form\_submissions m1\_ WHERE m1\_.form\_id = m0\_.id) AS sclr\_25 FROM maumi\_forms m0\_ LEFT JOIN maumi\_categories m2\_ ON m0\_.category\_id = m2\_.id ORDER BY m0\_.name ASC) dctrn\_result) dctrn\_table’:\n\nUnknown column ‘m0\_.form\_attr’ in ‘field list’ at /home/virtu149/public\_html/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:71, Doctrine\DBAL\Driver\Mysqli\MysqliException(code: 0): Unknown column ‘m0\_.form\_attr’ in ‘field list’ at /home/virtu149/public\_html/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/MysqliStatement.php:101)”}   
[2019-11-29 13:27:55] mautic.NOTICE: Doctrine\DBAL\Exception\DriverException: An exception occurred while executing ‘ALTER TABLE maumi\_leads ADD CONSTRAINT FK\_D7C37362298D193 FOREIGN KEY (stage\_id) REFERENCES maumi\_stages (id) ON DELETE SET NULL’: Can’t write; duplicate key in table ‘#sql-201f\_424150’ (uncaught exception) at /home/virtu149/public\_html/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 115 while running console command `doctrine:migrations:migrate`    
[2019-11-29 13:27:55] mautic.ERROR: [UPGRADE ERROR] Exit code 1; Mautic Migrations \ Migrating up to 20190715065013 from 20160630000000 \ ++ migrating 20160630000001 \ -\> ALTER TABLE maumi\_leads ADD CONSTRAINT FK\_D7C37362298D193 FOREIGN KEY (stage\_id) REFERENCES maumi\_stages (id) ON DELETE SET NULL Migration 20160630000001 failed during Execution. Error An exception occurred while executing ‘ALTER TABLE maumi\_leads ADD CONSTRAINT FK\_D7C37362298D193 FOREIGN KEY (stage\_id) REFERENCES maumi\_stages (id) ON DELETE SET NULL’: \ Can’t write; duplicate key in table ‘#sql-201f\_424150’ \ [Doctrine\DBAL\Exception\DriverException] An exception occurred while executing ‘ALTER TABLE maumi\_leads ADD CONSTRAINT FK\_D7C37362298D193 FOREIGN KEY (stage\_id) REFERENCES maumi\_stages (id) ON DELETE SET NULL’: \ Can’t write; duplicate key in table ‘#sql-201f\_424150’ \ [Doctrine\DBAL\Driver\Mysqli\MysqliException] Can’t write; duplicate key in table ‘#sql-201f\_424150’ \ doctrine:migrations:migrate [–write-sql] [–dry-run] [–query-time] [–allow-no-migration] [–configuration [CONFIGURATION]] [–db-configuration [DB-CONFIGURATION]] [–db DB] [–em EM] [–shard SHARD] [-h|–help] [-q|–quiet] [-v|vv|vvv|–verbose] [-V|–version] [–ansi] [–no-ansi] [-n|–no-interaction] [-s|–shell] [–process-isolation] [-e|–env ENV] [–no-debug] [–] [] \    
[2019-11-29 13:29:40] mautic.NOTICE: Doctrine\DBAL\Exception\DriverException: An exception occurred while executing ‘ALTER TABLE maumi\_leads ADD CONSTRAINT FK\_D7C37362298D193 FOREIGN KEY (stage\_id) REFERENCES maumi\_stages (id) ON DELETE SET NULL’: Can’t write; duplicate key in table ‘#sql-201f\_4243d7’ (uncaught exception) at /home/virtu149/public\_html/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 115 while running console command `doctrine:migrations:migrate`    
[2019-11-29 13:29:40] mautic.ERROR: [UPGRADE ERROR] Exit code 1; Mautic Migrations \ Migrating up to 20190715065013 from 20160630000000 \ ++ migrating 20160630000001 \ -\> ALTER TABLE maumi\_leads ADD CONSTRAINT FK\_D7C37362298D193 FOREIGN KEY (stage\_id) REFERENCES maumi\_stages (id) ON DELETE SET NULL Migration 20160630000001 failed during Execution. Error An exception occurred while executing ‘ALTER TABLE maumi\_leads ADD CONSTRAINT FK\_D7C37362298D193 FOREIGN KEY (stage\_id) REFERENCES maumi\_stages (id) ON DELETE SET NULL’: \ Can’t write; duplicate key in table ‘#sql-201f\_4243d7’ \ [Doctrine\DBAL\Exception\DriverException] An exception occurred while executing ‘ALTER TABLE maumi\_leads ADD CONSTRAINT FK\_D7C37362298D193 FOREIGN KEY (stage\_id) REFERENCES maumi\_stages (id) ON DELETE SET NULL’: \ Can’t write; duplicate key in table ‘#sql-201f\_4243d7’ \ [Doctrine\DBAL\Driver\Mysqli\MysqliException] Can’t write; duplicate key in table ‘#sql-201f\_4243d7’ \ doctrine:migrations:migrate [–write-sql] [–dry-run] [–query-time] [–allow-no-migration] [–configuration [CONFIGURATION]] [–db-configuration [DB-CONFIGURATION]] [–db DB] [–em EM] [–shard SHARD] [-h|–help] [-q|–quiet] [-v|vv|vvv|–verbose] [-V|–version] [–ansi] [–no-ansi] [-n|–no-interaction] [-s|–shell] [–process-isolation] [-e|–env ENV] [–no-debug] [–] [] \    
[2019-11-29 13:29:40] mautic.ERROR: PHP Notice: require(): Failed opening required ‘/home/virtu149/public\_html/mautic/app/cache/prod/doctrine/orm/Proxies/_CG\_\_MauticPluginBundleEntityPlugin.php’ (include\_path=’.:/usr/local/php71/pear’) - in file /home/virtu149/public\_html/mautic/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209 [] []  
[2019-11-29 13:29:40] mautic.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Notice: require(): Failed opening required '/home/virtu149/public\_html/mautic/app/cache/prod/doctrine/orm/Proxies/CG\_\_MauticPluginBundleEntityPlugin.php’ (include\_path=’.:/usr/local/php71/pear’) - in file /home/virtu149/public\_html/mautic/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209 [] []  
[2019-11-29 13:29:40] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: "Compile Error: require(): Failed opening required '/home/virtu149/public\_html/mautic/app/cache/prod/doctrine/orm/Proxies/CG\_\_MauticPluginBundleEntityPlugin.php’ (include\_path=’.:/usr/local/php71/pear’)" at /home/virtu149/public\_html/mautic/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php line 209 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 0): Compile Error: require(): Failed opening required '/home/virtu149/public\_html/mautic/app/cache/prod/doctrine/orm/Proxies/CG\_\_MauticPluginBundleEntityPlugin.php’ (include\_path=’.:/usr/local/php71/pear’) at /home/virtu149/public\_html/mautic/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php:209)"} []  
[2019-11-29 13:30:10] mautic.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\InvalidFieldNameException: "An exception occurred while executing 'SELECT COUNT(\*) AS dctrn\_count FROM (SELECT DISTINCT id\_10 FROM (SELECT m0.is\_published AS is\_published\_0, m0.date\_added AS date\_added\_1, m0.created\_by AS created\_by\_2, m0.created\_by\_user AS created\_by\_user\_3, m0.date\_modified AS date\_modified\_4, m0.modified\_by AS modified\_by\_5, m0.modified\_by\_user AS modified\_by\_user\_6, m0_.checked\_out AS checked\_out\_7, m0\_.checked\_out\_by AS checked\_out\_by\_8, m0\_.checked\_out\_by\_user AS checked\_out\_by\_user\_9, m0\_.id AS id\_10, m0\_.name AS name\_11, m0\_.description AS description\_12, m0\_.alias AS alias\_13, m0\_.form\_attr AS form\_attr\_14, m0\_.cached\_html AS cached\_html\_15, m0\_.post\_action AS post\_action\_16, m0\_.post\_action\_property AS post\_action\_property\_17, m0\_.publish\_up AS publish\_up\_18, m0\_.publish\_down AS publish\_down\_19, m0\_.template AS template\_20, m0\_.in\_kiosk\_mode AS in\_kiosk\_mode\_21, m0\_.render\_style AS render\_style\_22, m0\_.form\_type AS form\_type\_23, m0\_.no\_index AS no\_index\_24, (SELECT count(m1\_.id) AS dctrn\_\_1 FROM maumi\_form\_submissions m1\_ WHERE m1\_.form\_id = m0\_.id) AS sclr\_25 FROM maumi\_forms m0\_ LEFT JOIN maumi\_categories m2\_ ON m0\_.category\_id = m2\_.id ORDER BY m0\_.name ASC) dctrn\_result) dctrn\_table’: Unknown column ‘m0\_.form\_attr’ in ‘field list’" at /home/virtu149/public\_html/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 71 {“exception”:"[object] (Doctrine\DBAL\Exception\InvalidFieldNameException(code: 0): An exception occurred while executing ‘SELECT COUNT(\*) AS dctrn\_count FROM (SELECT DISTINCT id\_10 FROM (SELECT m0\_.is\_published AS is\_published\_0, m0\_.date\_added AS date\_added\_1, m0\_.created\_by AS created\_by\_2, m0\_.created\_by\_user AS created\_by\_user\_3, m0\_.date\_modified AS date\_modified\_4, m0\_.modified\_by AS modified\_by\_5, m0\_.modified\_by\_user AS modified\_by\_user\_6, m0\_.checked\_out AS checked\_out\_7, m0\_.checked\_out\_by AS checked\_out\_by\_8, m0\_.checked\_out\_by\_user AS checked\_out\_by\_user\_9, m0\_.id AS id\_10, m0\_.name AS name\_11, m0\_.description AS description\_12, m0\_.alias AS alias\_13, m0\_.form\_attr AS form\_attr\_14, m0\_.cached\_html AS cached\_html\_15, m0\_.post\_action AS post\_action\_16, m0\_.post\_action\_property AS post\_action\_property\_17, m0\_.publish\_up AS publish\_up\_18, m0\_.publish\_down AS publish\_down\_19, m0\_.template AS template\_20, m0\_.in\_kiosk\_mode AS in\_kiosk\_mode\_21, m0\_.render\_style AS render\_style\_22, m0\_.form\_type AS form\_type\_23, m0\_.no\_index AS no\_index\_24, (SELECT count(m1\_.id) AS dctrn\_\_1 FROM maumi\_form\_submissions m1\_ WHERE m1\_.form\_id = m0\_.id) AS sclr\_25 FROM maumi\_forms m0\_ LEFT JOIN maumi\_categories m2\_ ON m0\_.category\_id = m2\_.id ORDER BY m0\_.name ASC) dctrn\_result) dctrn\_table’:\n\nUnknown column ‘m0\_.form\_attr’ in ‘field list’ at /home/virtu149/public\_html/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:71, Doctrine\DBAL\Driver\Mysqli\MysqliException(code: 0): Unknown column ‘m0\_.form\_attr’ in ‘field list’ at /home/virtu149/public\_html/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/MysqliStatement.php:101)"}   
[2019-11-29 13:30:17] mautic.NOTICE: Doctrine\DBAL\Exception\DriverException: An exception occurred while executing ‘ALTER TABLE maumi\_leads ADD CONSTRAINT FK\_D7C37362298D193 FOREIGN KEY (stage\_id) REFERENCES maumi\_stages (id) ON DELETE SET NULL’: Can’t write; duplicate key in table ‘#sql-201f\_42450b’ (uncaught exception) at /home/virtu149/public\_html/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 115 while running console command `doctrine:migrations:migrate`    
[2019-11-29 13:30:17] mautic.ERROR: [UPGRADE ERROR] Exit code 1; Mautic Migrations \ Migrating up to 20190715065013 from 20160630000000 \ ++ migrating 20160630000001 \ -\> ALTER TABLE maumi\_leads ADD CONSTRAINT FK\_D7C37362298D193 FOREIGN KEY (stage\_id) REFERENCES maumi\_stages (id) ON DELETE SET NULL Migration 20160630000001 failed during Execution. Error An exception occurred while executing ‘ALTER TABLE maumi\_leads ADD CONSTRAINT FK\_D7C37362298D193 FOREIGN KEY (stage\_id) REFERENCES maumi\_stages (id) ON DELETE SET NULL’: \ Can’t write; duplicate key in table ‘#sql-201f\_42450b’ \ [Doctrine\DBAL\Exception\DriverException] An exception occurred while executing ‘ALTER TABLE maumi\_leads ADD CONSTRAINT FK\_D7C37362298D193 FOREIGN KEY (stage\_id) REFERENCES maumi\_stages (id) ON DELETE SET NULL’: \ Can’t write; duplicate key in table ‘#sql-201f\_42450b’ \ [Doctrine\DBAL\Driver\Mysqli\MysqliException] Can’t write; duplicate key in table ‘#sql-201f\_42450b’ \ doctrine:migrations:migrate [–write-sql] [–dry-run] [–query-time] [–allow-no-migration] [–configuration [CONFIGURATION]] [–db-configuration [DB-CONFIGURATION]] [–db DB] [–em EM] [–shard SHARD] [-h|–help] [-q|–quiet] [-v|vv|vvv|–verbose] [-V|–version] [–ansi] [–no-ansi] [-n|–no-interaction] [-s|–shell] [–process-isolation] [-e|–env ENV] [–no-debug] [–] [] \

How could I fix this?  
Thanks,  
Davor

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [November 29, 2019, 2:00pm UTC](https://forum.mautic.org/t/mautic-update-failed/11829/2 "2019-11-29T14:00:54Z")

</div>

Hi Davor, and welcome to the forums!

Sorry to hear you’re having a problem after a failed update.

Have you run through the steps listed here: [https://www.mautic.org/docs/en/tips/update-failed.html](https://www.mautic.org/docs/en/tips/update-failed.html)?

Let us know if you get any errors when working through that list of steps.

---

<div class="post-metadata">

**Author:** ![dageci](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dageci/32/439_2.png) [@dageci](https://forum.mautic.org/u/dageci)\
**Post date:** [November 29, 2019, 2:45pm UTC](https://forum.mautic.org/t/mautic-update-failed/11829/3 "2019-11-29T14:45:24Z")

</div>

Thanks I have manually added a missing field to the database.  
The field was: form\_attr  
Table: maumi\_forms

SQL Script:  
ALTER TABLE maumi\_forms ADD form\_attr VARCHAR(255) DEFAULT NULL

---

<div class="post-metadata">

**Author:** ![Yosu\_Cadilla](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yosu_cadilla/32/6206_2.png) [@Yosu\_Cadilla](https://forum.mautic.org/u/Yosu_Cadilla)\
**Post date:** [November 29, 2019, 10:07pm UTC](https://forum.mautic.org/t/mautic-update-failed/11829/4 "2019-11-29T22:07:07Z")

</div>

Thank you very much @dageci for sharing back the solution. You are indeed a community loving Mautician!

---

<div class="post-metadata">

**Author:** ![dageci](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dageci/32/439_2.png) [@dageci](https://forum.mautic.org/u/dageci)\
**Post date:** [November 29, 2019, 10:20pm UTC](https://forum.mautic.org/t/mautic-update-failed/11829/5 "2019-11-29T22:20:41Z")

</div>

Thanks @Yosu_Cadilla, hope that it will also help someone.  
😇

---

<div class="post-metadata">

**Author:** ![monika](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/monika/32/761_2.png) [@monika](https://forum.mautic.org/u/monika)\
**Post date:** [December 2, 2019, 2:20pm UTC](https://forum.mautic.org/t/mautic-update-failed/11829/6 "2019-12-02T14:20:31Z")

</div>

Hi Ruth  
is there a less daunting way of fixing a failed update. Unfortunately I am not a programmer and this is all double dutch to me.

Thanks  
Monika

---

<div class="post-metadata">

**Author:** ![Yosu\_Cadilla](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yosu_cadilla/32/6206_2.png) [@Yosu\_Cadilla](https://forum.mautic.org/u/Yosu_Cadilla)\
**Post date:** [December 2, 2019, 3:43pm UTC](https://forum.mautic.org/t/mautic-update-failed/11829/7 "2019-12-02T15:43:45Z")

</div>

Hello @monika, try this method, it’s quite similar to the one Ruth pointed out but maybe a bit more accessible?

> **[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!

---

<div class="post-metadata">

**Author:** ![monika](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/monika/32/761_2.png) [@monika](https://forum.mautic.org/u/monika)\
**Post date:** [December 2, 2019, 3:47pm UTC](https://forum.mautic.org/t/mautic-update-failed/11829/8 "2019-12-02T15:47:18Z")

</div>

thank you I’ll take a look @Yosu_Cadilla

---

<div class="post-metadata">

**Author:** ![monika](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/monika/32/761_2.png) [@monika](https://forum.mautic.org/u/monika)\
**Post date:** [December 2, 2019, 3:54pm UTC](https://forum.mautic.org/t/mautic-update-failed/11829/9 "2019-12-02T15:54:08Z")

</div>

I have had a look and I am wondering if you can tell me please where do I check this

php /var/www/html/app/console doctrine:migration:migrate - is it inside of cPanel or whereabouts

thank you @Yosu_Cadilla

---

<div class="post-metadata">

**Author:** ![Yosu\_Cadilla](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yosu_cadilla/32/6206_2.png) [@Yosu\_Cadilla](https://forum.mautic.org/u/Yosu_Cadilla)\
**Post date:** [December 3, 2019, 3:29am UTC](https://forum.mautic.org/t/mautic-update-failed/11829/10 "2019-12-03T03:29:16Z")

</div>

@monika These are Command Line Instructions, to be issued on your server. You need to login to your server to issue them.

- If your OS is Linux just launch the “terminal” and connect to your server using SSH.
- If you are on Windows you can use this tool: [https://mremoteng.org/download](https://mremoteng.org/download)

I would recommend you not to use Cpanel to host your Mautic instance and install it via SSH instead.

Here’s why you would want to do so:

> **[Please Stop Using Bitnami or Cpanel to Install Mautic | mauteam.org](https://mauteam.org/opinion/please-stop-using-bitnami-or-cpanel-to-install-mautic/)**
>
> Please stop using Bitnami images and Cpanel / Softaculous as a quick shortcut to install Mautic. Mautic is still a young and rapidly evolving software with frequent releases that contain new features…

Here’s how you can install Mautic with SSH:

> **[Mautic Installation in 3 Simple Steps on a VPS | mauteam.org](https://mauteam.org/mautic/mautic-admins/mautic-installation-in-3-simple-steps-on-a-vps/)**
>
> With this Mautic tutorial, you will learn how to complete the Mautic 2.15.3 installation on a Virtual Private Server (VPS) with PHP 7.2 on top of Ubuntu 18.04.

---

<div class="post-metadata">

**Author:** ![monika](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/monika/32/761_2.png) [@monika](https://forum.mautic.org/u/monika)\
**Post date:** [December 3, 2019, 9:56am UTC](https://forum.mautic.org/t/mautic-update-failed/11829/11 "2019-12-03T09:56:09Z")

</div>

Thank you - do you suggest that I uninstall and reinstall via SSH @Yosu_Cadilla

---

<div class="post-metadata">

**Author:** ![Yosu\_Cadilla](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yosu_cadilla/32/6206_2.png) [@Yosu\_Cadilla](https://forum.mautic.org/u/Yosu_Cadilla)\
**Post date:** [December 3, 2019, 10:28am UTC](https://forum.mautic.org/t/mautic-update-failed/11829/12 "2019-12-03T10:28:25Z")

</div>

If you are going to be administering your own Mautic server, installing it yourself (instead of using panels or other tools) is indeed a good and solid starting point.

About uninstalling, probably not worth the trouble, you can simply launch a new VPS, install Mautic and import the database afterward.

However, keep in mind I don’t know the current state of your setup, so I can’t “recommend” you a specific course of action, I can only give you guidelines based on my experience and the experience of other Mauticians.

---

<div class="post-metadata">

**Author:** ![monika](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/monika/32/761_2.png) [@monika](https://forum.mautic.org/u/monika)\
**Post date:** [December 10, 2019, 10:20am UTC](https://forum.mautic.org/t/mautic-update-failed/11829/13 "2019-12-10T10:20:45Z")

</div>

Thank you @Yosu_Cadilla yes you are correct, I did install it via Softalicious (or similar). I have connected it to Mailgun but it is proving more difficult to connect it to Elementor Page builder and being able to import the form fields into Mautic. I may have bitten off more than I can chew with this one. It seems to be written for programmers and not super user friendly.

Thank you though for your help.

---

<div class="post-metadata">

**Author:** ![Yosu\_Cadilla](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yosu_cadilla/32/6206_2.png) [@Yosu\_Cadilla](https://forum.mautic.org/u/Yosu_Cadilla)\
**Post date:** [December 10, 2019, 1:52pm UTC](https://forum.mautic.org/t/mautic-update-failed/11829/14 "2019-12-10T13:52:05Z")

</div>

I think there’s a video on Youtube about Mautic, forms and elementor, might be quite old but should provide some insight anyway.

If the integration is getting too complex, just don’t use the WP-Mautic plugin or any other integration, for the forms, create your forms directly in WP (or using any plugin you wish for the forms) and then integrate those forms manually in the page’s code so you don’t have interference with elementor.

---

<div class="post-metadata">

**Author:** ![monika](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/monika/32/761_2.png) [@monika](https://forum.mautic.org/u/monika)\
**Post date:** [January 2, 2020, 12:17pm UTC](https://forum.mautic.org/t/mautic-update-failed/11829/15 "2020-01-02T12:17:17Z")

</div>

thank you @Yosu_Cadilla - I am still here and it won’t beat me lol.

---

<div class="post-metadata">

**Author:** ![Yosu\_Cadilla](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yosu_cadilla/32/6206_2.png) [@Yosu\_Cadilla](https://forum.mautic.org/u/Yosu_Cadilla)\
**Post date:** [January 4, 2020, 10:11am UTC](https://forum.mautic.org/t/mautic-update-failed/11829/16 "2020-01-04T10:11:58Z")

</div>

Power to you! let us know if you find any more issues…

---

<div class="post-metadata">

**Author:** ![edsonmoreira](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/edsonmoreira/32/2254_2.png) [@edsonmoreira](https://forum.mautic.org/u/edsonmoreira)\
**Post date:** [April 21, 2020, 1:23am UTC](https://forum.mautic.org/t/mautic-update-failed/11829/17 "2020-04-21T01:23:54Z")

</div>

PERFECT!  
Thank you very much.

---

<div class="post-metadata">

**Author:** ![robert.luna2020](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robert.luna2020/32/3796_2.png) [@robert.luna2020](https://forum.mautic.org/u/robert.luna2020)\
**Post date:** [November 26, 2020, 6:37pm UTC](https://forum.mautic.org/t/mautic-update-failed/11829/18 "2020-11-26T18:37:52Z")

</div>

> [@Yosu\_Cadilla](#):
>
> I would recommend you not to use Cpanel to host your Mautic instance and install it via SSH instead.

Is this recommendation still valid as Nov-2020?

I´m pretty new to Mautic. I installed it through Softaculus just 3-4 weeks ago. I have no idea about code, Linux, Apache, etc…, I just want to use the advanced capabilities of marketing automation that Mautic offers and walk away from Mailchimp. What version do you recommend? As for now, I don´t have problems if I need to change the version (doing a new installation).

Thaks in advance.

---

<div class="post-metadata">

**Author:** ![Yosu\_Cadilla](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yosu_cadilla/32/6206_2.png) [@Yosu\_Cadilla](https://forum.mautic.org/u/Yosu_Cadilla)\
**Post date:** [November 27, 2020, 2:10pm UTC](https://forum.mautic.org/t/mautic-update-failed/11829/19 "2020-11-27T14:10:03Z")

</div>

I believe it is @robert.luna2020 , I suggest you read the article I posted here before, but if you don’t have the time, it all boils down to your ability to sort out problems down the line and also about being able to get help when something breaks, and that hasn’t really changed that much.

The wrap up of that post is something like "If you already master Systems Administration, Mautic AND Cpanel, then go ahead.

Otherwise, take the harder route and learn these things in that order…
