legacy-knowledge-base
公開されました Jul. 2, 2025

GCS統合時のstorage.buckets.getアクセス権限の問題

written-by

Anishq Sharma

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • Google Cloud StorageとLiferayの連携で、ログに以下のようなエラーが表示される:
    [xyz].gserviceaccount.com does not have storage.buckets.get access to [bucket-name]

Environment

  • Liferay DXP 7.3
  • Liferay DXP 7.4

解決策

  • storage.buckets.getaccess 権限がGoogle Cloudのサービスアカウントにない場合に問題が発生します。
  • ユーザーはIAMに移動して、storage.buckets.getaccess権限を提供するロールを追加する必要があります。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base