mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-22 17:43:04 -05:00
[GH-ISSUE #1332] Pangolin 1.9.0 causes "Validation error: Server secret must be defined" #1858
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @laugmanuel on GitHub (Aug 24, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1332
Hi,
I've upgraded to Pangolin 1.9.0 just now, but I'm receiving the following error during startup:
I'm using
SERVER_SECRETvia environment variable to configure the secret. I verified it's existence and value using a custom entrypoint. I didn't change the config from 1.8.0 which was working just fine.@oschwartz10612 commented on GitHub (Aug 24, 2025):
Ahh okay looking into this right now! I think I know the issue.
Thanks for posting.
@oschwartz10612 commented on GitHub (Aug 24, 2025):
Hey could you try pulling the latest container same tags to see if it is
fixed?
@laugmanuel commented on GitHub (Aug 24, 2025):
Thank's for the fast response! The new build (cc8f040f29f1) does fix the issue for me.
@pvyswiss commented on GitHub (Jan 17, 2026):
This issue arrived again on 1.14.1 by manual deployment in docker. Even if you pre-create the key file:
pangolin | Starting migrations from version 1.14.1
pangolin | Migrations to run:
pangolin | All migrations completed successfully
pangolin | /app/server/lib/config.ts:30
pangolin | throw new Error(
Invalid configuration file: ${errors});pangolin | ^
pangolin |
pangolin | Error: Invalid configuration file: Validation error: Server secret must be defined
pangolin | at new Config (/app/server/lib/config.ts:30:19)
pangolin | at server/lib/config.ts (/app/server/lib/config.ts:229:23)
pangolin | at __init (file:///app/dist/server.mjs:20:56)
pangolin | at server/logger.ts (/app/server/logger.ts:2:1)
pangolin | at __init (file:///app/dist/server.mjs:20:56)
pangolin | at (/app/server/setup/ensureActions.ts:5:1)
pangolin | at ModuleJob.run (node:internal/modules/esm/module_job:413:25)
pangolin | at async onImport.tracePromise.proto (node:internal/modules/esm/loader:660:26)
pangolin | at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5)