shepherd icon indicating copy to clipboard operation
shepherd copied to clipboard

Failed update caused crash on first run, failed on second run no crash.

Open scyto opened this issue 3 years ago • 2 comments

Hi, First time i have used shepherd, the container crashed on first run after this failed updated. On automatic restart it started again, still hit same failure but didn't crash.

First run.

Fri May  6 14:53:38 PDT 2022 Timezone set to America/Los_Angeles
Fri May  6 14:53:38 PDT 2022 Enabling synchronous service updates
Fri May  6 14:53:38 PDT 2022 Excluding services: "shepherd_shepherd wordpress_db wordpress_wordpress"
Fri May  6 14:53:44 PDT 2022 Trying to update service adguard_adguard1 with image adguard/adguardhome:latest
Fri May  6 14:53:55 PDT 2022 No updates to service adguard_adguard1!
Fri May  6 14:54:01 PDT 2022 Trying to update service adguard_adguard2 with image adguard/adguardhome:latest
service update paused: update paused due to failure or early termination of task p9qhqj30zf4g7dfon5vszyy6x
Fri May  6 14:54:07 PDT 2022 Service adguard_adguard2 update failed!
Fri May  6 14:54:07 PDT 2022 Rolling adguard_adguard2 back
service rollback paused: update paused due to failure or early termination of task 0fqovvetycro3400b9z391rm2

Second Run

Fri May  6 14:54:13 PDT 2022 Timezone set to America/Los_Angeles
Fri May  6 14:54:13 PDT 2022 Enabling synchronous service updates
Fri May  6 14:54:13 PDT 2022 Excluding services: "shepherd_shepherd wordpress_db wordpress_wordpress"
Fri May  6 14:54:19 PDT 2022 Trying to update service adguard_adguard1 with image adguard/adguardhome:latest
Fri May  6 14:54:26 PDT 2022 No updates to service adguard_adguard1!
Fri May  6 14:54:32 PDT 2022 Trying to update service adguard_adguard2 with image adguard/adguardhome:latest
service update paused: update paused due to failure or early termination of task 4n1gx6a1pxb4dfvi3bw4ygxp1
Fri May  6 14:54:37 PDT 2022 Service adguard_adguard2 update failed!
Fri May  6 14:54:37 PDT 2022 Rolling adguard_adguard2 back
Fri May  6 14:54:47 PDT 2022 Trying to update service adguard_adguardhome-sync with image ghcr.io/bakito/adguardhome-sync:latest
Fri May  6 14:54:53 PDT 2022 No updates to service adguard_adguardhome-sync!
Fri May  6 14:55:00 PDT 2022 Trying to update service agent_agent with image portainer/agent:latest
Fri May  6 14:55:21 PDT 2022 No updates to service agent_agent!

Is there something specific i should dig into to understand the issue?

scyto avatar May 06 '22 22:05 scyto

You should have a look at what exactly is happening to your service (i.e. docker service ps adguard_adguard2). I do not think this is a shepherd issue.

djmaze avatar May 22 '22 16:05 djmaze

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 21 '22 05:09 stale[bot]