【发布时间】:2021-10-22 14:07:00
【问题描述】:
我正在尝试将 python 服务器部署到 Google App Engine。
我正在尝试使用gcloud sdk 这样做。
看来我需要使用的命令是gcloud app deploy。
我收到以下错误:
me@mymachine:~/development/some-app/backend$ gcloud app deploy
ERROR: (gcloud.app.deploy) Error Response: [3] The directory [~/.config/google-chrome/Default/Cache] has too many files (greater than 1000).
我必须将~/.config 添加到我的.gcloudignore 才能解决此错误。
它为什么会看那里?
The full repo of my project is public 但我相信我已经包含了相关部分。
【问题讨论】:
-
您可以添加
--verbosity=debug以从命令中获取更详细的日志记录。./backend有什么“不寻常”的地方吗?如果您使用 vanilla hello-world 示例并尝试部署它,是否会出现同样的问题。也许更明确,gcloud app deploy app.yaml。 app.yaml 中有什么? -
当然,它不应该需要检查
~/.config/google-chrome,除非以某种方式得到指示。然后会导致错误,因为部署中的文件数量存在上传限制。
标签: gcloud