Wordpress is down after use limit reached
enriquesaid
HOBBYOP

2 months 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

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


enriquesaid
HOBBYOP

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


Railway
BOT

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


Are the services online?


enriquesaid
HOBBYOP

2 months ago

the primary. A Wordpress Apache


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


enriquesaid
HOBBYOP

2 months ago

when redeploy the Apache crash and show 502 on site


Can you share the logs?


enriquesaid
HOBBYOP

2 months 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

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


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


enriquesaid
HOBBYOP

2 months 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

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!

msns-dev
FREE

2 months ago

update start command to exactly this;

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

enriquesaid
HOBBYOP

2 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

msns-dev
FREE

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!


enriquesaid
HOBBYOP

2 months ago

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


Go to the console tab and run service apache2 restart.


enriquesaid
HOBBYOP

2 months 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

2 months ago

mpm_event: 1: “a2dismod: not found


Try using " as quotation marks instead of “.


msns-dev
FREE

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


enriquesaid
HOBBYOP

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


What do you mean "to default"?


Status changed to Awaiting Conductor Response Railway • 2 months ago


0x5b62656e5d

What do you mean "to default"?

enriquesaid
HOBBYOP

2 months ago

the default start command of template


You could.


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?

msns-dev
FREE

2 months ago

No, do not revert to the default start command


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


Welcome!

Sign in to your Railway account to join the conversation.

Loading...