当我尝试部署到Google App Engine时遇到此错误: 错误:(gcloud.app.deploy)错误响应:[3]将文件复制到App Engine时发生以下错误:
File https://storage.googleapis.com/staging.XXXXXXXX.appspot.com/04314f892fba4e2f44a86ab96eeb2a6b72ed93cd failed with: Conflicting SHA1 sum for file. Expected "6ae2b40e_68bc1a25_8cc5408c_bbd37316_fa642477" but received "04314f89_2fba4e2f_44a86ab9_6eeb2a6b_72ed93cd".
File https://storage.googleapis.com/staging.XXXXXXXX.appspot.com/d06cfbf61df973ee19498c5a6d8afd5c3f971cb1 failed with: Conflicting SHA1 sum for file. Expected "cf32ec49_c6023a31_6d3f4788_f187afcb_932d60df" but received "d06cfbf6_1df973ee_19498c5a_6d8afd5c_3f971cb1".
Details: [
[
{
"@type": "type.googleapis.com/google.rpc.ResourceInfo",
"description": "Conflicting SHA1 sum for file. Expected \"6ae2b40e_68bc1a25_8cc5408c_bbd37316_fa642477\" but received \"04314f89_2fba4e2f_44a86ab9_6eeb2a6b_72ed93cd\".",
"resourceName": "https://storage.googleapis.com/staging.XXXXXXXX.appspot.com/04314f892fba4e2f44a86ab96eeb2a6b72ed93cd",
"resourceType": "file"
},
{
"@type": "type.googleapis.com/google.rpc.ResourceInfo",
"description": "Conflicting SHA1 sum for file. Expected \"cf32ec49_c6023a31_6d3f4788_f187afcb_932d60df\" but received \"d06cfbf6_1df973ee_19498c5a_6d8afd5c_3f971cb1\".",
"resourceName": "https://storage.googleapis.com/staging.XXXXXXXX.appspot.com/d06cfbf61df973ee19498c5a6d8afd5c3f971cb1",
"resourceType": "file"
}
]
]
答案 0 :(得分:2)
针对这种情况的一种适当的解决方法可能是删除存储区中的存储段暂存。{Your-Project-ID} .appspot.com,因为它将删除可能导致此错误的所有临时文件。