[ckan-dev] SOLR schema version not supported
Adrià Mercader
adria.mercader at okfn.org
Mon Mar 18 10:53:08 UTC 2013
Malick,
Toby was referring to the Solr XML schema version on the CKAN Sources,
not the Solr version.
In /path/to/your/pyenv/ckan/ckan/config/solr/ you will find different
xml schema files. You need to update the symlink on
/etc/solr/conf/schema.xml to point to the one that ends with 2.0.
When Setting up Solr you created a symlink /etc/solr/conf/schema.xml
linking to a CKAN Solr schema file such as
/path/to/your/pyenv/ckan/ckan/config/solr/schema-2.0.xml. This symlink
should be updated to point to the latest schema file in
/path/to/your/pyenv/ckan/ckan/config/solr/, if it doesn’t already
Adrià
On 16 March 2013 17:48, Malick TAPSOBA <malick.tapsoba at ymail.com> wrote:
> Hi Toby,
> I have installed the version 4.2.0 but it still doens't works.
> here is the error generated:
>
> ckan.lib.search.common.SearchError: SOLR schema version not supported: 1.5.
> Supported versions are [2.0]
>
> Do you think that ckan can work on ubuntu 12.04? If not I'll install 10.04.
> Thanks
>
> Malick
>
>
>
> On 15/03/2013 10:15, Toby Dacre wrote:
>
> On 15 March 2013 10:12, Toby Dacre <toby.okfn at gmail.com> wrote:
>
> On 15 March 2013 00:38, Malick TAPSOBA <malick.tapsoba at ymail.com> wrote:
>
> Hello,
>
> I'm trying to install ckan on Ubuntu 12.04. At the step 6
> (http://docs.ckan.org/en/ckan-1.8/install-from-source.html) when trying to
> execute this command : paster --plugin=ckan db init
> I got this error :
> ckan.lib.search.common.SearchError: SOLR schema version not supported: 1.4.
> Supported versions are [2.0]
>
> This looks like you are installing from master but are looking at old
> documentation see
> http://docs.ckan.org/en/latest/install-from-source.html
>
> the actual error is due to the incorrect solr schema being used
> replace the 1.4 schema with the 2.0 one
>
> Actually the docs are out of date it should be something like this -
> I'll create an issue
>
> When Setting up Solr you created a symlink /etc/solr/conf/schema.xml
> linking to a CKAN Solr schema file such as
> /path/to/your/pyenv/ckan/ckan/config/solr/schema-2.0.xml. This symlink
> should be updated to point to the latest schema file in
> /path/to/your/pyenv/ckan/ckan/config/solr/, if it doesn’t already.
>
> Toby
>
>
> When I try to reinstall solr-jetty the system says that I alredy have the
> latest version.
>
> How could I fix this problem?
>
> PS: I'm begginer and I'm from french speaking country so sorry for mistakes.
>
> Thanks
>
> Malick
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
More information about the ckan-dev
mailing list