Re: [web2py] Re: Web2py, nginx, installation on Raspberry Pi

2016-07-23 Thread Ben Lawrence
Marcelo has a beta script at https://github.com/motasmarcelo/setup-web2py-nginx-uwsgi-debian8.git On Wednesday, May 25, 2016 at 3:45:23 PM UTC-7, Ben Lawrence wrote: > > Hi > Did you finally manage to upload the modified script for raspberry pi ? > > On Tuesday, August 26, 2014 at 12:09:44 PM UTC

Re: [web2py] Re: Web2py, nginx, installation on Raspberry Pi

2016-05-26 Thread Massimo Di Pierro
replace IP.IP.IP.IP with 0.0.0.0 On Thursday, 26 May 2016 00:21:18 UTC-5, Ben Lawrence wrote: > > Never mind. I can just use > > http://purschel.eu/python/web2py-on-raspberry-pi-raspbian/ > > login as pi user (any user, not root) and enter following commands: > > sudo apt-get install python-web2py

Re: [web2py] Re: Web2py, nginx, installation on Raspberry Pi

2016-05-25 Thread Ben Lawrence
Never mind. I can just use http://purschel.eu/python/web2py-on-raspberry-pi-raspbian/ login as pi user (any user, not root) and enter following commands: sudo apt-get install python-web2py mkdir web2py cd web2py openssl genrsa -out ca.key 1024 openssl req -new -key ca.key -out ca.csr openssl x50

Re: [web2py] Re: Web2py, nginx, installation on Raspberry Pi

2016-05-25 Thread Ben Lawrence
Hi Did you finally manage to upload the modified script for raspberry pi ? On Tuesday, August 26, 2014 at 12:09:44 PM UTC-7, Encompass solutions wrote: > > Thanks. I will probably try with the repos version and submit a pull > request with a script for the web2py source. Also making a tool to pub

Re: [web2py] Re: Web2py, nginx, installation on Raspberry Pi

2014-08-26 Thread Jason (spot) Brower
Thanks. I will probably try with the repos version and submit a pull request with a script for the web2py source. Also making a tool to publish to Qt cloud services. Perhaps we could add it to admin. On Aug 26, 2014 9:31 PM, "Paolo Valleri" wrote: > For rpi I see few alternatives: > - switch to u

Re: [web2py] Re: Web2py, nginx, installation on Raspberry Pi

2014-08-26 Thread Paolo Valleri
For rpi I see few alternatives: - switch to upstart (mind that would be a big change for your operating system) - create your own uwsgi script in /etc/init.d/ (google for it) - place the command line a posted before in /etc/rc.local (mind to add an & at the end) - uninstall the uwsgi installed by p

Re: [web2py] Re: Web2py, nginx, installation on Raspberry Pi

2014-08-25 Thread Jason Brower
As crazy as it sounds, I did run that script. It was a fresh install from a NOOBS image. There has got to be some different. Just don't know what it is. BR, Jason Brower On Mon, Aug 25, 2014 at 1:20 AM, Art Aquino wrote: Run this script: scripts/setup-web2py-nginx-uwsgi-ubuntu.sh It works

Re: [web2py] Re: Web2py, nginx, installation on Raspberry Pi

2014-08-25 Thread Art Aquino
Run this script: scripts/setup-web2py-nginx-uwsgi-ubuntu.sh It works on the pi. I did it yesterday and its all working. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Repor

Re: [web2py] Re: Web2py, nginx, installation on Raspberry Pi

2014-08-25 Thread Massimo Di Pierro
I used the same script on two different machines. I get Ubuntu 14.04.1 LTS (from Digital Ocean Droplet) works fine Ubuntu 14.04.1 LTS (from AWS Image) "internal server error" In both cases these were fresh installations and the only code that run was setup-web2py-nginx-uwsgi-ubuntu.sh On Mond

Re: [web2py] Re: Web2py, nginx, installation on Raspberry Pi

2014-08-25 Thread Jim S
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 to

Re: [web2py] Re: Web2py, nginx, installation on Raspberry Pi

2014-08-25 Thread Massimo Di Pierro
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,

Re: [web2py] Re: Web2py, nginx, installation on Raspberry Pi

2014-08-24 Thread Jason (spot) Brower
Yeah. Looks like that was it! How do I make this change permanent? On Aug 24, 2014 6:26 PM, "Paolo Valleri" 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 manual

[web2py] Re: Web2py, nginx, installation on Raspberry Pi

2014-08-24 Thread Paolo Valleri
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,