• Seboss666

    (@seboss666)


    WordPress 5.7
    GCS : 0.1.6
    AppEngine : Standard php74

    Hello,

    I’m in a process to migrate a WordPress website in an AppEngine setup I presented above. I followed this tutorial to proceed : https://medium.com/google-cloud/cloud-sql-with-private-ip-only-the-good-the-bad-and-the-ugly-de4ac23ce98a

    Some plugins manage to write their files (ThePlus plugin for Elementor, live generating js/css for pages), but the wordpress media manager fails when uploading image files. It gives the would-be final cloud storage link, but the object is not created, same for the thumbnails. The only “warning” message in AppEngine logs is the following :
    PHP message: PHP Warning: chmod(): Google\Cloud\Storage\StreamWrapper::stream_metadata is not implemented! in /workspace/wp-admin/includes/file.php on line 958"

    We have very few tools to investigate this error (and I’m not a PHP developer). I’ve search for similar issues on this forum, even google-cloud-php issues on Github (https://github.com/googleapis/google-cloud-php/issues), but nothing that seems to relate with my problem. We are blocked because contributors need it to update content.

    What could be causing this failure ? Old posts seems to indicate this should not happen as it is about old versions of gcs (0.1.5 mainly).

    • This topic was modified 4 years ago by Seboss666. Reason: complete questioning
  • The topic ‘Image upload failed – no object in storage bucket’ is closed to new replies.