Some plugins not able to update (create directory) AND 404 on SOME Site Creations - LOG files attached

Hi, I’m not sure if this could be related to Local but maybe someone here can assist anyhow.
I have a plugin that indicates an update is available but on all 5 sites I’m developing on local, it doesn’t update successfully - it always gives me an error that it cannot create the directory for that plugin.
However, it works if I upload the latest version as a .zip archive to overwrite the previous one. What could be preventing the elegant update process for this plugin but not a problem to just overwrite it?
Depending on the site, its a different level of the plugin folder… see below

error.log (3.6 KB)

@ben.turner Can you help with interpreting the Router Log file?

It looks like the router log is showing those plugin upload events:

2020/09/23 06:26:25 [warn] 10348#16708: *1 a client request body is buffered to a temporary file C:\Users\Alain\AppData\Roaming\Local\run\router\nginx/temp/client_body_temp/0000000001, client: 127.0.0.1, server: alainpatry.local, request: "POST /wp-admin/update.php?action=upload-plugin HTTP/2.0", host: "alainpatry.local", referrer: "https://alainpatry.local/wp-admin/plugin-install.php"
2020/09/23 06:29:45 [warn] 6488#9292: *4 a client request body is buffered to a temporary file C:\Users\Alain\AppData\Roaming\Local\run\router\nginx/temp/client_body_temp/0000000001, client: 127.0.0.1, server: alainpatry.local, request: "POST /wp-admin/update.php?action=upload-plugin HTTP/2.0", host: "alainpatry.local", referrer: "https://alainpatry.local/wp-admin/plugin-install.php"
2020/09/23 06:36:14 [warn] 6488#9292: *278 a client request body is buffered to a temporary file C:\Users\Alain\AppData\Roaming\Local\run\router\nginx/temp/client_body_temp/0000000002, client: 127.0.0.1, server: metrosuperstar.local, request: "POST /wp-admin/update.php?action=upload-plugin HTTP/2.0", host: "metrosuperstar.local", referrer: "https://metrosuperstar.local/wp-admin/plugin-install.php"
2020/09/23 06:43:46 [warn] 6488#9292: *779 a client request body is buffered to a temporary file C:\Users\Alain\AppData\Roaming\Local\run\router\nginx/temp/client_body_temp/0000000003, client: 127.0.0.1, server: yourdrummer.local, request: "POST /wp-admin/update.php?action=upload-plugin HTTP/2.0", host: "yourdrummer.local", referrer: "https://yourdrummer.local/wp-admin/plugin-install.php"
2020/09/23 06:44:58 [warn] 6488#9292: *779 a client request body is buffered to a temporary file C:\Users\Alain\AppData\Roaming\Local\run\router\nginx/temp/client_body_temp/0000000004, client: 127.0.0.1, server: yourdrummer.local, request: "POST /wp-admin/update.php?action=upload-plugin HTTP/2.0", host: "yourdrummer.local", referrer: "https://yourdrummer.local/wp-admin/plugin-install.php"
2020/09/23 06:46:03 [warn] 6488#9292: *1379 a client request body is buffered to a temporary file C:\Users\Alain\AppData\Roaming\Local\run\router\nginx/temp/client_body_temp/0000000005, client: 127.0.0.1, server: yourhandmodel.local, request: "POST /wp-admin/update.php?action=upload-plugin HTTP/2.0", host: "yourhandmodel.local", referrer: "https://yourhandmodel.local/wp-admin/plugin-install.php"
2020/09/23 06:46:53 [warn] 6488#9292: *1649 a client request body is buffered to a temporary file C:\Users\Alain\AppData\Roaming\Local\run\router\nginx/temp/client_body_temp/0000000006, client: 127.0.0.1, server: yourvoiceoverartist.local, request: "POST /wp-admin/update.php?action=upload-plugin HTTP/2.0", host: "yourvoiceoverartist.local", referrer: "https://yourvoiceoverartist.local/wp-admin/plugin-install.php"

But I’m not seeing any reason in this log as to why it is failing.

There might be something in the more general Local log – Can you please provide that? See this Community Forum post for instructions on how to do so:

Otherwise, it might be a good idea to reach out Divi to see why this isn’t working despite the various other WorPress folders being able to be written to disk by WordPress.

Hi Ben, thanks for looking at the first log. Here is the one you requested…
Hopefully, you can spot something. (As a side note, I did reach out already to the developer of Divi Essential but so far, it seems to be above their heads…)

local-lightning.log (739.9 KB)

2020-09-27_10-27-53 2020-09-27_10-27-34

It’s not just with one plugin as I originally thought.
Also, I’ve noticed that I creating new sites is really hit or miss on my PC. I get 404 errors but only half the time.


Also got this when trying to upload it from scratch:

Is it possible my local dev environment is just seriously corrupted?
@ben.turner @clay can you help figure this out? I provided you with the requested log file.
Is there a way I could remove EVERYTHING related to local from my system - including all that it uses? It just seems like something in the deep back end isnt working right anymore and that an uninstall/reinstall of Local is not fixing…

UPDATE:

Looks like the culprit might be using PHP 7.3.5.
Still testing with 7.4.1 but so far so good…

1 Like

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