Administrator Manual

Installation

Composer Mode

It is highly recommended to install this extension by using composer. This is the only supported way.

Please run the following commands in your webroot where the TYPO3 composer.json is located:

  1. Fetch Kitodo.Presentation with Composer

    composer require kitodo/presentation:^3.3
    
  2. Install and Activate the Extension

    ./vendor/typo3 extension:activate dlf
    

Classic Mode

However, there are two options to install the required packages solarium/solarium and symfony/event-dispatcher in non-composer mode:

  1. Run the command composer update within the directory of the extension. All required packages are downloaded automatically to the vendor subdirectory.
  2. Download the required packages manually to vendor/solarium/solarium and vendor/symfony/event-dispatcher. Please check the require sections in composer.json of the extension, solarium and event-dispatcher to download and install matching versions.

After the installation of the packages in non-composer mode you have to deactivate and (re-)activate the extension in the extension manager to trigger the TYPO3 autoloader to rebuild the classmap.

Upgrade

This section contains version specific instructions on upgrading an existing Kitodo.Presentation installation.

Version 3.2 -> 3.3

Version 3.3 introduce the usage of the OCR Highlighting Plugin for Solr. The plugin can be found at GitHub: https://github.com/dbmdz/solr-ocrhighlighting. This plugin is now mandatory if you are using the full texts feature.

Please note: The full text is stored in Solr index in a XML format (MiniOCR). This will rise the demand for storage space. You should therefore monitor the disc usage during reindexing.

Steps to Upgrade

  1. Get the latest release (“jar”-file) from https://github.com/dbmdz/solr-ocrhighlighting/releases. Version 0.7.1 is the minimum version number.
  2. Copy the jar-file (e.g. “solr-ocrhighlighting-0.7.1.jar”) to the contrib/ocrsearch/lib/ directory of your Solr.
  3. Copy the updated schema.xml to your Solr configsets in $SOLR_HOME/configsets/dlf/
  4. Copy the schema.xml from EXT:dlf/Configuration/ApacheSolr/configsets/dlf/conf/ to all of your Solr cores. E.g. $SOLR_HOME/data/dlfCore0/conf/
  5. Restart Solr.
  6. Reindex all documents. This can be done by the kitodo:reindex CLI command with the ‘-a’ (all) flag. See: Reindex collections.

Logging

The application uses default TYPO3 logging framework. It writes logs to the typo3_xyz.log file placed in <project-root>/var/log/ (Composer based installation).

You influence the Loglevel by overwriting the writerConfiguration in $GLOBALS['TYPO3_CONF_VARS']['LOG']['writerConfiguration']. Have a look at the documentation: https://docs.typo3.org/m/typo3/reference-coreapi/9.5/en-us/ApiOverview/Logging/Configuration/Index.html#writer-configuration