然而,按照在App Engine Flexible环境中安装Wordpress的步骤,我在部署时遇到了问题。它在当地环境中运行良好。
似乎到处搜索但似乎无法找到解决方案。非常感谢任何帮助。
2018-02-17 15:12:54,539 DEBUG root Operation [apps/wordpress/operations/d62e4e97-31af-48c0-b82d-25bdd7317c7d] complete. Result: {
"metadata": {
"user": "email@domain.co.uk",
"target": "apps/wordpress/services/default/versions/20180217t150918",
"@type": "type.googleapis.com/google.appengine.v1.OperationMetadataV1",
"insertTime": "2018-02-17T15:11:42.864Z",
"method": "google.appengine.v1.Versions.CreateVersion"
},
"done": true,
"name": "apps/wordpress/operations/d62e4e97-31af-48c0-b82d-25bdd7317c7d",
"error": {
"message": "An internal error occurred during deployment.",
"code": 13
}
}
2018-02-17 15:12:54,542 DEBUG root (gcloud.app.deploy) Error Response: [13] An internal error occurred during deployment.
Traceback (most recent call last):
File "C:\Users\User\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\cli.py", line 797, in Execute
resources = calliope_command.Run(cli=self, args=args)
File "C:\Users\User\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\backend.py", line 757, in Run
resources = command_instance.Run(args)
File "C:\Users\User\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\surface\app\deploy.py", line 74, in Run
parallel_build=False)
File "C:\Users\User\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\command_lib\app\deploy_util.py", line 588, in RunDeploy
flex_image_build_option=flex_image_build_option)
File "C:\Users\User\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\command_lib\app\deploy_util.py", line 394, in Deploy
extra_config_settings)
File "C:\Users\User\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\app\appengine_api_client.py", line 187, in DeployService
message=message)
File "C:\Users\User\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\app\operations_util.py", line 246, in WaitForOperation
sleep_ms=retry_interval)
File "C:\Users\User\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\util\waiter.py", line 266, in WaitFor
sleep_ms=sleep_ms)
File "C:\Users\User\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\util\retry.py", line 226, in RetryOnResult
if not should_retry(result, state):
File "C:\Users\User\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\util\waiter.py", line 260, in _IsNotDone
return not poller.IsDone(operation)
File "C:\Users\User\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\app\operations_util.py", line 171, in IsDone
encoding.MessageToPyValue(operation.error)))
OperationError: Error Response: [13] An internal error occurred during deployment.
2018-02-17 15:12:54,542 ERROR root (gcloud.app.deploy) Error Response: [13] An internal error occurred during deployment.
2018-02-17 15:12:54,819 DEBUG root Metrics reporting process started...
答案 0 :(得分:2)
在部署中使用时,这通常与格式错误的app.yaml
文件有关。当10GB是最小尺寸时,在env: flex
中指定5GB磁盘。
冲突的节也可能导致这种情况。
另一个例子是,目前每个CPU核心限制为6GB存储空间。因此,如果您指定1个CPU和10GB,您将获得Error Response: [13]
我们在Mac OS上也见过这一点,与部署目录中的Icon
文件有关。能够通过删除文件来解决:
find . -name 'Icon?' -type f -delete
https://issuetracker.google.com/72873974
如果您愿意,请发布您的app.yaml(编辑任何PII)。