Closed (fixed)
Project:
Mercury StackScript
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Aug 2011 at 20:35 UTC
Updated:
20 Oct 2011 at 01:20 UTC
I'm not sure if this is a bug or if I didn't do something correctly. I did install twice and it did it both times.
At step 3 "verify requirements" I get "The Solr PHP library must be present in a sub-directory named SolrPhpClient. (Currently using Apache Solr PHP Client Library Missing. See the instructions in README.txt)"
This was on a new Linode I opened up just to try out this script. I'm very green when it comes to this so I have no idea what to do. I have a drupal 6 site already set up on another linode so I was just playing around and wanted to see how this all worked.
Comments
Comment #1
alforddm commentedI figured it out. Although the error said to see the readme.txt for more info I didn't find anything in the readme.txt file to tell me what to do. I googled and found the
http://code.google.com/p/solr-php-client/ be sure to get revision 22 and not 60.
And with a bit more searching found that I needed to put it in the /var/www/sites/all/modules/apachesolr/
Just wanted to post in case some other noob has the same problem.
Comment #2
saurabhk_97 commentedThanks alforddm. I had exactly the same error msg. I installed SolrPhpClient under /var/www/sites/all/modules/apachesolr/ using the following cmd:
svn checkout -r22 http://solr-php-client.googlecode.com/svn/trunk/ SolrPhpClient .
Then adjusted the file permissions:
chown -R root:www-data /var/www/sites/all/modules/apachesolr/SolrPhpClient
For additional help, search for SolrPhpClient at:
http://library.linode.com/application-stacks/project-mercury/ubuntu-10.0...
Regards,
Saurabh
Comment #3
justintime commentedAccording to the stackscript, bcfg2 is supposed to fetch that for you in Mercury 1.1. Unfortunately, I don't have a spare Linode to test this on right now. I'll keep this open until I do. Here's what the script did for manually installing it with mercury 1.0:
Comment #4
saurabhk_97 commentedHi justintime,
Upon checking further, I do see that the stackscript fetched the SolrPhpClient, but in a different location - /var/www/sites/all/ instead of /var/www/sites/all/modules/apachesolr/.
Regards,
Saurabh
Comment #5
justintime commentedThe /etc/mercury/mercury.make file has a bug in it when used with a recent drush make. I've committed a change to the git source that fixes this. I'll push it to Linode later tonight.