Changes between Version 47 and Version 48 of TracUpgrade
- Timestamp:
- Dec 7, 2007, 9:12:11 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracUpgrade
v47 v48 2 2 [[TracGuideToc]] 3 3 4 A [ wiki:TracEnvironment Trac environment] needs to be upgraded before it can be used with Trac-0.11. This document describes the steps necessary to upgrade an environment.4 A [TracEnvironment Trac environment] needs to be upgraded before it can be used with Trac 0.11. This document describes the steps necessary to upgrade an environment. 5 5 6 '''Note''': ''Environment upgrades are not necessary for minor version releases unless otherwise noted.6 Environment upgrades are not necessary for minor version releases unless otherwise noted. 7 7 8 '''Note''': ''A database change is required, so it is no longer safe to switch back from 0.11 to 0.10.9 10 '''Beware:''' milestone:0.11 still says it is safe to switch between 0.10.4 and 0.11dev11 8 12 9 == Instructions == … … 16 13 === Update the Trac Code === 17 14 18 Get the new version as described in wiki:0.11/TracInstall, or your operation system specific procedure.15 Get the new version as described in TracInstall, or your operation system specific procedure. 19 16 20 17 If you do a manual (not operating system specific) upgrade, you may also later on want to remove the existing Trac code by deleting the `trac` directory from the Python `lib/site-packages` directory. … … 27 24 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). 28 25 29 > If You had the webadmin components, You should disable (remove from config file) webadmin.* - now Admin is part of the Trac code base. 30 26 > If you had the webadmin plugin installed, you can now uninstall it as it is now part of the Trac code base. 31 27 32 28 33 29 === Upgrade the Trac Environment === 34 30 35 After restarting, Trac should show the instances which need a manual upgrade via the automated upgrade scripts to ease the pain. These scripts are run via [ wiki:TracAdmin trac-admin]:31 After restarting, Trac should show the instances which need a manual upgrade via the automated upgrade scripts to ease the pain. These scripts are run via [TracAdmin trac-admin]: 36 32 {{{ 37 33 trac-admin /path/to/projenv upgrade … … 47 43 === Update the Trac Documentation === 48 44 49 Every [ wiki:TracEnvironment Trac environment] includes a copy of the Trac documentation for the installed version. As you probably want to keep the included documentation in sync with the installed version of Trac, [wiki:TracAdmin trac-admin] provides a command to upgrade the documentation:45 Every [TracEnvironment Trac environment] includes a copy of the Trac documentation for the installed version. As you probably want to keep the included documentation in sync with the installed version of Trac, [TracAdmin trac-admin] provides a command to upgrade the documentation: 50 46 {{{ 51 47 trac-admin /path/to/projenv wiki upgrade … … 55 51 56 52 === Trac Macros, Plugins === 57 The Trac macros will need to be adapted, as the old-style wiki-macros are not supported anymore (due to the drop of ClearSilver and the HDF); they need to be converted to the new-style macros .53 The Trac macros will need to be adapted, as the old-style wiki-macros are not supported anymore (due to the drop of ClearSilver and the HDF); they need to be converted to the new-style macros, see TracWikiMacros. 58 54 59 55 … … 63 59 == Known Issues == 64 60 === parent dir === 65 If you use a trac parent env configuration and one of the plugin es in one child does not work, none of the children work.61 If you use a trac parent env configuration and one of the plugins in one child does not work, none of the children work. 66 62 67 63 == Changing Database Backend == … … 72 68 == Older Versions == 73 69 74 For upgrades from former versions refer to TracUpgrade.70 For upgrades from former versions refer to wiki:0.10/TracUpgrade. 75 71 76 72 -----