Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update script is failing to interact and spinning forever #3273

Closed
1 of 2 tasks
badabing2005 opened this issue Mar 20, 2025 · 4 comments
Closed
1 of 2 tasks

update script is failing to interact and spinning forever #3273

badabing2005 opened this issue Mar 20, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@badabing2005
Copy link

βœ… 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

@badabing2005 badabing2005 added the bug Something isn't working label Mar 20, 2025
@oOStroudyOo
Copy link
Contributor

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)"

@badabing2005
Copy link
Author

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?

@oOStroudyOo
Copy link
Contributor

oOStroudyOo commented 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

@badabing2005
Copy link
Author

Awesome thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants