[GH-ISSUE #100] deploy script not working #75

Closed
opened 2026-03-02 15:47:43 +03:00 by kerem · 1 comment
Owner

Originally created by @dyvyak on GitHub (Feb 28, 2026).
Original GitHub issue: https://github.com/PegaProx/project-pegaprox/issues/100

Originally assigned to: @mkellermann97 on GitHub.

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

Originally created by @dyvyak on GitHub (Feb 28, 2026). Original GitHub issue: https://github.com/PegaProx/project-pegaprox/issues/100 Originally assigned to: @mkellermann97 on GitHub. 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
kerem closed this issue 2026-03-02 15:47:43 +03:00
Author
Owner

@mkellermann97 commented on GitHub (Feb 28, 2026):

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

<!-- gh-comment-id:3978105495 --> @mkellermann97 commented on GitHub (Feb 28, 2026): 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](https://github.com/PegaProx/project-pegaprox/commit/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: ```bash curl -sSL https://raw.githubusercontent.com/PegaProx/project-pegaprox/refs/heads/main/deploy.sh | sudo bash -s -- --port=5000 ``` Regards, Marcus
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/project-pegaprox-PegaProx#75
No description provided.