From 9daf48422311571c5c615ef8f996b6510e071c3e Mon Sep 17 00:00:00 2001 From: Nigel Babu Date: Mon, 20 Jan 2014 11:18:24 +0000 Subject: [PATCH] Add restart instructions in upgrade docs too --- doc/upgrade-package-to-minor-release.rst | 7 ++++--- doc/upgrade-package-to-patch-release.rst | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/upgrade-package-to-minor-release.rst b/doc/upgrade-package-to-minor-release.rst index c7754352589..2caa4369338 100644 --- a/doc/upgrade-package-to-minor-release.rst +++ b/doc/upgrade-package-to-minor-release.rst @@ -46,10 +46,10 @@ respectively. .. note:: The install process will uninstall any existing CKAN extensions or other - libraries located in the ``src`` directory of the CKAN virtualenv. To + libraries located in the ``src`` directory of the CKAN virtualenv. To enable them again, the installation process will iterate over all folders in the ``src`` directory, reinstall the requirements listed in - ``pip-requirements.txt`` and ``requirements.txt`` files and run + ``pip-requirements.txt`` and ``requirements.txt`` files and run ``python setup.py develop`` for each. If you are using a custom extension which does not use this requirements file name or is located elsewhere, you will need to manually reinstall it. @@ -96,8 +96,9 @@ respectively. See :ref:`rebuild search index` for details of the ``ckan search-index rebuild`` command. -#. Finally, restart Apache: +#. Finally, restart Apache and Nginx: .. parsed-literal:: |restart_apache| + sudo service nginx restart diff --git a/doc/upgrade-package-to-patch-release.rst b/doc/upgrade-package-to-patch-release.rst index c79e18b452b..4dc7ac93530 100644 --- a/doc/upgrade-package-to-patch-release.rst +++ b/doc/upgrade-package-to-patch-release.rst @@ -77,11 +77,12 @@ minor release they belong to, so for example CKAN ``2.0``, ``2.0.1``, These are due to vdm not longer being installed from source. You can ignore them and delete the folder manually if you want. -#. Finally, restart Apache: +#. Finally, restart Apache and Nginx: .. parsed-literal:: |restart_apache| + sudo service nginx restart #. You're done!