Ticket #7082 (closed enhancement: wontfix)
[PATCH] Enable environments to attempt to upgrade automatically
| Reported by: | Dave Gynn <dgynn@…> | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | devel |
| Severity: | normal | Keywords: | patch |
| Cc: | osimons |
Description
Enabling new plugins that require upgrade_environment to be run blocks the environment from being accessible. The attached patch allows the plugins to attempt the upgrade if a new auto_upgrade config option is true. Assuming all goes well, the environment is accessible without needing to run trac-admin from the command line. If the upgrade fails, the user is shown the normal Trac Error.
The auto_upgrade option is false by default and should only be enabled in setups where admins can ensure that upgrades will work when run from the server (such as file system permissions).


