[ckan-dev] SOLR errors on travis tests

David Read david.read at hackneyworkshop.com
Tue Apr 26 15:30:34 UTC 2016


Many thanks Brook, I'll give it a whirl.
Dave

On 26 April 2016 at 15:42, Brook Elgie <brook.elgie at okfn.org> wrote:
> There was a change to test.ini to point `solr_url` to a core in a multicore
> setup. See the related issue here: https://github.com/ckan/ckan/issues/2972.
> Many extensions are using Travis set up with a single core and solr_url
> isn't pointing to the correct url.
>
> I've fixed this issue in ckanext-showcase by adding a new test-travis.ini
> file pointing to the appropriate url:
> https://github.com/ckan/ckanext-showcase/commit/e482cc4c9742878581dbbbcf15d0f5c61309d0dd
>
> Brook
>
>
> On 26 April 2016 at 15:20, David Read <david.read at hackneyworkshop.com>
> wrote:
>>
>> I've seen SOLR 404 errors cause a number of CKAN test failures when
>> running on Travis, but they run fine on our local machines. Does
>> anyone know about this problem?
>>
>> e.g. https://travis-ci.org/ckan/ckanext-harvest/jobs/125635755
>>
>> SearchIndexError: Solr returned an error: 404 Not Found -
>> <html>
>> <head>
>> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
>> <title>Error 404 NOT_FOUND</title>
>> </head>
>> <body><h2>HTTP ERROR 404</h2>
>> <p>Problem accessing /solr/ckan/update. Reason:
>> <pre>    NOT_FOUND</pre></p><hr /><i><small>Powered by
>> Jetty://</small></i><br/>
>>
>> I found a note from Adria about a similar problem in 2013:
>> https://lists.okfn.org/pipermail/ckan-dev/2013-November/006176.html
>> but the particular package version mentioned there is being installed
>> correctly.
>>
>> David
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>



More information about the ckan-dev mailing list