From 1c939ff0cc08c693dd54367293296d37f50f1269 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Wed, 25 Mar 2026 14:17:24 +0100 Subject: [PATCH] fix(storyteller): copy migrations, sqlite and .env to standalone dir - cp migrations/ and sqlite/ (dlopen needs real files, not symlinks) - symlink .env into standalone working directory - Fixes standalone mode missing database and config files --- ct/storyteller.sh | 2 +- install/storyteller-install.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ct/storyteller.sh b/ct/storyteller.sh index 8a73423f..1dbe2c3a 100644 --- a/ct/storyteller.sh +++ b/ct/storyteller.sh @@ -10,7 +10,7 @@ APP="Storyteller" var_tags="${var_tags:-media;ebook;audiobook}" var_cpu="${var_cpu:-4}" var_ram="${var_ram:-8192}" -var_disk="${var_disk:-16}" +var_disk="${var_disk:-20}" var_os="${var_os:-debian}" var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" diff --git a/install/storyteller-install.sh b/install/storyteller-install.sh index f28d7ed9..a2cc760a 100644 --- a/install/storyteller-install.sh +++ b/install/storyteller-install.sh @@ -60,6 +60,9 @@ cp -r /opt/storyteller/web/.next/static /opt/storyteller/web/.next/standalone/we if [[ -d /opt/storyteller/web/public ]]; then cp -r /opt/storyteller/web/public /opt/storyteller/web/.next/standalone/web/public fi +cp -r /opt/storyteller/web/migrations /opt/storyteller/web/.next/standalone/web/migrations +cp -r /opt/storyteller/web/sqlite /opt/storyteller/web/.next/standalone/web/sqlite +ln -sf /opt/storyteller/.env /opt/storyteller/web/.next/standalone/web/.env msg_ok "Built Storyteller" msg_info "Creating Service"