You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by RemiZOffAlex <re...@gmail.com> on 2020/06/10 23:09:41 UTC

[allura:tickets] #8365 Error after create first ticket



---

** [tickets:#8365] Error after create first ticket**

**Status:** open
**Milestone:** unreleased
**Created:** Wed Jun 10, 2020 11:09 PM UTC by RemiZOffAlex
**Last Updated:** Wed Jun 10, 2020 11:09 PM UTC
**Owner:** nobody
**Attachments:**

- [1.log](https://forge-allura.apache.org/p/allura/tickets/8365/attachment/1.log) (5.6 kB; text/x-log)





---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] Re: #8365 Error after create first ticket

Posted by RemiZOffAlex <re...@gmail.com>.
Last https://forge-allura.apache.org/p/allura/git/ci/master/tree/
Build https://forge-allura.apache.org/p/allura/git/ci/master/tree/Dockerfile


---

** [tickets:#8365] Error after create first ticket**

**Status:** open
**Milestone:** unreleased
**Created:** Wed Jun 10, 2020 11:09 PM UTC by RemiZOffAlex
**Last Updated:** Sat Jun 13, 2020 05:02 PM UTC
**Owner:** nobody
**Attachments:**

- [1.log](https://forge-allura.apache.org/p/allura/tickets/8365/attachment/1.log) (5.6 kB; text/x-log)





---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #8365 Error after create first ticket

Posted by Dave Brondsema <da...@brondsema.net>.
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?


---

** [tickets:#8365] Error after create first ticket**

**Status:** open
**Milestone:** unreleased
**Created:** Wed Jun 10, 2020 11:09 PM UTC by RemiZOffAlex
**Last Updated:** Wed Jun 10, 2020 11:10 PM UTC
**Owner:** nobody
**Attachments:**

- [1.log](https://forge-allura.apache.org/p/allura/tickets/8365/attachment/1.log) (5.6 kB; text/x-log)





---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #8365 Error after create first ticket

Posted by RemiZOffAlex <re...@gmail.com>.
Screenshot


---

** [tickets:#8365] Error after create first ticket**

**Status:** open
**Milestone:** unreleased
**Created:** Wed Jun 10, 2020 11:09 PM UTC by RemiZOffAlex
**Last Updated:** Wed Jun 10, 2020 11:09 PM UTC
**Owner:** nobody
**Attachments:**

- [1.log](https://forge-allura.apache.org/p/allura/tickets/8365/attachment/1.log) (5.6 kB; text/x-log)





---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #8365 solr AccessDeniedException error with docker

Posted by Dave Brondsema <da...@brondsema.net>.
Hi,

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]
```


---

** [tickets:#8365] solr AccessDeniedException error with docker**

**Status:** open
**Milestone:** unreleased
**Created:** Wed Jun 10, 2020 11:09 PM UTC by RemiZOffAlex
**Last Updated:** Mon Jun 15, 2020 12:51 AM UTC
**Owner:** nobody
**Attachments:**

- [1.log](https://forge-allura.apache.org/p/allura/tickets/8365/attachment/1.log) (5.6 kB; text/x-log)





---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #8365 solr AccessDeniedException error with docker

Posted by Dave Brondsema <da...@brondsema.net>.
- **status**: open --> closed
- **Milestone**: unreleased --> v1.13.0



---

** [tickets:#8365] solr AccessDeniedException error with docker**

**Status:** closed
**Milestone:** v1.13.0
**Created:** Wed Jun 10, 2020 11:09 PM UTC by RemiZOffAlex
**Last Updated:** Wed Jun 17, 2020 12:20 AM UTC
**Owner:** nobody
**Attachments:**

- [1.log](https://forge-allura.apache.org/p/allura/tickets/8365/attachment/1.log) (5.6 kB; text/x-log)





---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #8365 solr AccessDeniedException error with docker

Posted by Dave Brondsema <da...@brondsema.net>.
- **summary**: Error after create first ticket --> solr AccessDeniedException error with docker
- **Comment**:

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.



---

** [tickets:#8365] solr AccessDeniedException error with docker**

**Status:** open
**Milestone:** unreleased
**Created:** Wed Jun 10, 2020 11:09 PM UTC by RemiZOffAlex
**Last Updated:** Sat Jun 13, 2020 07:06 PM UTC
**Owner:** nobody
**Attachments:**

- [1.log](https://forge-allura.apache.org/p/allura/tickets/8365/attachment/1.log) (5.6 kB; text/x-log)





---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.