sessionSecret not present in config.yaml in production Dockerfile #5182
Unanswered
dasantonym
asked this question in
Error / Bug Report
Replies: 3 comments 3 replies
-
The secret is in the DB, not in config.yml. The secret is generated during setup and stored in the |
Beta Was this translation helpful? Give feedback.
2 replies
-
I am encountering the exact issue. @dasantonym Were you able to find solution |
Beta Was this translation helpful? Give feedback.
1 reply
-
After an update (on docker) I have the same issue. Any solution besides stop using wiki.js? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a running setup on Docker (image
requarks/wiki:2
, just pulled it again and restarted container) and it was working fine until a few days ago I was suddenly faced with the errorsecret option required for sessions
.The
config.yaml
in the container looks like this:Same as in the current source at https://github.com/requarks/wiki/blob/main/dev/build/config.yml, but I wonder how this was supposed to work before. Does the secret come from the DB and is mine corrupted somehow?
sessionSecret
is specified as required in the docs.Before I throw away the data and set the wiki up again, I just wanted to make sure this won't "randomly" happen again later.
Any advice on where to look for more clues?
Beta Was this translation helpful? Give feedback.
All reactions