When we tag a new release, a new image is built. All that is required for docker users is to bring down the container, pull in the new image and then bring the container up again, these three commands are all that are needed.
docker-compose down docker-compose pull docker-compose up
If you have installed Invoice Ninja using just git, then all that is required is to pull in the changes and to call the post-update command. These commands are as follows:
git pull composer install php artisan ninja:post-update
If you have installed the application using the precompiled .zip file, then the internal self updater should perform all the necessary tasks to bring your app up to the latest version. The only strict requirements are:
The self updater will pull the latest release from our Github repository, extract and overwrite the system files. Prior to attempting any of this, the system performs a recursive file check to ensure all files are owned by the webuser.
If the update button does not work, you can alternatively download the "Source code" and overwrite the folder of your installation, note that there are 3 files always: https://github.com/invoiceninja/invoiceninja/releases
invoiceninja.zip - 170 MB or 500 MB roughly Source code (zip) - 15 MB roughly Source code (tar.gz) - 14 MB roughly
(The 2 "Source code" files are the correct ones, the other is the fully built package which includes the ".env" file, if that file is overwritten, then your configuration is also gone)
After running the updater you'll want to run the update route
The value of the secret query parameter is found in the .env file under the key