close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.
- Timestamp:
-
Jul 14, 2008, 10:28:18 AM (16 years ago)
- Author:
-
trac
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v1
|
v2
|
|
6 | 6 | Environment upgrades are not necessary for minor version releases unless otherwise noted. |
7 | 7 | |
8 | | |
9 | 8 | == Instructions == |
10 | 9 | |
… |
… |
|
13 | 12 | === Update the Trac Code === |
14 | 13 | |
15 | | Get the new version as described in TracInstall, or your operation system specific procedure. |
| 14 | Get the new version as described in TracInstall, or your operating system specific procedure. |
16 | 15 | |
17 | 16 | 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. |
… |
… |
|
24 | 23 | 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). |
25 | 24 | |
26 | | > If you had the webadmin plugin installed, you can now uninstall it as it is now part of the Trac code base. |
27 | | |
| 25 | If you had the webadmin plugin installed, you can now uninstall it as it is now part of the Trac code base. |
28 | 26 | |
29 | 27 | === Upgrade the Trac Environment === |
… |
… |
|
41 | 39 | }}} |
42 | 40 | |
| 41 | If you are using custom CSS styles or modified templates in the templates directory of the TracEnvironment, you will need to convert them to the Genshi way of doing things. To continue to use your style sheet, follow the instructions at TracInterfaceCustomization#SiteAppearance. |
| 42 | |
43 | 43 | === Update the Trac Documentation === |
44 | 44 | |
… |
… |
|
51 | 51 | |
52 | 52 | === Trac Macros, Plugins === |
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. |
54 | | |
| 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 WikiMacros. When they are converted to the new style, they need to be placed into the plugins directory instead and not wiki-macros, which is no longer scanned for macros or plugins. |
55 | 54 | |
56 | 55 | === Restart the Web Server === |
… |
… |
|
60 | 59 | === parent dir === |
61 | 60 | If you use a trac parent env configuration and one of the plugins in one child does not work, none of the children work. |
| 61 | === some core modules won't load === |
| 62 | This can happen in particular with Python 2.3 on Windows when upgrading without uninstalling first. |
| 63 | Some modules were previously capitalized and were changed to lower case, e.g. trac/About.py became trac/about.py. You may find such messages in the Trac log: |
| 64 | {{{ |
| 65 | ERROR: Skipping "trac.about = trac.about": (can't import "No module named about") |
| 66 | }}} |
| 67 | Remove the `Lib/site-packages/trac` folder and reinstall. |
| 68 | === Wiki Upgrade === |
| 69 | `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. |
62 | 70 | |
63 | 71 | == Changing Database Backend == |