| 91 | |
| 92 | ==== Upgrading the environment |
| 93 | |
| 94 | Some plugins may require an environment upgrade. This will typically be necessary for plugins that implement `IEnvironmentSetupParticipant`. Common reasons for requiring an environment upgrade are to add tables to the database or add configuration parameters to trac.ini. A notification will be displayed when accessing Trac for the first time after installing a plugin and restarting the web server. To upgrade the environment, run the command: |
| 95 | |
| 96 | {{{#!sh |
| 97 | $ trac-admin /path/to/env upgrade |
| 98 | }}} |
| 99 | |
| 100 | A database backup will be made before upgrading the environment, unless the `--no-backup` option is specified. For more information, refer to the documentation output by `trac-admin /path/to/env help upgrade`. |