[ckan-dev] Solr problem when installing latest ckan

Lasse Vestergaard ibbernik at gmail.com
Thu May 9 12:09:26 UTC 2013


Hi Sean.


2013/5/9 Sean Hammond <sean.hammond at okfn.org>

> > I have set up the instance on an EC2 with Ubuntu 12.04 server edition.
> This
> > means that I can't use the servers browser. If I use curl, then I can
> > access http://localhost:8983/solr/. I get some html where it says
> "Welcome
> > to Solr!". I can even access the admin page as well.
> >
> > I'm not sure what you mean by browsing to the schema.xml. I can see that
> > /etc/solr/conf/schema.xml holds the ckan 2.0 schematic.
>
> If you browse to http://localhost:8983/solr/admin/file/?file=schema.xml
> you should get an XML file with <schema name="ckan" version="2.0">.
>

Yes, it says version='2.0'


>
> > Could this problem occur if I, under the installation, forgot to activate
> > pyenv under parts of the installation?
>
> This doesn't look like a virtualenv issue to me, from the error message
> it looks like CKAN is saying it didn't understand the response that it
> got from Solr.
>
> You could also double-check that your solr_url is set correctly in your
> CKAN configuration file, and you could try these commands:
>
>     paster search-index clear
>     paster search-index rebuild
>     paster search-index check
>


When I run the above commands: http://pastebin.com/3cceSfra

Regards

Lasse Vestergaard


>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130509/1dc8792a/attachment-0001.html>


More information about the ckan-dev mailing list