unifi update is stuck #167

Closed
opened 2025-11-20 04:44:27 -05:00 by saavagebueno · 8 comments
Owner

Originally created by @deryckhans on GitHub (Dec 9, 2024).

Please verify that you have read and understood the guidelines.

yes

A clear and concise description of the issue.

After running the update-command on the unifi-LXC, the script is stuck on "updating" After 20 minutes or so, I rebooted the lxc, after which the update command gave error " line 62: exit code 0: while executing command apt-get install -y unifi &> /dev/null".

I have restored the lxc, tried again, and problem remains.

What settings are you currently utilizing?

  • Default Settings
  • Advanced Settings

Which Linux distribution are you employing?

Debian 12

If relevant, including screenshots or a code block can be helpful in clarifying the issue.

No response

Please provide detailed steps to reproduce the issue.

connect to the console of the lxc and type "update"

Originally created by @deryckhans on GitHub (Dec 9, 2024). ### Please verify that you have read and understood the guidelines. yes ### A clear and concise description of the issue. After running the update-command on the unifi-LXC, the script is stuck on "updating" After 20 minutes or so, I rebooted the lxc, after which the update command gave error " line 62: exit code 0: while executing command apt-get install -y unifi &> /dev/null". I have restored the lxc, tried again, and problem remains. ### What settings are you currently utilizing? - [X] Default Settings - [ ] Advanced Settings ### Which Linux distribution are you employing? Debian 12 ### If relevant, including screenshots or a code block can be helpful in clarifying the issue. _No response_ ### Please provide detailed steps to reproduce the issue. connect to the console of the lxc and type "update"
saavagebueno added the question label 2025-11-20 04:44:27 -05:00
Author
Owner

@MickLesk commented on GitHub (Dec 9, 2024):

@havardthom

@MickLesk commented on GitHub (Dec 9, 2024): @havardthom
Author
Owner

@havardthom commented on GitHub (Dec 9, 2024):

When did you install the script?
Which mongodb version is installed? (run apt show mongodb-org)
What happens if you run update commands manually?

apt-get update --allow-releaseinfo-change
apt-get install -y unifi
@havardthom commented on GitHub (Dec 9, 2024): When did you install the script? Which mongodb version is installed? (run `apt show mongodb-org`) What happens if you run update commands manually? ``` apt-get update --allow-releaseinfo-change apt-get install -y unifi ```
Author
Owner

@di5cord20 commented on GitHub (Dec 10, 2024):

The default script update worked for me. Patience is key as it was a large update in my case.

@di5cord20 commented on GitHub (Dec 10, 2024): The default script update worked for me. Patience is key as it was a large update in my case.
Author
Owner

@deryckhans commented on GitHub (Dec 10, 2024):

4 hours in and nothing changed :)

Fortunately, the advice from @havardthom was money ;) Installing manually went just fine. Thanks for the support guys.

@deryckhans commented on GitHub (Dec 10, 2024): 4 hours in and nothing changed :) Fortunately, the advice from @havardthom was money ;) Installing manually went just fine. Thanks for the support guys.
Author
Owner

@Depechie commented on GitHub (Feb 10, 2025):

@deryckhans what is the procedure? In other words, how do you halt the current update spinner? Just reboot the LXC?

@Depechie commented on GitHub (Feb 10, 2025): @deryckhans what is the procedure? In other words, how do you halt the current update spinner? Just reboot the LXC?
Author
Owner

@deryckhans commented on GitHub (Feb 11, 2025):

@Depechie Yes, I just restarted the LXC.

@deryckhans commented on GitHub (Feb 11, 2025): @Depechie Yes, I just restarted the LXC.
Author
Owner

@Depechie commented on GitHub (Feb 11, 2025):

Thx @deryckhans did the same and then did the manual flow and that worked here too!
@havardthom does this mean that after doing the manual steps, the LXC is back on track and for future updates we can just trigger the update command again on the CLI instead of the manual script lines?

@Depechie commented on GitHub (Feb 11, 2025): Thx @deryckhans did the same and then did the manual flow and that worked here too! @havardthom does this mean that after doing the manual steps, the LXC is back on track and for future updates we can just trigger the `update command` again on the CLI instead of the manual script lines?
Author
Owner

@deryckhans commented on GitHub (Feb 11, 2025):

@Depechie I had to do the unifi updates manually ever since. But I don't consider that as a big problem

@deryckhans commented on GitHub (Feb 11, 2025): @Depechie I had to do the unifi updates manually ever since. But I don't consider that as a big problem
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#167