[web2py] Re: Deployment to Openshift dependency

2018-10-22 Thread 黄祥
perhaps you can show the step you've taken, so that we know where's the problem best regards, stifan -- 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) ---

Re: [web2py] Re: Deployment question

2016-10-26 Thread Jim Steil
The config I'm using is the one that comes from the web2py installer for ubuntu/nginx/uwsgi in the scripts directory. So, if that were the case, I think more people would be seeing it too. -Jim On Wed, Oct 26, 2016 at 9:06 AM, Richard Vézina wrote: > Version of

Re: [web2py] Re: Deployment question

2016-10-26 Thread Richard Vézina
Version of soft are not so differents so config may still be used without changes, but this should be double check... For instance, for me, config had change significantly since 12.04 related to systemd... Nginx not much but uwsgi has change. It may wise to check for deprecated uwsgi parameter

Re: [web2py] Re: Deployment question

2016-10-25 Thread Jim S
mcm - thanks for that. On Tuesday, October 25, 2016 at 12:23:27 PM UTC-5, mcm wrote: > > One clarification ... better performance is mostly due to the fact that > the python GIL is not getting in the way > > 2016-10-25 19:20 GMT+02:00 Michele Comitini >: > >> >

Re: [web2py] Re: Deployment question

2016-10-25 Thread Michele Comitini
One clarification ... better performance is mostly due to the fact that the python GIL is not getting in the way 2016-10-25 19:20 GMT+02:00 Michele Comitini : > > Regarding switching uwsgi to fork-only - should I expect a performance > hit? > > Unless you are very

Re: [web2py] Re: Deployment question

2016-10-25 Thread Michele Comitini
> Regarding switching uwsgi to fork-only - should I expect a performance hit? Unless you are very low on RAM you should expect better performance. Linux fork is a clone call that uses fully fledged copy-on-write strategy. Uwsgi forks are long running processes so forking overhead has little

Re: [web2py] Re: Deployment question

2016-10-25 Thread Jim S
Richard Just checked my versions and my old systems that work have: uwsgi 2.0.10 nginx 1.4.6 web2py 2.14.6 New system that needs altered uwsgi config uwsgi 2.0.14 nginx 1.10.0 web2py 2.14.6 My uwsgi configs are identical except for the commented out 'limit-as = 512' line. Nginx configs are

Re: [web2py] Re: Deployment question

2016-10-25 Thread Richard Vézina
Jim which web server are we talking now? Nginx? I think you should copy/paste configuration so we can have look, I can compare to mine... Just the relevant part would suffice... About threading notice of pandas it says holding lock in case of multiple dataframe copy, but Jim report he can't even

Re: [web2py] Re: Deployment question

2016-10-25 Thread Jim Steil
Massimo / Michele Thanks for the input. I don't know anything about fork only mode. Looks like I have some reading to do. Thanks again for the input. -Jim On Tue, Oct 25, 2016 at 4:02 AM, Michele Comitini < michele.comit...@gmail.com> wrote: > @Jim as per Massimo input, did you check that

Re: [web2py] Re: Deployment question

2016-10-25 Thread Michele Comitini
@Jim as per Massimo input, did you check that your uwsgi configuration is in fork mode only, no threading? That could be one possible cause. Try also gunicorn instead of uwsgi http://gunicorn.org/ 2016-10-25 7:19 GMT+02:00 Massimo Di Pierro : > Rocket is a

[web2py] Re: Deployment question

2016-10-24 Thread Massimo Di Pierro
Rocket is a multithreaded server and pandas is not thread safe (http://pandas.pydata.org/pandas-docs/stable/gotchas.html) be very careful with it. On Tuesday, 16 August 2016 13:19:42 UTC-5, Dave S wrote: > > > > On Tuesday, August 16, 2016 at 8:50:51 AM UTC-7, Jim S wrote: >> >> Hi >> >> I

Re: [web2py] Re: Deployment question

2016-10-24 Thread Jim Steil
Yes, it's crazy. I have 2 ubuntu 14.04 servers that work fine, pandas 0.18 (I have other issues with 0.19.0 so haven't moved there yet, but still had the same behavior when I tested). But, any new Ubuntu 14.04 servers I install won't work. Any time i try 16.10 or 16.04 (which is what i want to

Re: [web2py] Re: Deployment question

2016-10-24 Thread Richard Vézina
You right, I forgot... But you may try by raising the limit... Is there any open issue for pandas about that... This is not normal... If I remember it does that only in web2py environment? If the issue occurs on import pandas as pd why I don't have it?? I have : limit-as 512 I have pandas

Re: [web2py] Re: Deployment question

2016-10-24 Thread Jim Steil
Thanks for the comment Richard - At the point it crashes I don't believe it is an issue with my app. It crashes on - import pandas as pd - so, I don't think it is anything I'm doing in my code. -Jim On Mon, Oct 24, 2016 at 9:48 AM, Richard Vézina wrote: > I

Re: [web2py] Re: Deployment question

2016-10-24 Thread Richard Vézina
I suggest you try to raise the limit... I don't know why it get in the configuration file, but I read it could be use to prevent memory leaks. It's also help preventing app from eating all the memory before crash the system... You maybe better understand why you code need so much memory and try to

Re: [web2py] Re: Deployment question

2016-10-21 Thread Jim S
Started looking in to this issue again today and found this: http://stackoverflow.com/questions/19439190/segmentation-fault-while-using-pandas-in-uwsgi I took the advice of Roberto and removed the --limit-as in /etc/uwsgi/web2py.ini - and now it seems to work find. I am clueless as to what

Re: [web2py] Re: Deployment question

2016-08-17 Thread Jim Steil
Thanks Dave While my stated question was specific to haproxy, I'm really speaking in more general terms as to whether or not the rocket server would be sufficient behind ANY load balancer. I know I could have setup nginx as the load balancer, but haproxy was really quite simple. I'm going to

Re: [web2py] Re: Deployment question

2016-08-17 Thread Dave S
On Wednesday, August 17, 2016 at 1:15:58 PM UTC-7, Jim S wrote: > > Anyone else have thoughts on why I shouldn't use the rocket webserver > behind haproxy? > > Well, before today I didn't know anything about haproxy, but it seems to have a good reputation as a load balancer. So it should take

Re: [web2py] Re: Deployment question

2016-08-17 Thread Jim S
Anyone else have thoughts on why I shouldn't use the rocket webserver behind haproxy? -Jim -- 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

Re: [web2py] Re: Deployment question

2016-08-16 Thread Jim Steil
Importing pandas from the web2py shell works just fine. administrator@ubuntu16-2:/home/www-data/web2py$ sudo python web2py.py -a password -S connect web2py Web Framework Created by Massimo Di Pierro, Copyright 2007-2016 Version 2.14.6-stable+timestamp.2016.05.10.00.21.47 Database drivers

Re: [web2py] Re: Deployment question

2016-08-16 Thread Richard Vézina
Strange! Missing dependency which didn't install because of a broken link? Richard On Tue, Aug 16, 2016 at 3:22 PM, Jim Steil wrote: > From my system: > > administrator@ubuntu16-2:/etc/nginx/sites-enabled$ sudo pip show pandas > [sudo] password for administrator: > --- >

Re: [web2py] Re: Deployment question

2016-08-16 Thread Richard Vézina
Which version of web2py? I just try impor... with command line web2py instance and it works... I am using web2py 2.14.6 Richard On Tue, Aug 16, 2016 at 3:34 PM, Jim Steil wrote: > Let me restate my issue > > I can use pandas just fine on ubuntu 16.04. The problem occurs

Re: [web2py] Re: Deployment question

2016-08-16 Thread Richard Vézina
You may have a check, here some way of doing it : http://stackoverflow.com/questions/16294819/how-to-check-if-my-python-has-all-required-packages http://stackoverflow.com/questions/22213997/programmatically-check-if-python-dependencies-are-satisfied Would try with pip freeze first... Richard

Re: [web2py] Re: Deployment question

2016-08-16 Thread Jim Steil
Let me restate my issue I can use pandas just fine on ubuntu 16.04. The problem occurs when I'm importing a module into a web2py controller and that module fails to import on the 'import pandas as pd' line. Just to be clear, pandas works find on the box. It is when it runs on web2py through

Re: [web2py] Re: Deployment question

2016-08-16 Thread Jim Steil
>From my system: administrator@ubuntu16-2:/etc/nginx/sites-enabled$ sudo pip show pandas [sudo] password for administrator: --- Metadata-Version: 2.0 Name: pandas Version: 0.18.1 Summary: Powerful data structures for data analysis, time series,and statistics Home-page: http://pandas.pydata.org

Re: [web2py] Re: Deployment question

2016-08-16 Thread Richard Vézina
Maybe try reinstall pip package, or if you use ubuntu package, use pip one instead... On Tue, Aug 16, 2016 at 3:16 PM, Richard Vézina wrote: > Can you identify the responsible piece of pandas code that cause the > issue? It don't make sens if you can't import

Re: [web2py] Re: Deployment question

2016-08-16 Thread Richard Vézina
Can you identify the responsible piece of pandas code that cause the issue? It don't make sens if you can't import pandas as pd in U16.04... I just try and it works... sudo pip show pandas --- Metadata-Version: 1.1 Name: pandas Version: 0.18.1 Summary: Powerful data structures for data analysis,

Re: [web2py] Re: Deployment question

2016-08-16 Thread Jim Steil
Richard I have not had it successfully running under ubuntu 16.04 with a prior version of pandas. I have it running on Ubuntu 14.04 with the same version of pandas. It fails on: import pandas as pd -Jim On Tue, Aug 16, 2016 at 1:02 PM, Richard Vézina wrote: >

[web2py] Re: Deployment question

2016-08-16 Thread Dave S
On Tuesday, August 16, 2016 at 8:50:51 AM UTC-7, Jim S wrote: > > Hi > > I currently have my app deployed using Ubuntu 14.04 / nginx / uwsgi. I > have a couple of servers load-balanced behind a haproxy server. I'm > running ssl on the haproxy system and talking http to web2y through >

Re: [web2py] Re: Deployment question

2016-08-16 Thread Richard Vézina
Massimo's has always said it wasn't secure, I ignore the exact reason(s)... I suggest downgrading pandas with this rational you were using is in previous version of pandas and nginx without this problem... I do use pandas (but not HDF5 Store) and I don't experiment this issue... neither in 12.04

Re: [web2py] Re: Deployment question

2016-08-16 Thread Jim S
In my reading I didn't see that downgrading pandas would help. Am I missing something or did I mislead you with my post? Downgrading ubuntu would help (which is what we have now, but would like to run the latest ubuntu). But, back to the main question, what are the biggest factors in not

Re: [web2py] Re: Deployment question

2016-08-16 Thread Richard Vézina
You can't downgrade pandas package? Richard On Tue, Aug 16, 2016 at 12:35 PM, Jim S wrote: > Ron > > It would depend on what OS you're running on the x86 box. This would be a > good place to start http://web2py.com/books/default/chapter/29/13/ > deployment-recipes > > Also, if

[web2py] Re: Deployment question

2016-08-16 Thread Jim S
Ron It would depend on what OS you're running on the x86 box. This would be a good place to start http://web2py.com/books/default/chapter/29/13/deployment-recipes Also, if you don't mind, could you re-post this in a new thread so this thread could focus on my initial question? -Jim On

[web2py] Re: Deployment question

2016-08-16 Thread Ron Chatterjee
On that note, can someone point me to documentation about how to set up an environment in dedicated sever on X86? I am thinking about co-locating than shared hosting. If someone does go that route, how we manage to set up the hosting environment? On Tuesday, August 16, 2016 at 11:50:51 AM

[web2py] Re: Deployment script for CentOS: apache + mod_wsgi + msql

2014-11-18 Thread Dragan Matic
for centos6 you should use setup-web2py-fedora.sh, it does the job. for centos7 there is setup-web2py-centos7.sh as Massimo mentioned but it will not work on centos 6 due to differences is these two systems. On Tuesday, November 11, 2014 12:29:34 PM UTC+1, lesssugar wrote: Hi, guys, I would

[web2py] Re: Deployment script for CentOS: apache + mod_wsgi + msql

2014-11-18 Thread lesssugar
Thank you, guys. I guess the real problem I face is to get web2py working under Apache with Parallels Plesk as the control panel. Plesk is a bit of a black box for my when it comes to configuring it to use web2py application as default vhost, instead of using the default Plesk vhost.

[web2py] Re: Deployment script for CentOS: apache + mod_wsgi + msql

2014-11-17 Thread Massimo Di Pierro
There is a scripts/setup-web2py-centos7.sh which is more recent On Tuesday, 11 November 2014 05:29:34 UTC-6, lesssugar wrote: Hi, guys, I would like to setup web2py on my CentOS 6.6 and I'm looking for deployment script, as I'm no expert. Apache and MySQL is in place, but I'm looking

[web2py] Re: Deployment

2014-10-22 Thread Jigar Mistry
Thank you for your answer! I am new to web2py.Will keep in mind this thing. On Saturday, 18 October 2014 07:50:17 UTC+5:30, Jigar Mistry wrote: Hello everyone, Is this possible to deploy single web2py app on nginx without web2py? Thanks, Jigar Mistry -- Resources: - http://web2py.com

[web2py] Re: Deployment

2014-10-19 Thread lyn2py
Why would you want to do that? On Saturday, October 18, 2014 10:20:17 AM UTC+8, Jigar Mistry wrote: Hello everyone, Is this possible to deploy single web2py app on nginx without web2py? Thanks, Jigar Mistry -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Deployment

2014-10-19 Thread Leonel Câmara
I don't get it, do you mean without running the included rocket server? -- 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

[web2py] Re: Deployment

2014-10-18 Thread Niphlod
the question is RY strange. goes on the same line as is it possible to deploy a single python app without python ? if you have a web2py app, you need web2py to let the app run. On Saturday, October 18, 2014 4:20:17 AM UTC+2, Jigar Mistry wrote: Hello everyone, Is this

[web2py] Re: Deployment of Web2py Framework on Linux redhat version 6 then configure with apache

2014-09-07 Thread Oli
have a look to the book: http://web2py.com/books/default/chapter/29/09/access-control?search=apache Am Samstag, 6. September 2014 07:23:55 UTC+2 schrieb Kamal Mohemed: Hi to everyone, I downloaded web2py frame work and run on the web2py default server it is working fine, but we want that

[web2py] Re: deployment error

2014-04-15 Thread Richard
The issue was an admin app from an older version. The site on Justhost.com is running again. I am using the cgihandler.py. BUT: imported apps do not run and give the error [an error occurred while processing this directive] I tried both : installing the w2p file and copying the application as

[web2py] Re: deployment error

2014-04-15 Thread LightDot
Hmm, no... for example, on our servers, setting file permissions of a CGI script to 777 will prevent it from working as a security measure. So, file ownership or permissions are still first things that come to mind. Create a new app from scratch (as you say, this works) and upload/extract a

[web2py] Re: deployment error

2014-04-15 Thread Richard
It has to do with the controller or starting the view. Because when I delete default/index.html the error is still there, when I delete contrller/default.py then the app comes witht the error that no controller exists. When I make a python error in the cotroller the app reports a tickets, that

[web2py] Re: deployment error

2014-04-15 Thread Richard
SOLVED :) The print statements in the controller appear to be deadly and causing the error [an error occurred while processing this directive]. Thanks for the support ! On Tuesday, April 15, 2014 1:56:09 PM UTC+2, Richard wrote: It has to do with the controller or starting the view.

[web2py] Re: deployment on Windows - errors

2013-09-09 Thread Niphlod
Please use this recipe. The windows service integration has slowly stopped working and we're going to remove it from future releases http://www.web2pyslices.com/slice/show/1614/nssm-webserver-and-scheduler-as-services-in-windows-oses On Monday, September 9, 2013 11:01:47 AM UTC+2, Dmitry

[web2py] Re: deployment to google app engine did not include my static files

2013-08-21 Thread Massimo Di Pierro
Luca's patch is in trunk. On Thursday, 15 August 2013 04:01:52 UTC-5, Massimo Di Pierro wrote: Sorry, was out of town and had connection very few hours a day. Trying to catch up. Tomorrow will be a little better. On Wednesday, 14 August 2013 18:33:33 UTC-5, Luca wrote: Massimo, I have

[web2py] Re: deployment to google app engine did not include my static files

2013-08-15 Thread Massimo Di Pierro
Sorry, was out of town and had connection very few hours a day. Trying to catch up. Tomorrow will be a little better. On Wednesday, 14 August 2013 18:33:33 UTC-5, Luca wrote: Massimo, I have been trying to send you emails for some time without success. Is there some issue with your email?

[web2py] Re: deployment to google app engine did not include my static files

2013-08-14 Thread dlypka
The app.yaml sample for python 2.7 on GAE has always been wrong. The regular expression accidentally omits all static files that are in subfolders below static. I had to revert that regular expression part back to the pre 2.7 app.yaml example. The all the static subfolders were back again in

[web2py] Re: deployment to google app engine did not include my static files

2013-08-14 Thread Luca
Massimo, I have been trying to send you emails for some time without success. Is there some issue with your email? Luca On Tuesday, August 13, 2013 7:15:57 AM UTC-7, Massimo Di Pierro wrote: email it to me please or post a patch on github. On Monday, 12 August 2013 19:03:59 UTC-5, Luca

[web2py] Re: deployment to google app engine did not include my static files

2013-08-13 Thread Massimo Di Pierro
email it to me please or post a patch on github. On Monday, 12 August 2013 19:03:59 UTC-5, Luca wrote: Shall I post a working app.yaml (minus confidential details) that works with threadsafe=True? Let me know if this would help. Luca On Sunday, August 4, 2013 12:12:16 PM UTC-7,

[web2py] Re: deployment to google app engine did not include my static files

2013-08-12 Thread Luca
Shall I post a working app.yaml (minus confidential details) that works with threadsafe=True? Let me know if this would help. Luca On Sunday, August 4, 2013 12:12:16 PM UTC-7, davedigerati wrote: as you can see from here: http://sportssquaresonline.appspot.com/ it did upload most of the

[web2py] Re: deployment to google app engine did not include my static files

2013-08-10 Thread Christian Foster Howes
you need to change some other parts of app.yaml to enable threadsafeyou can't use a cgi handler. i'll try and look up the answer in the next couple of days On Thursday, August 8, 2013 7:47:10 PM UTC-7, davedigerati wrote: Christian - I'm a total n00b so unable to help as much as I

[web2py] Re: deployment to google app engine did not include my static files

2013-08-08 Thread davedigerati
Christian - I'm a total n00b so unable to help as much as I would like, but upon deployment of my app via the GoogleAppEngineLauncher on OS X 10.8.4, it fails with Error parsing yaml file: threadsafe cannot be enabled with CGI handler: gaehandler.py in

[web2py] Re: deployment to google app engine did not include my static files

2013-08-05 Thread Massimo Di Pierro
I remember people had complained that threadsafe==True resulted in corrupted current thread_local. I am very surprised by this and I do not see that could happen unless threadlocal is broken on GAE. If you can shed some light it would be great. On Sunday, 4 August 2013 18:59:54 UTC-5,

[web2py] Re: deployment to google app engine did not include my static files

2013-08-04 Thread davedigerati
and I only updated the app name in app.yaml and runtime to 2.7 and threadsafe to False since true was bombing and I need this dang thing running an hour ago... On Sunday, August 4, 2013 3:12:16 PM UTC-4, davedigerati wrote: as you can see from here: http://sportssquaresonline.appspot.com/ it

[web2py] Re: deployment to google app engine did not include my static files

2013-08-04 Thread davedigerati
Aaand, I've wasted the board's time, very sorry. I had hard-coded a link (see other posting re: problems injecting css sheets) and forgot to rebuild with URL(). and on my image that was not loading, just giving a broken link I had malformed a URL request, which interestingly worked

[web2py] Re: deployment to google app engine did not include my static files

2013-08-04 Thread Christian Foster Howes
if you get a chance, can you describe how threadsafe==True was failing on GAE? i'm hoping to focus on making that work here in the next couple of weeks thanks, christian On Sunday, August 4, 2013 12:16:02 PM UTC-7, davedigerati wrote: and I only updated the app name in app.yaml and

Re: [web2py] Re: Deployment sqlite question

2012-04-02 Thread Ruben Orduz
Thanks for link, I'll check it out. And yeah it's totally risky, but it's more to prove a point that automated deployment works with a small app rather than full-sized deployment. On Mon, Apr 2, 2012 at 1:02 AM, pbreit pbreitenb...@gmail.com wrote: That seems risky to automatically pull in

[web2py] Re: deployment

2012-02-20 Thread Wikus van de Merwe
The /var/www folder is just an example. You can put the wsgi.py in your home folder as well. You can also simply use wsgihandler.py that comes with web2py. One or the other has to be set as the WSGI script in the http server configuration. To learn more on deploying web2py applications read

Re: [web2py] Re: deployment

2012-02-19 Thread Johann Spies
On 17 February 2012 19:58, shartha m.mirghorb...@gmail.com wrote: my files should go into the public_html folder that resides inside my /home/domainName/public_html. Give that, should I still make a /var/www folder? No. You should be able to work in public_html. Use that as the root as far

[web2py] Re: deployment

2012-02-17 Thread Wikus van de Merwe
The directory does not exist. Run mkdir /var/www first.

[web2py] Re: deployment

2012-02-17 Thread shartha
I am not authorized to make such directory on my server. In my server, my files should go into the public_html folder that resides inside my /home/domainName/public_html. Give that, should I still make a /var/www folder? What is the purpose for the /var/www on pythonanywhere? On Feb 17, 7:49 am,

[web2py] Re: Deployment problem on dotcloud with PostgreSQL

2012-01-04 Thread Thomas Dall'Agnese
Hi Jérôme, Thanks for your advice. Is it possible to change the name 'user' used by web2py without changing the code in the 'gluon' folder?

[web2py] Re: Deployment problem on dotcloud with PostgreSQL

2012-01-04 Thread Massimo Di Pierro
web2py does not use user. Some old apps may in models. On Jan 4, 6:37 am, Thomas Dall'Agnese thomas.dallagn...@gmail.com wrote: Hi Jérôme, Thanks for your advice. Is it possible to change the name 'user'  used by web2py without changing the code in the 'gluon' folder?

[web2py] Re: Deployment problem on dotcloud with PostgreSQL

2012-01-02 Thread Jérôme Petazzoni
Hi Thomas, web2py used to work fine on dotCloud. I remember writing the web2py tutorial 1 year ago :-) The tutorial needs to be updated, since the CLI has evolved significantly since then. Anyway! If I remember well, when trying some web2py apps, I had the following issues: - a lot of apps

[web2py] Re: Deployment problem on dotcloud with PostgreSQL

2011-12-30 Thread Thomas Dall'Agnese
Sent to your DePaul e-mail address. I am looking forward to a solution to that problem as MySQL doesn't work neither on DotCloud (error creating a table, see other post).

[web2py] Re: Deployment problem on dotcloud with PostgreSQL

2011-12-25 Thread Massimo Di Pierro
You have a table or a field called user. That is not allowed in postgresql because user is a reserved keyword. Massimo On Dec 25, 1:32 am, Thomas Dall'Agnese thomas.dallagn...@gmail.com wrote: Ticket report: class 'psycopg2.ProgrammingError' syntax error at or near user LINE 4: user INTEGER

[web2py] Re: Deployment problem on dotcloud with PostgreSQL

2011-12-25 Thread Massimo Di Pierro
very strange... can you send me your app (confidently of course)? Massimo On Dec 25, 10:47 pm, Thomas Dall'Agnese thomas.dallagn...@gmail.com wrote: Hi Massimo, That's what I thought, but I did not manually add any table called user.    -  db.py  defines tables *auth_user*    -  Edit  

[web2py] Re: Deployment problem on dotcloud with PostgreSQL

2011-12-24 Thread Thomas Dall'Agnese
adding check_references=['user'] to the DAL() call does not solve the problem but raises a new ticket: type 'exceptions.KeyError' 'user'VERSIONweb2py™(1, 99, 4, datetime.datetime(2011, 12, 14, 14, 46, 14), 'stable')PythonPython 2.6.5: /home/dotcloud/rsync-1324798764157/TRACEBACK 1. 2. 3. 4.

[web2py] Re: deployment problem with mod_wsgi

2011-12-20 Thread Adi
if it's going to make things more simple, and you want to avoid figuring out the installation and setting up server, i suggest using fluxflex.com. worked perfectly for me, and then later on i'll focus on vps, but will at least know the application works fine. I'm not related to that company,

[web2py] Re: deployment problem with mod_wsgi

2011-12-19 Thread Web2Py Freak
i think there is somthing wrong with the way i installed mod_wsgi ,, can you please tell me how to install it ??

[web2py] Re: deployment problem with mod_wsgi

2011-12-19 Thread Paolo Caruccio
Maybe this helps http://jdoe.asidev.com/2009/02/26/configure-web2py-to-run-behind-apache-with-wsgi-mod_wsgi/

[web2py] Re: deployment problem with mod_wsgi

2011-12-19 Thread LightDot
Installing mod_wsgi on Fedora would be simply (in shell, executed as root): yum install mod_wsgi

[web2py] Re: deployment problem with mod_wsgi

2011-12-18 Thread LightDot
You have an error in your Apache configuration somewhere, that much is obvious. Please post the part of your httpd.conf that you've changed and any other changes that you've made to the server configuration.

[web2py] Re: Deployment Confusion

2011-08-08 Thread Marcel Luethi
Hi Gour As a current customer of djangohosting.ch I'm interested to know how you did the web2py setup. Until now I'm only using it for static web sites, but plan to implement a web2py site in the near future. Thank you for your help. Regards, Marcel On 7 Aug., 18:05, Gour-Gadadhara Dasa

[web2py] Re: Deployment Confusion

2011-08-08 Thread Gour-Gadadhara Dasa
On Mon, 8 Aug 2011 02:50:10 -0700 (PDT) Marcel Luethi marcel.lue...@mlsystems.ch wrote: Hello Marcel, As a current customer of djangohosting.ch I'm interested to know how you did the web2py setup. I haven't yet...probably in a few days. However, it should be pretty same as with Django+uwsgi

[web2py] Re: Deployment Confusion

2011-08-07 Thread Gour-Gadadhara Dasa
On Sun, 30 Jan 2011 14:46:02 -0200 Bruno Rocha rochacbr...@gmail.com wrote: AS I said,I know only two host options where you can simply put the files there and everything runs without the need of configuration. ['Google App Engine', 'webfaction'] I use djangohosting.ch (djangoeurope.com) for

[web2py] Re: Deployment Confusion

2011-02-02 Thread Gary Bee
Just to follow up on my troubles so far... I have deployed my site using google app engine, just to get it out there. I have adjusted the setting as described in the app engine documentation to get my domain forwarded (is that the right term) to google app engine. I had no succes when trying

[web2py] Re: Deployment Confusion

2011-01-30 Thread g...@rtplanb.com
Thank you for the advice, but as I already have a years domain and hosting with godaddy I was hoping for some specific advice regarding setup using that service. godaddy support suggest that I simply upload all the files from my web2py application but I asssume this will not give me admin

Re: [web2py] Re: Deployment Confusion

2011-01-30 Thread Bruno Rocha
AS I said,I know only two host options where you can simply put the files there and everything runs without the need of configuration. ['Google App Engine', 'webfaction'] In other shared hosts you need to follow some deployment instruction: I guess this slice works for godaddy

Re: [web2py] Re: Deployment Confusion

2011-01-30 Thread pbreit
It's either not possible or very difficult. GoDaddy's hosting capabilities are extremely limited. As others have mentioned, I'd suggest considering another provider such as WebFaction.

[web2py] Re: Deployment Confusion

2011-01-30 Thread g...@rtplanb.com
Thank you all for your help so far. I will try your suggestions. I can get SSH access to my host. It runs Python 2.4.3 and Linux distro is quoted as: Linux n1nlftpg005.shr.prod.ams1.secureserver.net 2.6.18-194.26.1.el5PAE #1 SMP Tue Nov 9 13:34:42 EST 2010 i686 i686 i386 GNU/Linux On Jan 30,

[web2py] Re: Deployment of web2py on an intranet

2010-12-09 Thread Rupesh Pradhan
OK. I will give it a try and get back to you On Dec 7, 8:13 pm, mdipierro mdipie...@cs.depaul.edu wrote: When you start web2py you need to specify the IP address web2py.py -i 192.168.0.1 -p 8000 -a 'password' On Dec 7, 5:28 am,RupeshPradhan rupeshkrprad...@gmail.com wrote: I have two

[web2py] Re: Deployment of web2py on an intranet

2010-12-07 Thread Luther Goh Lu Feng
What are the network interfaces and their ip addresses on 'server'? On Dec 7, 10:29 pm, rochacbruno rochacbr...@gmail.com wrote: Firewall ? Are you using Windows? Windows firewall is enabled? Enviado via iPhone Em 07/12/2010, às 09:28, Rupesh Pradhan rupeshkrprad...@gmail.com escreveu:

[web2py] Re: Deployment of web2py on an intranet

2010-12-07 Thread mdipierro
When you start web2py you need to specify the IP address web2py.py -i 192.168.0.1 -p 8000 -a 'password' On Dec 7, 5:28 am, Rupesh Pradhan rupeshkrprad...@gmail.com wrote: I have two computers networked together using LAN cable with name 'server'(192.168.0.1) and 'machine01'(192.168.0.2) I

Re: [web2py] Re: Deployment problem (apache2 mod_wsgi)

2010-09-16 Thread Johann Spies
On 14 September 2010 23:40, Graham Dumpleton graham.dumple...@gmail.com wrote: So long as Apache configured right, there are no problems hosting two web applications like that under different sub URLs of the same site. The reason is that the part after http:// (hostname) decides where to

[web2py] Re: Deployment problem (apache2 mod_wsgi)

2010-09-14 Thread Graham Dumpleton
Missing ServerName directives. On Sep 14, 3:18 pm, Johann Spies johann.sp...@gmail.com wrote: For me the deployment of web2py seems to be a recurring problem. I am trying to deploy web2py on a Debian system but not as 'default' . I have root access to the system. I have tried both the

Re: [web2py] Re: Deployment problem (apache2 mod_wsgi)

2010-09-14 Thread Johann Spies
On 14 September 2010 08:21, Graham Dumpleton graham.dumple...@gmail.com wrote: Missing ServerName directives. Thanks Graham, but adding ServerName directives did not make any difference. Regards Johann --     Be not deceived; God is not mocked: for whatsoever a      man soweth, that shall he

[web2py] Re: Deployment problem (apache2 mod_wsgi)

2010-09-14 Thread Graham Dumpleton
Presuming the server was restarted, Do you have other VirtualHost's for same ServerName and port. The short of it is that those virtual hosts would appear to either not be read, or are being hidden because there is another virtual host with matching specification which is being loaded first.

Re: [web2py] Re: Deployment problem (apache2 mod_wsgi)

2010-09-14 Thread Johann Spies
Your answer convinced me that I do not know enough of NameVirtualHost and I decided read some documentation about it. I have it working now but I see I need to define a cname to reach it from another computer. Url's like http://example.com/web2py does not work. While web2py is the only enabled

Re: [web2py] Re: Deployment problem (apache2 mod_wsgi)

2010-09-14 Thread Kenneth Lundström
Hi Johann, I might be completly wrong but I think that you can´t have example.com/phpsite and example.com/web2py at the same time. You can have http://phpsite.example.com and http://web2py.example.com The reason is that the part after http:// (hostname) decides where to go. If you have

[web2py] Re: Deployment problem (apache2 mod_wsgi)

2010-09-14 Thread Graham Dumpleton
On Sep 14, 6:31 pm, Kenneth Lundström kenneth.t.lundst...@gmail.com wrote:   Hi Johann, I might be completly wrong but I think that you can t have example.com/phpsite and example.com/web2py at the same time. You can havehttp://phpsite.example.comandhttp://web2py.example.com So long as

[web2py] Re: deployment problem

2010-09-03 Thread mdipierro
If the ticket is unrecoverable it means web2py started (was readable) but was not able to write on the filesystem. So the ticket was not storead anywhere. Make sure the user who runs web2py has permission to write into the web2py/applications folder. If you run as www-data cd web2py chown -R

[web2py] Re: deployment problem

2010-09-03 Thread VP
thank you. This solved that. I created www-data as root and forgot to give permission to www-data. On Sep 3, 11:46 am, mdipierro mdipie...@cs.depaul.edu wrote: If the ticket is unrecoverable it means web2py started (was readable) but was not able to write on the filesystem. So the ticket

[web2py] Re: Deployment - SSL certificate under Windows

2010-05-07 Thread blindvic
I use: web2py_no_console.exe --ip=0.0.0.0 --port=8080 --password=111 -- ssl_certificate=ssl_certificate.key --ssl_private_key=ssl_private.key Put ssl_certificate.key and ssl_private.key into web2py folder. On 6 май, 22:28, greenpoise danel.sega...@gmail.com wrote: I had removed the post

[web2py] Re: Deployment - SSL certificate under Windows

2010-05-06 Thread mdipierro
web2py.exe -h will list comment line options. There are two options to specify the location of certificate files. On May 6, 2:28 pm, greenpoise danel.sega...@gmail.com wrote: I had removed the post thinking that I got it working but nah. I cant set web2py on Windows. I get an error message

[web2py] Re: Deployment - SSL certificate under Windows

2010-05-06 Thread drelyn86
If you want SSL encryption, then yes, you will need a certificate file. OpenSSL is also available for Windows, and I believe the command- line options are the same as described in the linux version. Whether you want a third party to sign your certificate is up to you, but if you choose to

[web2py] Re: Deployment Recipes Page 281

2010-05-05 Thread Yannick
Do you have the installation guide for Mac ? Thanks On May 5, 4:35 pm, Thadeus Burgess thade...@thadeusb.com wrote: The apt with super cow powers on a Mac! (eyes grow big in astonishment!) BLASPHEMY. -- Thadeus On Wed, May 5, 2010 at 2:56 PM, Yannick ytchatch...@gmail.com wrote:

  1   2   >