mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-26 05:05:56 +03:00
[GH-ISSUE #400] [Bug] 证书实际部署成功,但状态显示部署失败,日志输出failed to run command, stdout: , stderr: : failed to execute ssh script: Process exited with status 1 #253
Labels
No labels
announcement
backlog
bug
declined
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
invalid
pull-request
question
stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/certimate#253
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @meixianggao on GitHub (Jan 2, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/400
证书实际部署成功,但状态显示部署失败,日志输出failed to run command, stdout: , stderr: : failed to execute ssh script: Process exited with status 1


安装版本:Certimate v0.2.23-beta
@usual2970 commented on GitHub (Jan 3, 2025):
ssh 部署分为2步:
你这个只是上传成功了,执行自定义命令失败了
@meixianggao commented on GitHub (Jan 3, 2025):
您好,我的自定义命令并没有填写错误,是正确的命令,命令为:sudo docker exec -it nginx nginx -s reload 如下2张图
@.***
发件人: Yoan.liu
发送时间: 2025-01-03 08:33
收件人: usual2970/certimate
抄送: meixianggao; Author
主题: Re: [usual2970/certimate] [Bug] 证书实际部署成功,但状态显示部署失败,日志输出failed to run command, stdout: , stderr: : failed to execute ssh script: Process exited with status 1 (Issue #400)
ssh 部署分为2步:
上传证书
执行自定义命令
你这个只是上传成功了,执行自定义命令失败了
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>
@meixianggao commented on GitHub (Jan 6, 2025):
您好,我确定我的自定义命令没有问题,如下图所示:


@usual2970 commented on GitHub (Jan 6, 2025):
docker exec -it 是交互式的,建议去掉-it 试试,应该是golang 的cmd无法获取交互操作的返回结果