PVE LXC Execute Command - no output results in script exiting #1918

Closed
opened 2025-11-20 05:19:54 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @lawrencehead on GitHub (Sep 20, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

PVE LXC Execute Command

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/execute.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 13

📈 Which Proxmox version are you on?

pve-manager/9.0.10/deb1ca707ec72a89 (running kernel: 6.14.11-2-pve)

📝 Provide a clear and concise description of the issue.

Running the script usually executes ok, but if the LXC produces no output then it just ends with no error.

🔄 Steps to reproduce the issue.

Run it with any command that won't produce any output on at least one LXC.
For example, cat /etc/os-release | grep DEBIAN_VERSION_FULL on an ubuntu machine

Paste the full error output (if available).

This is what I expect to happen. Command was cat /etc/os-release | grep PRETTY Note first and third machines executed are Debian, second one is Ubuntu.

Image

This is with a command that produces no output on the second LXC tested, command here was cat /etc/os-release | grep DEBIAN_VERSION_FULL

Image

🖼️ Additional context (optional).

No response

Originally created by @lawrencehead on GitHub (Sep 20, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? PVE LXC Execute Command ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/execute.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 13 ### 📈 Which Proxmox version are you on? pve-manager/9.0.10/deb1ca707ec72a89 (running kernel: 6.14.11-2-pve) ### 📝 Provide a clear and concise description of the issue. Running the script usually executes ok, but if the LXC produces no output then it just ends with no error. ### 🔄 Steps to reproduce the issue. Run it with any command that won't produce any output on at least one LXC. For example, `cat /etc/os-release | grep DEBIAN_VERSION_FULL` on an ubuntu machine ### ❌ Paste the full error output (if available). This is what I expect to happen. Command was `cat /etc/os-release | grep PRETTY` Note first and third machines executed are Debian, second one is Ubuntu. <img width="667" height="740" alt="Image" src="https://github.com/user-attachments/assets/c02c126e-c4fb-4f55-86e5-760205d3ef9b" /> This is with a command that produces no output on the second LXC tested, command here was `cat /etc/os-release | grep DEBIAN_VERSION_FULL` <img width="672" height="345" alt="Image" src="https://github.com/user-attachments/assets/bfa475dc-064a-4056-a378-add5d4afa6ce" /> ### 🖼️ Additional context (optional). _No response_
saavagebueno added the bug label 2025-11-20 05:19:54 -05:00
Author
Owner

@MickLesk commented on GitHub (Sep 20, 2025):

No thats not the Goal, its an Execute and Not an outputter. It Execute f.e. apt update. That Script Work with pct exec

@MickLesk commented on GitHub (Sep 20, 2025): No thats not the Goal, its an Execute and Not an outputter. It Execute f.e. apt update. That Script Work with pct exec
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#1918