[GH-ISSUE #4600] Error when trying to update omada with script #985

Closed
opened 2026-02-26 12:47:19 +03:00 by kerem · 6 comments
Owner

Originally created by @riddertommie on GitHub (May 20, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/4600

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). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/4600 ### ✅ 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_
kerem 2026-02-26 12:47:19 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

run in verbose

<!-- gh-comment-id:2893277238 --> @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?

<!-- gh-comment-id:2893532598 --> @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.

<!-- gh-comment-id:2893538166 --> @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!

<!-- gh-comment-id:2893542357 --> @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.

<!-- gh-comment-id:2902423186 --> @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?

<!-- gh-comment-id:2902430714 --> @MickLesk commented on GitHub (May 22, 2025): It installed Azul Zulu JDK21 automatically?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#985
No description provided.