Write special env variables at the very end of the installer#699
Write special env variables at the very end of the installer#699Boy132 wants to merge 3 commits intopelican-dev:mainfrom Boy132:fix/web-installer-session-driver
Conversation
Hidden check is fixed. And the cache driver is fine, it doesn't need special treatment. |
|
I had the same 500 as before when hitting next in the db step with redis selected as cache store it errors immediately i can't even fill in the redis host & pass so it uses no password cause no redis env is set yet.
|
Please try again and if you still get a 500 post the error. |
https://paste.pelistuff.com/kin4 |
|
We should validate the Redis connection too and make sure it works before saving it in the .env, good catch! |
Yeah so that's a totally different error...
The redis connection is validated - in the Redis step. The problem is the |
Closes #696
This makes sure that "special" env variables (in this case the
SESSION_DRIVER) are only written to the .env file at the very end of the installer.The
SESSION_DRIVERvariable is the only variable that directly affects the installer when being changed.