Ubuntu 14.04.1 / nginx / uwsgi is working for me without problems. I used the script referenced in the book to install it and it worked fine. I don't recall doing anything special.
-Jim On Monday, August 25, 2014 10:26:16 AM UTC-5, Massimo Di Pierro wrote: > > I am having a similar problem too. When I run on Ubuntu 14.04 everything > works as intended. When I run on Ubuntu 14.04.1 LTS I get "Internal > server error" I only get the error with uwsgi-emperor, not if I run uwsgi > manually. Same command line manual and in the emperor configuration. > > On Sunday, 24 August 2014 13:46:21 UTC-5, Encompass solutions wrote: >> >> Yeah. Looks like that was it! How do I make this change permanent? >> On Aug 24, 2014 6:26 PM, "Paolo Valleri" <[email protected] >> <javascript:>> wrote: >> >>> The script you mentioned is based on upstart but on the raspberry-pi the >>> init script are handled by sysvinit. >>> So that, I'd say that uwsgi is not running? >>> Try to run it manually: >>> >>> sudo uwsgi --master --die-on-term --emperor /etc/uwsgi --logto /var/log/ >>> uwsgi/uwsgi.log >>> >>> Paolo >>> >>> On Sunday, August 24, 2014 11:00:49 AM UTC+2, Encompass solutions wrote: >>>> >>>> Hi, >>>> Currently I am getting a 502 Bad Gateway Error when trying to access my >>>> web2py server running on Raspberry Pi. >>>> I first tried the setup with the script setup-web2py-nginx-ubuntu.sh as >>>> it's nearly identical to the instructoins found here. >>>> http://web2py.com/books/default/chapter/29/13#Nginx >>>> After doing the script I got the 502 Bad Gateway error. >>>> I know I am on the right server as I can see the request in the logs. >>>> I then went through the tutorial on the website I previously mentioned >>>> and still got the error. >>>> There were a few differences in the script. For example web2py.ini >>>> verses web2py.xml (which is informationally the same.) >>>> >>>> Any ideas on how to diagnose this and find the correct solution? >>>> >>>> -- >>> Resources: >>> - http://web2py.com >>> - http://web2py.com/book (Documentation) >>> - http://github.com/web2py/web2py (Source code) >>> - https://code.google.com/p/web2py/issues/list (Report Issues) >>> --- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "web2py-users" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/web2py/Bx_9u0iC86o/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected] <javascript:>. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

