EdyTheCow / docker-pterodactyl

Running Pterodactyl Panel inside docker containers behind Traefik reverse proxy
255 stars 52 forks source link

No application encryption key has been specified. #28

Open x-x6n opened 1 year ago

x-x6n commented 1 year ago

I receive this error when trying to execute php artisan:user make

image
Pascaltje commented 1 year ago

I have the same error, is there a solution?

Zerka30 commented 1 year ago

Someone has resolve it ?

wereii commented 1 year ago

Run

echo -n 'base64:'; openssl rand -base64 32

and put the output into panel/compose/docker-compose.yml above APP_URL as APP_KEY: "output_here"

Looks like some problem with laravel - https://stackoverflow.com/questions/44839648/no-application-encryption-key-has-been-specified, I couldn't make the app generate it by itself (thru calling of php artisan key:generate --force), the expected format is 32 random characters encoded as base64 with base64: prefix.