首页 > 解决方案 > 尝试将 EchoBot 的文件重命名为 chatBot,但部署时出错

问题描述

我创建了一个 echoBot 并从 Azure 下载了代码。我将文件从 Echobot 重命名为 ChatBot。它在模拟器中运行良好,但是当我尝试部署代码时出现错误:

Configuring default logging for the app, if not already enabled
Zip deployment failed. 

{'id': '018e4353dacd4cd7aaf730e0c5233f85', 
'status': 3, 
'status_text': '', 
'author_email': 'N/A', 
'author': 'N/A', 
'deployer': 'Push-Deployer', 
'message': 'Created via a push deployment', 
'progress': '', 
'received_time': '2019-08-12T07:22:55.155264Z', 
'start_time': '2019-08-12T07:22:55.4365108Z', 
'end_time': '2019-08-12T07:22:59.3115417Z',
'last_success_end_time': None, 
'complete': True, 
'active': False, 
'is_temp': False, 
'is_readonly': True, 
'url': 'https://oasischat-dev.scm.azurewebsites.net/api/deployments/latest', 
'log_url': 'https://oasischat-dev.scm.azurewebsites.net/api/deployments/latest/log', 
'site_name': 'oasischat-dev', 
'provisioningState': None}.
 Please run the command az webapp log tail -n OasisChat-dev -g Oasischat


Log says:The logs says:
{"Message":"An error has occurred.",
"ExceptionMessage":"No log found for 'latest'.",
"ExceptionType":"System.IO.FileNotFoundException",
"StackTrace":" at Kudu.Core.Deployment.DeploymentManager.GetLogEntries(String id) in C:\\Kudu Files\\Private\\src\\master\\Kudu.Core\\Deployment\\DeploymentManager.cs:line 95\r\n at Kudu.Services.Deployment.DeploymentController.GetLogEntry(String id) in C:\\Kudu Files\\Private\\src\\master\\Kudu.Services\\Deployment\\DeploymentController.cs:line 375"}

标签: azurebotframework

解决方案


推荐阅读