Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update process of Mautic using this image #237

Open
Norbell opened this issue Jan 20, 2023 · 5 comments
Open

Update process of Mautic using this image #237

Norbell opened this issue Jan 20, 2023 · 5 comments

Comments

@Norbell
Copy link

Norbell commented Jan 20, 2023

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 adjusted the image tag from [2.13-apache to v3-apache
  • added the environment variable MAUTIC_VERSION=3.1.2
  • and added the environment varialbe MAUTIC_RUN_MIGRATIONS=true

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! We accept bounties via Bountysource.

@ilkkao
Copy link

ilkkao commented May 22, 2023

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

@noellarkin
Copy link

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

@francoisauclair911
Copy link

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

@noellarkin
Copy link

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
Copy link
Contributor

mollux commented Feb 3, 2024

@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 #250

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants