After Update from 5.3.10 to 5.3.15 I get 500:Server error on login

Thanks @david that worked for me in an upgrade from 5.3.10 to 5.3.16.

  1. downloading package
    https://github.com/invoiceninja/invoiceninja/releases/download/v5.3.16/invoiceninja.zip

  2. Move old install to new location

  3. extract above file

  4. copy put my existing .env file into a new extract of the above ZIP package

  5. run following commands

php artisan migrate
php artisan optimize

  1. open the site URL with /update?secret=

One KEY additional STEP

  1. copy the contents of /public/storage from your old install to the new install
    otherwise you get a pile of not particularly obvious errors on trying to generate PDFs

The clue I got to fixing this was looking at laravel.log where it said …

[2021-09-21 22:40:27] production.ERROR: file_get_contents(https://invoice//storage/76alNMIDOPei96wipCBWVzCB5KC8XRXX/WY8X1e0UFB5zVu6GxFdFaN1Jcfcp9LAe42UVjx9w.png): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
{“exception”:"[object] (ErrorException(code: 0): file_get_contents(https://invoice//storage/76alNMIDOPei96wipCBWVzCB5KC8XRXX/WY8X1e0UFB5zVu6GxFdFaN1Jcfcp9LAe42UVjx9w.png): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
at /invoice/app/Models/Presenters/CompanyPresenter.php:69)

[Above edited to remove details specific to my site]