23 days ago
I'm add up limit and services (Wordpress) don't return online...
Pinned Solution
23 days ago
Try wrapping the custom start command inside sh -c "<CMD>" (Replace <CMD> with your current start command).
31 Replies
23 days 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 • 23 days ago
23 days ago
I’ve already reset the usage limit, but the services are still unavailable after redeploy.
Status changed to Awaiting Railway Response Railway • 23 days ago
23 days ago
This thread has been opened as a bounty so the community can help solve it.
Status changed to Open Railway • 23 days ago
23 days ago
the primary. A Wordpress Apache
23 days ago
when redeploy the Apache crash and show 502 on site
23 days ago
AH00534: apache2: Configuration error: More than one MPM loaded.
23 days ago
Try adding a2dismod mpm_worker && a2enmod mpm_prefork into your start command, along with the others you currently have.
23 days 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
23 days ago
What does your current start command look like? Seems like all 3 MPMs are currently disabled...
23 days 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.
23 days ago
^
a2enmod mpm_prefork, not a2dismod mpm_prefork.
23 days 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!
23 days ago
update start command to exactly this;
a2dismod mpm_event mpm_worker && a2enmod mpm_prefork && docker-entrypoint.sh apache2-foreground23 days 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
23 days 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!
23 days ago
console say: No running instances
23 days ago
Try wrapping the custom start command inside sh -c "<CMD>" (Replace <CMD> with your current start command).
23 days ago
mpm_event: 1: “a2dismod: not found
23 days 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
23 days ago
Worked guys!
I’m need edit the start command to default from image/template?
Status changed to Solved enriquesaid • 23 days ago
Status changed to Awaiting Conductor Response Railway • 23 days ago
0x5b62656e5d
What do you mean "to default"?
23 days ago
the default start command of template
Status changed to Awaiting User Response Railway • 23 days ago
enriquesaid
Worked guys! I’m need edit the start command to default from image/template?
23 days ago
No, do not revert to the default start command
Status changed to Awaiting Conductor Response Railway • 23 days ago
23 days ago
(If you’re talking about going back to the default command, then no)
Status changed to Awaiting User Response Railway • 23 days ago
Status changed to Solved enriquesaid • 23 days ago

