首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >gcloud预览应用部署抛出

gcloud预览应用部署抛出
EN

Stack Overflow用户
提问于 2016-03-21 03:22:10
回答 1查看 1.8K关注 0票数 5

我不知道我做错了什么?我可以在cloud9本地运行这个应用程序。不给我看任何不寻常的东西..。任何帮助

代码语言:javascript
复制
xxxxx:~/workspace (master) $ gcloud preview app deploy --version v1
You are about to deploy the following modules:
 - valued-vault-xxxxx/default (from [/home/ubuntu/workspace/app.yaml])
     Deployed URL: [https://valued-vault-xxxxx.appspot.com]

Do you want to continue (Y/n)?  Y

Beginning deployment...
Copying files to Google Cloud Storage...
Synchronizing files to [<googlecloudsdk.api_lib.app.cloud_storage.BucketReference object at 0x7f506914f790>].
File upload done.
Updating module [default]...failed.
ERROR: (gcloud.preview.app.deploy) Error Response: [13] Errors were encountered while copying files to App Engine.

Details: [
  [
    {
      "@type": "type.googleapis.com/google.rpc.ResourceInfo",
      "description": "Conflicting SHA1 sum for file. Expected \"d4fc6996_1e0f9444_1f1f82b3_f1v2eef4_9d5d12345\" but received \"f7f38209_fa22bdf0_9e73e6ec_7f60a936_9efc1f1e\".",
      "resourceName": "https://storage.googleapis.com/staging.valued-vault-xxxxx.appspot.com/f7f3d209fa25bcf09e73efec7f60a9369efc1f1e",
      "resourceType": "file"
    }
  ]
]
EN

回答 1

Stack Overflow用户

发布于 2018-02-28 16:33:32

遵循以下步骤:

  1. 复制资源名称的文件部分。在您的例子中,它将是: f7f3d209fa25bcf09e73efec7f60a9369efc1f1e
  2. 转到google云存储并选择bucket: staging.valued-vault-xxxxx.appspot.com.appspot.com.项目名称为“valued va-xxxx.apppot.com”。
  3. 然后搜索"f7f3d209fa25bcf09e73efec7f60a9369efc1f1e“并删除它
  4. 再做一次部署,它应该可以工作。
票数 9
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/36122637

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档