-
Notifications
You must be signed in to change notification settings - Fork 385
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
Setup step hangs while installing on Ubuntu 14.04 #11
Comments
Hey @barryw, Sorry about this. Looks like something is definitely wrong with Cronicle's connection to your Couchbase server, because those errors should not be happening. It should have failed right then and there, at the very first error. I suspect the setup script is also doing terrible error checking, and it is reporting success when it, in fact, failed. If you could, please run these three commands on your Cronicle server and copy & paste all the output here:
That should help us track down what is going on. Thanks. |
Thanks for jumping on this. It's been driving me crazy! The weird thing is that it actually creates items in the Couchbase bucket! I just assumed that it worked. Anyway, I tried to run the commands above and it hangs on
Actually, it hangs on each command. If I run the
followed by
|
Oh wow, that's really strange. Okay, let me spin up an Ubuntu box on AWS and try to get things into the same state yours is in. I'll get right back to you on this. |
If it helps, I'm using Couchbase 4.6 (which hasn't been released yet!). We also have 4.5.1 that I could try |
Okay, everything should be fixed now, in Cronicle v0.6.7: https://github.com/jhuckaby/Cronicle/releases/tag/v0.6.7 Note that those I tested everything on Ubuntu 14 with Couchbase 4.5 and Node 7.5, and it all seems to be happy. However, I have to warn you about something. I just happened to notice this from your original issue report:
That IP address looks rather... cloudy. Is your server in AWS by any chance? Or Google Compute or Azure for that matter. My reason for asking is, the Cronicle UI will attempt to open a WebSocket connection from your browser to the server using its LAN IP (in your case I may try to fix this in a future version of Cronicle, i.e. try to detect if the server has a "public" IP and use that for the WebSocket. But for now, it has to connect over the LAN IP of the server. Thanks for the bug report! |
Awesome. I really appreciate this. We are running on AWS and I tried with private IP at first (with ssh tunnel to VPC) and then public IP with wide-open security group, but neither worked. I will set this up using an ALB (it supports web sockets out of the box) fronting a 3 node Cronicle cluster, so I think we'll be ok. Thanks again for your help! |
No problem, man! Oh, one last thing. If you still have trouble getting the UI to connect to your cloud server with that private IP, might want to try this option: https://github.com/jhuckaby/Cronicle#web_socket_use_hostnames Note that you'll have to set your server's hostname to something that resolves to a public IP in DNS, but then the UI will connect its WebSocket to that, rather than the LAN IP of the server. This usually gets around the problem for most people. Good luck! |
I'm trying to install on Ubuntu 14.04 with Couchbase as the backing store.
It says it finishes successfully, but never returns to the prompt. I see this:
And it just sits there.
Any ideas?
I'm using Node 7.5.0
The text was updated successfully, but these errors were encountered: