Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

contentcheck.ini [StorageSettings]

The settings of [StorageSettings] in contentcheck.ini: ScanDirectoryList, IgnorePathList, ScanBatchSize, StepSeconds, MaxListed, MinAge, ExpectedOwner, FileMode ...

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/contentcheck/StorageSettings.md

On this page

contentcheck.ini [StorageSettings]

The block [StorageSettings] of settings/contentcheck.ini, with 10 setting(s).

Never edit settings/contentcheck.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/contentcheck.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/contentcheck.ini.append.php for one siteaccess,
  • extension/<extension>/settings/contentcheck.ini.append.php in an extension (read when the extension is active).

ScanDirectoryList

The storage files (doc/eng-us/features/6.0/content-checks.md, "Storage files"): files below
var/<site>/storage that no content uses, and the file-system problems of those it uses.
The directories below the storage that are scanned

Default: a list of 3: images, images-versioned, original.

<?php /* #?ini charset="utf-8"?
# settings/override/contentcheck.ini.append.php
[StorageSettings]
# an empty "ScanDirectoryList[]" first replaces the shipped list; without it the items are added
ScanDirectoryList[]
ScanDirectoryList[]=images
ScanDirectoryList[]=images-versioned
ScanDirectoryList[]=original
*/ ?>

IgnorePathList

Paths below the storage that are never listed (prefixes): caches other code keeps there

Default: a list of 1: images/_video-thumbnails.

<?php /* #?ini charset="utf-8"?
# settings/override/contentcheck.ini.append.php
[StorageSettings]
# an empty "IgnorePathList[]" first replaces the shipped list; without it the items are added
IgnorePathList[]
IgnorePathList[]=images/_video-thumbnails
*/ ?>

ScanBatchSize

Files read in one step of the scan (50 to 50000), and how long a step in the browser may
take before it stops at the end of a batch (seconds, 1 to 25); the CLI runs the whole scan

Default: 2000.

<?php /* #?ini charset="utf-8"?
# settings/override/contentcheck.ini.append.php
[StorageSettings]
ScanBatchSize=2000
*/ ?>

StepSeconds

Default: 4.

<?php /* #?ini charset="utf-8"?
# settings/override/contentcheck.ini.append.php
[StorageSettings]
StepSeconds=4
*/ ?>

MaxListed

Orphans and problems kept in the result of a scan (100 to 100000); the totals count on

Default: 5000.

<?php /* #?ini charset="utf-8"?
# settings/override/contentcheck.ini.append.php
[StorageSettings]
MaxListed=5000
*/ ?>

MinAge

A file younger than this (seconds) is never an orphan: an upload writes the file before
its row in the database

Default: 86400.

<?php /* #?ini charset="utf-8"?
# settings/override/contentcheck.ini.append.php
[StorageSettings]
MinAge=86400
*/ ?>

ExpectedOwner

The owner every used file should have: a user name or id; empty: the owner of the storage
directory. The mode every used file should have at least (octal); empty: site.ini
[FileSettings] StorageFilePermissions

Default: empty.

<?php /* #?ini charset="utf-8"?
# settings/override/contentcheck.ini.append.php
[StorageSettings]
ExpectedOwner=
*/ ?>

FileMode

Default: empty.

<?php /* #?ini charset="utf-8"?
# settings/override/contentcheck.ini.append.php
[StorageSettings]
FileMode=
*/ ?>

QuarantineDirectory

Where orphans are moved: var/<site>/<QuarantineDirectory>/<date>/<path below the storage>

Default: storage-quarantine.

<?php /* #?ini charset="utf-8"?
# settings/override/contentcheck.ini.append.php
[StorageSettings]
QuarantineDirectory=storage-quarantine
*/ ?>

MaxActionBatch

At most this many files are taken from one confirmation (1 to 1000)

Default: 200.

<?php /* #?ini charset="utf-8"?
# settings/override/contentcheck.ini.append.php
[StorageSettings]
MaxActionBatch=200
*/ ?>

Generated by ./console exp:help:examples from settings/contentcheck.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x