APP_KEY is set to a default value after 3.6 upgrade


After 3.6 upgrade I get this error note after login.

Error: APP_KEY is set to a default value, to update it backup your database and then run php artisan ninja:update-key.

Yes in .env i have APP_KEY=SomeRandomStringSomeRandomString

Should this be different? What exactly I need to do?

Thank you

Got it

For Windows.
If PHP not in environment variables go to PHP folder (where php.exe is located) and type.

php c:\path_to_ninja\artisan ninja:update-key

Hope it helps anyone.


Glad to hear you were able to figure it out, thanks for sharing the solution!