sometimes garage container goes down and it's not restarted automatically #22

Closed
opened 2026-07-07 09:11:50 +00:00 by fauno · 3 comments
Owner

i haven't had time to go through logs for this, we've noticed sometimes abra thinks garage is deployed, but the container is not running.

you can see it as 0/1 replicas on docker service ls.

i haven't had time to go through logs for this, we've noticed sometimes abra thinks garage is deployed, but the container is not running. you can see it as 0/1 replicas on `docker service ls`.
Brooke added the
Status
Need More Info
2
label 2026-07-08 01:29:27 +00:00
Brooke self-assigned this 2026-07-08 01:29:37 +00:00
Owner

Interesting, I feel like I need to see logs as I have not encountered this before. I wonder if this is an issue unrelated to garage? Otherwise it should restart as the policy is set to on-failure.

Interesting, I feel like I need to see logs as I have not encountered this before. I wonder if this is an issue unrelated to garage? Otherwise it should restart as the policy is set to `on-failure`.
Author
Owner

i saw this issue last night and this morning i found a garage node had went down (!)

according to logs it just received SIGTERM and shutdown gracefully, but no idea what could have sent the signal.

maybe we can change the compose to restart_policy: any?

i saw this issue last night and this morning i found a garage node had went down (!) according to logs it just received SIGTERM and shutdown gracefully, but no idea what could have sent the signal. maybe we can change the compose to `restart_policy: any`?
Owner

Oh interesting, yeah that's a good quick fix since on-failure is inappropriate if garage needs to exit prematurely. I've updated the recipe, let me know if the issue persists

e335842803

Oh interesting, yeah that's a good quick fix since on-failure is inappropriate if garage needs to exit prematurely. I've updated the recipe, let me know if the issue persists https://git.coopcloud.tech/coop-cloud/garage/commit/e3358428031ac8fb68a4763d7d0d1f76704575e3
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coop-cloud/garage#22