Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omada update error #1104

Closed
2 tasks
psychedelicu opened this issue Dec 30, 2024 · 14 comments
Closed
2 tasks

Omada update error #1104

psychedelicu opened this issue Dec 30, 2024 · 14 comments

Comments

@psychedelicu
Copy link

βœ… Have you read and understood the above guidelines?

yes

πŸ“œ What is the name of the script you are using?

Omada Controller LXC

πŸ“‚ What was the exact command used to execute the script?

update

πŸ“ Provide a clear and concise description of the issue.

When i try to update the controller with the "update" function, it gives me this error:

[ERROR] in line 58: exit code 0: while executing command latest_url=$(curl -fsSL "https://www.tp-link.com/en/support/download/omada-software-controller/" | grep -o 'https://.*x64.deb' | head -n1)

βš™οΈ What settings are you using?

  • Default Settings
  • Advanced Settings

πŸ–₯️ Which Linux distribution are you using?

Debian 12

πŸ”„ Steps to reproduce the issue.

image

❌ Paste the full error output (if available).

image

πŸ–ΌοΈ Additional context (optional).

No response

@psychedelicu
Copy link
Author

I used this script in LXC, but it comes with another error.
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/update-repo.sh)"

Updating Omada Controller
(Reading database ... 29202 files and directories currently installed.)
Preparing to unpack Omada_SDN_Controller_v5.14.26.1_linux_x64.deb ...
A previous controller version has been detected.
Unpacking omadac (5.14.26.1) over (5.14.26.1) ...
Setting up omadac (5.14.26.1) ...
Install Omada Controller succeeded!

data dir is not empty.
current data is not empty
Omada Controller will start up with system boot. You can also control it by [/usr/bin/tpeap].
check omada
Starting Omada Controller. Please wait..............................................^Cdpkg: error processing package omadac (--install):
installed omadac package post-installation script subprocess was interrupted
Errors were encountered while processing:
omadac

[ERROR] in line 45: exit code 0: while executing command dpkg -i ${latest_version}

root@omada:~#

@oOStroudyOo
Copy link

That error message in the original screenshot looks like the repo is pointing at the old Tteck script.

You need to run this in your Proxmox shell to re-point it to the community scripts:
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/update-repo.sh)"

@bahaman1971
Copy link

I think it's the same thing I "fought" with, so itΒ΄s an "solved" issue
#944
@MickLesk

@psychedelicu
Copy link
Author

psychedelicu commented Dec 30, 2024

Sorry, but i have tried that already. Not working.
After update, Omada starts then it crash.

  1. bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/update-repo.sh)"
  2. sed -i 's/tteck/Proxmox/community-scripts/ProxmoxVE/g' /usr/bin/update

image
image

image

@MickLesk
Copy link
Member

Why you kill the Update with Ctrl c?

@psychedelicu
Copy link
Author

psychedelicu commented Dec 30, 2024

Because it doesnt do anything for hours. And also, instead of upgrading, omada is downgrading.

In omada i can see the 5.15.6.7 is the latest.
And currently, downgrading from 5.14.32.3 to 5.14.26.1.

The script is not working.

@tismofied
Copy link

tismofied commented Dec 30, 2024

Because it doesnt do anything for hours. And also, instead of upgrading, omada is downgrading.

In omada i can see the 5.15.6.7 is the latest. And currently, downgrading from 5.14.32.3 to 5.14.26.1.

The script is not working.

I am seeing the exact same thing in my instance as well. I used ttecks script and I was on the latest version before he passed. I have no idea how I got version 5.14.32.2. because the latest version on tplink download site is v5.14.26.1
I even tried using a new lXC and use the community script but when I reached the step of restoring the settings, omada complained the the version of the backup is higher than that of the software from the community script. (which is 5.14.26.1)

image
I made sure to update the repos to point the community repos instead of ttecks

@psychedelicu
Copy link
Author

psychedelicu commented Dec 30, 2024

I managed to update it via:

cd /tmp
wget https://download.tplinkcloud.com/firmware/omada_v5.15.6.7_linux_x64_20241128140044_1733188152890.deb
dpkg -i omada_v5.15.6.7_linux_x64_20241128140044_1733188152890.deb

The UI is different now.,

image

@tismofied
Copy link

tismofied commented Dec 30, 2024

Thank you so much for including your steps for upgrade. You saved me a day's worth of headache lol.
Yeah They updated their UI few days ago I noticed the same in the app as well.

so for the script, do I just wait until it gets updated to 5.15.6.x before using it again?

@psychedelicu
Copy link
Author

Thank you so much for including your steps for upgrade. You saved me a day's worth of headache lol. Yeah They updated their UI few days ago I noticed the same in the app as well.

so for the script, do I just wait until it gets updated to 5.15.6.x before using it again?

I have no idea about the script. For me, is not working.

@deku-m
Copy link

deku-m commented Dec 30, 2024

Same for me after using update this will downgrade and wont start anymore.

@bahaman1971
Copy link

The actual Script has a Version "Error" , See #1113

@MickLesk
Copy link
Member

To be honest, I'm thinking about removing omada completely. They change their deb package names every time. Just like the repolinks. This is not only exhausting but also shitty for everyone

@psychedelicu
Copy link
Author

Me too. Also, too many bugs and crashes. I'll try OPNsense soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants