[ckan-dev] CKAN 2.5.2 test suite errors
Espeland, James
james.espeland at montana.edu
Wed Aug 3 18:51:08 UTC 2016
Hello Adri?,
Thank you very much for your reply to my request for assistance.
Yes, it does appear that my Solr instance is not picking up the schema file.
I'm not committed to using Solr 6.x, but I would like to use the most recent version that is known to work with the schema.xml file provided by CKAN. I'm trying to set up CKAN 2.5.2.
Can you recommend to me the latest known version of Solr that will work with the schema.xml file provided by CKAN?
Thank you again,
--- James Espeland
> Date: Wed, 3 Aug 2016 14:26:09 +0100
> From: Adri? Mercader <adria.mercader at okfn.org>
> To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
> Subject: Re: [ckan-dev] CKAN 2.5.2 test suite errors
> Message-ID:
> <CAGJR8iJje3jFBG-
> bcRJBJgLqkZxRSwGP1ieueGUw18f3L_4XYg at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi James,
>
> These errors seem to suggest that Solr is not using the right schema file.
>
> I'm not familiar with Solr 6 but I seem to recall from other messages on the list
> that it required a special setup to use file based schemas.
>
> Maybe someone with more experience can provide more details.
>
> Adri?
>
>
>
> On 21 July 2016 at 20:34, Espeland, James <james.espeland at montana.edu>
> wrote:
> > Hello Everyone,
> >
> >
> >
> > I have been setting up a pilot instance of CKAN 2.5.2 following the
> > CKAN documentation for Release 2.5.2. I can run the Paste development
> > server from the command line and see the CKAN front page. The
> > documentation then says to ?run CKAN?s tests to make sure that everything?s
> working?.
> >
> >
> >
> > I'm still getting a number of errors when I run the tests.
> >
> >
> >
> > My pilot environment includes:
> >
> >
> >
> > centos 6.7
> >
> > ckan 2.5.2
> >
> > solr 6.0.0
> >
> > java 1.8.0
> >
> > python 2.7.11
> >
> > postgres 9.4.8
> >
> > jetty 9.3.8
> >
> >
> >
> > I have created a solr core named ckan1. I set the solr_url entry in
> > test-core.ini to:
> >
> >
> >
> > http://127.0.0.1:8393/solr/ckan1
> >
> >
> >
> > I soft-linked the ckan src schema.xml into my core config directory as
> > follows:
> >
> >
> >
> > ln -s /usr/lib/ckan/default/src/ckan/ckan/config/solr/schema.xml
> > /var/solr/data/ckan1/conf/schema.xml
> >
> >
> >
> > When I run the tests, I get the following types of errors in the
> > solr.log
> > file:
> >
> >
> >
> > **********
> >
> >
> >
> > 2016-07-21 19:05:02.647 ERROR (qtp1634198-20) [ x:ckan1]
> > o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException:
> > undefined field site_id
> >
> >
> >
> > 2016-07-21 19:05:09.544 ERROR (qtp1634198-15) [ x:ckan1]
> > o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: s
> >
> > ort param field can't be found: metadata_modified
> >
> >
> >
> > 2016-07-21 19:05:21.759 ERROR (qtp1634198-13) [ x:ckan1]
> > o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: E
> >
> > RROR: [doc=812b3b0a-30e4-4aa6-bcd6-9e1fe2072d22] unknown field
> 'data_dict'
> >
> >
> >
> > 2016-07-21 19:05:40.053 ERROR (qtp1634198-13) [ x:ckan1]
> > o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: E
> >
> > RROR: [doc=9315d7ca-7c3e-4e59-92f6-8d494e1d374d] unknown field
> > 'res_description'
> >
> >
> >
> > 2016-07-21 19:05:56.431 ERROR (qtp1634198-15) [ x:ckan1]
> > o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: u
> >
> > ndefined field capacity
> >
> >
> >
> > 016-07-21 19:06:56.184 ERROR (qtp1634198-15) [ x:ckan1]
> > o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: E
> >
> > RROR: [doc=abed426b-cfa4-45b1-8403-cbf23c3fa899] unknown field
> 'maintainer'
> >
> >
> >
> > 2016-07-21 19:07:38.205 ERROR (qtp1634198-15) [ x:ckan1]
> > o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: E
> >
> > RROR: [doc=0cdcd6d7-8cf6-4767-bb3a-f9ed82141a6f] unknown field
> 'owner_org'
> >
> >
> >
> > 2016-07-21 19:08:51.554 ERROR (qtp1634198-17) [ x:ckan1]
> > o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: E
> >
> > RROR: [doc=d9567b82-d3f0-4c17-b222-d9a7499f7940] unknown field
> 'capacity'
> >
> >
> >
> > 2016-07-21 19:08:51.638 ERROR (qtp1634198-20) [ x:ckan1]
> > o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: E
> >
> > RROR: [doc=test-index] unknown field 'views_recent'
> >
> >
> >
> > 2016-07-21 19:08:51.727 ERROR (qtp1634198-16) [ x:ckan1]
> > o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException:
> > undefined field entity_type
> >
> >
> >
> > **********
> >
> >
> >
> > I suspect that something isn?t configured correctly.
> >
> >
> >
> > Any help or advice regarding how to correct this would be greatly
> > appreciated.
> >
> >
> >
> > Best regards,
> >
> >
> >
> > --- Jim Espeland
> >
> > james.espeland at montana.edu
> >
More information about the ckan-dev
mailing list