# Can't upgrade 4.3.1\>4.4 by composer

**URL:** <https://forum.mautic.org/t/cant-upgrade-4-3-1-4-4-by-composer/24655>\
**Category:** Mautic 4 Install/Upgrade Support\
**Created:** [July 1, 2022, 4:56pm UTC](https://forum.mautic.org/t/cant-upgrade-4-3-1-4-4-by-composer/24655 "2022-07-01T16:56:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![magma](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/magma/32/433_2.png) [@magma](https://forum.mautic.org/u/magma)\
**Post date:** [July 1, 2022, 4:56pm UTC](https://forum.mautic.org/t/cant-upgrade-4-3-1-4-4-by-composer/24655/1 "2022-07-01T16:56:35Z")

</div>

Mautic 4.3.1  
php 7.4.30  
MariaDB 10.4.25

after running composer up and update packets, delete cache nothing changes. Still after login to mautic I see old version 4.3.1 and information about new 4.4 available.

Any suggestion how to upgrade mautic?

BTW. In this case (composer install) how looks update database?

---

<div class="post-metadata">

**Author:** ![henry1688](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/henry1688/32/1071_2.png) [@henry1688](https://forum.mautic.org/u/henry1688)\
**Post date:** [August 19, 2022, 12:55am UTC](https://forum.mautic.org/t/cant-upgrade-4-3-1-4-4-by-composer/24655/2 "2022-08-19T00:55:24Z")

</div>

Finally, I find a way to upgrade Mautic without error. Here are the steps:

1. cd ././my-host-web-root #find my host’s root
2. composer self-update #update composer to the latest version
3. git clone [GitHub - mautic/recommended-project](https://github.com/mautic/recommended-project.git) #clone the latest mautic project
4. cd [mail.mydomain.com](http://mail.mydomain.com/) #enter my website root
5. cp …/recommended-project/composer.json ./composer.json #replace the old composer.json
6. mv ./docroot/app/config/local.php …/local.php #move my website’s local.php to host’s root
7. composer update #upgrade the Mautic
8. mv …/local.php ./docroot/app/config/local.php #move website’s local.php to the right place
9. bin/console cache:clear #clear the cache

With the 9 steps, I upgrade my Mautic successfully.  
Hope this can help you.
