Subject: Matomo Docker images broken on Railway (all versions)
asnck
PROOP

10 days ago

Dear all,

I'm trying to deploy Matomo on Railway with a fresh MariaDB instance. I've tried multiple approaches:

Matomo 5.0.2 with matomo:5.0.2 image

Matomo 4.15.1 with matomo:4.15.1 image

Railway's official Matomo template (matomo:latest)

All fail with the same error during container startup:

AH00534: apache2: Configuration error: More than one MPM loaded.

The container restarts repeatedly and never reaches a healthy state. MariaDB database connection is properly configured via environment variables and runs fine.

Environment:

Region: EU West (europe-west4-drams3a)

What I've tried:

Multiple Matomo image versions (5.0.2, 4.15.1, latest)

Fresh services with clean volumes

Verified MariaDB is running and accepting connections

Checked all environment variable references

The Apache MPM error suggests either a seccomp/container configuration conflict, broken Docker Hub images, or a kernel/container compatibility issue.

Is this a known issue? Should I be using a specific tag or configuration to work around this?

Many thanks and best wishes!

Solved$20 Bounty

5 Replies

Railway
BOT

10 days ago

Having looked into this, the issue appears to be in your application code or configuration rather than the Railway platform itself, which puts it outside what Railway support can resolve directly.

This is exactly the kind of problem the Railway community is good at, so we'd like to open your thread as a community bounty. Railway pays a bounty to the community member who solves it, and threads like this usually get picked up quickly.

Opening it makes this entire thread public, including everything already posted. Nothing becomes public until you decide. Use the buttons below.

  • Open to the community - Before you click, take a moment to edit or remove anything you'd rather not share. The thread becomes publicly visible right away.
  • Keep it private and close the thread - Nothing becomes public. The thread closes, since this isn't something Railway support can take further.

Status changed to Awaiting User Response Railway 10 days ago


Railway
BOT

10 days ago

This thread has been opened as a public bounty so the community can help solve it. The thread and any further activity are now visible to everyone.

Status changed to Open Railway 10 days ago


What's your current start command?


manuproject
HOBBY

10 days ago

share a scrennshot


10 days ago

I tried to reproduce it using the same template and manage to fix it by following a solution on this old thread

https://station.railway.com/questions/urgent-all-wordpress-sites-deployed-to-07dee2ef#7d25

What i did is adding this command as the Custom Start Command on the Matomo service

sh -c "a2dismod mpm_event && a2dismod mpm_worker && a2enmod mpm_prefork && apache2-foreground"


asnck
PROOP

8 days ago

Thanks, I simply switched to plausible as a web analytic tool, this works out perfectly!


Status changed to Solved mayori 8 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...