Dotnet Blazor部署至Digital Ocean时CI/CD流水线出现进程/线程信息获取失败错误求助
求助:DigitalOcean CI/CD构建Blazor容器应用失败问题
各位大佬好!我有一个部署在DigitalOcean上的Blazor应用,之前正常运行了3-4周,但最近CI/CD构建流水线突然报错了。我采用容器化方式构建应用,本地可以正常构建并运行镜像,却在DO的构建环节出了问题。下面是相关的错误日志、DO应用配置信息,恳请大家帮忙分析下解决思路,谢谢!
错误日志
INFO[0026] Running: [/bin/sh -c dotnet restore "GameBoulette.Server/GameBoulette.Server.csproj"] [2021-09-18 23:42:37] Unhandled exception. System.ComponentModel.Win32Exception (29): Unable to retrieve the specified information about the process or thread. It may have exited or may be privileged. [2021-09-18 23:42:37] at System.Diagnostics.Process.GetStat() [2021-09-18 23:42:37] at System.Diagnostics.Process.get_StartTimeCore() [2021-09-18 23:42:37] at System.Diagnostics.Process.get_StartTime() [2021-09-18 23:42:37] at Microsoft.DotNet.Cli.Program.Main(String[] args) [2021-09-18 23:42:37] Aborted [2021-09-18 23:42:37] error building image: error building stage: failed to execute command: waiting for process to exit: exit status 134 [2021-09-18 23:42:37] [2021-09-18 23:42:37] command exited with code 1
Digital Ocean应用配置
name: game-boulette region: sfo services: - dockerfile_path: /GameBoulette/GameBoulette.Server/Dockerfile github: branch: main deploy_on_push: true repo: MaxThom/game-boulette-v2 http_port: 8080 instance_count: 1 instance_size_slug: professional-xs name: game-boulette routes: - path: / health_check: http_path: /api/health source_dir: /GameBoulette/
仓库信息
GitHub仓库:MaxThom/game-boulette-v2
内容的提问来源于stack exchange,提问作者MaxThom
相关产品推荐
相关产品推荐

