#8365 solr AccessDeniedException error with docker

1 Attachments


  • Dave Brondsema

    Dave Brondsema - 2020-06-15
    • summary: Error after create first ticket --> solr AccessDeniedException error with docker
  • Dave Brondsema

    Dave Brondsema - 2020-06-15

    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.

  • Dave Brondsema

    Dave Brondsema - 2020-06-17


    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.

    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]
  • Dave Brondsema

    Dave Brondsema - 2021-05-17
    • status: open --> closed
    • Milestone: unreleased --> v1.13.0

Log in to post a comment.