[GH-ISSUE #711] ssh部署卡住 重启依旧卡在执行中 #480

Closed
opened 2026-03-03 01:03:40 +03:00 by kerem · 4 comments
Owner

Originally created by @wmdxcn on GitHub (May 20, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/711

软件版本 / Release Version

0.3.12

问题描述 / Description

日志如下
开始
[2025-05-20 03:41:10]
ready to start ...
申请证书
[2025-05-20 03:41:10]
ready to apply ...
[2025-05-20 03:41:10]
skip this application, because the certificate has already been issued (expires in 70d, next renewal in 30d)
部署证书
[2025-05-20 03:41:10]
ready to deploy ...
[2025-05-20 03:41:10]
skip this deployment, because the certificate has already been deployed
部署证书
[2025-05-20 03:41:10]
ready to deploy ...
[2025-05-20 03:41:10]
skip this deployment, because the certificate has already been deployed
部署证书
[2025-05-20 03:41:10]
ready to deploy ...
[2025-05-20 03:41:10]
re-deploy, because the configuration item 'ProviderConfig' changed
[2025-05-20 03:41:10]
ssh connected
[2025-05-20 03:41:10]
ssl certificate file uploaded
[2025-05-20 03:41:11]
ssl private key file uploaded

目前状态一直显示执行中

其他 / Miscellaneous

No response

Originally created by @wmdxcn on GitHub (May 20, 2025). Original GitHub issue: https://github.com/certimate-go/certimate/issues/711 ### 软件版本 / Release Version 0.3.12 ### 问题描述 / Description 日志如下 开始 [2025-05-20 03:41:10] ready to start ... 申请证书 [2025-05-20 03:41:10] ready to apply ... [2025-05-20 03:41:10] skip this application, because the certificate has already been issued (expires in 70d, next renewal in 30d) 部署证书 [2025-05-20 03:41:10] ready to deploy ... [2025-05-20 03:41:10] skip this deployment, because the certificate has already been deployed 部署证书 [2025-05-20 03:41:10] ready to deploy ... [2025-05-20 03:41:10] skip this deployment, because the certificate has already been deployed 部署证书 [2025-05-20 03:41:10] ready to deploy ... [2025-05-20 03:41:10] re-deploy, because the configuration item 'ProviderConfig' changed [2025-05-20 03:41:10] ssh connected [2025-05-20 03:41:10] ssl certificate file uploaded [2025-05-20 03:41:11] ssl private key file uploaded 目前状态一直显示执行中 ### 其他 / Miscellaneous _No response_
kerem closed this issue 2026-03-03 01:03:41 +03:00
Author
Owner

@zczc0417 commented on GitHub (May 20, 2025):

今天也碰到了 但是我这个实际上是部署成功了 但是certimate貌似没有收到退出码

<!-- gh-comment-id:2893598594 --> @zczc0417 commented on GitHub (May 20, 2025): 今天也碰到了 但是我这个实际上是部署成功了 但是certimate貌似没有收到退出码
Author
Owner

@wmdxcn commented on GitHub (May 20, 2025):

今天也碰到了 但是我这个实际上是部署成功了 但是certimate貌似没有收到退出码
证书上传到服务器成功了 后续命令没执行

<!-- gh-comment-id:2893728988 --> @wmdxcn commented on GitHub (May 20, 2025): > 今天也碰到了 但是我这个实际上是部署成功了 但是certimate貌似没有收到退出码 证书上传到服务器成功了 后续命令没执行
Author
Owner

@wmdxcn commented on GitHub (May 20, 2025):

原因找到了
服务器端写了一个挂起 nohup ./*** & 的shell (***.sh)
在证书部署后 执行命令 sudo bash ***.sh 会卡在这一步

<!-- gh-comment-id:2893846461 --> @wmdxcn commented on GitHub (May 20, 2025): 原因找到了 服务器端写了一个挂起 nohup ./*** & 的shell (***.sh) 在证书部署后 执行命令 sudo bash ***.sh 会卡在这一步
Author
Owner

@fudiwei commented on GitHub (May 20, 2025):

意外结束进程再重启未执行完的工作流不会恢复,你可以在执行历史列表里手动中止它。

<!-- gh-comment-id:2894220781 --> @fudiwei commented on GitHub (May 20, 2025): 意外结束进程再重启未执行完的工作流不会恢复,你可以在执行历史列表里手动中止它。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/certimate#480
No description provided.