Here's how I just upgraded to Version 1.89.5 on webfaction. It seemed
to work.

'wp' is the name of my webFaction-application-directory which
contains:

$ tree -L 2
.
|-- apache2
|   |-- bin
|   |-- conf
|   |-- lib
|   |-- logs
|   `-- modules
|-- bin
|-- htdocs
|   `-- index.py
|-- lib
|   `-- python2.5
|-- web2py
|   |-- ABOUT
|   |-- LICENSE
|   |-- Makefile
|   |-- NEWINSTALL
|   |-- README
|   |-- VERSION
|   |-- __init__.py
|   |-- app.yaml
|   |-- appengine_config.py
|   |-- applications
|   |-- cgihandler.py
|   |-- deposit
|   |-- epydoc.conf
|   |-- epydoc.css
|   |-- fcgihandler.py
|   |-- gaehandler.py
|   |-- gluon
|   |-- httpserver.pid
|   |-- logging.example.conf
|   |-- modpythonhandler.py
|   |-- options_std.py
|   |-- parameters_80.py
|   |-- parameters_8000.py
|   |-- queue.yaml
|   |-- routes.example.py
|   |-- scripts
|   |-- setup_app.py
|   |-- setup_exe.py
|   |-- site-packages
|   |-- splashlogo.gif
|   |-- web2py.py
|   |-- web2py_src_downloaded.zip
|   |-- welcome.w2p
|   `-- wsgihandler.py
`-- web2py_src.zip

16 directories, 31 files

Here are the commands. They seemed to work.
$ cd /home/my_acct/webapps/wp/apache2/bin
$ ./stop

$ cd /home/my_acct/webapps/wp
$ rm web2py_src.zip
$ wget -q http://www.web2py.com/examples/static/web2py_src.zip
$ unzip -q web2py_src.zip
replace web2py/gluon/__init__.py? [y]es, [n]o, [A]ll, [N]one,
[r]ename: A

$ cd /home/my_acct/webapps/wp/apache2/bin
$ ./start

You will need to replace 'my_acct' with your account [login] name, and
'wp' with the name of your webFaction-application-directory to make
this work for you.

All the best,

Joe


On Nov 19, 6:18 am, Bruno Rocha <[email protected]> wrote:
> I did the upgrade by admin 2 times and that broke my system.
>
> Now I am taking advantage of the application feature of webfaction,
> I create a pure new instalation of web2py names per example "myapp2" I test
> this app throught IP:PORT addr
>
> Copy the applications from old web2py to new.
>
> $cp /webapps/myapp1/web2py/applications/* -R /webapps/myapp2/applications/
>
> Test again by IP:PORT
>
> Go to the admin panel on websites item edit your website pointing '/' to
> myapp2 , and so
>
> That is the safety way I've found in webfaction
>
> 2010/11/19 Johann Spies <[email protected]>
>
> > Thanks Annet and Golden Tiger.
>
> > Regards
> > Johann
>
> > --
> >  May grace and peace be yours in abundance through the full knowledge of
> > God and of Jesus our Lord!  His divine power has given us everything we need
> > for life and godliness through the full knowledge of the one who called us
> > by his own glory and excellence.
> >                                                     2 Pet. 1:2b,3a
>
> --
>
> Bruno Rochahttp://about.me/rochacbruno/bio

Reply via email to