Upgrade Mastodon to 4.5.1 and fix container restart #492

Merged
saibotk merged 4 commits from mastodon-upgrade into main 2025-11-16 20:23:54 +01:00
Owner

This PR does multiple small things:

  • Fixed the sidekiq container healthcheck
  • Updated Mastodon to 4.5.1
  • Make sure images are pulled to avoid timeouts on restart
  • Adjust systemd dependency to be "PartOf" for nginx & sidekiq to potentially fix restart issues on updates

See the respective commits for individual changes.

This PR does multiple small things: - Fixed the sidekiq container healthcheck - Updated Mastodon to 4.5.1 - Make sure images are pulled to avoid timeouts on restart - Adjust systemd dependency to be "PartOf" for nginx & sidekiq to potentially fix restart issues on updates See the respective commits for individual changes.
saibotk self-assigned this 2025-11-16 18:49:47 +01:00
Mastodon 4.5 uses v8 and the healthcheck was not updated.
This should solve issues when upgrading / restarting these containers.
They are all dependant on the mastodon-web container to provide the namespace and podman seems to have issues recreating the web container when the other containers are still running and depend on the namespace.

Note: We did not verify that this change fixed the issues on its own, but this seems like a reasonable and worth thing to try / it already seems to have worked.
fix(mastodon): ensure images are present on host
All checks were successful
ci/woodpecker/pr/ansible-lint Pipeline was successful
ci/woodpecker/push/ansible-lint Pipeline was successful
cdf60ee31a
Otherwise, this caused timeouts when the image had to be pulled on start, because the web image is rather big and the start timeout is only 5s.
histalek approved these changes 2025-11-16 20:19:43 +01:00
saibotk deleted branch mastodon-upgrade 2025-11-16 20:23:54 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SipsOfCode/infrastructure!492
No description provided.