最近我的CKAN实例出现错误500。CKAN错误日志如下所示。
Solr正在运行,但当我尝试访问时超时http://localhost:8983/solr
有人能帮忙吗。
提前谢谢。
[Wed Oct 05 08:14:56.690889 2022] [wsgi:error] [pid 32062] 2022-10-05 08:14:56,690 ERROR [pysolr] Solr responded with an error (HTTP 404): [Reason: HTTP Status 404 - /solr/select/]
[Wed Oct 05 08:14:56.692439 2022] [wsgi:error] [pid 32062] 2022-10-05 08:14:56,691 ERROR [ckan.lib.search.common] Solr responded with an error (HTTP 404): [Reason: HTTP Status 404 - /solr/select/]
[Wed Oct 05 08:14:56.692465 2022] [wsgi:error] [pid 32062] Traceback (most recent call last):
[Wed Oct 05 08:14:56.692475 2022] [wsgi:error] [pid 32062] File "/usr/lib/ckan/default/src/ckan/ckan/lib/search/common.py", line 57, in is_available
[Wed Oct 05 08:14:56.692485 2022] [wsgi:error] [pid 32062] conn.search(q="*:*", rows=1)
[Wed Oct 05 08:14:56.692495 2022] [wsgi:error] [pid 32062] File "/usr/lib/ckan/default/lib/python2.7/site-packages/pysolr.py", line 720, in search
[Wed Oct 05 08:14:56.692505 2022] [wsgi:error] [pid 32062] response = self._select(params, handler=search_handler)
[Wed Oct 05 08:14:56.692515 2022] [wsgi:error] [pid 32062] File "/usr/lib/ckan/default/lib/python2.7/site-packages/pysolr.py", line 418, in _select
[Wed Oct 05 08:14:56.692525 2022] [wsgi:error] [pid 32062] return self._send_request('get', path)
[Wed Oct 05 08:14:56.692534 2022] [wsgi:error] [pid 32062] File "/usr/lib/ckan/default/lib/python2.7/site-packages/pysolr.py", line 393, in _send_request
[Wed Oct 05 08:14:56.692544 2022] [wsgi:error] [pid 32062] raise SolrError(error_message % (resp.status_code, solr_message))
[Wed Oct 05 08:14:56.692553 2022] [wsgi:error] [pid 32062] SolrError: Solr responded with an error (HTTP 404): [Reason: HTTP Status 404 - /solr/select/]
[Wed Oct 05 08:14:56.692851 2022] [wsgi:error] [pid 32062] 2022-10-05 08:14:56,692 WARNI [ckan.lib.search] Problems were found while connecting to the SOLR server
[Wed Oct 05 08:14:57.344418 2022] [wsgi:error] [pid 32062] 2022-10-05 08:14:57,344 ERROR [pysolr] Solr responded with an error (HTTP 404): [Reason: HTTP Status 404 - /solr/select/]
CKAN核心开发团队驻留在这个Gitter聊天中:https://gitter.im/ckan/chat.如果你在那里问这个或其他技术问题,你应该得到帮助。