mautic / docker-mautic

Docker Image for Mautic
https://www.mautic.org
362 stars 274 forks source link

Update process of Mautic using this image #237

Open Norbell opened 1 year ago

Norbell commented 1 year ago

Hello,

since a few days I'm struggling wit the update path/process of this image and Mautic. We needed to upgrade from Mautic2 to Mautic3. I did the following:

I used the same volume, I already used for mautic2. After everything started up, successfully I get redirected to the installer of of mautic. Then I go through the installer and after that all my data are gone.

Is this the intended behaviour?

Is this docker image more meant as a prebuild environment for running mautic?

How is the environment variable MAUTIC_VERSION meant to work? What does changing this variable trigger?

I'm really confused. :)

--- Want to back this issue? **[Post a bounty on it!](https://app.bountysource.com/issues/116341786-update-process-of-mautic-using-this-image?utm_campaign=plugin&utm_content=tracker%2F20392502&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://app.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F20392502&utm_medium=issues&utm_source=github).
ilkkao commented 1 year ago

Docker/kubernetes is very popular nowadays. Would be great to hear how the updates are supposed to be done.

LaOrhyUAcMji commented 1 year ago

I used mautic/mautic:latest and ended up getting mautic v2.16.5....

francoisauclair911 commented 1 year ago

Note that during the 4.0.x period, the 'mautic/mautic:latest' tag still refers to Mautic 2 for backward compatibility. If you intend to use Mautic 2, use the 'mautic/mautic:v2' tag instead of 'mautic/mautic:latest'.

https://hub.docker.com/r/mautic/mautic

I think that's why

LaOrhyUAcMji commented 1 year ago

I'm already running mautic/mautic:latest on Docker. How do I go about updating to the latest docker image (4.x)? Are there breaking changes?

mollux commented 7 months ago

@Norbell The M5 images removed that confusion, as they became stateless (no more fiddling with the MAUTIC_VERSION, but the common practice to change the base image), see #238 and https://hub.docker.com/r/mautic/mautic

@noellarkin @ilkkao I created a separate issue to define the usage of the latest tag, as the current setup is indeed confusing, see https://github.com/mautic/docker-mautic/issues/250