v0.1.5 uploads broken with uniform bucket level access
-
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/0d93eb9be393adc5d047c83f3e08e8a91aba0305To 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 includecomposer.json
in the zip). It would be nice to have a new gcs plugin release that bundles the latest dependencies instead.
- The topic ‘v0.1.5 uploads broken with uniform bucket level access’ is closed to new replies.