Could not create directory

Issue Summary

Can’t update Plugins (like Duplicator Pro)

Troubleshooting Questions

This aplies to all local sites

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?
    Yes

Replication

I uploaded Duplicator Pro and inserted it’s serial.
Then, I go to Updates and there is (as expected) o Duplicator Pro update
When I hit updated, it starts downloading it but stops with this message:
An error occurred while updating Duplicator Pro: **Could not create directory. duplicator-pro/addons/probase/installer

System Details

  • Which version of Local is being used?
    6.2.0+5679

  • What Operating System (OS) and OS version is being used?

    • For example: macOS Catalina or Windows 10 Professional
      Windows 10 Home 21H1
  • Attach the Local Log. See this Help Doc for instructions on how to do so:

2022/01/24 17:06:38 [warn] 18804#18056: *144 a client request body is buffered to a temporary file C:\Users\Rodrigo\AppData\Roaming\Local\run\router\nginx/temp/client_body_temp/0000000001, client: ::1, server: oxygen.local, request: “POST /wp-admin/update.php?action=upload-plugin HTTP/1.1”, host: “oxygen.local”, referrer: “http://oxygen.local/wp-admin/plugin-install.php

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.

I solved the issue after upgrading to PHP 7.41

RESOLVED

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