Skip to content

Commit

Permalink
[#2757] Add some comments to source upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Jul 26, 2012
1 parent 7accd54 commit 0bd3db4
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions doc/install-from-source.rst
Expand Up @@ -260,7 +260,15 @@ version.

4. If you are upgrading to a new major version of CKAN (for example if you are
upgrading to CKAN 1.7, 1.8 or 1.9, etc.), update your CKAN database's schema
using the ``ckan db upgrade`` command, for example::
using the ``ckan db upgrade`` command.

.. warning ::
To avoid problems during the database upgrade, comment out any
plugins that you have enabled on your ini file. You can uncomment
them back when the upgrade finishes.
For example::

paster --plugin=ckan db upgrade --config=/path/to/your/ckan.ini

Expand All @@ -271,7 +279,9 @@ version.
See :ref:`upgrade migration` for details of the ``ckan db upgrade`` command.

5. If CKAN's Solr schema version has changed between the CKAN versions you're
upgrading from and to, then you need to update your solr schema symlink.
upgrading from and to, then you need to update your solr schema symlink
(Check the CHANGELOG to see if it necessary to update the schema, otherwise
you can skip this step).

When :ref:`setting up solr` you created a symlink
``/etc/solr/conf/schema.xml`` linking to a CKAN Solr schema file such as
Expand Down

0 comments on commit 0bd3db4

Please sign in to comment.