deploy script not working
I'm trying to install using deploy script on Ubuntu 24.04.4 LTS but in step: Step 6/6: Configuring Service ═══════════════════════════════════════════════════════════════════════════
Select access port:
- Default (5000) - Standard ports
- HTTPS (443) - Professional setup
- Custom - Enter your own
script doesn't wait for input but ends right away. Matej
Hey Matej,
thanks for reporting! The issue is that when running the script via curl ... | sudo bash, stdin is the pipe stream (the script content itself) rather than the terminal. So read gets an immediate EOF and skips the prompt.
Fixed in 5658437 — the read calls now explicitly read from /dev/tty.
If you pull the latest main it should work. Alternatively you can use --no-interactive or --port=5000 to skip the prompt entirely:
curl -sSL https://raw.githubusercontent.com/PegaProx/project-pegaprox/refs/heads/main/deploy.sh | sudo bash -s -- --port=5000
Regards, Marcus