Changes between Version 65 and Version 66 of TracUpgrade
- Timestamp:
- Jun 25, 2009, 6:12:44 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracUpgrade
v65 v66 20 20 You 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. 21 21 The 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 usingLinux: /usr/lib/python2.X/site-packages23 * If you’re usingWindows: C:\Python2.X\lib\site-packages24 * If you’re usingMacOSX: /Library/Python/2.X/site-packages22 * 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 25 25 26 26 You 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). … … 41 41 This command will do nothing if the environment is already up-to-date. 42 42 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: 43 Note that a backup of your database will be performed automatically prior to the upgrade. 44 This 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: 44 45 {{{ 45 46 trac-admin /path/to/projenv upgrade --no-backup … … 91 92 92 93 === 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. 94 95 95 96