takashimatsuo
Forum Replies Created
-
Forum: Plugins
In reply to: [Google Cloud Storage plugin] google storage not workIf you are already working on a documentation, that’s great, but just in case you want to contribute to the docs in the source code, the plugin’s source code is hosted at
https://github.com/googlecloudplatform/wordpress-pluginsI always welcome pull requests 🙂
Forum: Plugins
In reply to: [Google Cloud Storage plugin] google storage not workWhen creating the service account, please add
Storage Object Adminpermission to the new service account.I think probably we just need to update the install document. I’ll work on that.
Forum: Plugins
In reply to: [Google Cloud Storage plugin] google storage not workFor example, if the json key file is at
/secure-place/my-service-account.jsonon the hosting server, you can add the following line inwp-config.php.putenv("GOOGLE_APPLICATION_CREDENTIALS=/secure-place/my-service-account.json");Please don’t put the service account key file in the web server’s document root. Keep the file secret.
- This reply was modified 9 years, 2 months ago by takashimatsuo.
Forum: Plugins
In reply to: [Google Cloud Storage plugin] google storage not workI think there is a workaround, although it’s not fancy as using the admin UI.
You can download the service account JSON key, and upload the json key file to the hosting server, and also you need to set an environment variable
GOOGLE_APPLICATION_CREDENTIALS, with the path of the key file.Forum: Plugins
In reply to: [Google Cloud Storage plugin] google storage not workHi guys, thanks for the interests, and sorry about the trouble. The primary use case of this plugin was to use it on Google Cloud Platform. In that case, the project ID is automatically detected.
Also on the other hosting environment, you will likely need to use a service account JSON key file.
The easy fix would be adding a field for the service account key file. I’ll work on adding that field and release a new version.
Forum: Plugins
In reply to: [Google Cloud Storage plugin] Deleting Local Media Files?No it’s not possible.