Changes between Version 2 and Version 3 of TracUpgrade


Ignore:
Timestamp:
Dec 12, 2010, 12:08:16 PM (10 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracUpgrade

    v2 v3  
    66Environment upgrades are not necessary for minor version releases unless otherwise noted.
    77
    8 
    98== Instructions ==
    109
     
    1312=== Update the Trac Code ===
    1413
    15 Get the new version as described in TracInstall, or your operation system specific procedure.
     14Get the new version as described in TracInstall, or your operating system specific procedure.
    1615
    1716If 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.
     
    2423You 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).
    2524
    26 > If you had the webadmin plugin installed, you can now uninstall it as it is now part of the Trac code base.
    27 
     25If you had the webadmin plugin installed, you can now uninstall it as it is now part of the Trac code base.
    2826
    2927=== Upgrade the Trac Environment ===
     
    4139}}}
    4240
     41If 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
    4343=== Update the Trac Documentation ===
    4444
     
    5151
    5252=== 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 
     53The 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.
    5554
    5655=== Restart the Web Server ===
     
    6059=== parent dir ===
    6160If 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 ===
     62This can happen in particular with Python 2.3 on Windows when upgrading without uninstalling first.
     63Some 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{{{
     65ERROR: Skipping "trac.about = trac.about": (can't import "No module named about")
     66}}}
     67Remove 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.
    6270
    6371== Changing Database Backend ==