[ckan-dev] Solr problem when installing latest ckan
Adrià Mercader
adria.mercader at okfn.org
Tue May 14 12:43:02 UTC 2013
Thanks Lasse, that's great to hear!
We are always trying to improve the docs, so any suggestion is more
than welcome.
Glad you could sort this out.
Adrià
On 14 May 2013 13:08, Lasse Vestergaard <ibbernik at gmail.com> wrote:
> Hi all.
>
> I just wanted to tell about the solution to my problem. My thought is that I
> just did a bad git retrieval, when I downloaded ckan latest. I made a clean
> installation of the entire machine and started over with the newly updated
> docs for ckan 2.0 package installer. And every thing works.
>
> I have to say that you guys have done a very good job on this documentation!
> Thanks.
>
> Best regards
>
> Lasse Vestergaard
>
>
> 2013/5/9 Lasse Vestergaard <ibbernik at gmail.com>
>>
>> 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
>>
>>
>
>
> _______________________________________________
> 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