wiki:UserGuidelines/Admin/Upgrade

Version 2 (modified by Fran Boon, 11 years ago) ( diff )

--

(unfinished)

Put site into Maintenance:

vim /etc/crontab
#

vim /etc/apache/sites-available/maintenance
  RewriteEngine On
  RewriteRule ^/(.*) /maintenance.html

ln -sf /etc/apache/sites-available/maintenance /etc/apache/sites-enabled/mysite
/etc/init.d/apache2 force-reload

Upgrade code:

cd /path/to/web2py/applications/eden
bzr pull

Fix Database Issues: tbc

Restore site into production:

vim /etc/crontab
#
ln -sf /etc/apache/sites-available/mysite /etc/apache/sites-enabled/mysite
/etc/init.d/apache2 force-reload

UserGuidelines

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.