I need help in updating to 5.2.1

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

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

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:

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

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

From web browser:

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!

The web error log contains the following lines:

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!