---
title: "Upgrade"
manual: "Crawler"
version: "main"
permalink: "https://docs.typo3.org/permalink/tomasnorre/crawler:upgrade@main"
source: "Upgrade/Index.rst"
rendered: "2026-11-28T10:58:56+00:00"
---

# Upgrade {#upgrade}

## Message bus instead of the Crawler process handling {#upgrade-message-bus}

The Crawler no longer processes its queue with its own processes. Every URL
added to the queue is dispatched as a
`AOECrawlerQueueMessageCrawlUrlMessage` to the
[TYPO3 message bus](https://docs.typo3.org/m/typo3/reference-coreapi/14.3/en-us/ApiOverview/MessageBus/Index.html#message-bus)
and processed by a worker:

```bash
vendor/bin/typo3 messenger:consume crawler_high crawler crawler_low
```

See [Running the worker](https://docs.typo3.org/permalink/tomasnorre/crawler:with-crown@main) for how to keep the worker running.

The queue table `tx_crawler_queue` is kept: it holds the URLs to crawl and the
crawl results shown in the **Crawler log**.

### Migration {#migration}

1.  Run the database analyzer to remove the table `tx_crawler_process` and the
    columns `process_id`, `process_id_completed` and `process_scheduled` of
    `tx_crawler_queue`.
1.  Replace all `crawler:processQueue` cron-jobs and scheduler tasks with
    `messenger:consume crawler_high crawler crawler_low`.
1.  Pending queue entries created before the upgrade have no message on the
    message bus. Flush them with `vendor/bin/typo3 crawler:flushQueue pending`
    and build the queue again.

### Removed functionality {#removed-functionality}

-   The command `crawler:processQueue`. Use `messenger:consume crawler_high crawler crawler_low`.
-   The **Process** view of the backend module and the AJAX route
    `crawler_process_status`. Workers are managed outside of TYPO3, e.g. by
    systemd.
-   The table `tx_crawler_process` and the classes
    `AOECrawlerCrawler`,
    `AOECrawlerDomainModelProcess`,
    `AOECrawlerDomainModelProcessCollection`,
    `AOECrawlerDomainRepositoryProcessRepository`,
    `AOECrawlerServiceProcessService`,
    `AOECrawlerServiceBackendModuleLinkService`,
    `AOECrawlerProcess*`,
    `AOECrawlerHelperSleeper*`,
    `AOECrawlerHooksProcessCleanUpHook`,
    `AOECrawlerHooksCrawlerHookInterface`,
    `AOECrawlerUtilityHookUtility` and
    `AOECrawlerEventListenerAfterQueueItemAddedEventListener`.
-   The unused classes `AOECrawlerDomainModelConfiguration`,
    `AOECrawlerDomainModelQueue`, `AOECrawlerValueCrawlAction`,
    `AOECrawlerExceptionCrawlerObjectException` and
    `AOECrawlerExceptionTimeStampException`, and the deprecated method
    `CrawlerController::drawURLs_PIfilter()`, use
    `ProcessInstructionService::isAllowed()` instead.
-   The hooks `$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['crawler']['cli_hooks']`
    and `$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['crawler']['refresh_hooks']`.
-   The methods `CrawlerController::readUrl()` and
    `CrawlerController::readUrlFromArray()`, as well as the property
    `CrawlerController::$processID`. Dispatch a
    `AOECrawlerQueueMessageCrawlUrlMessage` instead.
-   The extension settings `sleepTime`, `sleepAfterFinish`, `countInARun`,
    `processLimit`, `processMaxRunTime`, `purgeQueueDays`, `processDebug` and
    `processVerbose`. Use the options of `messenger:consume` (`--limit`,
    `--time-limit`, `--memory-limit`) and run several workers to process
    entries in parallel. Old processed entries are still removed by
    `cleanUpOldQueueEntries`.

### Changed functionality {#changed-functionality}

-   [Priority Crawling](https://docs.typo3.org/permalink/tomasnorre/crawler:priority-crawling@main) is done with three transports, `crawler_high`,
    `crawler` and `crawler_low`, instead of sorting the queue. A worker must
    consume them in that order: `messenger:consume crawler_high crawler crawler_low`.
-   The result of a crawl is stored by the message handler, after the event
    `AOECrawlerEventAfterQueueItemAddedEvent` has been dispatched. Listeners
    can still modify the stored fields with `setFieldArray()`.
-   Re-crawling an entry from the **Crawler log** dispatches a message,
    the result is visible once the worker has processed it.

## Queue callbacks implement an interface {#upgrade-queue-callbacks}

Callbacks in the queue implement `AOECrawlerQueueInterfaceQueueCallbackInterface`
instead of a `crawler_execute()` method, and no longer receive the
`CrawlerController`. Callbacks that are services get their dependencies by
constructor injection instead.

### Migration {#migration-1}

1.  Implement `QueueCallbackInterface` and rename `crawler_execute()` to
    `execute()`:

    ```diff
    -class MyCallback
    +final class MyCallback implements \AOE\Crawler\Queue\Interface\QueueCallbackInterface
     {
    -    public function crawler_execute(array $parameters, CrawlerController $crawlerController)
    +    public function execute(array $parameters): mixed
    ```
1.  Add queue entries with `QueueEntryWriter::addCallback()`, the replacement
    of the removed `CrawlerController::addQueueEntry_callBack()`.

See [Queue callbacks](https://docs.typo3.org/permalink/tomasnorre/crawler:queue-callbacks@main).

## Translations are delivered as language packs {#upgrade-language-packs}

The extension no longer ships translated XLIFF files, only the English labels.
The translations are maintained on
[Crowdin](https://crowdin.com/project/typo3-extension-crawler) and
delivered by the TYPO3 translation server as language packs, like the
translations of the TYPO3 Core.

Without language packs, the backend module and the Crawler labels are shown
in English. Fetch or update the language packs after installing or updating
the extension, either in the backend module
**System > Maintenance > Manage Language Packs**, or on the command
line:

```bash
vendor/bin/typo3 language:update
```

See [Managing translations](https://docs.typo3.org/m/typo3/reference-coreapi/14.3/en-us/ApiOverview/Localization/ManagingTranslations.html#managing-translating)
for details.

Missing or wrong translations can be fixed on Crowdin, they are part of the
next language pack.
