2016-03-21 10 views
1

私は何が間違っているのか分かりませんか?私はcloud9でローカルにアプリを実行することができます。 gcloudの情​​報では何も表示されません...任意のヘルプgcloud previewアプリデプロイメントスロー

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" 
    } 
    ] 
] 

答えて

0

申し訳ありません。私の間違い。とにかく、私はGAEにCodeshipを使ってデプロイしました。しかし、Codeshipからプロジェクトを削除した後も、Codeship - > GAE認証は削除されませんでした。そのため、このエラーが発生しました。私はコードシップ - > GAE接続アカウントを削除した後、今すぐ実現しています。物事は正しく働いていた。

つまり、展開envを変更する前に、以前のすべての認証/展開サービスを削除します。

0
 
Follow following steps: 
1. Copy the file part of resource name. Here in your case it will be: f7f3d209fa25bcf09e73efec7f60a9369efc1f1e 
2. Go to google cloud storage and select the bucket: staging.valued-vault-xxxxx.appspot.com.appspot.com. "valued-vault-xxxxx.appspot.com" is the project name. 
3. Then search for "f7f3d209fa25bcf09e73efec7f60a9369efc1f1e" and delete it 
4. Do the deployment again and it should work