azure - 尝试将 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"}
解决方案
推荐阅读
- django - 默认的 django 管理员会导致很多问题
- virtual-machine - Rundeck 必须在线还是我可以简单地将其托管在本地 VM 上?
- android - 科尔多瓦在运行项目时失败 - 未找到已安装的构建工具 - 未指定 compileSdkVersion
- r - 使用令牌创建 dtm
- c++ - “SQLCHAR”类型的参数与“SQLCHAR *”类型的参数不兼容
- javascript - 如何从字符串中过滤掉未定义
- powerbi - Power BI 运行总计
- python - 按颜色提取点云
- java - 行进立方体 - 网格中的孔
- matlab - MATLAB中多维矩阵的高效索引技术?