[ckan-discuss] upload data II

Javier Coque Garcia coque_losel at hotmail.com
Wed Jul 31 15:26:59 BST 2013


> Sounds like you have multiple SOLR cores setup, but don't specify the
> name in the solr_url in the CKAN config. You should have something
> like:
> 
> solr_url = http://127.0.0.1:8983/solr/ckan-schema-2.0
> 
> instead of single core version:
> 
> solr_url = http://127.0.0.1:8983/solr
> 
> Dave
________________________________________________________________________________


Hi!I changed the solr_url, but it appears the same error. When I start ckan, the shell shows:

* Starting Jetty servlet engine. jetty                                          * (already running).
                                                                         [ OK ]
 * Starting PostgreSQL 9.1 database server                               [ OK ] 
2013-07-31 13:03:33,126 ERROR [ckan.lib.search.common] HTTP code=404, reason=Not Found
Traceback (most recent call last):
  File "/home/sig/ckan/lib/default/src/ckan/ckan/lib/search/common.py", line 51, in is_available
    conn.query("*:*", rows=1)
  File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/solr/core.py", line 703, in query
    return self.select(*args, **params)
  File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/solr/core.py", line 798, in __call__
    xml = self.raw(**params)
  File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/solr/core.py", line 823, in raw
    rsp = conn._post(self.selector, request, conn.form_headers)
  File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/solr/core.py", line 639, in _post
    return check_response_status(self.conn.getresponse())
  File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/solr/core.py", line 1097, in check_response_status
    raise ex
SolrException: HTTP code=404, reason=Not Found
2013-07-31 13:03:33,129 WARNI [ckan.lib.search] Problems were found while connecting to the SOLR server
Starting server in PID 26490.
serving on 0.0.0.0:5000 view at http://127.0.0.1:5000

When I write http://localhost:8080/solr, running ok, but when I try to run ckan, it fails.how can I fix it?

Thank you so much. 

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-discuss/attachments/20130731/7203075c/attachment.htm>


More information about the ckan-discuss mailing list