Bug Tracker

Changes between Version 3 and Version 4 of TracPlugins


Ignore:
Timestamp:
Apr 1, 2017, 7:33:42 PM (5 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracPlugins

    v3 v4  
    9999
    100100A 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`.
     101
     102==== Redeploying static resources
     103
     104If you [TracInstall#MappingStaticResources mapped static resources] so they are served by the web server, and the plugin contains static resources (CSS, !JavaScript and image files), the resources will need to be deployed to the location on the filesystem that is served by the web server.
     105
     106Execute the `deploy` command, as was done during install and [TracUpgrade#a5.Refreshstaticresources upgrade]:
     107
     108{{{#!sh
     109$ trac-admin /path/to/env deploy /deploy/path
     110}}}
     111
     112After executing the command, you must restart your web server.
     113
     114{{{#!div style="border: 1pt dotted; margin: 1em"
     115**Note:** Some web browsers (IE, Opera) cache CSS and Javascript files, so you should instruct your users to manually erase the contents of their browser's cache. A forced refreshed (SHIFT + <F5>) should be enough.
     116{{{#!comment
     117Remove above note once #9936 is fixed.
     118}}}
     119}}}
    101120
    102121==== Uninstalling