Changes between Version 2 and Version 3 of UserGuidelines/Admin/Upgrade


Ignore:
Timestamp:
06/29/10 14:25:07 (14 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UserGuidelines/Admin/Upgrade

    v2 v3  
    1818bzr pull
    1919}}}
    20 Fix Database Issues:
    21 ''tbc''
     20Trial run:
     21{{{
     22cd /path/to/web2py
     23python web2py.py -S eden -M
     24}}}
     25Fix any Database Issues:
     26 1. The .table files in the databases directory contains what web2py knows about your database
     27 2. You need to set Migrate=True in {{{models/000_config.py}}} before you update the code and switch back to Migrate=False later on.
     28 3. In case of database mismatches - check the databases directory for the appropriate table ( cat the file ) and change accordingly.
     29
     30If using MySQL, then can use phpMyAdmin, if using SQLite then can use sqlite3 ({{{apt-get install sqlite3}}})
    2231
    2332Restore site into production:
     
    2837/etc/init.d/apache2 force-reload
    2938}}}
     39
     40 * MaintenanceGuidelines
    3041----
    3142UserGuidelines