Deployments not working
m-garcia22
PROOP

2 months ago

Deployments are not executing, I'm looking at 10-15+ minutes of nothing happening when I am used to 2 minute deployments, codebase hasn't been modified to any degree which would affect my deployment

Solved

2 Replies

jernelolart
HOBBY

2 months ago

If you use Docker, change the deployment to “nixpacks.toml.”

Mine ended up looking like this:

[phases.setup]

nixPkgs = [“php82”, “php82Packages.composer”, “php82Extensions.gd”, “php82Extensions.pdo_mysql”, “php82Extensions.zip”, “imagemagick”, ‘nginx’, “bash”]

[phases.build]

cmds = [“composer install --no-dev --optimize-autoloader”]

[start]

cmd = “php -S 0.0.0.0:$PORT”

About the error:

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

This message is not specific to Railway; it is an Apache configuration error that occurs when multiple MPMs (Multi-Processing Modules) are loaded simultaneously:

Apache can only have a single MPM enabled—e.g., prefork, worker, or event.

If two or more MPM modules are enabled in your configuration, Apache fails with that message.

Launchpad

Common causes in a Railway/container environment:

heavy_check_mark emoji Your Dockerfile or base image already enables multiple MPMs

Some builds or stack templates have modules that are loaded by default.

heavy_check_mark emoji You are manually including configurations that load duplicate MPMs

If you added custom configurations to Apache (e.g., in /etc/apache2/mods-enabled/), they are likely to duplicate the modules.


itsrems
EMPLOYEE

2 months ago

Heya, we're seeing a temporary spike in build times that is now over, please let us know if you run into this again.


Status changed to Awaiting User Response Railway about 2 months ago


Status changed to Solved itsrems about 2 months ago


Loading...