Automatischer Neustart von Podman Containern #25

Closed
opened 2024-04-08 06:50:54 +02:00 by lukas · 4 comments
Owner

Aufgrund der rootless und daemonless Natur von Podman, funktionieren restart-flags in Kommandos und Compose-files nicht. Dies führt dazu, dass bei einem server-reboot keine Container neu gestartet werden, was wiederum zu einer sehr langen Downtime von über 6h in der Nacht zum 8. April führte, da ich schlief :)

Aufgrund der rootless und daemonless Natur von Podman, funktionieren restart-flags in Kommandos und Compose-files nicht. Dies führt dazu, dass bei einem server-reboot keine Container neu gestartet werden, was wiederum zu einer sehr langen [Downtime von über 6h](https://status.libre.moe/incident/352208) in der Nacht zum 8. April führte, da ich schlief :)
lukas added the
Involves
Testing
Kind
Bug
Priority
High
Domain
LibreMoe
labels 2024-04-08 06:50:54 +02:00
lukas self-assigned this 2024-04-08 06:50:54 +02:00
lukas added this to the Issue Board project 2024-04-08 06:50:54 +02:00
Owner

Quick Fix: Nicht schlafen

Aber ja, ich bin mit dem MC Server auch schon in das Problem gelaufen.

Quick Fix: Nicht schlafen Aber ja, ich bin mit dem MC Server auch schon in das Problem gelaufen.
Author
Owner

Wie hast du es da gelöst?

Wie hast du es da gelöst?
Owner

Siehe Quick Fix

Siehe Quick Fix
Author
Owner

Fixed mit systemctl enable podman-restart.service. Dieser Service startet automatisch alle container mit einer restart policy von always

Fixed mit `systemctl enable podman-restart.service`. Dieser Service startet automatisch alle container mit einer restart policy von `always`
lukas closed this issue 2024-04-28 15:18:58 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
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: KomuSolutions/igot99issues#25
No description provided.