Open DevMan01 opened 4 years ago
Hi @DevMan01 I had the same problem for a bit. The issue for me was that I used an incorrect APP_KEY, which looks like it may be your issue as well. From your logs, it looks like you need to set your APP_KEY to the string base64:vGSwhwLZjWiucsWF6jEyF6Mk/jgfNU0uAdK2Q1sTR4w=
API_KEY needs to be 32 chars: https://github.com/CachetHQ/Docker/issues/330#issuecomment-490574998 This fixed it for me
Just noticed that the README of this repo tells you to use artisan to generate the key (which has the correct format and length), but the actual guide doesn't explain it yet:
docker exec -i ID_OF_THE_CONTAINER php artisan key:generate
For anyone finding this issue, just use that command to generate the key.
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:
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:
It's probably unable to find consistency in the values. cachet v2.3.18