Introduction

Target group: Administrators

What does it do?

This extension provides the possibility to implement cleanup services in your TYPO3 installation.

It provides the following features:

  • backend module to run services
  • history module to take a look on previous runs
  • info module with extended information about every service
  • toolbar to run services in dry-run mode
  • scheduler task
  • preview renderer to run cleanFlexFormsService
  • afterDatabaseOperations hook to run cleanFlexFormsService
  • dashboard widget with dry run results of all configured services

Cleanup services are registered in ext_localconf.php via CReifenscheidCleanupToolsUtilityConfigurationManagementUtility. Therefor it is possible to extend the extension with your own services easily.

Currently available services

CleanFlexFormsService

Service

CleanFlexFormsService

Description

Checks if TCA records with a FlexForm includes values that don’t match the connected FlexForm value

Source

\TYPO3\CMS\Lowlevel\Command\CleanFlexFormsCommand::class

DeletedRecordsService

Service

DeletedRecordsService

Description

Force-deletes all records in the database which have a deleted=1 flag

Source

\TYPO3\CMS\Lowlevel\CommandDeletedRecordsCommand::class

FilesWithMultipleReferencesService

Service

FilesWithMultipleReferencesService

Description

Finds files within uploads/ which are used multiple times by relations within the database

Source

\TYPO3\CMS\Lowlevel\CommandFilesWithMultipleReferencesCommand::class

LostFilesService

Service

LostFilesService

Description

Finds files within uploads/ which are not needed anymore

Source

\TYPO3\CMS\Lowlevel\CommandLostFilesCommand::class

MissingFilesService

Service

MissingFilesService

Description

Find all file references from records pointing to a missing (non-existing) file

Source

\TYPO3\CMS\Lowlevel\CommandMissingFilesCommand::class

MissingRelationsService

Service

MissingRelationsService

Description

Find all record references pointing to a non-existing record

Source

\TYPO3\CMS\Lowlevel\CommandMissingRelationsCommand::class

OrphanRecordsService

Service

OrphanRecordsService

Description

Finds (and fixes) all records that have an invalid / deleted page ID

Source

\TYPO3\CMS\Lowlevel\CommandOrphanRecordsCommand::class