Changes between Initial Version and Version 1 of Ticket #12696, comment 5


Ignore:
Timestamp:
Mar 20, 2016, 2:47:53 AM (8 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12696, comment 5

    initial v1  
    1 My finding was that the plugin tables were not being migrated even after the latest patch. It took me a while to track down why, but I think I have an explanation.
     1I found that the plugin tables were not being migrated even after the latest patch. It took me a while to track down why, but I think I have an explanation.
    22
    33Plugins are [trac:browser:tags/trac-1.0.10/trac/loader.py@:72,73#L36 auto-enabled] if their location is the [trac:browser:tags/trac-1.0.10/trac/loader.py@:114#L105 Environment plugins directory]. If migrating from $env1 to $env2, or even for an in-place migration in which $env2 will be an environment in the temp directory, the plugin will be loaded into memory from location $env1/plugins. The location won't match $env2/plugins so the plugin won't be auto-enabled in the destination environment.