In trunk!
On Wednesday, January 30, 2013 10:36:17 AM UTC-6, Alan Etkin wrote:
>
> > I think we would be wiser to make the standard script one for python 2.6
> because of the problems with python 2.7
>
> Just before opening an issue, what do you think? (see attached)
>
>
--
---
You received th
Good solution Alan.
Peter
On Wednesday, 30 January 2013 16:36:17 UTC, Alan Etkin wrote:
>
> > I think we would be wiser to make the standard script one for python 2.6
> because of the problems with python 2.7
>
> Just before opening an issue, what do you think? (see attached)
>
>
--
---
You r
> I think we would be wiser to make the standard script one for python 2.6
because of the problems with python 2.7
Just before opening an issue, what do you think? (see attached)
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubsc
>
> I just got a new vps with centos 5 (32 bit on it). This script fails to
> get sqlite3 working.
How? I thought I fixed it by applying the patch. IIRC the welcome app
worked on 2.7 with a clean testing vm (and a sqlite connection).
Perhaps the scrip should set 2.6 by default and warn the us
I just got a new vps with centos 5 (32 bit on it). This script fails to get
sqlite3 working.
As python 2.6 is fine I took the easy way and set
# Python options
PREFIX=2.6
VERSION=2.6.8
I also commented out the patch that is supposed to fix sqlite3 with
python2.7
It works fine with these optio
>
> I'm trying step to step now...and only was needed an little changes
>
Answered in web2py-usuarios
--
I'm trying step to step now...and only was needed an little changes
El martes, 4 de septiembre de 2012 18:03:16 UTC-3, Christian Espinoza
escribió:
>
> Hi Alan, I did test this script at a clean Centos 6, and the result is: 502
> Bad Gateway
> Christian
>
>
> El viernes, 3 de agosto de 2012 20:2
Hi Alan, I did test this script at a clean Centos 6, and the result is: 502
Bad Gateway
Christian
El viernes, 3 de agosto de 2012 20:23:21 UTC-3, Alan Etkin escribió:
>
> Updated the script to:
>
> - Write port 443 admin password
> - Create welcome.w2p package (for solving admin create app featu
I have limited connectivity until tomorrow. If you have something to go in
trunk please open an issue so it does not get lost.
--
Script tested and working. Thanks Alan
Peter
On Saturday, 4 August 2012 10:50:45 UTC+1, peter wrote:
>
> Thanks for this Alan. I will independently test and feedback, but imagine
> it will work for me too.
> Peter
>
> On Saturday, 4 August 2012 00:23:21 UTC+1, Alan Etkin wrote:
>>
>> Updated the
Thanks for this Alan. I will independently test and feedback, but imagine
it will work for me too.
Peter
On Saturday, 4 August 2012 00:23:21 UTC+1, Alan Etkin wrote:
>
> Updated the script to:
>
> - Write port 443 admin password
> - Create welcome.w2p package (for solving admin create app feature
Updated the script to:
- Write port 443 admin password
- Create welcome.w2p package (for solving admin create app feature error)
- Patch Python2.7.3 code for sqlite3 issue before installing
It was tested with a clean CentOS 5.8 vbox and is working. Needs
improvement: it stops a few times for use
Someone else has provided a script for centos 6. There are plenty of
webservers out there based on centos 5 I believe because of its stability.
So it is useful to have a script for Centos 5. Particularly as this seems
to be the most tricky Linux for web2py because it uses and needs python 2.4
Ma
Do you suggest we replace the current script with this?
On Thursday, 2 August 2012 05:01:17 UTC-5, peter wrote:
>
> Attached is a working script that uses python2.6. It handles https.
>
> Python2.7 causes problems, eg no sqlite. This is why my original script
> was for python2.6. If anyone actua
> The script I attached in my previous email is your script but with python
set to be 2.6. I tested this and it works.
My concern is that 2.7 is said to be the last supported 2.x version of
Python. I agree that testing in a raw install saves time and all kinds of
issues. I will deploy in a virt
On 2 Aug 2012, at 6:32 AM, peter wrote:
> I did not just discard it, I spent a day working through the issues. I have a
> virtual box that I have installed Centos 5.8 on. I start with a clean install
> and apply the script.
>
> With the changes I spoke of in my previous emails I got web2py star
I did not just discard it, I spent a day working through the issues. I have
a virtual box that I have installed Centos 5.8 on. I start with a clean
install and apply the script.
With the changes I spoke of in my previous emails I got web2py starting but
issuing a ticket. The error was a failure
> Python2.7 causes problems, eg no sqlite
I have web2py apps working both with sqlite and postgresql databases in the
CentOS 5.8 host with Python 2.7.3
What other issues were detected? Would you please provide links or other
info related to this problems? That could help improve the script also
I'm sorry, I don't recall having issues with sqlite. would you mind sending
the centos script for replacing the updated in trunk until we have the 2.7
version working?
El jueves, 2 de agosto de 2012 07:01:17 UTC-3, peter escribió:
>
> Attached is a working script that uses python2.6. It handles
Attached is a working script that uses python2.6. It handles https.
Python2.7 causes problems, eg no sqlite. This is why my original script was
for python2.6. If anyone actually gets a Python2.7 script that they have
tested on a bare centos 5 machine, then fine submit it. The attached script
h
>
>
> I have got through 5 issues on your instructions so far:
>
>
> 'force-reload' not recognised so removed from uwsgi
>
>
Didn't test that command, it came with the example uwsgi startup script,
but I think there's no need of it
'tar's had '-zxvf' as options, changed to 'zxvf'
>
tar man page
The instructions I gave at the top had been tested on a bare centos 5
machine and worked.
I have got through 5 issues on your instructions so far:
'force-reload' not recognised so removed from uwsgi
'tar's had '-zxvf' as options, changed to 'zxvf'
'cp -R ./$version/* /opt/uwsgi-python
> El lunes, 30 de julio de 2012 10:20:16 UTC-3, peter escribió:Thank for
extending the script Alan.
> I have tested the trunk version. It fails when trying to start the
service uwsgi
> it cannot find /opt/uwsgi-python/uwsgi
Two things to check, I guess:
- Your system's /etc/sysconfig/uwsgi (i
Thank for extending the script Alan.
I have tested the trunk version. It fails when trying to start the service
uwsgi
it cannot find /opt/uwsgi-python/uwsgi
This is presumably from
PROG=/opt/uwsgi-python/uwsgi
and
daemon $PROG $DAEMON_OPTS
Clearly when you tested it there was something els
In trunk. Kept the previous name. Added Peter's full name.
On Sunday, 29 July 2012 09:26:37 UTC-5, Alan Etkin wrote:
>
> The fixed peter scrip to install Python 2.7.3 and self-signed certs for
> ssl enabled apps. It retrieves the base architecture also for nginx
> installation. It should be test
The fixed peter scrip to install Python 2.7.3 and self-signed certs for ssl
enabled apps. It retrieves the base architecture also for nginx
installation. It should be tested although, as I only used its commands
separately.
--
#!/bin/bash
# Script for installing Web2py with Nginx and Uwsgi
Glad you got it working in the end. It is useful that it has now been
independently tested.
Peter
On Saturday, 28 July 2012 15:55:38 UTC+1, Alan Etkin wrote:
>
> Well, I finally found a way of getting the server to serve web2py apps.
> The only problem with your recipe for my host was in the st
Please email me a patch if this should go in scripts/
On Saturday, 28 July 2012 09:55:38 UTC-5, Alan Etkin wrote:
>
> Well, I finally found a way of getting the server to serve web2py apps.
> The only problem with your recipe for my host was in the startup script
> (maybe an error when doing cop
Well, I finally found a way of getting the server to serve web2py apps. The
only problem with your recipe for my host was in the startup script (maybe
an error when doing copy/paste). I switched it with the one that comes with
uwsgi source dist: centos_init_script and used your script's paramete
Hi peter, thanks for sharing the recipe. I followed most of the steps to
deploy web2py with nginx and uwsgi in a CentOS ver 5.8 VPS host, but nginx
is serving only the static default page. /welcome or other url
will fail with:
502 Bad Gateway
--
nginx/1.2.2
nginx w
30 matches
Mail list logo