Error when trying to update omada with script #988

Closed
opened 2026-02-04 22:25:30 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @riddertommie on GitHub (May 20, 2025).

Have you read and understood the above guidelines?

yes

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

omada

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

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

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

If i try to update via

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

i get

✔️ Updated MongoDB to 7.0
✔️ Azul Zulu Java 21 already installed
✔️ Updated Omada Controller
/dev/fd/63: line 1060: CT_TYPE: unbound variable

and the script stops.

this also happens if i use the update command within the console

🔄 Steps to reproduce the issue.

within proxmox select the vm and with in console execute:

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

or execute:

update

Paste the full error output (if available).

✔️ Updated MongoDB to 7.0
✔️ Azul Zulu Java 21 already installed
✔️ Updated Omada Controller
/dev/fd/63: line 1060: CT_TYPE: unbound variable

🖼️ Additional context (optional).

No response

Originally created by @riddertommie on GitHub (May 20, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? omada ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/omada.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. If i try to update via bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/omada.sh)" i get ✔️ Updated MongoDB to 7.0 ✔️ Azul Zulu Java 21 already installed ✔️ Updated Omada Controller /dev/fd/63: line 1060: CT_TYPE: unbound variable and the script stops. this also happens if i use the update command within the console ### 🔄 Steps to reproduce the issue. within proxmox select the vm and with in console execute: bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/omada.sh)" or execute: update ### ❌ Paste the full error output (if available). ✔️ Updated MongoDB to 7.0 ✔️ Azul Zulu Java 21 already installed ✔️ Updated Omada Controller /dev/fd/63: line 1060: CT_TYPE: unbound variable ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-04 22:25:30 +03:00
Author
Owner

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

run in verbose

@MickLesk commented on GitHub (May 20, 2025): run in verbose
Author
Owner

@riddertommie commented on GitHub (May 20, 2025):

Ok, to be sure. This gives the same message at the end.

/dev/fd/63: line 1060: CT_TYPE: unbound variable

ignore?

@riddertommie commented on GitHub (May 20, 2025): Ok, to be sure. This gives the same message at the end. `/dev/fd/63: line 1060: CT_TYPE: unbound variable` ignore?
Author
Owner

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

Doesn't really have anything to say, just says that it stops somewhere.

@MickLesk commented on GitHub (May 20, 2025): Doesn't really have anything to say, just says that it stops somewhere.
Author
Owner

@riddertommie commented on GitHub (May 20, 2025):

Thanks!

@riddertommie commented on GitHub (May 20, 2025): Thanks!
Author
Owner

@ArtistsTechGuy commented on GitHub (May 22, 2025):

The newest version of omada controller v5.15.20.20 requires openjdk 17 or higher as noted in the release notes here https://static.tp-link.com/upload/software/2025/202504/20250425/Release%20Note%20for%20Linux%20Controller%20v5.15.20.20.pdf

I have successfully updated manually by following the steps outlined in this doc https://support.omadanetworks.com/us/document/24449/

edit: sorry my script was cached just noticed new version uses version 21 not 8 this is probably not helpful.

@ArtistsTechGuy commented on GitHub (May 22, 2025): The newest version of omada controller v5.15.20.20 requires openjdk 17 or higher as noted in the release notes here https://static.tp-link.com/upload/software/2025/202504/20250425/Release%20Note%20for%20Linux%20Controller%20v5.15.20.20.pdf I have successfully updated manually by following the steps outlined in this doc https://support.omadanetworks.com/us/document/24449/ edit: sorry my script was cached just noticed new version uses version 21 not 8 this is probably not helpful.
Author
Owner

@MickLesk commented on GitHub (May 22, 2025):

It installed Azul Zulu JDK21 automatically?

@MickLesk commented on GitHub (May 22, 2025): It installed Azul Zulu JDK21 automatically?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#988