From 7867b62647fc2afc6c2c2638d615dea90c8ec047 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Wed, 21 Jan 2026 16:41:25 +0100 Subject: [PATCH] fix(papra): show service logs on startup failure --- install/papra-install.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/install/papra-install.sh b/install/papra-install.sh index 7a5134881..536aff9f1 100644 --- a/install/papra-install.sh +++ b/install/papra-install.sh @@ -93,9 +93,13 @@ RestartSec=10 WantedBy=multi-user.target EOF -systemctl enable -q --now papra +systemctl enable -q papra +if ! systemctl start papra; then + msg_warn "Service failed to start, checking logs..." + journalctl -u papra --no-pager -n 20 || true +fi echo "${RELEASE}" >/opt/Papra_version.txt -msg_ok "Created and Started Papra Service" +msg_ok "Created Papra Service" motd_ssh customize