-
Notifications
You must be signed in to change notification settings - Fork 69
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
Installer gets stuck on task select default ruby #233
Comments
Hi, @joausaga 😄. That's strange 🤔. Could you run |
Hi @javierm, Yes, here you have
Thanks, |
@joausaga Thanks, we'll have a look. By the way, does the same thing happen using Ubuntu 20.04? Note that Ubuntu 18.04 is no longer supported because it's past its long-term support time. |
Hi @javierm, Thanks for your prompt reply. I haven't tried on Ubuntu 20.04. I can try to update the OS and see what happens. Thanks, |
Hi @javierm, I tried the installer on Ubuntu 20.04, and it gets stuck on the task
Thanks, |
Hi, @joausaga 😄. Sorry for the late reply 🙏. I'm afraid I'm not that great at debugging SSH sessions, and I can't even find the key error in the log you've posted 🤔. Could you confirm whether manually installing ruby on the server works? If it doesn't, it might be an issue with the server's SSH/network configuration 🤔. |
Hi, I'm facing the same problem when trying to install on Ubuntu 24.04. The last printed step is:
Please see installer.log for the full debug log ( Ruby (version 3.2.3) is installed on the remote system (via Are there any additional logs I could have a look into? Any further ideas what I could try or how to solve this? What is this step doing that could potentially get stuck at all? Any help would be appreciated. |
Hi, @aardjon 😄. I don't see any errors in the log either 🤔. Just to be sure, if you run the installer again (it'll be faster this time because the first steps are already done), does it still get stuck in that step? By the way, it's normal if this step takes a few minutes, since installing Ruby requires compiling a few things. But, given the logs, I'm not sure whether it's stuck compiling Ruby or there's a problem with the connection.
When using a Ruby version manager (like RVM), the system Ruby installed via apt isn't taken into account.
You can try accessing the machine via SSH as the cd ~/consul/current/ && rvm install `cat .ruby-version` |
Hi, @javierm, Thank you for you fast reply!
Yes it does.
On my very first try, it was in that "stuck" state for about 3 or 4 hours. Do you think this could still be within the expected time span? The remote machine is not a high-end server but just some unused workstation 🤔 How can I check the connection?
Thanks, I will try this tomorrow! 👍 Also, I'll get some |
Hi, @javierm, I managed to try it today already! :) Running the ruby compilation manually as you suggested works! Compilation took about half an hour and succeeded without problems. After that, I restarted the installer and it continued with other tasks - so the workaround works! Thank you very much for your help! 🙇 However, the cause of the installer getting stuck is still unclear. Just in case this info is helpful for investigating: There is no CPU or memory load, and also no running |
Yes, half an hour sounds right. 3-4 hours was too much 🤔 and, during the compilation, the CPU should be working really hard. First time we get a report about the installer getting stuck there. Thanks for reporting! Don't know the cause, but we'll keep an eye on it. |
I have followed the installer documentation to install Consul on Ubuntu 18.04.6 LTS (GNU/Linux 5.7.0-050700-generic x86_64), but it gets stuck in the step:
TASK [galaxy/rvm.ruby : Select default ruby]
I cannot find any log where I can understand what's going on.
Thanks for the support,
The text was updated successfully, but these errors were encountered: