Update script not updating Zigbee2MQTT LXC 2.0 -> 2.1 #455

Closed
opened 2025-11-20 04:48:49 -05:00 by saavagebueno · 4 comments
Owner

Originally created by @daloki83 on GitHub (Feb 2, 2025).

Originally assigned to: @MickLesk on GitHub.

Have you read and understood the above guidelines?

yes

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

Zigbee2MQTT LXC

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

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/zigbee2mqtt.sh)"

📝 Provide a clear and concise description of the issue.

Script runs fine and tell update was done, but still starting V2.0.
Workaround for me was:

  1. run update
  2. systemctl stop zigbee2mqtt
  3. copy from /opt/zigbee2mqtt/zigbee2mqtt-2.1.0 to /opt/zigbee2mqtt
  4. reboot

see dicussion https://github.com/community-scripts/ProxmoxVE/discussions/1932

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

run update script an check WEBUI Version
or
cd /opt/zigbee2mqtt
/usr/bin/pnpm start

The first line will tell you V2.0

Paste the full error output (if available).

no error...just not updating correctly

🖼️ Additional context (optional).

No response

Originally created by @daloki83 on GitHub (Feb 2, 2025). Originally assigned to: @MickLesk on GitHub. ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Zigbee2MQTT LXC ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/zigbee2mqtt.sh)" ### 📝 Provide a clear and concise description of the issue. Script runs fine and tell update was done, but still starting V2.0. Workaround for me was: 1. run update 2. systemctl stop zigbee2mqtt 3. copy from /opt/zigbee2mqtt/zigbee2mqtt-2.1.0 to /opt/zigbee2mqtt 4. reboot see dicussion https://github.com/community-scripts/ProxmoxVE/discussions/1932 ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. run update script an check WEBUI Version or cd /opt/zigbee2mqtt /usr/bin/pnpm start The first line will tell you V2.0 ### ❌ Paste the full error output (if available). no error...just not updating correctly ### 🖼️ Additional context (optional). _No response_
saavagebueno added the bug label 2025-11-20 04:48:49 -05:00
Author
Owner

@kwetnico commented on GitHub (Feb 2, 2025):

+1 same problem

Finally for me always write on frontend 2.0 and if I try to do an update manually it tells me:
"not a git repository (or any of the parent directories): .git"

@kwetnico commented on GitHub (Feb 2, 2025): +1 same problem Finally for me always write on frontend 2.0 and if I try to do an update manually it tells me: "not a git repository (or any of the parent directories): .git"
Author
Owner

@MickLesk commented on GitHub (Feb 2, 2025):

Fixed, Try again after PR approve & merge :-)

Here my system:

Image

@MickLesk commented on GitHub (Feb 2, 2025): Fixed, Try again after PR approve & merge :-) Here my system: ![Image](https://github.com/user-attachments/assets/6ff577d6-f86c-4e6a-907f-602e4206b4f7)
Author
Owner

@MickLesk commented on GitHub (Feb 2, 2025):

Merged, before you try, it can be possible you need to Change in /opt the *version.txt back to 2.0.0

nano /opt/*.txt

@MickLesk commented on GitHub (Feb 2, 2025): Merged, before you try, it can be possible you need to Change in /opt the *version.txt back to 2.0.0 nano /opt/*.txt
Author
Owner

@kwetnico commented on GitHub (Feb 2, 2025):

Thanks ok for me

@kwetnico commented on GitHub (Feb 2, 2025): Thanks ok for me
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#455