From b2898debce3cecec3f2787164cabce4179a585b7 Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 19 Jul 2026 05:16:44 -0400 Subject: [PATCH] [FIX] BookOrbit: add missing `restore_backup` during update (#15881) - Otherwise the `.env` file is not restored and the sed command fails --- ct/bookorbit.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ct/bookorbit.sh b/ct/bookorbit.sh index 7b0e95c13..b955ddd5a 100644 --- a/ct/bookorbit.sh +++ b/ct/bookorbit.sh @@ -53,6 +53,7 @@ function update_script() { mkdir -p /opt/bookorbit/server/migrations cp -r /opt/bookorbit/server/src/db/migrations/. /opt/bookorbit/server/migrations/ chmod +x /opt/bookorbit/server/bin/kepubify/* + restore_backup APP_VER=$(cat ~/.bookorbit) sed -i "s/^APP_VERSION=.*/APP_VERSION=v$APP_VER/" /opt/bookorbit/.env msg_ok "Rebuilt Application"