What's the best way to update 3.1.0 -> 3.1.1

My 3.1.0 version is up and running and I just read the email 3.1.1-rc is available. Since I am all new to mautic, I was wandering what’s the best way to updaate to 3.1.1?

Just deleting all folder and copy the 3.1.1 folder in place?

In my case I should use the update zip right?

What’s the difference between the 2 zip files?

3.1.1-rc-update.zip
(https://github.com/mautic/mautic/releases/download/3.1.1-rc/3.1.1-rc-update.zip
3.1.1-rc.zip
(https://github.com/mautic/mautic/releases/download/3.1.1-rc/3.1.1-rc.zip

3.1.1-rc

Hi there,

The best way to update is to take a backup of your files and database (do not skip this step) and then, at the command line in your Mautic directory, type the command:

php bin/console mautic:update:find

This should tell you if there are updates available. You can then use the command:

php bin/console mautic:update:apply

Note that it will, by default, not show you Release Candidate, Beta or Alpha releases. If you ever wanted to update to those, you’d have to change your stability settings in your Mautic configuration from Stable to the relevant option.

If you ever encounter problems, here’s the resource on troubleshooting updates: https://docs.mautic.org/en/troubleshooting/update-failed#2-trigger-an-update-manually

There is a GUI-based update option, but we recommend that you update at the command line if at all possible. It is much more robust and less likely to time out due to server restrictions.

thank you for the very fast response and deeper insight. I was lookin into a cli update and will try it with no backup of database just for the fun of it. :slight_smile:

BTW the contribute page linked on the mautic github page is a 404.

On this page, go down to the Contributing Guide link

404 page/url
https://contribute.mautic.org/about/how-can-i-contribute

Thanks - I made the PR for that and it was merged into 3.1.1 so it will be applied when we push the release live next Monday!

Here is the correct link in the meantime: https://contribute.mautic.org/contributing-to-mautic

1 Like

I guess the links on that page will get updated too. Like the Code of Conduct

https://contribute.mautic.org/community-wide-resources/code-of-conduct

I am running 3.1.0 and when I use command php bin/console mautic:update:find the console returns:
“Great! You are running the current version of Mautic.”

Any suggestions?

Did you check in mautic the Setting / Stable version / Release Candidate ?
I guess the update requests are made over port 80/443 so checking firewall rules maybe?

If you did this right after we released, we had a small issue whereby the version file was not updated in the Github release. It may be that you need to clear the cache perhaps?