Manually start Solr server in docker (wodby)

If you have problem issue with your Solr server like it was not connected to your site, you might need to manually start your Solr server.

First, you need to login to your Solr docker container:

make shell solr

Check the status first. Inside the Solr container, run:

solr status

If you see something like this:

neither jattach nor jstack in /opt/java/openjdk could be found, so no thread dumps are possible. Continuing.

No Solr nodes are running.

It means your Solr is not running.

You can then proceed to start the Solr server by running:

solr start

If you see this message:

neither jattach nor jstack in /opt/java/openjdk could be found, so no thread dumps are possible. Continuing.
Waiting up to 180 seconds to see Solr running on port 8983 [\]  
Started Solr server on port 8983 (pid=131). Happy searching!

It means your Solr server is up and running.

Next step is to create a Solr core (Optional if your Solr core is not yet created).

The command below will create a core with specific configuration.

solr create_core -c [core-name] -d /opt/solr/server/solr/configsets/search_api_solr_4.2.0/conf/

 

And that's it!

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.