Compare commits

...

1 Commits

Author SHA1 Message Date
MickLesk c35a7427a5 fix(docuseal): use real SECRET_KEY_BASE for db:migrate on update
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.
2026-06-26 21:10:07 +02:00
+1 -1
View File
@@ -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