Hey Dave,Any reason why you are choosing to use the rocket server and manual install?
I usually use the scripts from github as follows: (configurable, but ubuntu is easiest)1. Create new ubuntu micro box.2. ssh into box3. wget https://raw.githubusercontent.com/web2py/web2py/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
4. chmod +x setup-web2py-nginx-uwsgi-ubuntu.sh5. ./setup-web2py-nginx-uwsgi-ubuntu.sh
Re reading your answer,check the access logs.See if rocket is getting overwhelmed by robots or other spam traffic.
consider installing ip tables if thats the case or use nginx.-Mark
--
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/6AsSGM9MzVQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
web2py/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
On Mon, Jan 25, 2016 at 12:44 AM, Dave S <snide...@gmail.com> wrote:
On Saturday, January 23, 2016 at 12:58:25 PM UTC-8, Mark Graves wrote:Re reading your answer,check the access logs.See if rocket is getting overwhelmed by robots or other spam traffic.I'm not expecting that to be the case, but I will check.
Can you do ps -aux and see whether you can see rocket listening on port 80?
Mark is right. If you use a VPN like AWS, you are better off setting up a production system using one of the install script provided. For exampleweb2py/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
Notice that if you have the latest web2py and you have installed it locally and you have fabric you can simply run locally:cd web2pyfab -H ro...@yourhost.com install_web2pycd applications/myappfab -H ro...@yourhost.com deploy
in web2py/ folder, although it was suggested by Niphlod that should be moved to examples.
On Monday, January 25, 2016 at 9:52:56 AM UTC-8, Massimo Di Pierro wrote:Mark is right. If you use a VPN like AWS, you are better off setting up a production system using one of the install script provided. For exampleweb2py/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
This is still a demo, not a production system. I would certainly move to something more capable if we do go to production.I think, though, that we may be dealing with router issues (not router.py), and may have to check our security group settings. Does anyone have advice on that aspect?
Notice that if you have the latest web2py and you have installed it locally and you have fabric you can simply run locally:cd web2pyfab -H ro...@yourhost.com install_web2pycd applications/myappfab -H ro...@yourhost.com deployWhere does the fabfile live nowadays? I'd like to skim it before using it.
On Monday, January 25, 2016 at 1:52:43 PM UTC-8, Dave S wrote:On Monday, January 25, 2016 at 9:52:56 AM UTC-8, Massimo Di Pierro wrote:Mark is right. If you use a VPN like AWS, you are better off setting up a production system using one of the install script provided. For exampleweb2py/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
This is still a demo, not a production system. I would certainly move to something more capable if we do go to production.I think, though, that we may be dealing with router issues (not router.py), and may have to check our security group settings. Does anyone have advice on that aspect?It appears that it is a RHEL firewall problem (operator training required). Moving to an AWS Linux AMI got everything going very simply.AWS Linux uses yum, so I think going to production would use the Centos7 script ... can anyone confirm that that's the right path?