Changes between Version 1 and Version 2 of TracUpgrade
- Timestamp:
- Jan 30, 2006, 11:09:12 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracUpgrade
v1 v2 30 30 }}} 31 31 32 This command will do nothing if the environment is already up-to-date. [[BR]] 32 This command will do nothing if the environment is already up-to-date. 33 34 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: 35 {{{ 36 trac-admin /path/to/projenv upgrade --no-backup 37 }}} 33 38 34 39 === Update the Trac Documentation === … … 43 48 === Restart the Web Server === 44 49 45 In order to reload the new Trac code you will need to restart your web server (note this is not necessary for plain old CGI, although CGI is discouraged for performance reasons).50 In order to reload the new Trac code you will need to restart your web server (note this is not necessary for [wiki:TracCgi CGI]). 46 51 47 52 == Specific Versions == … … 49 54 The following sections discuss any extra actions that may need to be taken to upgrade to specific versions of Trac. 50 55 56 == From 0.9-beta to 0.9 == 57 58 If inclusion of the static resources (style sheets, javascript, images) is not working, check the value of the `htdocs_location` in trac.ini. For [wiki:TracModPython mod_python], [wiki:TracStandalone Tracd] and [wiki:TracFastCgi FastCGI], you can simply remove the option altogether. For [wiki:TracCgi CGI], you should fix it to point to the URL you mapped the Trac `htdocs` directory to (although you can also remove it and then [wiki:TracCgi#MappingStaticResources map the static resources]). If you're still having problems after removing the option, check the paths in the `trac/siteconfig.py` file and fix them if they're incorrect. 59 60 If you've been using plugins with a beta release of Trac 0.9, or have disabled some of the built-in components, you might have to update the rules for disabling/enabling components in [wiki:TracIni trac.ini]. In particular, globally installed plugins now need to be enabled explicitly. See TracPlugins and TracIni for more information. 61 62 If you want to enable the display of all ticket changes in the timeline (the “Ticket Details” option), you now have to explicitly enable that in [wiki:TracIni trac.ini], too: 63 64 {{{ 65 [timeline] 66 ticket_show_details = true 67 }}} 68 51 69 == From 0.8.x to 0.9 == 52 53 If you're using [wiki:TracCgi CGI] you will want to update your `Alias` to the Trac htdocs static resources. See the documentation on [wiki:TracCgi#MappingStaticResources mapping static resources] for an example on how to configure this.54 55 [wiki:TracFastCgi FastCGI] and [wiki:TracModPython mod_python] users can safely remove any `Alias`es to the Trac htdocs folder since this is no longer used by default.56 70 57 71 [wiki:TracModPython mod_python] users will also need to change the name of the mod_python handler in the Apache HTTPD configuration: