Issue to redeploy even an old build that used to work
lionelgentil
HOBBYOP

a month ago

When deploying a new build, I now have the error in the deploy log:

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

The build log only contains this:

scheduling build on Metal builder "builder-xayinw"

and nothing else.

My project is a simple Apache + PHP + PostgreSQL

I tried to redeploy a working build and I have the exact same error.

I added these to my Dockerfile:
# Disable conflicting MPM modules and enable mpm_prefork

# Remove the module config files to prevent auto-loading

RUN rm -f /etc/apache2/mods-enabled/mpm_event.* /etc/apache2/mods-enabled/mpm_worker.* || true

RUN a2dismod mpm_event 2>/dev/null || true

RUN a2dismod mpm_worker 2>/dev/null || true

RUN a2dismod mpm_prefork 2>/dev/null || true

RUN a2enmod mpm_prefork

Still nothing happens. It looks like the build is not even happening as nothing is logged.

Is there an issue with the platform or am I missing something ?

Thanks for your help.

Lionel

Solved$10 Bounty

Pinned Solution

lionelgentil
HOBBYOP

a month ago

I figured it out, I had a start command in Settings where I was starting Apache and that was overriding my Dockerfile.

1 Replies

lionelgentil
HOBBYOP

a month ago

I figured it out, I had a start command in Settings where I was starting Apache and that was overriding my Dockerfile.


Status changed to Solved brody about 1 month ago


Loading...