Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on clean when bin is missing says solr still running #83

Open
atz opened this issue Oct 31, 2016 · 2 comments · May be fixed by #104
Open

Error on clean when bin is missing says solr still running #83

atz opened this issue Oct 31, 2016 · 2 comments · May be fixed by #104

Comments

@atz
Copy link

atz commented Oct 31, 2016

Run solr_wrapper clean twice. The first was successful. The error message on the second run was:

Please stop solr before cleaning

Of course, by that point no solr is running (or even installed) so that is unhelpful.

@atz
Copy link
Author

atz commented May 3, 2017

Same problem today on already clean instance. The message is counter-productive. If there is no solr running and no solr even downloaded, let alone installed, it should not be talking about a solr presumed to be running.

$ ps -ef |grep solr
  503 34521   529   0  4:34PM ttys002    0:00.00 grep solr
$ be solr_wrapper clean
Please stop solr before cleaning
$ be solr_wrapper dir
/var/folders/6q/13dm9dcn1qx_gw9x66lhl7jc0000gq/T/solr-6.5.1
$ ls -l /var/folders/6q/13dm9dcn1qx_gw9x66lhl7jc0000gq/T/solr-6.5.1
ls: /var/folders/6q/13dm9dcn1qx_gw9x66lhl7jc0000gq/T/solr-6.5.1: No such file or directory

@jcoyne
Copy link
Collaborator

jcoyne commented May 4, 2017

@atz is it possible your config is managed?

return true unless config.managed?

@dazza-codes dazza-codes linked a pull request May 10, 2017 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants