Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later

What issue or error are you experiencing?

Getting the following error when trying to access my local site. I’ve tried nginx and apache. The nginx error message is a 502 gateway error. This is a fairly large site and I can access some of my smaller ones. However, I need to be able to work on this particular site in a dev environment. How can I make this larger site work?

Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.


What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

Importing new site with file taken with WP Migrate.


System Details

  • Local Version:
    Version 9.0.3+6684

  • Operating System (OS) and OS version:
    macOS 14.4


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)
{“class”:“Process”,“level”:“warn”,“message”:“2024-06-11T18:03:37.331264Z 0 [System] [MY-010116] [Server] %%userDataPath%%/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqld (mysqld 8.0.16) starting as process 3549”,“process”:“mysql”,“thread”:“main”,“timestamp”:“2024-06-11T18:03:37.660Z”}
{“class”:“Process”,“level”:“warn”,“message”:“2024-06-11T18:03:37.333045Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.”,“process”:“mysql”,“thread”:“main”,“timestamp”:“2024-06-11T18:03:37.660Z”}
{“class”:“Process”,“level”:“warn”,“message”:“2024-06-11T18:03:37.333575Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for %%site.runData%%/mysql/data/ is case insensitive”,“process”:“mysql”,“thread”:“main”,“timestamp”:“2024-06-11T18:03:37.660Z”}
{“class”:“Process”,“level”:“warn”,“message”:“2024-06-11T18:03:37.649884Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.”,“process”:“mysql”,“thread”:“main”,“timestamp”:“2024-06-11T18:03:37.660Z”}
{“class”:“Process”,“level”:“warn”,“message”:“2024-06-11T18:03:37.660340Z 0 [System] [MY-010931] [Server] %%userDataPath%%/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqld: ready for connections. Version: ‘8.0.16’ socket: ‘%%site.runData%%/mysql/mysqld.sock’ port: 10024 MySQL Community Server - GPL.”,“process”:“mysql”,“thread”:“main”,“timestamp”:“2024-06-11T18:03:37.660Z”}


Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Hi @edigermatthew

If the site is really large you might have to try looking through some of our performance recommendations on the help article below.

Some highlights might be:

  • Ensuring all other sites are stopped
  • Check you’re not running any other resource intensive applications on your machine
  • Try raising your PHP settings