From 4142c5c2d3e8e9e720dce6bdc69fc6a65ac49b2f Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Fri, 26 Jun 2026 21:57:46 +0200 Subject: [PATCH] fix(docuseal): use real SECRET_KEY_BASE for db:migrate on update (#15411) SECRET_KEY_BASE_DUMMY forced Rails to write tmp/local_secret.txt, which failed with EACCES during update and aborted db:migrate. Drop the dummy flag so the real SECRET_KEY_BASE from .env is used, and ensure tmp exists. --- ct/docuseal.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/docuseal.sh b/ct/docuseal.sh index bbed854bc..d856d1694 100644 --- a/ct/docuseal.sh +++ b/ct/docuseal.sh @@ -55,7 +55,7 @@ function update_script() { eval "$(rbenv init - bash)" 2>/dev/null || true export RAILS_ENV=production export NODE_ENV=production - export SECRET_KEY_BASE_DUMMY=1 + mkdir -p /opt/docuseal/tmp set -a source /opt/docuseal/.env set +a