[ckan-discuss] CKAN update SOLR schema not supported ERROR
Christian Willmes
c.willmes at uni-koeln.de
Mon Mar 10 09:34:06 UTC 2014
Hi,
Here is my ckan.plugin string from the development.ini:
ckan.plugins = stats synchronous_search spatial_metadata spatial_query
spatial_query_widget dataset_extent_map wms_preview harvest ckan_harvester
Which steps need to be performed on the ckanext-spatial and
ckanext-harvest to do an upgrade? Can't find according documentation.
I did
pip install -e
git+https://github.com/okfn/ckanext-spatial.git@stable#egg=ckanext-spatial
and
pip install -e
git+https://github.com/okfn/ckanext-harvest.git@stable#egg=ckanext-harvest
plus 'pip install pip-requierements.txt' in the according directories.
Do I need to do a db upgrade? Or an init? If yes how?
Thank you very much and regards,
Christian
Am 10.03.2014 09:22, schrieb Christian Willmes:
> Hi,
>
> I got around the Schema related error, by upgrading the SOLR symlink, as
> described here [1]. I would recommend, to put a hint according this in
> the mentioned upgrading docs?
>
> Now I have another problem, if I re comment the ckan.plugins, CKAN won't
> start up. So I am running ckan at the moment without the plugins.
> May you point me to some documentation on upgrading the PlugIns?
>
> Thanks and regards,
> Christian
>
> [1] http://docs.ckan.org/en/ckan-2.0.4/solr-setup.html
>
> Am 10.03.2014 08:47, schrieb Christian Willmes:
>> Hi,
>>
>> I just tried to update our CKAN instance from a 2.0 to 2.2.
>>
>> I went throught the process according to this documentation:
>> http://docs.ckan.org/en/ckan-2.2/upgrade-source.html
>>
>> On: paster db upgrade --config=development.ini
>>
>> I get the ERROR below.
>>
>> CKAN is not running at the moment. It is a live site, any help is highly
>> appreciated. :)
>>
>> The ERROR on stdout:
>>
>> paster db upgrade --config=development.ini
>> Traceback (most recent call last):
>> File "/home/ckan/pyenv/bin/paster", line 9, in <module>
>> load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
>> File
>> "/home/ckan/pyenv/local/lib/python2.7/site-packages/paste/script/command.py",
>> line 104, in run
>> invoke(command, command_name, options, args[1:])
>> File
>> "/home/ckan/pyenv/local/lib/python2.7/site-packages/paste/script/command.py",
>> line 143, in invoke
>> exit_code = runner.run(args)
>> File
>> "/home/ckan/pyenv/local/lib/python2.7/site-packages/paste/script/command.py",
>> line 238, in run
>> result = self.command()
>> File "/home/ckan/pyenv/src/ckan/ckan/lib/cli.py", line 141, in command
>> self._load_config()
>> File "/home/ckan/pyenv/src/ckan/ckan/lib/cli.py", line 96, in _load_config
>> load_environment(conf.global_conf, conf.local_conf)
>> File "/home/ckan/pyenv/src/ckan/ckan/config/environment.py", line 232,
>> in load_environment
>> p.load_all(config)
>> File "/home/ckan/pyenv/src/ckan/ckan/plugins/core.py", line 124, in
>> load_all
>> unload_all()
>> File "/home/ckan/pyenv/src/ckan/ckan/plugins/core.py", line 182, in
>> unload_all
>> unload(*reversed(_PLUGINS))
>> File "/home/ckan/pyenv/src/ckan/ckan/plugins/core.py", line 210, in unload
>> plugins_update()
>> File "/home/ckan/pyenv/src/ckan/ckan/plugins/core.py", line 116, in
>> plugins_update
>> environment.update_config()
>> File "/home/ckan/pyenv/src/ckan/ckan/config/environment.py", line 270,
>> in update_config
>> search.check_solr_schema_version()
>> File "/home/ckan/pyenv/src/ckan/ckan/lib/search/__init__.py", line
>> 306, in check_solr_schema_version
>> % (version, ', '.join(SUPPORTED_SCHEMA_VERSIONS)))
>> ckan.lib.search.common.SearchError: SOLR schema version not supported:
>> 1.4. Supported versions are [2.0]
>>
>> Thanks very much and regards,
>>
>> Christian
>>
>
--
Christian Willmes (Public-Key ID: 0x2FA87ED4)
AG GIS & Fernerkundung | GIS & RS Group
Geographisches Institut | Institute of Geography
Universität zu Köln | University of Cologne
Tel.: +49 (0)221 470 6234
Fax.: +49 (0)221 470 2280
http://www.geographie.uni-koeln.de/willmes-christian.695.en.html
http://www.sfb806.de
http://crc806db.uni-koeln.de
http://cwillmes.de
More information about the ckan-discuss
mailing list