Old sites not opening after localwp update past 7.2.1

Bug Summary

i have 2 websites on localwp that are there a long time (over a year)
i started them when local was version 5 or 6

i use local version 7.2.1+6433

when i update to version 8 or 9 those sites just wont open up, i always get 504 error.
if im starting a new site it works and the site will open up normaly.
even if i take the old site and turn it to blueprint, then start a new site with this blueprint, it will work, the site will open up.

Steps to reproduce

As precisely as you can, list the steps it takes to reliably reproduce the issue.

Environment Info

Describe your environment.
macOS latest - 14.4.1 (23E224) on apple silicon M1 Pro
nginx, php 8.2.8 and 8.1.3

Supporting info

log error example:

2024/04/13 16:26:13 [error] 69417#0: *29 no live upstreams while connecting to upstream, client: ::1, server: yochai.local, request: “POST /wp-cron.php?doing_wp_cron=1713014773.6488521099090576171875 HTTP/1.1”, upstream: “http://localhost/wp-cron.php?doing_wp_cron=1713014773.6488521099090576171875”, host: “yochai.local”

Hi @yochai

If you create a new, blank site in Local can you access that okay? If you can, then you may want to try reimporting the site getting the errors. The steps would look like this:

  • Locate the site files on your machine, and save a copy of them to your desktop. If you click Go to Site Folder under your site name it should take you right to where they are located.
  • Once you have those copied, completely delete the site from Local
  • Restart Local/your machine
  • Reimport the site back into Local. You can refer here on how to Restore from only Local site files
2 Likes

Hey @Nick-B thank you for your reply,

i have git installed on one of the sites, the site is on active development and i have some branches there that i want to keep.

do you think that by doing the proccess you mention (copy, delete, re-import) i will still have my git branches, and all my dev setup?

is there. maybe, a different solution that involves only changing some settings and commands on the same site?

UPDATE:

i did as @Nick-B suggested and it worked!
also all my git branches and all the other IDE settings were saved, so, huray!

thanks.

3 Likes

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.

Glad to hear it @yochai! Thank you for the follow up.