# Can't upgrade to mautic 3.02 =\> 4.2 from command line

**URL:** <https://forum.mautic.org/t/cant-upgrade-to-mautic-3-02-4-2-from-command-line/23209>\
**Category:** Product Support\
**Tags:** mautic-3\
**Created:** [March 22, 2022, 11:38pm UTC](https://forum.mautic.org/t/cant-upgrade-to-mautic-3-02-4-2-from-command-line/23209 "2022-03-22T23:38:05Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![raramuridesign](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/raramuridesign/32/13226_2.png) [@raramuridesign](https://forum.mautic.org/u/raramuridesign)\
**Post date:** [March 24, 2022, 4:47pm UTC](https://forum.mautic.org/t/cant-upgrade-to-mautic-3-02-4-2-from-command-line/23209/14 "2022-03-24T16:47:23Z")

</div>

@vanguy765 Try do an incremental update using the command line where you install mautic from a zip file. Then run database migrations after each step. This will be tedious but it should get you to the latest version. Try not do a big jump in versions, as a lot changes and some file locations and or commands may not work.

remember to do each upgrade…incremental  
Then database migrate  
clear cache  
next upgrade  
etc

Hope this helps  
M.

---

_[View the full topic](https://forum.mautic.org/t/cant-upgrade-to-mautic-3-02-4-2-from-command-line/23209)._
