You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <da...@brondsema.net> on 2015/08/10 16:54:38 UTC

[allura:tickets] #7957 Document how to run allura with gunicorn/uwsgi/mod_wsgi



---

** [tickets:#7957] Document how to run allura with gunicorn/uwsgi/mod_wsgi**

**Status:** open
**Milestone:** unreleased
**Labels:** sf-current 
**Created:** Mon Aug 10, 2015 02:54 PM UTC by Dave Brondsema
**Last Updated:** Mon Aug 10, 2015 02:54 PM UTC
**Owner:** nobody


There have been reported problems with uwsgi: http://lists.unbit.it/pipermail/uwsgi/2015-July/008104.html

We should make sure it works and document it.  For mod_wsgi we can borrow & simplify from our forge-allura.apache.org setup.

Once done, it'll help with our [#7908] docker setup.


---

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] #7957 Document how to run allura with gunicorn/uwsgi/mod_wsgi

Posted by Dave Brondsema <da...@brondsema.net>.
- **labels**: sf-current --> sf-current, sf-4



---

** [tickets:#7957] Document how to run allura with gunicorn/uwsgi/mod_wsgi**

**Status:** open
**Milestone:** unreleased
**Labels:** sf-current sf-4 
**Created:** Mon Aug 10, 2015 02:54 PM UTC by Dave Brondsema
**Last Updated:** Mon Aug 10, 2015 02:54 PM UTC
**Owner:** nobody


There have been reported problems with uwsgi: http://lists.unbit.it/pipermail/uwsgi/2015-July/008104.html

We should make sure it works and document it.  For mod_wsgi we can borrow & simplify from our forge-allura.apache.org setup.

Once done, it'll help with our [#7908] docker setup.


---

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] #7957 Document how to run allura with gunicorn/uwsgi/mod_wsgi

Posted by Dave Brondsema <da...@brondsema.net>.
- **status**: open --> in-progress



---

** [tickets:#7957] Document how to run allura with gunicorn/uwsgi/mod_wsgi**

**Status:** in-progress
**Milestone:** unreleased
**Labels:** sf-current sf-4 
**Created:** Mon Aug 10, 2015 02:54 PM UTC by Dave Brondsema
**Last Updated:** Wed Sep 16, 2015 09:58 PM UTC
**Owner:** nobody


There have been reported problems with uwsgi: http://lists.unbit.it/pipermail/uwsgi/2015-July/008104.html

We should make sure it works and document it.  For mod_wsgi we can borrow & simplify from our forge-allura.apache.org setup.

Once done, it'll help with our [#7908] docker setup.


---

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] #7957 Document how to run allura with gunicorn/uwsgi/mod_wsgi

Posted by Dave Brondsema <da...@brondsema.net>.
`waitress` would require a wsgi callable

    waitress-serve --port 8080 myapp:wsgi

Or it can run with paster, but kind of an inverse setup.  Change `use = egg:Paste#http` in the `.ini` file to `use = egg:waitress#main` and then run "paster serve"

It would be nice to provide a wsgi callable, so that all servers can interface with it and also we could hide the paste setup within that and be able to seamlessly swap it out some day.  But for now it seems we don't really need it.


---

** [tickets:#7957] Document how to run allura with gunicorn/uwsgi/mod_wsgi**

**Status:** open
**Milestone:** unreleased
**Labels:** sf-current sf-4 
**Created:** Mon Aug 10, 2015 02:54 PM UTC by Dave Brondsema
**Last Updated:** Tue Sep 15, 2015 09:43 PM UTC
**Owner:** nobody


There have been reported problems with uwsgi: http://lists.unbit.it/pipermail/uwsgi/2015-July/008104.html

We should make sure it works and document it.  For mod_wsgi we can borrow & simplify from our forge-allura.apache.org setup.

Once done, it'll help with our [#7908] docker setup.


---

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] #7957 Document how to run allura with gunicorn/uwsgi/mod_wsgi

Posted by Heith Seewald <hs...@slashdotmedia.com>.
- **status**: review --> closed
- **Comment**:

Looks good



---

** [tickets:#7957] Document how to run allura with gunicorn/uwsgi/mod_wsgi**

**Status:** closed
**Milestone:** unreleased
**Labels:** sf-current sf-4 
**Created:** Mon Aug 10, 2015 02:54 PM UTC by Dave Brondsema
**Last Updated:** Fri Sep 18, 2015 03:24 PM UTC
**Owner:** Dave Brondsema


There have been reported problems with uwsgi: http://lists.unbit.it/pipermail/uwsgi/2015-July/008104.html

We should make sure it works and document it.  For mod_wsgi we can borrow & simplify from our forge-allura.apache.org setup.

Once done, it'll help with our [#7908] docker setup.


---

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] #7957 Document how to run allura with gunicorn/uwsgi/mod_wsgi

Posted by Dave Brondsema <da...@brondsema.net>.
    uwsgi --ini-paste-logged development.ini --http 0.0.0.0:8080 -H /path/to/allura/venv
    uwsgi --http 0.0.0.0:8080 --wsgi-file allura.wsgi  # if we have a .wsgi file, which we probably should.


---

** [tickets:#7957] Document how to run allura with gunicorn/uwsgi/mod_wsgi**

**Status:** open
**Milestone:** unreleased
**Labels:** sf-current sf-4 
**Created:** Mon Aug 10, 2015 02:54 PM UTC by Dave Brondsema
**Last Updated:** Mon Aug 10, 2015 03:39 PM UTC
**Owner:** nobody


There have been reported problems with uwsgi: http://lists.unbit.it/pipermail/uwsgi/2015-July/008104.html

We should make sure it works and document it.  For mod_wsgi we can borrow & simplify from our forge-allura.apache.org setup.

Once done, it'll help with our [#7908] docker setup.


---

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] #7957 Document how to run allura with gunicorn/uwsgi/mod_wsgi

Posted by Dave Brondsema <da...@brondsema.net>.
For gunicorn, you must be in the virtualenv.

    gunicorn --paste development.ini -b 0.0.0.0:8080

Running it as a wsgi app would need a bit more work, since the wsgi app must be import-able not some arbitrary `allura.wsgi` file

    gunicorn allura.wsgi -b 0.0.0.0:50097
    


---

** [tickets:#7957] Document how to run allura with gunicorn/uwsgi/mod_wsgi**

**Status:** open
**Milestone:** unreleased
**Labels:** sf-current sf-4 
**Created:** Mon Aug 10, 2015 02:54 PM UTC by Dave Brondsema
**Last Updated:** Tue Sep 15, 2015 09:10 PM UTC
**Owner:** nobody


There have been reported problems with uwsgi: http://lists.unbit.it/pipermail/uwsgi/2015-July/008104.html

We should make sure it works and document it.  For mod_wsgi we can borrow & simplify from our forge-allura.apache.org setup.

Once done, it'll help with our [#7908] docker setup.


---

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] #7957 Document how to run allura with gunicorn/uwsgi/mod_wsgi

Posted by Dave Brondsema <da...@brondsema.net>.
`mod_wsgi-express` has a paste option, regular apache+mod_wsgi requires a .wsgi file and a webserver config using `WSGIScriptAlias` etc.

    mod_wsgi-express start-server development.ini --application-type paste --user allura --group allura --port 8080  # user/group required, if running as root
    mod_wsgi-express start-server allura.wsgi --user allura --group allura --port 8080


---

** [tickets:#7957] Document how to run allura with gunicorn/uwsgi/mod_wsgi**

**Status:** open
**Milestone:** unreleased
**Labels:** sf-current sf-4 
**Created:** Mon Aug 10, 2015 02:54 PM UTC by Dave Brondsema
**Last Updated:** Tue Sep 15, 2015 09:22 PM UTC
**Owner:** nobody


There have been reported problems with uwsgi: http://lists.unbit.it/pipermail/uwsgi/2015-July/008104.html

We should make sure it works and document it.  For mod_wsgi we can borrow & simplify from our forge-allura.apache.org setup.

Once done, it'll help with our [#7908] docker setup.


---

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] #7957 Document how to run allura with gunicorn/uwsgi/mod_wsgi

Posted by Dave Brondsema <da...@brondsema.net>.
I think we should use gunicorn since it is simpler to configure than uwsgi (which has multiple installation options, and tons of plugins and config options).  We can even recommend using `gunicorn --reload` for development instead of `paster serve`.  mod_wsgi-express installation requires having apache dev libs installed 


---

** [tickets:#7957] Document how to run allura with gunicorn/uwsgi/mod_wsgi**

**Status:** open
**Milestone:** unreleased
**Labels:** sf-current sf-4 
**Created:** Mon Aug 10, 2015 02:54 PM UTC by Dave Brondsema
**Last Updated:** Wed Sep 16, 2015 09:54 PM UTC
**Owner:** nobody


There have been reported problems with uwsgi: http://lists.unbit.it/pipermail/uwsgi/2015-July/008104.html

We should make sure it works and document it.  For mod_wsgi we can borrow & simplify from our forge-allura.apache.org setup.

Once done, it'll help with our [#7908] docker setup.


---

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] #7957 Document how to run allura with gunicorn/uwsgi/mod_wsgi

Posted by Dave Brondsema <da...@brondsema.net>.
- **labels**: sf-current, sf-4 --> sf-4



---

** [tickets:#7957] Document how to run allura with gunicorn/uwsgi/mod_wsgi**

**Status:** closed
**Milestone:** unreleased
**Labels:** sf-4 
**Created:** Mon Aug 10, 2015 02:54 PM UTC by Dave Brondsema
**Last Updated:** Fri Sep 18, 2015 09:40 PM UTC
**Owner:** Dave Brondsema


There have been reported problems with uwsgi: http://lists.unbit.it/pipermail/uwsgi/2015-July/008104.html

We should make sure it works and document it.  For mod_wsgi we can borrow & simplify from our forge-allura.apache.org setup.

Once done, it'll help with our [#7908] docker setup.


---

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] #7957 Document how to run allura with gunicorn/uwsgi/mod_wsgi

Posted by Heith Seewald <hs...@slashdotmedia.com>.
- **Reviewer**: Heith Seewald



---

** [tickets:#7957] Document how to run allura with gunicorn/uwsgi/mod_wsgi**

**Status:** review
**Milestone:** unreleased
**Labels:** sf-current sf-4 
**Created:** Mon Aug 10, 2015 02:54 PM UTC by Dave Brondsema
**Last Updated:** Fri Sep 18, 2015 01:16 AM UTC
**Owner:** Dave Brondsema


There have been reported problems with uwsgi: http://lists.unbit.it/pipermail/uwsgi/2015-July/008104.html

We should make sure it works and document it.  For mod_wsgi we can borrow & simplify from our forge-allura.apache.org setup.

Once done, it'll help with our [#7908] docker setup.


---

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] #7957 Document how to run allura with gunicorn/uwsgi/mod_wsgi

Posted by Dave Brondsema <da...@brondsema.net>.
- **status**: in-progress --> review
- **assigned_to**: Dave Brondsema
- **Comment**:

db/7957



---

** [tickets:#7957] Document how to run allura with gunicorn/uwsgi/mod_wsgi**

**Status:** review
**Milestone:** unreleased
**Labels:** sf-current sf-4 
**Created:** Mon Aug 10, 2015 02:54 PM UTC by Dave Brondsema
**Last Updated:** Thu Sep 17, 2015 08:17 PM UTC
**Owner:** Dave Brondsema


There have been reported problems with uwsgi: http://lists.unbit.it/pipermail/uwsgi/2015-July/008104.html

We should make sure it works and document it.  For mod_wsgi we can borrow & simplify from our forge-allura.apache.org setup.

Once done, it'll help with our [#7908] docker setup.


---

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.