I’m trying to setup circleci with my ckan fork: https://github.com/HighwayThree/ckan and it keeps failing on this command: cp -R /opt/solr-4.3.1 $SOLR_HOME
Error message:
cp: cannot stat ‘/opt/solr-4.3.1’: No such file or directory
cp -R /opt/solr-4.3.1 $SOLR_HOME returned exit code 1
Action failed: cp -R /opt/solr-4.3.1 $SOLR_HOME
I’ve tried both ubuntu images (12.04, 14.04) and ssh into the vm and there’s no solr on the machine. From the docs, I get the impression that it should be there but it’s not. Is there something I need to do to ensure that solr will present at /opt/solr-4.3.1?
That was on Ubuntu 12.04. For Ubuntu 14.04, you would have to install Solr yourself.
Note: If you did not see Solr on Ubuntu 12.04, it’s likely because you rebuilt the commit after changing build images. You’ll need to actually send up a new commit to GitHub in order for CircleCI to use a new build image for your build.