Deployment Failure Reason: Failure during content distribution.

未关闭
#1,786 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
活跃
技术栈
azure
领域
cloud

调研方向

从 DeploymentId 20980f64-6fdf-4caa-b2d0-f58756eaf70d 的部署日志以及 artifact 上传后的内容分发失败开始。将此次运行与上一次成功发布进行比较,包括 Standard 托管计划和 bundle 大小。确定分发失败的原因并恢复成功部署即表示完成。

由索引模型根据 Issue 内容生成。

描述

Unable to publish changes to site due to "Failure during content distribution." error. Noticed it first last night, and issue still persists despite retrying several times. Normally when this works, deployment completes in less than 30 secs.

DeploymentId: 20980f64-6fdf-4caa-b2d0-f58756eaf70d

Try to validate location at: '/github/workspace/public'.
App Directory Location: 'public' was found.
Try to validate location at: '/github/workspace/swa-db-connections'.
Looking for event info
Skipping step to build /github/workspace/public with Oryx
Using 'staticwebapp.config.json' file for configuration information, 'routes.json' will be ignored.
No Api directory specified. Azure Functions will not be created.
Either no Api directory was specified, or the specified directory was not found. Azure Functions will not be created.
Zipping App Artifacts
Done Zipping App Artifacts
Uploading build artifacts.
Finished Upload. Polling on deployment.
Status: InProgress. Time: 0.571497(s)
Status: InProgress. Time: 16.1532263(s)
Status: InProgress. Time: 31.7869399(s)
Status: InProgress. Time: 47.4359494(s)
Status: InProgress. Time: 63.225126(s)
Status: InProgress. Time: 78.9930824(s)
Status: InProgress. Time: 94.770978(s)
Status: InProgress. Time: 110.6009081(s)
Status: InProgress. Time: 126.5592068(s)
Status: InProgress. Time: 142.1528126(s)
Status: InProgress. Time: 157.7292377(s)
Status: InProgress. Time: 173.5215613(s)
Status: InProgress. Time: 189.2967913(s)
Status: InProgress. Time: 205.1331495(s)
Status: InProgress. Time: 220.929445(s)
Status: InProgress. Time: 236.7280603(s)
Status: InProgress. Time: 252.5396644(s)
Status: InProgress. Time: 268.3549125(s)
Status: InProgress. Time: 284.1521463(s)
Status: Failed. Time: 299.8957401(s)
Deployment Failed :(
Deployment Failure Reason: Failure during content distribution.

Using Standard hosting plan. Bundle size is 229MB unpacked, 41.1MB zipped. Last successful publish was 1st June with similar bundle size.

主要语言
没有语言数据
星标
347
派生
68
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Azure/static-web-apps 的其他 Issue

查看 Azure/static-web-apps 的全部 Issue

相似的 Issue

更多 Cloud Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。