Thanks @david that worked for me in an upgrade from 5.3.10 to 5.3.16.
-
downloading package
https://github.com/invoiceninja/invoiceninja/releases/download/v5.3.16/invoiceninja.zip -
Move old install to new location
-
extract above file
-
copy put my existing .env file into a new extract of the above ZIP package
-
run following commands
php artisan migrate
php artisan optimize
- open the site URL with /update?secret=
One KEY additional STEP
- 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]