Free cookie consent management tool by TermsFeed Policy Generator

Changes between Version 2 and Version 3 of TracUpgrade


Ignore:
Timestamp:
08/22/11 13:23:41 (13 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracUpgrade

    v2 v3  
    44== Instructions ==
    55
    6 Typically, there are five steps involved in upgrading to a newer version of Trac:
     6Typically, there are seven steps involved in upgrading to a newer version of Trac:
    77
    88=== 1. Update the Trac Code === #UpdatetheTracCode
     
    1313
    1414{{{
    15 # easy_install --upgrade Trac=0.12beta1
     15# easy_install --upgrade Trac==0.12b1
    1616}}}
    1717(once beta1 is released, that is)
     
    6060
    6161{{{
    62 trac-admin /path/to/projenv resync
     62trac-admin /path/to/projenv repository resync '*'
    6363}}}
    6464
    65 === 5. Steps specific to a given Trac version  ===
     65=== 5. Refresh static resources ===
     66
     67If you've setup web server to give out static resources directly (accessed using /chrome/ URL) then you need to refresh them using the same command:
     68{{{
     69trac-admin /path/to/env deploy /deploy/path
     70}}}
     71this will extract static resources and CGI scripts (trac.wsgi, etc) from new Trac version and its plugins into `/deploy/path`.
     72
     73Some web browsers cache the CSS and Javascript file in a strong way, so you'll perhaps need to refresh the cache of the browsers by a force reload (and tell your users to do so!).
     74
     75=== 6. Steps specific to a given Trac version  ===
    6676==== Upgrading from Trac 0.11 to Trac 0.12 ====
    6777===== Python 2.3 no longer supported =====
     
    103113If you had the webadmin plugin installed, you can uninstall it as it is part of the Trac code base since 0.11.
    104114
    105 === 6. Restart the Web Server === #RestarttheWebServer
     115=== 7. Restart the Web Server === #RestarttheWebServer
    106116
    107117If you are not running [wiki:TracCgi CGI], reload the new Trac code by restarting your web server.