• Resolved metrosuperstar

    (@metrosuperstar)


    A few days ago, I have become unable to successfully update a specific plugin, as it throws a “Could not create directory” error. This happens on all sites I’m developing currently, on the Local by Flywheel platform using nginx server.
    Not sure why it just started happening now but I took screenshots and have the Local router/error log file which I can share if needed. This files seems to have logged the problem.
    The funny thing is WordPress health indicates that all Filesystem permissions are set to write. And when I manually check the permissions for the plugins folder in WIndows Explorer, I see checkmarks for all permissions. However, the PROPERTIES tab has a black square for Read-Only. (which I think means some of the subfolders/files are not writable?) Is this not contradictory?
    Additional note is that I can overwrite the stubborn plugin by uploading the latest .zip over it… but this doesnt solve the issue that some sort of permission doesn’t seem right where this plugin is concerned, despite WP telling me filesystems are all writable.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I suspect that you have run into a minor difference between hosted and localhost environments. In localhost it is very common for the file system permissions to not enable the webserver process to write to website files and directories.
    It is possible to set the file ownership and permissions correctly, but is they don’t always stay correct with other maintenance tasks, often it is just not worth the trouble.
    The solution is to use your system file explorer etc to manage and update the plugins yourself, rathen than have WordPress install a ZIP archive etc, just expand and install it yourself and make sure it is readable.
    Sorry you had to wait 5 days to be told this.

    Thread Starter metrosuperstar

    (@metrosuperstar)

    Thanks Ross for chiming in. I had a breakthru last night by playing around with the PHP versions of my local setup. Upgrading to 7.4.1 solved my issue!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot create directory (plugin no longer updateable on LOCAL)’ is closed to new replies.