From 53c30d6d2b28bc84972f9e885fc60f36d79b035c Mon Sep 17 00:00:00 2001 From: Phillipp Seidel Date: Thu, 19 Nov 2026 23:15:32 +0100 Subject: [PATCH] fix(t3code): wait for server readiness before pairing (#18849) Co-authored-by: Philipp Seidel --- install/t3code-install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install/t3code-install.sh b/install/t3code-install.sh index 9c677e6cc..5680d20f6 100644 --- a/install/t3code-install.sh +++ b/install/t3code-install.sh @@ -57,7 +57,10 @@ RestartSec=5 WantedBy=multi-user.target EOF systemctl enable -q --now t3code -sleep 5 +for _ in {1..60}; do + [[ -f /opt/t3code/userdata/server-runtime.json ]] && curl -s -o /dev/null http://127.0.0.1:3773 && break + sleep 2 +done msg_ok "Created Service" motd_ssh