2 months ago
I'm add up limit and services (Wordpress) don't return online...
Pinned Solution
2 months ago
Try wrapping the custom start command inside sh -c "<CMD>" (Replace <CMD> with your current start command).
31 Replies
2 months ago
Restoring your services after they are stopped by a usage limit is a manual process, you must redeploy the services that were shut down. You can find more details here: What do I do if my services were stopped?
Status changed to Awaiting User Response Railway • 2 months ago
2 months ago
I’ve already reset the usage limit, but the services are still unavailable after redeploy.
Status changed to Awaiting Railway Response Railway • 2 months ago
2 months ago
This thread has been opened as a bounty so the community can help solve it.
Status changed to Open Railway • 2 months ago
2 months ago
the primary. A Wordpress Apache
2 months ago
when redeploy the Apache crash and show 502 on site
2 months ago
AH00534: apache2: Configuration error: More than one MPM loaded.
2 months ago
Try adding a2dismod mpm_worker && a2enmod mpm_prefork into your start command, along with the others you currently have.
2 months ago
Mounting volume on: /var/lib/containers/railwayapp/bind-mounts/fda16a05-7d74-4fef-9f29-111acab20505/vol_wg74sx4wubp1rxh7
Starting Container
Module mpm_prefork disabled.
Module mpm_worker already disabled
Module mpm_event disabled.
To activate the new configuration, you need to run:
service apache2 restart
2 months ago
What does your current start command look like? Seems like all 3 MPMs are currently disabled...
2 months ago
About the last log the start command was a2dismod mpm_prefork mpm_worker mpm_event; docker-entrypoint.sh apache2-foreground
0x5b62656e5d
Try adding `a2dismod mpm_worker && a2enmod mpm_prefork` into your start command, along with the others you currently have.
2 months ago
^
a2enmod mpm_prefork, not a2dismod mpm_prefork.
2 months ago
ERROR: Module mpm_event is enabled - cannot proceed due to conflicts. It needs to be disabled first!
enriquesaid
ERROR: Module mpm_event is enabled - cannot proceed due to conflicts. It needs to be disabled first!
2 months ago
update start command to exactly this;
a2dismod mpm_event mpm_worker && a2enmod mpm_prefork && docker-entrypoint.sh apache2-foreground2 months ago
no erros but
Mounting volume on: /var/lib/containers/railwayapp/bind-mounts/1be14abe-fce2-4e32-ba40-06b40edd42cd/vol_wg74sx4wubp1rxh7
Starting Container
Module mpm_event disabled.
Module mpm_worker already disabled
To activate the new configuration, you need to run:
service apache2 restart
enriquesaid
no erros but Mounting volume on: /var/lib/containers/railwayapp/bind-mounts/1be14abe-fce2-4e32-ba40-06b40edd42cd/vol_wg74sx4wubp1rxh7 Starting Container Module mpm_event disabled. Module mpm_worker already disabled To activate the new configuration, you need to run: service apache2 restart
2 months ago
That log output means it worked!
The message "To activate the new configuration, you need to run: service apache2 restart"
is just standard boilerplate text from the Apache utilities.
Check your domain, the 502 error should be gone, and your WordPress site should be back online!
2 months ago
console say: No running instances
2 months ago
Try wrapping the custom start command inside sh -c "<CMD>" (Replace <CMD> with your current start command).
2 months ago
mpm_event: 1: “a2dismod: not found
2 months ago
change your start command to ecactly this;
bash -c "a2dismod mpm_event mpm_worker && a2enmod mpm_prefork && docker-entrypoint.sh apache2-foreground"save and wait for redeploy to finish
2 months ago
Worked guys!
I’m need edit the start command to default from image/template?
Status changed to Solved enriquesaid • 2 months ago
Status changed to Awaiting Conductor Response Railway • 2 months ago
0x5b62656e5d
What do you mean "to default"?
2 months ago
the default start command of template
Status changed to Awaiting User Response Railway • 2 months ago
enriquesaid
Worked guys! I’m need edit the start command to default from image/template?
2 months ago
No, do not revert to the default start command
Status changed to Awaiting Conductor Response Railway • 2 months ago
2 months ago
(If you’re talking about going back to the default command, then no)
Status changed to Awaiting User Response Railway • 2 months ago
Status changed to Solved enriquesaid • 2 months ago

