DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:cleanup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Both sides next revision
plugin:cleanup [2016-08-17 19:34]
2605:6000:1706:c04b:7836:49f0:3a28:41fc [Table]
plugin:cleanup [2020-08-05 10:32] (current)
LMS23
Line 7: Line 7:
 type       : action, helper, admin type       : action, helper, admin
 lastupdate : 2016-07-06 lastupdate : 2016-07-06
-compatible : weatherwax, binky, Hrun, Detritus+compatible : weatherwax, binky, Hrun, Detritus, Frusterick Manners, 2018-04-22 "Greebo", Hogfather
 depends    :  depends    : 
 conflicts  conflicts 
Line 21: Line 21:
 ---- ----
  
-[[http://www.cosmocode.de/en/open-source/dokuwiki-plugins/|{{ http://cosmocode.de/static/img/dokuwiki/dwplugins.png?recache|A CosmoCode Plugin}}]]+[[https://www.cosmocode.de/en/open-source/dokuwiki-plugins/|{{ http://cosmocode.de/static/img/dokuwiki/dwplugins.png?recache|A CosmoCode Plugin}}]]
  
 This plugin can automatically or manually search the data directory for old and possibly unused files and delete them to make space available again. This plugin can automatically or manually search the data directory for old and possibly unused files and delete them to make space available again.
Line 27: Line 27:
 ===== Installation ===== ===== Installation =====
  
-Install the plugin using the [[plugin:plugin|Plugin Manager]] and the download URL above, which points to latest version of the plugin. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
 ===== Usage ===== ===== Usage =====
  
-You can configure some times in the configuration manager. The actual work can be triggered from it'own admin page where you can preview the affected files and start the deletion process. The cleanup can be automated by activating it in the configuration.+You can configure some times in the configuration manager. The actual work can be triggered from its own admin page where you can preview the affected files and start the deletion process. The cleanup can be automated by activating it in the configuration.
  
 The following default ages are used in the plugin: The following default ages are used in the plugin:
  
-| cache files               1 month     +| cache files | 3 months 
-| old page revisions        | 2 months    +| old page revisions | 2 months | 
-| old media revisions       | 1 month     +| old media revisions | 1 month | 
-| orphaned page meta data   1 week      +| orphaned page meta data | 3 months 
-| orphaned media meta data  | 2 months    +| orphaned media meta data | 2 months | 
-| stale lock files          | 30 minutes  |+| stale lock files | 30 minutes |
  
 Please note: for cache files it is not possible to determine if a cache file is still in use. On systems where access times (atime) are available the configured time will be used to see when a cache file was last accessed. If atimes are not available the last modification date is used instead. This means it can happen that cache files get deleted that were still in use. However DokuWiki will simply recreate these files. Please note: for cache files it is not possible to determine if a cache file is still in use. On systems where access times (atime) are available the configured time will be used to see when a cache file was last accessed. If atimes are not available the last modification date is used instead. This means it can happen that cache files get deleted that were still in use. However DokuWiki will simply recreate these files.
Line 46: Line 46:
 On large wikis the search process may take a long time and might time out before finishing. The automated process can optionally be run from command line by running the provided ''cron.php'' script. On large wikis the search process may take a long time and might time out before finishing. The automated process can optionally be run from command line by running the provided ''cron.php'' script.
  
 +===== See also =====
  
 +  * [[tips:maintenance]]
plugin/cleanup.1471455261.txt.gz · Last modified: 2016-08-17 19:34 by 2605:6000:1706:c04b:7836:49f0:3a28:41fc