1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-19 16:01:34 +02:00

Update docs

This commit is contained in:
Hillel Coren 2018-02-14 15:39:35 +02:00
parent 63b43b199f
commit 978c2c33ee

View File

@ -7,13 +7,13 @@ To update the app you just need to copy over the latest code. The app tracks the
https://download.invoiceninja.com
If you have trouble updating you can manually load /update to check for errors.
.. TIP:: We recommend using this `shell script <https://pastebin.com/j657uv9A>`_ to automate the update process, run it as a daily cron to automatically keep your app up to date.
If you're moving servers make sure to copy over the .env file.
If the auto-update fails you can manually run the update with the following commands. Once completed add ``?clear_cache=true`` to the end of the URL to clear the application cache.
A common error with shared hosting is "open_basedir restriction in effect", if you see this you'll need to either temporarily modify your open_basedir settings or run the update from the command line.
You can manually run the update with the following commands. Once completed add ``?clear_cache=true`` to the end of the URL to clear the application cache.
.. code-block:: shell
@ -22,6 +22,8 @@ A common error with shared hosting is "open_basedir restriction in effect", if y
php artisan migrate
php artisan db:seed --class=UpdateSeeder
A common error with shared hosting is "open_basedir restriction in effect", if you see this you'll need to either temporarily modify your open_basedir settings or run the update from the command line.
.. NOTE:: If you've downloaded the code from GitHub you also need to run ``composer install``
.. TIP:: You can see the detailed changes for each release on our `GitHub release notes <https://github.com/invoiceninja/invoiceninja/releases>`_.