I followed the instruction here: http://groups.google.com/group/web2py/browse_thread/thread/7f0d6ecddf40c6f/2c19fbeffc30bb27?lnk=gst&q=VPS#2c19fbeffc30bb27 http://www.vps.net/forum/public-forums/tutorials-and-how-tos/2115-web2py-on-vps-net which are: Step 1 - Shutdown apache Step 2 - Become www-data user Step 3 - Start web2py from terminal cmd Step 4 - Kill web2py (ctl + z) Step 5 - Restart Apache
And on step 2- I had a permission issue : IOError: [Errno 13] Permission denied: '/home/www-data/web2py/applications/admin/cron/ cron.master' So I did step 2 as a root user. and did step 4 and 5... Now I'm able to create a new application but I CAN'T upload an existing application. It's very weird I really don't know what's going on... Maybe I'll just delete my current VPS and just create a brand new VPS from scratch hopefully I won't have the same issue... I don't know what else to tried. Thanks, Yannick P. On Sep 24, 9:08 am, Yannick <ytchatch...@gmail.com> wrote: > Hello Chris, > Thanks for the note and suggestions: Yes did reboot Apache and > Web2py... > > Here is the result of the command I run in web2py dir: > > drwxr-xr-x 6 www-data www-data 4096 2010-09-22 04:15 applications > > From the command it seems that the owner do have permision to read and > write....humm...Please let me know if you have any idea since I'm > still not able to upload app from admin. I upload them from sftp... > > Thanks, > Yannick P. > > On Sep 24, 8:11 am, Christopher Steel <chris.st...@gmail.com> wrote: > > > > > Yannick, > > > Hi Yannick, > > > As I mentioned before this sounds lot like a permissions issue. If you > > could include the output of the following command when run from the > > web2py directory on your server it could be very helpful. > > > ls -al | grep applications > > > Where you able to restart Apache and web2py? > > > Cheers, > > > Chris > > > On Sep 23, 11:05 am, Yannick <ytchatch...@gmail.com> wrote: > > > > Hello Scausten, > > > I wonder were you able to upload an application from the web2py admin > > > page after your installation ? For some reason I can't upload any > > > application. I still have that message saying "Unable to install > > > application..." even after I restart web2py etc... > > > > Please let me know. > > > > Thanks, > > > Yannick P. > > > > On Sep 23, 9:19 am, scausten <scaus...@gmail.com> wrote:> Don't worry, I > > > was doing something extraordinarily stupid - the script > > > > is fine. > > > > > On Sep 23, 2:05 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > > > I do not see anything wrong with line 4 > > > > > > On Sep 23, 5:25 am, scausten <scaus...@gmail.com> wrote: > > > > > > > Hi Massimo, > > > > > > > I've tried to install web2py on vps.net today and I'm getting the > > > > > > following error message: > > > > > > > ./setup-web2py-ubuntu.sh: line 4: syntax error near unexpected token > > > > > > `newline' > > > > > > > Could you have a look at it please? > > > > > > > On Sep 23, 4:36 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > > > > > yes this should do it > > > > > > > > sudo /etc/init.d/apache2 restart > > > > > > > > I do know why you cannot write on that folder. > > > > > > > > On Sep 22, 10:14 pm, Yannick <ytchatch...@gmail.com> wrote: > > > > > > > > > Thanks for the note. > > > > > > > > This may be a stupid question:) but in my set up (Mod_WSGI+ > > > > > > > > Apache > > > > > > > > +Web2py) how do you restart web2py from command line ? > > > > > > > > I tried to reboot apache (sudo /etc/init.d/apache2 restart), > > > > > > > > but I > > > > > > > > don't think it also reboot web2py, because from the Admin page > > > > > > > > after > > > > > > > > the apache rebooting I was still unable to upload an > > > > > > > > application. > > > > > > > > > Thanks a lot, > > > > > > > > Yannick P. > > > > > > > > > On Sep 22, 6:13 pm, Christopher Steel <chris.st...@gmail.com> > > > > > > > > wrote: > > > > > > > > > > Hi Yannick, > > > > > > > > > > This is a permissions issue, shut down web2py then restart > > > > > > > > > it. This > > > > > > > > > has happened with some other folks at VPS and that usually > > > > > > > > > takes care > > > > > > > > > of it. > > > > > > > > > > Cheers, > > > > > > > > > > Chris > > > > > > > > > > On Sep 21, 11:49 pm, Yannick <ytchatch...@gmail.com> wrote: > > > > > > > > > > > Hello mate, > > > > > > > > > > I'm new with VPS Hosting... I just installed Web2py, > > > > > > > > > > Postgres Admin... > > > > > > > > > > From the Admin Console of Web2py I tried to install the > > > > > > > > > > application > > > > > > > > > > through the "Upload & install packed application" form and > > > > > > > > > > i got a > > > > > > > > > > message saying "Unable to Install the application...". The > > > > > > > > > > application was 44MB, so I tried to install a very small > > > > > > > > > > application > > > > > > > > > > of 4MB just to see but it didn't work too. > > > > > > > > > > SO basically I manually upload the application on the > > > > > > > > > > "Application" > > > > > > > > > > directory of Web2py using SFTP. Then from the Admin > > > > > > > > > > Console I can see > > > > > > > > > > the application but I when I tried to access the app from > > > > > > > > > > the browser > > > > > > > > > > "http://IPADDRESS/App/default/index" I got a message saying > > > > > > > > > > "Internal > > > > > > > > > > Error" and a link "Ticket issued: unknown"... When I click > > > > > > > > > > on the > > > > > > > > > > "unknown" I got a message saying "invalid Ticket"... > > > > > > > > > > > I really don't have any clue of what's going on ?? > > > > > > > > > > > Please help... > > > > > > > > > > > Thanks > > > > > > > > > > Yannick P.