On 2025-12-25 19:37:25 -0000 (-0000), jesper.holck--- via Mailman-users wrote:
I am a happy user running Mailman 3, dockerized, in combination with Mailcow. After a few initial problems, everything is running smoothly. Now I'm considering upgrading from 0.4 to 0.5.1, but I'm not sure about the right procedure. Is it something like this?
- Stop Containers: # docker compose down
- Change the two occurrences of "0.4" to "0.5.1" in my docker-compose.yaml file
- Pull New Images: # docker compose pull
- Restart: # docker compose up -d
Will there be any need for database migrations? [...]
Assuming you're using https://github.com/maxking/docker-mailman that's the upgrade process I follow, and the container start incorporates the recommended upgrade steps in the entrypoint scripts already (which are, thankfully, idempotent so doesn't matter that they get rerun at every start). This way, DB migrations should be handled automatically if there are any required.
Note that I'm not using Mailcow though and have no familiarity with it, so no idea whether the container(s) for that follow a similar pattern.
-- Jeremy Stanley