Wordpress is down after use limit reached
enriquesaid
HOBBYOP

23 days ago

I'm add up limit and services (Wordpress) don't return online...

Solved$10 Bounty

Pinned Solution

Try wrapping the custom start command inside sh -c "<CMD>" (Replace <CMD> with your current start command).

31 Replies

Railway
BOT

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


enriquesaid
HOBBYOP

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


Railway
BOT

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


Are the services online?


enriquesaid
HOBBYOP

23 days ago

the primary. A Wordpress Apache


So it's online but you're not able to access the site itself?


enriquesaid
HOBBYOP

23 days ago

when redeploy the Apache crash and show 502 on site


Can you share the logs?


enriquesaid
HOBBYOP

23 days ago

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


Try adding a2dismod mpm_worker && a2enmod mpm_prefork into your start command, along with the others you currently have.


enriquesaid
HOBBYOP

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


What does your current start command look like? Seems like all 3 MPMs are currently disabled...


enriquesaid
HOBBYOP

23 days ago

About the last log the start command was a2dismod mpm_prefork mpm_worker mpm_event; docker-entrypoint.sh apache2-foreground


prefork should be enabled, not disabled.


0x5b62656e5d

Try adding `a2dismod mpm_worker && a2enmod mpm_prefork` into your start command, along with the others you currently have.

^

a2enmod mpm_prefork, not a2dismod mpm_prefork.


enriquesaid
HOBBYOP

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!

msns-dev
FREE

23 days ago

update start command to exactly this;

  a2dismod mpm_event mpm_worker && a2enmod mpm_prefork && docker-entrypoint.sh apache2-foreground

enriquesaid
HOBBYOP

23 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

msns-dev
FREE

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!


enriquesaid
HOBBYOP

23 days ago

try https://bumbag.com.br (it’s 502 yet for me)


Go to the console tab and run service apache2 restart.


enriquesaid
HOBBYOP

23 days ago

console say: No running instances


Try wrapping the custom start command inside sh -c "<CMD>" (Replace <CMD> with your current start command).


enriquesaid
HOBBYOP

23 days ago

mpm_event: 1: “a2dismod: not found


Try using " as quotation marks instead of .


msns-dev
FREE

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


enriquesaid
HOBBYOP

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


What do you mean "to default"?


Status changed to Awaiting Conductor Response Railway 23 days ago


0x5b62656e5d

What do you mean "to default"?

enriquesaid
HOBBYOP

23 days ago

the default start command of template


You could.


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?

msns-dev
FREE

23 days ago

No, do not revert to the default start command


Status changed to Awaiting Conductor Response Railway 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


Welcome!

Sign in to your Railway account to join the conversation.

Loading...