-
Notifications
You must be signed in to change notification settings - Fork 920
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
solr server won't start with 2.1.0 #566
Comments
I anticipated that this was a Java-related issue and indeed it is. I reviewed the output of ...
and found that
I tried rerunning the java command and manually setting Thanks to the following link for pointing me in the right direction. |
So I managed to get past this issue by editing the gem file
with
Now, while this does seem to work, I have multiple apps that use sunspot so I'm going to need to find a way to control this in a more app-specific manner. (Correction. It wasn't actually working. It was silently failing and logged some severe errors.) |
I believe that I may have finally got the upgrade working. I created a
This is different than the one that sunspot would install. I changed the dataDir values from "production/data" to "data/production" so that I could use my existing indexes. Editted my
And last, but not least, I had to create a writable folder within the gem. Either this or edit the gem's
I was concerned that I would need to do a full reindex, but everything seems to be working with the existing index from 2.0.0. I did notice some And I'm using the latest java too. |
Sadly, something went south and I had to reindex anyway. But with the latest version 2.1.1, there is no longer a need to add and chmod a directory in the gem. |
Please free to reopen this issue if its still a problem in the recent versions of sunspot |
I've been trying to upgrade my rails 4 app on my Mac from sunspot 2.0.0 to 2.1.0 to no avail. With sunspot 2.0.0 everything works great, but I like to keep things current, particularly given the existence of a few rails deprecation warnings. But with 2.1.0, the server just won't start. I've tried java 1.6 and 1.7 both with the same results.
bundle exec rake sunspot:solr:start
would always say it succeeded, but actually failed quietly andbundle exec rake sunspot:solr:run
would explicitly fail as shown below.I even went so far as to just create a new app and it still won't start.
Does anyone have any suggestions?
The text was updated successfully, but these errors were encountered: