• Resolved Dean

    (@p00ya)


    Google recommends Uniform bucket-level access for Cloud Storage buckets. However, with the WordPress GCS plugin, uploading files will cause WordPress errors like:

    Unable to create directory XXX. Is its parent directory writable by the server?

    This is because 0.1.5 of the WordPress GCS plugin ships with an old version of Google’s cloud-storage PHP package where mkdir is broken for buckets with uniform bucket-level access. The fix is in this commit:
    https://github.com/googleapis/google-cloud-php-storage/commit/0d93eb9be393adc5d047c83f3e08e8a91aba0305

    To get that fix, I updated the gcs plugin’s dependencies using composer (slightly awkward if the package was installed from www.remarpro.com, because it doesn’t include composer.json in the zip). It would be nice to have a new gcs plugin release that bundles the latest dependencies instead.

Viewing 1 replies (of 1 total)
  • Thread Starter Dean

    (@p00ya)

    For the record, this was fixed in v0.1.6 of the GCS plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘v0.1.5 uploads broken with uniform bucket level access’ is closed to new replies.