以下の内容はhttps://hiratara.hatenadiary.jp/entry/2024/01/12/213019より取得しました。


ERROR: (gcloud.run.deploy) FAILED_PRECONDITION

gcloud run deploy したらエラーが出た。

X Building and deploying new service... Uploading sources.
  Γ£ô Creating Container Repository...
  Γ£ô Uploading sources...
  . Building Container...
  . Creating Revision...
  . Routing traffic...
  . Setting IAM Policy...
Deployment failed
ERROR: (gcloud.run.deploy) FAILED_PRECONDITION: failed precondition: due to quota restrictions, cannot run builds in this region. Please contact support

以下の問題を踏んだようだ。

www.googlecloudcommunity.com

gcloud components update --version 455.0.0 とダウングレードしろと書いてあるが、これもエラーになる。

Beginning update. This process may take several minutes.
ERROR: (gcloud.components.update)
You cannot perform this action because the Google Cloud CLI component manager
is disabled for this installation. You can run the following command
to achieve the same result for this installation:

apt で入れているのが良くないようで、以下に書いてあるダウングレード手順が必要だった。

cloud.google.com

sudo apt-get update && sudo apt-get install google-cloud-cli=455.0.0-0

ダウングレードをしたら、普通にデプロイできた。




以上の内容はhttps://hiratara.hatenadiary.jp/entry/2024/01/12/213019より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14