PHP swapping and site cloning errors with Windows 10

I not quite sure where to start since I’m ready to pull my hair out at this point, but I have a site hosted on WPE that I need to test with PHP 7.4. The problem is that this site basically gets stuck in provisioning every time I try to change PHP versions. However, when it gets stuck (we’re talking 15+ minutes of provisioning), I can close Local and reopen it and the site will work.

In addition, I get similar errors whenever I attempt to clone the site. (I’d like to have a version for PHP 7.3 and 7.4 to compare) It basically does the same thing with provisioning getting stuck at “starting up site services” except closing Local and restarting it yields a clone with SQL database errors (probably because it never gets to actually setting up the database and changing site domain).

I’ve tested cloning and swapping other sites I have in Local (WPE and Flywheel hosted) and they all seem to work just fine with the exception of 1 other site. With the unaffected sites, I can swap PHP versions within seconds and a clone usually takes a few minutes for the entire process to complete. The other affected site in question is 1.3 GB in size and while swapping PHP versions works fine, cloning does not. I cloned it, but it’s not routing to the correct domain. (I’ll include a line entry from the router error log and you’ll see that the host and server are two totally different domains)

So my question is does a large total file size (respectively I suppose since all my other sites are max ~200-300 MB) for the site cause issues with cloning and PHP swapping? The sites in question are 2.8 GB and 1.3 GB respectively. After hours of swapping, reinstalling, and cloning - that’s about the only common thread I see going on here.

I’ve also tried removing Local and reinstalling from a new download as well. I’m using Local 5.7.2 on Windows 10.

I might have two totally different issues going on here, but at this point I needed somebody else’s opinion. I’ll be happy to provide any other information needed.

Thanks!

Router Error Log entry for the second site:

*2020/08/27 15:32:33 [error] 14764#9916: 1099 connect() failed (10061: No connection could be made because the target machine actively refused it) while connecting to upstream, client: 127.0.0.1, server: angel-lopez-clinic.local, request: “POST /wp-cron.php?doing_wp_cron=1598556749.4050090312957763671875 HTTP/1.1”, upstream: “http://127.0.0.1:10018/wp-cron.php?doing_wp_cron=1598556749.4050090312957763671875”, host: “syrah-clone1.local”, referrer: “https://syrah-clone1.local/wp-cron.php?doing_wp_cron=1598556749.4050090312957763671875

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