• jpeagle

    (@jpeagle)


    I got two issues while trying to use this plugins

    1. keyFile problem. I followed the instruction to add
    vi /opt/bitnami/apps/wordpress/htdocs/wp-config.php
    putenv(‘GOOGLE_APPLICATION_CREDENTIALS=/opt/bitnami/apps/wordpress/htdocs/X.X’);

    [above line moderated per the request of the OP]

    it doesn’t work. finally I have to hardcode the file as below
    vi /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/gcs/vendor/google/cloud/src/Core/ClientTrait.php
    $config += [
    ‘keyFile’ => null,
    ‘keyFilePath’ => ‘/opt/bitnami/apps/wordpress/htdocs/X.X’,
    ];

    2. I can’t upload any files into google cloud storage. got below error

    “Unable to create directory 1. Is its parent directory writable by the server?”

    I went to ‘Edit bucket permissions’, and added ‘allUsers’ as “Storage Object Admin”. still no luck.

    I can’t find the option to ‘Edit object default permissions’ menu in google storage admin panel. it shows only ‘Edit bucket permissions’, ‘Edit Label’ and ‘Edit default storage class’.

    please help to advice what’s resolution and possible patching of the plugins.

    Thanks

    • This topic was modified 8 years ago by t-p.
    • This topic was modified 8 years ago by t-p.
    • This topic was modified 8 years ago by t-p.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p

    (@t-p)

    @jpeagle, edited as you requested. Anything else you want edited?

    Thread Starter jpeagle

    (@jpeagle)

    @t-p one more line to edit. you search for .json will see it. thank you.

    Moderator t-p

    (@t-p)

    You are welcome 🙂

    Thread Starter jpeagle

    (@jpeagle)

    hi @t-p , could you replace this X.X?

    it is what I need to hide. sorry for the confusion. please replace the contain in this reply also.

    thanks.

    • This reply was modified 8 years ago by t-p.
    softly

    (@softly)

    you have to add the service account to have full permissions in Storage Legacy Bucket Owner

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘file can’t upload’ is closed to new replies.