craftcms / cms

Build bespoke content experiences with Craft.
https://craftcms.com
Other
3.28k stars 634 forks source link

`setup/welcome` command fails because of Redis/Docker setup #6817

Open jalendport opened 4 years ago

jalendport commented 4 years ago

Description

I've got a Docker setup with a Redis container, but in between running composer create-project xxxx/craft . and docker-compose up I'd like to run ./craft setup/welcome to get an App ID and a Security Key. Currently if I run it, I'm getting this error: Failed to open redis DB connection, which makes sense because Redis isn't running at this point. It would seem the welcome controller shouldn't care about my Redis connection, in the same way it doesn't care if Craft has a DB connection yet...

Steps to reproduce

  1. Add an unreachable Redis config to Craft
  2. craft setup/welcome

Additional info

brandonkelly commented 4 years ago

Can you search for that error in storage/logs/console.log and post the stack trace?