[web2py] Re: Ubuntu web2py

2018-08-02 Thread Peter
No pressure! but Ubuntu 9.04 is unsupported at this stage and probably not even getting security updates. There may be good reason not to (e.g. impact on other apps/requirements) but I would recommend a fresh install of Ubuntu 18.04 LTS (or Linux Mint 18 which is based on Ubuntu ) rather than

[web2py] Re: Ubuntu web2py

2018-07-10 Thread Oldie Forgotten
Hi, Had the same issue with ubuntu bionic. This has solved it: sudo apt install python3-tk Cheers. On Monday, 28 September 2009 05:15:42 UTC+10, Chris Baron wrote: > > All, > > I've been using web2py on OSX and have been trying to get it up and > running on 9.04 Ubuntu, but have not been able t

Re: [web2py] Re: ubuntu web2py

2016-02-20 Thread xmarx
thank you. it works. 10 Şubat 2016 Çarşamba 15:46:37 UTC+2 tarihinde Jim S yazdı: > > I got this working! > > Here is what I did. > > 1. Run the normal web2py installation script for nginx/ubuntu > 2. sudo nano edit /etc/systemd/system/emperor.uwsgi.service > > Add these lines > [Unit] > Descripti

[web2py] Re: ubuntu web2py

2016-02-18 Thread Mirek Zvolský
Another problem with nginx/uwsgi script (ubuntu/debian): On my virtual server (forpsi) I have just one user, root, and 'sudo' was not installed. So commands like 'sudo mkdir ...' has failed and many files were not created. So check 'sudo' first if running as root user. apt install sudo-ldap or

Re: [web2py] Re: ubuntu web2py

2016-02-18 Thread Mirek Zvolský
Hi Jim, At github.com/zvolsky/web2py I have a new script which probably works: https://github.com/zvolsky/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh Should I generate push request? If you will do it, then you can take a look to my changes: sudo mkdir /etc/systemd sudo mkdir /et

Re: [web2py] Re: ubuntu web2py

2016-02-12 Thread Jim Steil
Thanks for the clarification! I'm looking at the script and working on a mod that will install the systemd init script as well. I'm not real good with shell scripting but will try to get it done. -Jim On Fri, Feb 12, 2016 at 10:45 AM, Mirek Zvolský wrote: > Yes! Exactly. > You use web2py scri

Re: [web2py] Re: ubuntu web2py

2016-02-12 Thread Mirek Zvolský
Yes! Exactly. You use web2py script from web2py repository (2016, Feb) - this is good idea. I have used web2py script from web2py stable (2015, Dec) - this is bad idea (missing ini file). Dne pátek 12. února 2016 15:25:52 UTC+1 Jim S napsal(a): > > I'm confused by which script you're running

Re: [web2py] Re: ubuntu web2py

2016-02-12 Thread Jim S
I'm confused by which script you're running for installation. When I install web2py on ubuntu I go through the following steps. 1. Install Ubuntu 2. sudo apt-get install git 3. in my home directory -> git clone https://github.com/web2py/web2py.git 4. cd web2py/scripts 5. sudo chmod +x setu

Re: [web2py] Re: ubuntu web2py

2016-02-12 Thread Mirek Zvolský
Yes. Thanks. But I have used the script from current stable version 2.13.4-stable+timestamp.2015.12.26.04.59.39 and that is bad idea. With up-to-date script from web2py respository it probably completly works without problems. But if you use the older version of setup-web2py-nginx-uwsgi-ubuntu.s

Re: [web2py] Re: ubuntu web2py

2016-02-11 Thread Jim Steil
It gets created in the web2py/nginx/ubuntu install script. -Jim On Thu, Feb 11, 2016 at 11:45 AM, Mirek Zvolský wrote: > I am trying do the same on Debian 8 Jessie and have a question: > From where do you have /etc/uwsgi/web2py.ini > I have no such file. From that reason your point (5) will fai

Re: [web2py] Re: ubuntu web2py

2016-02-11 Thread Mirek Zvolský
I have found the content for web2py.ini in web2py repository: https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh ...and it works - great ! http://81.2.244.50/welcome Debian 8 Jessie, Forpsi virtual server 1G RAM (1 EUR/month, however maybe for IT,DE,UK,CZ cust

Re: [web2py] Re: ubuntu web2py

2016-02-11 Thread Mirek Zvolský
I am trying do the same on Debian 8 Jessie and have a question: >From where do you have /etc/uwsgi/web2py.ini I have no such file. From that reason your point (5) will fail for me. Dne středa 10. února 2016 14:46:37 UTC+1 Jim S napsal(a): > > I got this working! > > Here is what I did. > > 1. R

Re: [web2py] Re: ubuntu web2py

2016-02-10 Thread Jim S
I got this working! Here is what I did. 1. Run the normal web2py installation script for nginx/ubuntu 2. sudo nano edit /etc/systemd/system/emperor.uwsgi.service Add these lines [Unit] Description = uWSGI Emperor After = syslog.target [Service] ExecStart = /usr/local/bin/uwsgi --ini /etc/uwsgi

Re: [web2py] Re: ubuntu web2py

2016-02-08 Thread Niphlod
there's this too http://uwsgi-docs.readthedocs.org/en/latest/Systemd.html On Monday, February 8, 2016 at 9:25:31 PM UTC+1, Jim S wrote: > > You're right, shouldn't be hard. But, for me it is. > > I'll post back if I can get it working... > > -Jim > > On Monday, February 8, 2016 at 10:06:36 AM UT

Re: [web2py] Re: ubuntu web2py

2016-02-08 Thread Jim S
You're right, shouldn't be hard. But, for me it is. I'll post back if I can get it working... -Jim On Monday, February 8, 2016 at 10:06:36 AM UTC-6, Niphlod wrote: > > shouldn't be hard > > https://wiki.ubuntu.com/SystemdForUpstartUsers > > On Monday, February 8, 2016 at 5:02:33 PM UTC+1, Jim S

Re: [web2py] Re: ubuntu web2py

2016-02-08 Thread Jim S
I played with this a bit over the weekend but was unable to get it working on Ubuntu 15.x. My production servers all run 14.4. I think the problem is the change from upstart to systemd on Ubuntu. Does anyone have experience getting uwsgi to start using systemd? I don't know enough about thes

Re: [web2py] Re: ubuntu web2py

2016-02-08 Thread Niphlod
shouldn't be hard https://wiki.ubuntu.com/SystemdForUpstartUsers On Monday, February 8, 2016 at 5:02:33 PM UTC+1, Jim S wrote: > > I played with this a bit over the weekend but was unable to get it working > on Ubuntu 15.x. > > My production servers all run 14.4. > > I think the problem is the c

Re: [web2py] Re: ubuntu web2py

2016-02-06 Thread xmarx
selman@selman-VirtualBox:~$ ps -ewwf | grep uwsgi selman1878 1848 0 18:15 pts/200:00:00 grep --color=auto uwsgi selman@selman-VirtualBox:~$ sudo restart uwsgi-emperor [sudo] password for selman: restart: Upstart'a bağlanılamıyor: Failed to connect to socket /com/ubuntu/upstart: Bağlant

Re: [web2py] Re: ubuntu web2py

2016-02-05 Thread Jim S
Also, what happens when you run: sudo restart uwsgi-emperor You should get something like this: uwsgi-emperor start/running, process 2749 -Jim On Friday, February 5, 2016 at 4:34:54 PM UTC-6, Jim S wrote: > > Do you know if uwsgi is running: > > Try this from the command line... > > ps -e

Re: [web2py] Re: ubuntu web2py

2016-02-05 Thread Jim Steil
Do you know if uwsgi is running: Try this from the command line... ps -ewwf | grep uwsgi results should look something like this: [image: Inline image 1] -Jim On Fri, Feb 5, 2016 at 3:18 PM, xmarx wrote: > ubuntu 15.10 is running on vm VirtualBox. > i exec the script and didn't install an

[web2py] Re: ubuntu web2py

2016-02-05 Thread xmarx
ubuntu 15.10 is running on vm VirtualBox. i exec the script and didn't install anything. nginx is installed by the script and running. http://localhost/ and https://localhost/ raise 502 Bad Gateway page. there isn't a routes.py file in /home/www-data/web2py/ web2py file is attached in /etc/nginx/

[web2py] Re: ubuntu web2py

2016-02-05 Thread Jim S
Did you install nginx after running the script? nginx is automatically installed by the script, you don't have to do it manually. If you didn't do that (I could be reading your message wrong), can you post the following files? /home/www-data/web2py/routes.py /etc/nginx/sites-available/web2py

[web2py] Re: ubuntu web2py

2016-02-05 Thread xmarx
i read the deployment recipes page and nginx section again and again. i don`t see about `after install` i try install this script http://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh after your message. when installing done. i type localhost on my browser. then i get web2py welcome p

[web2py] Re: ubuntu web2py

2016-02-05 Thread Jim S
Actually, this is the link you want: http://web2py.com/books/default/chapter/29/13/deployment-recipes#Nginx Also, notice that there are automatic install scripts at the end of this section for ubuntu and nginx. Assuming you're in production, you don't 'have' to run under nginx, it is just reco

[web2py] Re: ubuntu web2py

2016-02-05 Thread Jim S
Have you read through this? http://web2py.com/books/default/chapter/29/13/deployment-recipes#Linux-and-Unix -Jim On Friday, February 5, 2016 at 11:33:57 AM UTC-6, xmarx wrote: > > i install on ubuntu web2py, nginx and uwsgi. > > when i run web2py (sudo python web2py.py) admin says Running on Roc

[web2py] Re: Ubuntu : web2py : MySQLdb

2011-10-25 Thread Vineet
I am very new at Ubuntu. pl. tell me what I need to do & I will do that. Do you mean to say that 'grab or update Ubuntu LTS version?' Thanks, Vineet On Oct 26, 3:07 am, Christopher Steel wrote: > Do you have access to Ubuntu LTS version like 10.04?

[web2py] Re: Ubuntu : web2py : MySQLdb

2011-10-25 Thread Christopher Steel
Do you have access to Ubuntu LTS version like 10.04?