Changes between Version 4 and Version 5 of 0.12/TracUpgrade
- Timestamp:
- Mar 24, 2010, 6:01:54 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
0.12/TracUpgrade
v4 v5 9 9 10 10 Get the new version as described in TracInstall, or your operating system specific procedure. 11 12 {{{#!div style="background:#efe" 13 Rewrite / Remove: Do we keep this? Should the number be changed to 0.12? Or should it be moved to TracInstall? 14 }}} 11 15 12 16 If you installed a recent 0.11 version of Trac via {{{easy_install}}}, it might be the easiest to use it also to upgrade you Trac installation. … … 28 32 This cleanup is not mandatory, but it makes it easier to troubleshoot issues later on, as you won't waste your time looking at code or templates from a previous release that are not being used anymore... As usual, make a backup before actually deleting things. 29 33 30 If you had the webadmin plugin installed, you can now uninstall it as it is now part of the Trac code base.31 32 34 === 2. Upgrade the Trac Environment === #UpgradetheTracEnvironment 33 35 … … 46 48 trac-admin /path/to/projenv upgrade --no-backup 47 49 }}} 48 49 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.50 50 51 51 === 3. Update the Trac Documentation === #UpdatetheTracDocumentation … … 68 68 === 5. Steps specific to a given Trac version === 69 69 ==== Upgrading to Trac 0.12 ==== 70 ===== Python 2.3 no longer supported ===== 71 The minimum supported version of python is now 2.4 72 73 ===== SQLite v3.x required ===== 70 74 SQLite v2.x is no longer supported, if you happen to still use a Trac database using this format, you'll need to convert it to SQLite v3.x first. See [trac:PySqlite#UpgradingSQLitefrom2.xto3.x] for details. 71 75 76 ===== Multiple Repository Support ===== 72 77 If you plan to add more repositories to your Trac instance, as this is now possible with the newly introduced multiple repository support, please refer to TracRepositoryAdmin#Migration. 73 78 … … 75 80 76 81 ==== Upgrading to Trac 0.11 ==== 77 ===== Site Templates ===== 78 The templating engine has changed in 0.11, please look at TracInterfaceCustomization for more information. 82 ===== Site Templates and Styles ===== 83 The templating engine has changed in 0.11 to Genshi, please look at TracInterfaceCustomization for more information. 84 85 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. 79 86 80 87 ===== Trac Macros, Plugins ===== … … 89 96 This will create a deploy directory with the following two subdirectories: `cgi-bin` and `htdocs`. Then update your Apache configuration file `httpd.conf` with this new `trac.cgi` location and `htdocs` location. 90 97 98 ===== Web Admin plugin integrated ===== 99 If you had the webadmin plugin installed, you can uninstall it as it is part of the Trac code base since 0.11. 100 91 101 === 6. Restart the Web Server === #RestarttheWebServer 92 102 … … 99 109 100 110 === some core modules won't load === 111 {{{#!div style="background:#efe" 112 To be removed? As Python 2.3 is no longer supported does it mean that this issue no longer happens? 113 }}} 114 101 115 This can happen in particular with Python 2.3 on Windows when upgrading without uninstalling first. 102 116 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: … … 117 131 == Older Versions == 118 132 119 For upgrades from versions older than Trac 0.1 0, refer first to trac:wiki:0.10/TracUpgrade.133 For upgrades from versions older than Trac 0.11, refer first to trac:wiki:0.11/TracUpgrade. 120 134 135 {{{#!div style="background:#efe" 136 Will this also apply to 0.12 -> 0.11 137 }}} 121 138 Note that downgrading from Trac 0.11 to Trac 0.10.4 or 0.10.5 is easy, but has to be done manually, e.g. 122 139 {{{