cachethq / cachethq/Docker

RuntimeException: No supported encrypter found. The cipher and / or key length are invalid.

Open
#381 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
439
Forks
271
PR merge metrics
No merged PRs in 30d

Description

No matter what I do, I can't seem to get the guy to boot up with an APP_KEY that it'll take with consistency.

docker-compose.yaml reads this, under the environment:
`- APP_KEY=odsoIqIptj9ADwVS9onivtmarnFKQhG3`

This is what spits out in the run time logs:
```
Backup skipped!
Backup completed!
Application key [base64:vGSwhwLZjWiucsWF6jEyF6Mk/jgfNU0uAdK2Q1sTR4w=] set successfully.
Configuration cache cleared!
Configuration cached successfully!
Route cache cleared!
```

When I go into the deployment, and look at the .env file this is what I see set:
`APP_KEY="base64:oRx0GVFwZRvofbeo1Et/EoSCh+Fel+GQF3yUyGGbGYg="`

No wonder when the app tries to start up it gives me this error:

> [2020-06-26 02:14:47] production.ERROR: RuntimeException: No supported encrypter found. The cipher and / or key length are invalid. in /var/www/html/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php:45

It's probably unable to find consistency in the values. _cachet v2.3.18_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.