Solarium 5.0.2 is too old and has known issues. In order to get composer to upgrade solarium to a recent version a core patch or a workaround is required. Have a look at this Core issue and this Search API Solr issue.

Problem:

Solarium 5.0.2 is too old and has known issues. In order to get composer to upgrade solarium to a recent version a core patch or a workaround is required. Have a look at this Core issue and this Search API Solr issue.

Lösung:

composer require symfony/event-dispatcher:"4.3.4 as 3.4.99" && composer update

 

Comments

composer require symfony/event-dispatcher:"4.3.4 as 3.4.99"

 

Do not run Composer as root/super user! See https://getcomposer.org/root for details
./composer.json has been updated
Gathering patches for root package.
No patches supplied.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 1 update, 0 removals
Gathering patches for root package.
No patches supplied.
Gathering patches for dependencies. This might take a minute.
  - Installing symfony/event-dispatcher-contracts (v1.1.7): Downloading (100%)
  - Updating symfony/event-dispatcher (v3.4.36 => v4.3.4): Downloading (100%)
symfony/event-dispatcher-contracts suggests installing psr/event-dispatcher
Writing lock file
Generating autoload files



composer update

 

Do not run Composer as root/super user! See https://getcomposer.org/root for details
Gathering patches for root package.
No patches supplied.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 1 update, 5 removals
  - Removing symfony/var-exporter (v4.4.2)
  - Removing symfony/service-contracts (v1.1.8)
  - Removing symfony/cache-contracts (v1.1.7)
  - Removing symfony/cache (v4.3.9)
  - Removing psr/cache (1.0.1)
Gathering patches for root package.
No patches supplied.
Gathering patches for dependencies. This might take a minute.
  - Updating solarium/solarium (5.0.3 => 5.1.5): Downloading (100%)
Writing lock file
Generating autoload files



 

SolrCore Initialization Failures
site5: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load conf for core itlntk: Can't load schema /var/solr/data/site5/conf/schema.xml: Plugin init failure for [schema.xml] fieldType "collated_en": Error loading class 'solr.ICUCollationField'
Please check your logs for more information

Neuen Kommentar schreiben

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Suche

Neueste Kommentare

  • 20 hours ago
    Warning: Undefined array key "url" in Drupal\Core\Asset\CssCollectionOptimizerLazy->optimizeGroup()
    Warning: Undefined array key "url" in Drupal\Core\Asset\JsCollectionOptimizerLazy->optimizeGroup() 
  • 2 days 21 hours ago
    Server install & config : Debian 12 + Plesk + Apache + nginx + MariaDB + Solr
    sudo timedatectl set-timezone Europe/Berlin
  • 1 week 2 days ago
    Warning: PHP Startup: Unable to load dynamic library 'apcu.so' ... cannot open shared object file: No such file or directory

    Try this:

  • 3 weeks 1 day ago
    List Cronjobs for all users (via for + crontab)

    Alternative (without warnings like "no crontab for dovecot") to see all tasks:

  • 2 weeks 6 days ago
    Install APCu (PHP 8.1, Plesk)

    php 8.3 apcu failed

    über Plesk hat es geklappt.

     

  • 2 weeks 6 days ago
    Install APCu (PHP 8.1, Plesk)

     

    install:

    # sudo apt install php-dev
    
  • 2 weeks 6 days ago
    pecl install apcu : phpize: not found / ERROR: `phpize' failed

    phpize

    # sudo apt install php-dev
    

     

    details

  • 2 weeks 6 days ago
    Install APCu (PHP 8.1, Plesk)

    Problem:

  • 2 months 1 week ago
    Install APCu (PHP 8.1, Plesk)

    Problem:

  • 3 months 1 week ago
    Linux mv: das Verschieben von 'new' nach 'old' ist nicht möglich: Das Verzeichnis ist nicht leer

    Hilft "cp -avf old new && rm -rvf old" nicht?