file can’t upload
-
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
- The topic ‘file can’t upload’ is closed to new replies.