From 440460f0ea31de67cdadc228c00039b12cdd19ec Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Sun, 18 Oct 2026 21:32:42 +0200 Subject: [PATCH] Donetick: create selfhosted.yaml from the example (#17992) Since 0.1.82 the release only ships config/selfhosted.yaml.example, so the token sed failed on a missing file (#17985). --- install/donetick-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/donetick-install.sh b/install/donetick-install.sh index 1c800bee5..977ba6bb8 100644 --- a/install/donetick-install.sh +++ b/install/donetick-install.sh @@ -21,6 +21,7 @@ fetch_and_deploy_gh_release "donetick" "donetick/donetick" "prebuild" "latest" " msg_info "Setup Donetick" cd /opt/donetick +[[ -f config/selfhosted.yaml ]] || cp config/selfhosted.yaml.example config/selfhosted.yaml TOKEN=$(openssl rand -hex 16) sed -i -e "s/change_this_to_a_secure_random_string_32_characters_long/${TOKEN}/g" config/selfhosted.yaml msg_ok "Setup Donetick"