Git Product home page Git Product logo

Comments (8)

geerlingguy avatar geerlingguy commented on July 21, 2024 1

Aha! I just realized that 5.3.1 installs that file inside of the $SOLR_VAR_DIR, instead of the default /etc/default directory: https://github.com/apache/lucene-solr/blob/releases/lucene-solr/5.3.1/solr/bin/install_solr_service.sh#L235

Is it possible for you to use Solr 5.5.3 (or another 5.5.x version) instead?

from ansible-role-solr.

geerlingguy avatar geerlingguy commented on July 21, 2024

To add a little background from that linked issue:

[vagrant@staff drupalroot]$ sudo find / -name solr.in.sh -type f
/etc/default/solr.in.sh
/root/solr-5.3.1/bin/solr.in.sh
/var/solr/solr.in.sh
/opt/solr-5.3.1/bin/solr.in.sh

We only point to /etc/solr.in.sh, but for RedHat it looks like the file is installed inside /etc/default/solr.in.sh instead.

from ansible-role-solr.

cdmo avatar cdmo commented on July 21, 2024

Thanks again @geerlingguy. Let me know if I can help any more with this!

from ansible-role-solr.

geerlingguy avatar geerlingguy commented on July 21, 2024

@cdmo - Hmm... For Solr 6.x, I see that the file is always created at /etc/default/solr.in.sh

I wonder if the 5.x installation is different for RHEL (or even for Ubuntu)... I'll have to retest the role locally a few different ways.

I can't get the error to reproduce when testing locally with 6.3.0.

from ansible-role-solr.

geerlingguy avatar geerlingguy commented on July 21, 2024

Also, the installer at 5.5.x installs the file directly to /etc/default (the path we have set up in the role): https://github.com/apache/lucene-solr/blob/branch_5_5/solr/bin/install_solr_service.sh#L283

@cdmo - Are you running the latest version of Drupal VM?

from ansible-role-solr.

geerlingguy avatar geerlingguy commented on July 21, 2024

I also can't get this to reproduce on an Ubuntu box. Downgrading to Vagrant 1.8.6 to try again on a CentOS box...

from ansible-role-solr.

geerlingguy avatar geerlingguy commented on July 21, 2024

Since I can confirm this is working correctly with the defaults starting in 5.5.x (and possibly 5.4.x, haven't verified when), and it works the same in 6.x, I'm going to leave as-is and recommend upgrading Solr if using 5.3.x or earlier.

from ansible-role-solr.

cdmo avatar cdmo commented on July 21, 2024

Okie doke, no problem. I'll use 5.5.3. I was using 5.3.1 just to mirror what we have in our production environment. For dev purposes this is okay I think. Maybe I'll chat with our systems administrator about why we're using the version we're using. Thanks for taking a look.

from ansible-role-solr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.