project-pegaprox icon indicating copy to clipboard operation
project-pegaprox copied to clipboard

deploy script not working

Open dyvyak opened this issue 9 months ago • 1 comments

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:

  1. Default (5000) - Standard ports
  2. HTTPS (443) - Professional setup
  3. Custom - Enter your own

script doesn't wait for input but ends right away. Matej

dyvyak avatar Feb 28 '26 20:02 dyvyak

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

mkellermann97 avatar Feb 28 '26 22:02 mkellermann97