Edgewall Software

Changes between Version 65 and Version 66 of TracUpgrade


Ignore:
Timestamp:
Jun 25, 2009, 6:12:44 PM (13 years ago)
Author:
Christian Boos
Comment:

the —no-backup flag is no longer necessary for MySQL and PostgreSQL

Legend:

Unmodified
Added
Removed
Modified
  • TracUpgrade

    v65 v66  
    2020You may also want to remove the pre-existing Trac code by deleting the `trac` directory from the Python `lib/site-packages` directory, or remove Trac .eggs from former versions.
    2121The location of the site-packages directory depends on the operating system, and the location in which Python was installed. However, the following locations are common:
    22  * If you’re using Linux: /usr/lib/python2.X/site-packages
    23  * If you’re using Windows: C:\Python2.X\lib\site-packages
    24  * If you’re using MacOSX: /Library/Python/2.X/site-packages
     22 * on Linux: /usr/lib/python2.X/site-packages
     23 * on Windows: C:\Python2.X\lib\site-packages
     24 * on MacOSX: /Library/Python/2.X/site-packages
    2525
    2626You may also want to remove the Trac `cgi-bin`, `htdocs`, `templates` and `wiki-default` directories that are commonly found in a directory called `share/trac` (the exact location depends on your platform).
     
    4141This command will do nothing if the environment is already up-to-date.
    4242
    43 Note that if you are using a PostgreSQL database, this command will fail with the message that the environment can only be backed up when you use an SQLite database. This means that you will have to backup the repository and the database manually. Then, to perform the actual upgrade, run:
     43Note that a backup of your database will be performed automatically prior to the upgrade.
     44This feature is relatively new for the PostgreSQL or MySQL database backends, so if it fails, you will have to backup the database manually. Then, to perform the actual upgrade, run:
    4445{{{
    4546trac-admin /path/to/projenv upgrade --no-backup
     
    9192
    9293=== Wiki Upgrade ===
    93 `trac-admin` will not delete or remove pages that were in version 0.10 but now are not in version 0.11, such as WikiMacros.
     94`trac-admin` will not delete or remove default wiki pages that were present in a previous version but are no longer in the new version.
    9495
    9596