Trac is being migrated to new services! Issues can be found in our new
YouTrack instance and WIKI pages can be found on our
website.
- Timestamp:
-
Oct 26, 2014, 6:01:55 PM (9 years ago)
- Author:
-
trac
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v4
|
v5
|
|
15 | 15 | Get the new version as described in TracInstall, or your operating system specific procedure. |
16 | 16 | |
17 | | If you already have a 0.11 version of Trac installed via `easy_install`, it might be easiest to also use `easy_install` to upgrade your Trac installation: |
18 | | |
19 | | {{{ |
20 | | # easy_install --upgrade Trac==0.12 |
| 17 | If you already have a 0.12 version of Trac installed via `easy_install`, it might be easiest to also use `easy_install` to upgrade your Trac installation: |
| 18 | |
| 19 | {{{ |
| 20 | # easy_install --upgrade Trac==1.0 |
21 | 21 | }}} |
22 | 22 | |
… |
… |
|
74 | 74 | |
75 | 75 | === 6. Steps specific to a given Trac version === |
| 76 | |
76 | 77 | ==== Upgrading from Trac 0.12 to Trac 1.0 ==== #to1.0 |
77 | 78 | |
| 79 | ===== Python 2.4 no longer supported ===== |
| 80 | The minimum supported version of python is now 2.5 |
| 81 | |
| 82 | ===== Subversion components not enabled by default for new installations |
78 | 83 | The Trac components for Subversion support are no longer enabled by default. To enable the svn support, you need to make sure the `tracopt.versioncontrol.svn` components are enabled, for example by setting the following in the TracIni: |
79 | 84 | {{{ |
… |
… |
|
83 | 88 | The upgrade procedure should take care of this and change the TracIni appropriately, unless you already had the svn components explicitly disabled. |
84 | 89 | |
| 90 | |
| 91 | ===== Attachments migrated to new location |
85 | 92 | Another step in the automatic upgrade will change the way the attachments are stored. If you're a bit paranoid, you might want to take a backup of the `attachments` directory before upgrading (but if you are, you already did a full copy of the environment, no?). In case the `attachments` directory contains some files which are //not// attachments, the last step of the migration to the new layout will fail: the deletion of the now unused `attachments` directory can't be done if there are still files and folders in it. You may ignore this error, but better go have a look to these files, move them elsewhere and remove the `attachments` directory manually to cleanup the environment. The attachments themselves are now all located in your environment below the `files/attachments` directory. |
| 93 | |
| 94 | ===== Behavior of `[ticket] default_owner` changed |
| 95 | Prior to 1.0, the owner field of new tickets always defaulted to `[ticket] default_owner` when the value was not empty. If the value was empty, the owner field defaulted to to the Component's owner. In 1.0 and later, the `default_owner` must be set to `< default >` to make new tickets default to the Component's owner. This change allows the `default_owner` to be set to an empty value if no default owner is desired. |
86 | 96 | |
87 | 97 | |
… |
… |
|
104 | 114 | ===== Resynchronize the Trac Environment Against the Source Code Repository ===== |
105 | 115 | |
106 | | Each [TracEnvironment Trac environment] must be resynchronized against the source code repository in order to avoid errors such as "[http://trac.edgewall.org/ticket/6120 No changeset ??? in the repository]" while browsing the source through the Trac interface: |
| 116 | Each [TracEnvironment Trac environment] must be resynchronized against the source code repository in order to avoid errors such as "[trac:#6120 No changeset ??? in the repository]" while browsing the source through the Trac interface: |
107 | 117 | |
108 | 118 | {{{ |
… |
… |
|
183 | 193 | |
184 | 194 | === Changing Database Backend === |
185 | | ==== SQLite to PostgreSQL ==== |
186 | | |
187 | | The [http://trac-hacks.org/wiki/SqliteToPgScript sqlite2pg] script on [http://trac-hacks.org trac-hacks.org] has been written to assist in migrating a SQLite database to a PostgreSQL database |
| 195 | |
| 196 | The [http://trac-hacks.org/wiki/TracMigratePlugin TracMigratePlugin] on [http://trac-hacks.org trac-hacks.org] has been written to assist in migrating between SQLite, MySQL and PostgreSQL databases. |
188 | 197 | |
189 | 198 | === Upgrading from older versions of Trac === #OlderVersions |
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!