Omada Controller Install Error #1290

Closed
opened 2025-11-20 05:07:41 -05:00 by saavagebueno · 3 comments
Owner

Originally created by @hoontune on GitHub (Jun 19, 2025).

Have you read and understood the above guidelines?

yes

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

Omada Controller

📂 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.

Cannot update existing Omada LXC. Haven't tried a fresh install but expect the same result given the error.
Err:2 http://repo.mongodb.org/apt/debian focal/mongodb-org/7.0 Release
404 Not Found

🔄 Steps to reproduce the issue.

Attempting to update an existing Omada LXC

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

Choosing Verbose for better debug gives the following:

Paste the full error output (if available).


/ __ ____ ___ ____ / / _
/ / / / __ __ \/ __ / __ / __ `/
/ // / / / / / / // / // / // /
_
// // //_,/_,/_,/

Ign:1 http://repo.mongodb.org/apt/debian focal/mongodb-org/7.0 InRelease
Err:2 http://repo.mongodb.org/apt/debian focal/mongodb-org/7.0 Release
404 Not Found [IP: 18.155.229.31 80]
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal-security InRelease [128 kB]
Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [3954 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [601 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [18.0 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [3922 kB]
Get:10 http://archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [548 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [604 B]
Get:12 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1262 kB]
Get:13 http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [303 kB]
Get:14 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [29.3 kB]
Get:15 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [29.7 kB]
Get:16 http://archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [8316 B]
Get:17 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [688 B]
Get:18 http://archive.ubuntu.com/ubuntu focal-security/main amd64 Packages [3563 kB]
Get:19 http://archive.ubuntu.com/ubuntu focal-security/main Translation-en [518 kB]
Get:20 http://archive.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [14.4 kB]
Get:21 http://archive.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [3768 kB]
Get:22 http://archive.ubuntu.com/ubuntu focal-security/restricted Translation-en [527 kB]
Get:23 http://archive.ubuntu.com/ubuntu focal-security/restricted amd64 c-n-f Metadata [584 B]
Get:24 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1040 kB]
Get:25 http://archive.ubuntu.com/ubuntu focal-security/universe Translation-en [221 kB]
Get:26 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [22.4 kB]
Get:27 http://archive.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [26.6 kB]
Get:28 http://archive.ubuntu.com/ubuntu focal-security/multiverse Translation-en [6448 B]
Get:29 http://archive.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [604 B]
Reading package lists... Done
E: The repository 'http://repo.mongodb.org/apt/debian focal/mongodb-org/7.0 Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

[ERROR] in line 40: exit code 0: while executing command $STD apt-get update

🖼️ Additional context (optional).

No response

Originally created by @hoontune on GitHub (Jun 19, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Omada Controller ### 📂 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. Cannot update existing Omada LXC. Haven't tried a fresh install but expect the same result given the error. Err:2 http://repo.mongodb.org/apt/debian focal/mongodb-org/7.0 Release 404 Not Found ### 🔄 Steps to reproduce the issue. Attempting to update an existing Omada LXC bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/omada.sh)" Choosing Verbose for better debug gives the following: ### ❌ Paste the full error output (if available). ____ __ / __ \____ ___ ____ _____/ /___ _ / / / / __ `__ \/ __ `/ __ / __ `/ / /_/ / / / / / / /_/ / /_/ / /_/ / \____/_/ /_/ /_/\__,_/\__,_/\__,_/ Ign:1 http://repo.mongodb.org/apt/debian focal/mongodb-org/7.0 InRelease Err:2 http://repo.mongodb.org/apt/debian focal/mongodb-org/7.0 Release 404 Not Found [IP: 18.155.229.31 80] Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB] Get:5 http://archive.ubuntu.com/ubuntu focal-security InRelease [128 kB] Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [3954 kB] Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [601 kB] Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [18.0 kB] Get:9 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [3922 kB] Get:10 http://archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [548 kB] Get:11 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [604 B] Get:12 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1262 kB] Get:13 http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [303 kB] Get:14 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [29.3 kB] Get:15 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [29.7 kB] Get:16 http://archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [8316 B] Get:17 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [688 B] Get:18 http://archive.ubuntu.com/ubuntu focal-security/main amd64 Packages [3563 kB] Get:19 http://archive.ubuntu.com/ubuntu focal-security/main Translation-en [518 kB] Get:20 http://archive.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [14.4 kB] Get:21 http://archive.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [3768 kB] Get:22 http://archive.ubuntu.com/ubuntu focal-security/restricted Translation-en [527 kB] Get:23 http://archive.ubuntu.com/ubuntu focal-security/restricted amd64 c-n-f Metadata [584 B] Get:24 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1040 kB] Get:25 http://archive.ubuntu.com/ubuntu focal-security/universe Translation-en [221 kB] Get:26 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [22.4 kB] Get:27 http://archive.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [26.6 kB] Get:28 http://archive.ubuntu.com/ubuntu focal-security/multiverse Translation-en [6448 B] Get:29 http://archive.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [604 B] Reading package lists... Done E: The repository 'http://repo.mongodb.org/apt/debian focal/mongodb-org/7.0 Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. [ERROR] in line 40: exit code 0: while executing command $STD apt-get update ### 🖼️ Additional context (optional). _No response_
saavagebueno added the bug label 2025-11-20 05:07:41 -05:00
Author
Owner

@MickLesk commented on GitHub (Jun 19, 2025):

You have used Ubuntu as OS, so you need to modify the Part for yourself. Its an old advanced Install.

@MickLesk commented on GitHub (Jun 19, 2025): You have used Ubuntu as OS, so you need to modify the Part for yourself. Its an old advanced Install.
Author
Owner

@hoontune commented on GitHub (Jun 19, 2025):

Just so I'm clear - this isn't an issue with the mongodb update, it's an issue with Ubuntu?

"It's an old advanced install"
So I now assume that the Omada script is no longer supported?

@hoontune commented on GitHub (Jun 19, 2025): Just so I'm clear - this isn't an issue with the mongodb update, it's an issue with Ubuntu? "It's an old advanced install" So I now assume that the Omada script is no longer supported?
Author
Owner

@MickLesk commented on GitHub (Jun 19, 2025):

No, that's not the point, the script was always designed for Debian and the statement was always clear, even under tteck -> Advanced Install with other OS are not supported. You have to do it yourself.

So here is another OS and our update_script updated the correct os. Focal is damn old. You should consider redeploying the thing or do it manually.

Since I have the 5min, here is the script, which you can convert yourself at any time, regardless of which of the update scripts you use.

  curl -fsSL "https://www.mongodb.org/static/pgp/server-$7.0.asc" | gpg --dearmor >/usr/share/keyrings/mongodb-server-7.0.gpg
  echo "deb [signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg] http://repo.mongodb.org/apt/ubuntu $(grep '^VERSION_CODENAME=' /etc/os-release | cut -d'=' -f2)/mongodb-org/7.0 main" >/etc/apt/sources.list.d/mongodb-org-7.0.list
  apt-get update
  apt-get install -y --only-upgrade mongodb-org

  java_version=$(java -version 2>&1 | awk -F[\"_] '/version/ {print $2}')
  if [[ "$java_version" =~ ^1\.8\.* ]]; then
    apt-get remove --purge -y zulu8-jdk
    apt-get -y install zulu21-jre-headless
  fi

  OMADA_URL=$(curl -fsSL "https://support.omadanetworks.com/en/download/software/omada-controller/" |
    grep -o 'https://static\.tp-link\.com/upload/software/[^"]*linux_x64[^"]*\.deb' |
    head -n1)
  OMADA_PKG=$(basename "$OMADA_URL")
  curl -fsSL "$OMADA_URL" -o "$OMADA_PKG"
  export DEBIAN_FRONTEND=noninteractive
  dpkg -i "$OMADA_PKG"
  rm -f "$OMADA_PKG"
@MickLesk commented on GitHub (Jun 19, 2025): No, that's not the point, the script was always designed for Debian and the statement was always clear, even under tteck -> Advanced Install with other OS are not supported. You have to do it yourself. So here is another OS and our update_script updated the correct os. Focal is damn old. You should consider redeploying the thing or do it manually. Since I have the 5min, here is the script, which you can convert yourself at any time, regardless of which of the update scripts you use. ```bash curl -fsSL "https://www.mongodb.org/static/pgp/server-$7.0.asc" | gpg --dearmor >/usr/share/keyrings/mongodb-server-7.0.gpg echo "deb [signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg] http://repo.mongodb.org/apt/ubuntu $(grep '^VERSION_CODENAME=' /etc/os-release | cut -d'=' -f2)/mongodb-org/7.0 main" >/etc/apt/sources.list.d/mongodb-org-7.0.list apt-get update apt-get install -y --only-upgrade mongodb-org java_version=$(java -version 2>&1 | awk -F[\"_] '/version/ {print $2}') if [[ "$java_version" =~ ^1\.8\.* ]]; then apt-get remove --purge -y zulu8-jdk apt-get -y install zulu21-jre-headless fi OMADA_URL=$(curl -fsSL "https://support.omadanetworks.com/en/download/software/omada-controller/" | grep -o 'https://static\.tp-link\.com/upload/software/[^"]*linux_x64[^"]*\.deb' | head -n1) OMADA_PKG=$(basename "$OMADA_URL") curl -fsSL "$OMADA_URL" -o "$OMADA_PKG" export DEBIAN_FRONTEND=noninteractive dpkg -i "$OMADA_PKG" rm -f "$OMADA_PKG" ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#1290