From fd175023c17e64be044a29011ae2ab281613d15c Mon Sep 17 00:00:00 2001 From: Jannis Braun <151788261+TheZwiss@users.noreply.github.com> Date: Tue, 3 Mar 2026 19:57:32 +0100 Subject: [PATCH] fix: use correct working directory for pnpm module resolution in install.sh The node -e command to set instance name needs to run from /app/packages/server where pnpm's symlinked node_modules resolve better-sqlite3, not from /app root. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 4694f341..7c61486f 100755 --- a/install.sh +++ b/install.sh @@ -391,7 +391,7 @@ fi # ── Phase 7: Set instance name ────────────────────────────── if [[ "$healthy" == true && -n "$INSTANCE_NAME" && "$INSTANCE_NAME" != "Backspace" ]]; then - $DOCKER exec -w /app backspace node -e " + $DOCKER exec -w /app/packages/server backspace node -e " const Database = require('better-sqlite3'); const db = new Database('/app/data/backspace.db'); const changes = db.prepare('UPDATE instance_settings SET instance_name = ? WHERE id = 1').run('${INSTANCE_NAME}').changes;