From 4de19ee70d895a25c0892e2d829c2482d7650d4c Mon Sep 17 00:00:00 2001 From: boxswapper Date: Thu, 17 Sep 2026 09:54:41 -0600 Subject: [PATCH] troublshooting to allow 7dtd online --- roles/7dtd/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/7dtd/tasks/main.yml b/roles/7dtd/tasks/main.yml index 03d6dc4..3491e92 100644 --- a/roles/7dtd/tasks/main.yml +++ b/roles/7dtd/tasks/main.yml @@ -15,6 +15,8 @@ # The container (linuxserver-style base) runs as uid/gid 1000 (PUID/PGID) and chowns its volumes on # start; pre-seeding with that ownership lets the init script and server write alongside our xml. +# NOTE: NO /etc/timezone or /etc/localtime bind mounts here (unlike minecraft/zomboid) - the image's +# user.sh writes BOTH paths itself to apply the TimeZone env var, so ro binds crash-loop the container. - name: Create 7 Days to Die saves dir (container user) ansible.builtin.file: path: /opt/apps/7dtd/data/7DaysToDie @@ -50,8 +52,6 @@ volumes: - /opt/apps/7dtd/data:/home/sdtdserver/.local/share/7DaysToDie:z - /opt/apps/7dtd/serverfiles:/home/sdtdserver/serverfiles:z - - /usr/share/zoneinfo/America/Denver:/etc/timezone:ro - - /etc/localtime:/etc/localtime:ro ports: # Required: game port (TCP+UDP), Steam query/beacon ports (UDP) - "26900:26900/tcp"