update script is failing to interact and spinning forever #669

Closed
opened 2026-02-04 20:38:12 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @badabing2005 on GitHub (Mar 20, 2025).

Have you read and understood the above guidelines?

yes

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

emqx

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

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/emqx.sh)"

📝 Provide a clear and concise description of the issue.

Redirecting the update process to /dev/null, as done in the following code snippet:

apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null

prevents any output from being displayed. As a result, if an interactive prompt appears—such as the one below—it remains hidden, causing the process to hang indefinitely:

Configuration file '/etc/emqx/emqx.conf'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** emqx.conf (Y/I/N/O/D/Z) [default=N] ?

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

No response

🔄 Steps to reproduce the issue.

Run update from the Console

Paste the full error output (if available).

No error

🖼️ Additional context (optional).

No response

Originally created by @badabing2005 on GitHub (Mar 20, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? emqx ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/emqx.sh)" ### 📝 Provide a clear and concise description of the issue. Redirecting the update process to /dev/null, as done in the following code snippet: ``` apt-get update &>/dev/null apt-get -y upgrade &>/dev/null ``` prevents any output from being displayed. As a result, if an interactive prompt appears—such as the one below—it remains hidden, causing the process to hang indefinitely: ``` Configuration file '/etc/emqx/emqx.conf' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** emqx.conf (Y/I/N/O/D/Z) [default=N] ? ``` ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? _No response_ ### 🔄 Steps to reproduce the issue. Run `update` from the Console ### ❌ Paste the full error output (if available). No error ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-04 20:38:12 +03:00
Author
Owner

@oOStroudyOo commented on GitHub (Mar 20, 2025):

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/emqx.sh)"

This is the wrong repo, please use bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/emqx.sh)"

@oOStroudyOo commented on GitHub (Mar 20, 2025): `bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/emqx.sh)"` This is the wrong repo, please use `bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/emqx.sh)"`
Author
Owner

@badabing2005 commented on GitHub (Mar 20, 2025):

Thanks for the quick reply,
I suppose I had it installed a while back.
So every LXC / VM that was installed via helper scripts should manually be updated and edited?

@badabing2005 commented on GitHub (Mar 20, 2025): Thanks for the quick reply, I suppose I had it installed a while back. So every LXC / VM that was installed via helper scripts should manually be updated and edited?
Author
Owner

@oOStroudyOo commented on GitHub (Mar 20, 2025):

Thanks for the quick reply, I suppose I had it installed a while back. So every LXC / VM that was installed via helper scripts should manually be updated and edited?

Take a look at this,
You should be able to run the script from this page in all of your LXCs to update the repo from Tteck to Community-scripts:
https://community-scripts.github.io/ProxmoxVE/scripts?id=update-repo

@oOStroudyOo commented on GitHub (Mar 20, 2025): > Thanks for the quick reply, I suppose I had it installed a while back. So every LXC / VM that was installed via helper scripts should manually be updated and edited? Take a look at this, You should be able to run the script from this page in all of your LXCs to update the repo from Tteck to Community-scripts: https://community-scripts.github.io/ProxmoxVE/scripts?id=update-repo
Author
Owner

@badabing2005 commented on GitHub (Mar 20, 2025):

Awesome thanks.

@badabing2005 commented on GitHub (Mar 20, 2025): Awesome thanks.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#669