kylemilloy
5 months ago
559
5
Servers

No application encryption key specified after config:cache

Posted 5 months ago by kylemilloy

I'm trying to optimize an app in Elasticbeanstalk. I have the environment variables set and it works fine up until I run config:cache at which point it throws a 500 and the log spits out "production.ERROR: No application encryption key has been specified". If I printenv I can see the APP_KEY being listed here...not sure why it's not being picked up.

APP_DEBUG=false
APP_KEY=base64:my-key-is-here
PHP_DISPLAY_ERRORS=Off

Please sign in or create an account to participate in this conversation.