docker-pterodactyl icon indicating copy to clipboard operation
docker-pterodactyl copied to clipboard

No application encryption key has been specified.

Open xNovite opened this issue 1 year ago • 3 comments

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

xNovite avatar Dec 10 '22 11:12 xNovite

I have the same error, is there a solution?

Pascaltje avatar Jan 12 '23 14:01 Pascaltje

Someone has resolve it ?

Zerka30 avatar Jan 28 '23 14:01 Zerka30

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.

wereii avatar Feb 05 '23 19:02 wereii