Allura relies on Solr for indexing & searching many items, and the error you got is from your Solr instance. The most specific part seems to be AccessDeniedException: /opt/solr/server/solr/allura/data/snapshot_metadata I would check what the directory permissions are for each directory along that path.
Also, how did you install solr? What version and instructions did you use?
Ah ok. With a docker installation, it definitely should just work! We will have to look into this more. Maybe the solr image solr:6-alpine in docker-compose.yml isn't quite right or something. Not sure yet.
Have you gone through all the steps in the documentation at https://forge-allura.apache.org/docs/getting_started/installation.html#using-docker particularly docker-compose restart solr ? I have just tried it and it worked ok. I don't get the error you got.
docker-compose restart solr
However I do get another error, this one only shows up in logs and is specific to the dashboard. Solr search works in other places fine.
00:16:31,233 ERROR [allura.lib.search] Error in solr search
Traceback (most recent call last):
File "/allura/Allura/allura/lib/search.py", line 142, in search
return g.solr_short_timeout.search(q, **kw)
File "/allura/Allura/allura/lib/solr.py", line 123, in search
return self.query_server.search(*args, **kw)
File "/allura-data/virtualenv/lib/python2.7/site-packages/timermiddleware/__init__.py", line 120, in wrapper
return self.run_and_log(func, inst, *args, **kwargs)
File "/allura-data/virtualenv/lib/python2.7/site-packages/timermiddleware/__init__.py", line 152, in run_and_log
retval = func(*args, **kwargs)
File "/allura-data/virtualenv/lib/python2.7/site-packages/pysolr.py", line 720, in search
response = self._select(params, handler=search_handler)
File "/allura-data/virtualenv/lib/python2.7/site-packages/pysolr.py", line 418, in _select
return self._send_request('get', path)
File "/allura-data/virtualenv/lib/python2.7/site-packages/pysolr.py", line 393, in _send_request
raise SolrError(error_message % (resp.status_code, solr_message))
SolrError: Solr responded with an error (HTTP 400): [Reason: undefined field status]
Log in to post a comment.