# I need help in updating to 5.2.1

**URL:** <https://forum.mautic.org/t/i-need-help-in-updating-to-5-2-1/34723>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [January 11, 2025, 3:22pm UTC](https://forum.mautic.org/t/i-need-help-in-updating-to-5-2-1/34723 "2025-01-11T15:22:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![4lead](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/4lead/32/7029_2.png) [@4lead](https://forum.mautic.org/u/4lead)\
**Post date:** [January 11, 2025, 3:22pm UTC](https://forum.mautic.org/t/i-need-help-in-updating-to-5-2-1/34723/1 "2025-01-11T15:22:32Z")

</div>

I need someone who knows Mautic to help me check and update from Mautic 5.0.1 to Mautic 5.2.1, and this will be for a paid service. I’ve tried multiple times, but I keep encountering an error

---

<div class="post-metadata">

**Author:** ![deepvyas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/deepvyas/32/12466_2.png) [@deepvyas](https://forum.mautic.org/u/deepvyas)\
**Post date:** [January 16, 2025, 2:36pm UTC](https://forum.mautic.org/t/i-need-help-in-updating-to-5-2-1/34723/2 "2025-01-16T14:36:27Z")

</div>

@4lead, Could you share the error to help you out?

---

<div class="post-metadata">

**Author:** ![sdesergi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/sdesergi/32/13691_2.png) [@sdesergi](https://forum.mautic.org/u/sdesergi)\
**Post date:** [January 21, 2025, 4:06pm UTC](https://forum.mautic.org/t/i-need-help-in-updating-to-5-2-1/34723/3 "2025-01-21T16:06:15Z")

</div>

Exploring this CRM for implementation I’ve encountered the same situation. I will detail my case in the hope that this helps with your query, @4lead

I installed Mautic 5.1.0 via web after upload and unzipping the package, connecting to a MariaDB 10.7.3 (even though there was only the MySQL option in the form dropdown) and on an Apache 2.4.62 server. I was able to access and investigate the software without any problems.

After the announcement of version 5.2.1 I consulted the documentation and followed the steps to upgrade from the command line (without composer). After launching the last command `php bin/console mautic:update:apply --finish` Mautic has become inaccessible returning the following errors:

From console:

```auto
Step 1 [>---------------------------] Migrating database schema...

An error occurred while updating the database. Check log for more details.

```

From web browser:

```auto
Oops! An Error Occurred
The server returned a ‘500 Internal Server Error’.

Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.

```

Any help? I want to use this software but the difficulty to update would be a problem for me… Thanks!

---

<div class="post-metadata">

**Author:** ![sdesergi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/sdesergi/32/13691_2.png) [@sdesergi](https://forum.mautic.org/u/sdesergi)\
**Post date:** [January 21, 2025, 4:19pm UTC](https://forum.mautic.org/t/i-need-help-in-updating-to-5-2-1/34723/4 "2025-01-21T16:19:09Z")

</div>

The web error log contains the following lines:

```auto
Creation of dynamic property Mautic\\Middleware\\MiddlewareBuilder::$specs is deprecated in /path/to/mautic/app/middlewares/MiddlewareBuilder.php on line 24＇

```

with the following referers:

/path/to/mautic/s/dashboard  
/path/to/mautic/s/login  
/path/to/mautic/s/update  
/path/to/mautic/s/config/edit  
…

Thanks!
