-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Unable to install ptah.sh with install script #239
Comments
Hi @txwgnd , I'm sorry it happened. I have an idea about the first one. I recently made many changes to the agent software and didn't test the full cycle of bootstrapping the service. The second one looks suspicious. This part should work completely. I'll post an update once I fix these. Thank you! |
Please note, the server is not yet running, I'm continuing investigation. For some reason, bash doesn't "want" to ask for input if the script is piped. I have tried a dozen of options for running bash & read, but nothing helped. I have fixed the agent software, so now it doesn't crash. Please use the following instruction to install the server: curl -o /tmp/install-ptah-server.sh -SL https://r.ptah.sh/install-server && bash /tmp/install-ptah-server.sh |
Hi @bohdan-shulha, Thanks for your work. Really appreciating it! As You said the error happening with the user input seems to be solved when ran without the pipe. Running As before: Hetzner Cloud instance CX22, x86, Ubuntu 24.04, 2 nic's(1 public net, 1 private net) Complete Output: Pastebin (Problems are at the end) |
Hey,
;) BTW, your log looks much better this time. However, I have met an issue that the initial dump is not being imported, now investigating why. JFYI, we're almost there with your server's config (1 public and 1 private network): |
Hello @bohdan-shulha, unfortunately I still encounter some problems: When run on a VPS without a private nic, the script hangs at this point:
Tried it three times to make sure it persists. Console is freezing completely at this point. When run with 2 nics there are this weird things after the finish message:
Used Thanks in advance, Tom |
Hey Tom, Thanks for the feedback. I have launched it successfully in both scenarios. Could you please run the script again and wait a few minutes? It takes some time to download everything and wait for the services to launch. I'll add more useful logging later so that no one else gets confused with the installation being "stuck". Thanks! |
Hey Tom, I have run a couple more tests and, indeed, there is a "stuck"-like process, despite everything working fine on the second run. There is a bug in the agent part which checks if the service has been successfully started. I am going to fix it in a few hours. Thanks for discovering this! |
Hi @bohdan-shulha, I wasn't sure if you wanted me to test it again after your second answer, but I did it anyway. I waited for the script a long time to really end itself. It actually timed out. Ended with this gibberish:
We will get there! :) |
Hey,
No, sorry, I didn't have time to work yesterday - a kid took all of it.
That gibberish signals a successful installation. 😅 On the second run, it should complete fine. This is what I am fighting. :) Hopefully will get a seamless process later today. |
Hi @txwgnd , Looks like it is fixed now. :) Please try it again. |
Hi @bohdan-shulha, WOW! You've done it! It works now and also the installation script is a bit more clear about what is happening. Thanks for everything! |
Hello,
I would like to test ptah.sh but at the moment I'm unable to install it on a VPS running Ubuntu 24.04.
There are two different possible outcomes I'm experiencing.
1. Case
Freshly setuped x86 VPS on Hetzner Cloud running Ubuntu 24.04. SSH into it with root user and running
Complete Log: Pastebin
Script is running normally untill this point:
2. Case
VPS with Ubuntu 24.04, x86 architecture, 2 network-interfaces(one for public internet, the other one on private net with 10.0.0.0/24)
After running
The script gets stuck In a loop while the user is asked to select the ethernet interface for the advertised adress
Complete Log: Pastebin
Relevant part:
The text was updated successfully, but these errors were encountered: