Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't saveUserSession: securecookie: hash key is not set #75

Closed
laoshaw opened this issue Feb 11, 2019 · 2 comments
Closed

Couldn't saveUserSession: securecookie: hash key is not set #75

laoshaw opened this issue Feb 11, 2019 · 2 comments

Comments

@laoshaw
Copy link

laoshaw commented Feb 11, 2019

./writefreely -config

choose sqlite3, set admin/admin as username

sudo ./writefreely

google-chrome http://localhost:80

can not post anything, log showed "Login: Couldn't save session: securecookie: hash key is not set"

tried development mode and production mode, no help

running the newest release on ubuntu 18.04 64bit

@thebaer
Copy link
Member

thebaer commented Feb 11, 2019

This will happen if you don't run the key generation step outlined in the install guide:

writefreely --gen-keys

Did that fix it for you?

@laoshaw
Copy link
Author

laoshaw commented Feb 11, 2019

yes. thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants