# Changes between Version 4 and Version 5 of TracUpgrade

Ignore:
Timestamp:
Apr 18, 2013 10:02:31 AM (9 years ago)
Comment:

--

### Legend:

Unmodified
 v4 = Upgrade Instructions = [[TracGuideToc]] [[PageOutline(2-3,,inline,unnumbered)]] [[PageOutline(2-4,,inline,unnumbered)]] == Instructions == === 6. Steps specific to a given Trac version  === ==== Upgrading from Trac 0.12 to Trac 1.0 ==== #to1.0 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: {{{ [components] tracopt.versioncontrol.svn.* = enabled }}} The upgrade procedure should take care of this and change the TracIni appropriately, unless you already had the svn components explicitly disabled. 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. ==== Upgrading from Trac 0.11 to Trac 0.12 ==== While you can keep the same synchronization as in 0.11 adding the post-commit hook as outlined in TracRepositoryAdmin#Synchronization and TracRepositoryAdmin#ExplicitSync will allow more efficient synchronization and is more or less required for multiple repositories. Note that if you were using the trac-post-commit-hook, ''you're strongly advised to upgrade it'' to the new hook documented in the above references, as the old hook will not work with anything else than the default repository and even for this case, it won't trigger the appropriate notifications. Note that if you were using the trac-post-commit-hook, ''you're strongly advised to upgrade it'' to the new hook documented in the above references and [TracWorkflow#Howtocombinethetracopt.ticket.commit_updaterwiththetestingworkflow here], as the old hook will not work with anything else than the default repository and even for this case, it won't trigger the appropriate notifications. ===== Authz permission checking =====