APP_KEY is set to a default value after 3.6 upgrade

Hi.

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
Br,
Dali

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.

Br,
Dali

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