mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-22 01:22:50 -05:00
[GH-ISSUE #640] 1.3.0 - server:secret config option not populated on fresh install #14430
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 @rfrank on GitHub (May 2, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/640
On fresh install, the server's secret config option does not get populated. I did several fresh installs to confirm the bug persisted. I ended up generating a 52-char alphanumeric string to get things up and going but wanted to submit an issue in case it's not just me and a fix needs to be issued.
@oschwartz10612 commented on GitHub (May 2, 2025):
I think I fixed this. Could re download the installer and confirm?
@xd003 commented on GitHub (May 3, 2025):
I can confirm this issue, after i upgraded my pangolin docker to 1.3.0, the config.yml file didn't had the secret config option added
@Cratermn commented on GitHub (May 4, 2025):
This is still occurring on 1.3.1
@GRAUPS commented on GitHub (May 4, 2025):
I'm also encountering this issue on 1.3.1. In my case the secret option is there, but it is not populated (null). This causes Pangolin to fail to start.
Here is the error in the log
pangolin | Starting migrations from version 1.3.1
pangolin | Migrations to run:
pangolin | All migrations completed successfully
pangolin | /app/server/lib/config.ts:224
pangolin | throw new Error(
Invalid configuration file: ${errors});pangolin | ^
pangolin |
pangolin |
pangolin | Error: Invalid configuration file: Validation error: Expected string, received null at "server.secret"
pangolin | at Pa.loadConfig (/app/server/lib/config.ts:224:19)
pangolin | at new Pa (/app/server/lib/config.ts:182:14)
pangolin | at (/app/server/lib/config.ts:380:23)
pangolin |
pangolin | Node.js v20.19.1
pangolin exited with code 1
@miloschwartz commented on GitHub (May 4, 2025):
Will look into this
@oschwartz10612 commented on GitHub (May 4, 2025):
Fix was not properly merged into dev. Just pushed the commit and rebuilt. Please try again now.
@GRAUPS commented on GitHub (May 7, 2025):
I can confirm this is fixed now, thanks!