Changes between Version 9 and Version 10 of TracUpgrade
- Timestamp:
- 14/06/2017 12:47:29 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracUpgrade
v9 v10 20 20 21 21 {{{#!sh 22 easy_install --upgrade Trac ==1.222 easy_install --upgrade Trac 23 23 }}} 24 24 … … 42 42 This command will not have any effect if the environment is already up-to-date. 43 43 44 Note that a backup of your database will be performed automatically prior to the upgrade. 45 This feature is relatively new for PostgreSQL or MySQL databases, so if it fails, you will have to backup the database manually. Then, to perform the actual upgrade: 46 {{{#!sh 47 trac-admin /path/to/projenv upgrade --no-backup 48 }}} 44 Note that a backup of your database will be performed automatically prior to the upgrade. The backup will be saved in the location specified by `[trac]` `backup_dir`. 49 45 50 46 === 4. Update the Trac Documentation === #UpdatetheTracDocumentation … … 59 55 === 5. Refresh static resources 60 56 61 If you have set up a web server to give out static resources directly (accessed using the `/chrome/` URL) then you will need to refresh them using the same command:57 If you have configured your web server to serve static resources directly (accessed using the `/chrome/` URL) then you will need to refresh them using the [TracInstall#MappingStaticResources same command]: 62 58 {{{#!sh 63 59 trac-admin /path/to/env deploy /deploy/path 64 60 }}} 65 61 66 This will extract static resources and CGI scripts (`trac.wsgi`, etc) from new Trac version and its plugins into `/deploy/path`. 67 68 Some web browsers (IE, Opera) cache CSS and Javascript files aggressively, so you may need to instruct your users to manually erase the contents of their browser's cache, a forced refreshed (`<F5>`) should be enough. 62 This will extract static resources and CGI scripts (`trac.wsgi`, etc) from the new Trac version and plugins into `/deploy/path`. 63 64 {{{#!div style="border: 1pt dotted; margin: 1em" 65 **Note:** Some web browsers (IE, Opera) cache CSS and Javascript files, so you should instruct your users to manually erase the contents of their browser's cache. A forced refreshed (SHIFT + <F5>) should be enough. 69 66 {{{#!comment 70 67 Remove above note once #9936 is fixed. 68 }}} 71 69 }}} 72 70 … … 94 92 ===== New workflow actions #NewWorkflowActions 95 93 96 The ticket creation step is controlled with a workflow action. The default workflow has `create` and `create_and_assign` actions. The `create` action will always be added when upgrading the database. The `create_and_assign` action will be added if the workflow has an //assigned// state. You may want to edit your workflow after upgrading the database to customize the actions available on the //New Ticket// page.94 The ticket creation step is controlled with a [TracWorkflow#TicketCreateAction workflow action]. The default workflow has `create` and `create_and_assign` actions. The `create` action will always be added when upgrading the database. The `create_and_assign` action will be added if the workflow has an //assigned// state. You may want to edit your workflow after upgrading the database to customize the actions available on the //New Ticket// page. 97 95 98 96 ===== New permissions policy for read-only wiki pages