snoopdave / vagrant-ubuntu-usergrid

Vagrant setup for Usergrid, Tomcat and Cassandra in Virtual Box. I'd be surprised if this still works at all!
Apache License 2.0
20 stars 23 forks source link

Troubles getting this to run on macOS Sierra 10.0.3 #11

Open brandonscript opened 7 years ago

brandonscript commented 7 years ago

Struggling to get the latest commit to work on macOS Sierra 10.0.3; spent some time troubleshooting, and eventually found this fork: https://github.com/butuh/usergrid-vagrant which seems to work. Might be worth having it merged back into master?

Here's the error that was throwing — seems none of the services installed successfully.

curl: (7) Failed to connect to localhost port 8080: Connection refused
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
BrickTop commented 7 years ago

I've had the same issue and noticed that the bootstrap script didn't install the JDK 8 at all. On the VM only the JDK 6 was available. I've installed the JDK 8 manually on the VM using the commands from the bootstrap script:

add-apt-repository -y ppa:openjdk-r/ppa apt-get update apt-get -y install vim curl openjdk-8-jdk

After the JDK 8 has been installed successfully I ran "vagrant provision" on command line and everything worked fine.