Solr Connector Standard and Ubuntu server. Couldn't index items.

Created on 23 October 2024, 7 months ago

Setup

  • Solr version: 8.11.4
  • Drupal Core version: 10.3
  • Search API version: 8.x-1.35
  • Search API Solr version: 4.3.5
  • Configured Solr Connector: Standard

Issue

I installed solr version 8x on the server

wget https://archive.apache.org/dist/lucene/solr/8.11.4/solr-8.11.4.tgz
tar xzf solr-8.11.4.tgz
cd solr-8.11.4
sudo ./bin/install_solr_service.sh ../solr-8.11.4.tgz

And created the core

sudo su - solr
/opt/solr/bin/solr create -c basecore

Created a search index in Search API

Solr Connector Standard
HTTP protocol http
Solr host localhost
Solr port 8983
Solr path /
Solr core basecore

Copied the files to the Solr core

Using the Get config.zip link I received the archive solr_8.x_config.zip and unpacked it into /tmp/solr_config
Copied and installed permissions:

sudo cp -r /tmp/solr_config/* /var/solr/data/basecore/conf/
sudo cp -r /var/www/sitename.com/web/modules/contrib/search_api_solr/solr-conf-templates/8.x/* /var/solr/data/basecore/conf/
sudo chown -R solr:solr /var/solr/data/basecore/conf/

Restarted Solr:
sudo systemctl restart solr

As a result, when indexing it writes:

Couldn't index items. Check the logs for details.

What did I do wrong?

πŸ’¬ Support request
Status

Active

Version

4.3

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡¦Ukraine vasyok

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @vasyok
  • πŸ‡©πŸ‡ͺGermany mkalkbrenner πŸ‡©πŸ‡ͺ

    Why don't you follow our instructions?

    Two essential errors:
    You created a core using the default schema, not the drupal schema.
    You tried to use the templates, which aren't a config-set, but the templates to create a config-set.

    Follow the README!

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024