mautic / docker-mautic

Docker Image for Mautic
https://www.mautic.org
353 stars 268 forks source link

Update 5.0.4 #273

Closed lordimac closed 2 months ago

lordimac commented 3 months ago

Hello, do we need to build an own image/wait for new image for mautic 5.0.4 or can we run web updater or composer updater?

lordimac commented 3 months ago

So far, tried the web updater after taking a backup. The task "Moving Package Contents" is running forever. Looks like we cant use the web updater with docker at the moment or the process is unclear.

Command Line Update stops with "An error occurred while updating the database. Check log for more details." but no Error Log could be found.

d-sushko commented 3 months ago

same here, had to restore from backup after running mautic:update:apply --finish

escopecz commented 2 months ago

Am I missing something? I can see the images for 5.0.4 at https://hub.docker.com/r/mautic/mautic/tags Screenshot 2024-05-10 at 22 07 31

lordimac commented 2 months ago

Yes, but when we opened this case, it was not released. And the question will still be the same after the next update. Its more then a general question then a bug, but for the next update we should know if we can update mautic ourselfes without or with building an custom image.

escopecz commented 2 months ago

Gotcha. It depends how you deploy it. Do you use just one of the docker files or some of the Docker Compose examples? You shouldn't build your images unless you have a reason for it. The images already contain updated version of Mautic so no Composer nor manually via UI. Just spin up the new image.

lordimac commented 2 months ago

I'm using the default example docker-compose. Well, reason for building an own image would be testing a newer version of mautic until the docker images are updated. ;)

escopecz commented 2 months ago

Yep, for that you'll need to build your own image.

lordimac commented 2 months ago

Thank you for the clarification. :)