Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.

Omada LXC - Updating instructions #402

Closed
liveware-problems opened this issue Aug 4, 2022 · 18 comments
Closed

Omada LXC - Updating instructions #402

liveware-problems opened this issue Aug 4, 2022 · 18 comments

Comments

@liveware-problems
Copy link

liveware-problems commented Aug 4, 2022

I'm sure I read something before on updating the Omada LXC - the suggestion at that point was to backup the config, delete the LXC, create a new one, and restore the config.

I did this once before to upgrade to 5.3.1, however this did uncover an issue; I have the Omada API providing stats into my Home Assistant. and the API requires sending in the unique Site identifier, which is a 32-bit GUID. A new GUID was assigned when Omada was installed in the new container, hence my API queries failed and had to be updated with the new GUID to continue working.

To upgrade to 5.4.6, I simply executed the 2 key lines from the install shell script, and the update kept the config, and really key, the GUID:

wget -qL https://static.tp-link.com/upload/software/2022/202207/20220729/Omada_SDN_Controller_v5.4.6_Linux_x64.deb`
sudo dpkg -i Omada_SDN_Controller_v5.4.6_Linux_x64.deb &>/dev/null

Obviously the URL will change depending on the new version release date and version, but might be worth adding this to the Upgrade Instructions for Omada?

Thanks!

@tteck tteck pinned this issue Aug 4, 2022
@tteck tteck closed this as completed Aug 4, 2022
@tteck
Copy link
Owner

tteck commented Aug 25, 2022

Version 5.5.6

wget -qL https://static.tp-link.com/upload/software/2022/202208/20220822/Omada_SDN_Controller_v5.5.6_Linux_x64.deb
sudo dpkg -i Omada_SDN_Controller_v5.5.6_Linux_x64.deb

@tteck tteck unpinned this issue Oct 7, 2022
@tteck tteck pinned this issue Oct 7, 2022
@mitchross
Copy link

Theres a new version FYI https://www.tp-link.com/us/support/download/omada-software-controller/#Controller_Software

@tteck
Copy link
Owner

tteck commented Oct 30, 2022

Version 5.6.3

wget -qL https://static.tp-link.com/upload/software/2022/202210/20221024/Omada_SDN_Controller_v5.6.3_Linux_x64.deb
sudo dpkg -i Omada_SDN_Controller_v5.6.3_Linux_x64.deb

@liveware-problems
Copy link
Author

liveware-problems commented Nov 24, 2022

Version 5.7.4

  wget -qL https://static.tp-link.com/upload/software/2022/202211/20221121/Omada_SDN_Controller_v5.7.4_Linux_x64.deb
  sudo dpkg -i Omada_SDN_Controller_v5.7.4_Linux_x64.deb

@maxigs
Copy link

maxigs commented Jan 30, 2023

Version 5.8.4

wget -qL https://static.tp-link.com/upload/software/2023/202301/20230130/Omada_SDN_Controller_v5.8.4_Linux_x64.deb
dpkg -i Omada_SDN_Controller_v5.8.4_Linux_x64.deb

@mitchross
Copy link

mitchross commented Mar 1, 2023

Version 5.9.9

wget -qL https://static.tp-link.com/upload/software/2023/202302/20230227/Omada_SDN_Controller_v5.9.9_Linux_x64.deb
dpkg -i Omada_SDN_Controller_v5.9.9_Linux_x64.deb

@chx0003
Copy link

chx0003 commented Mar 21, 2023

New version 5.9.31:

wget -qL https://static.tp-link.com/upload/software/2023/202303/20230321/Omada_SDN_Controller_v5.9.31_Linux_x64.deb
dpkg -i Omada_SDN_Controller_v5.9.31_Linux_x64.deb 

Release Notes:

New Feature/Enhancement

  1. Fully adapted to Omada APP version 4.7, supporting Internet and LAN Network configuration.

Bug Fixed

  1. Fixed the bug that Switch ACLs containing IP-Port groups stopped working after upgrading to Omada Controller version 5.9.9. Reported Here.
  2. Fixed the bug that the Port Forwarding entry cannot be created when the first value of the starting port greater than that of the ending port. Reported Here.
  3. Fixed the incorrect display of the Welcome Information, Terms of Service, and Copyright of Portal.

Repository owner deleted a comment from NOXITB May 5, 2023
Repository owner deleted a comment from mitchross May 5, 2023
@Vendo232
Copy link

@tteck @chx0003 is it possible to create general script to look for latest .deb version and run the upgrade instead of the explicit version in command?

@tteck
Copy link
Owner

tteck commented May 11, 2023

No, the path is unknown

@thpryrchn
Copy link

Here is something you can use to get latest URL and version from the URL...

latesturl=$(curl -fsSL "https://www.tp-link.com/us/support/download/omada-software-controller/" | grep 'x64.deb"' | head -n1 | sed 's/.*Controller\" href=\"//;s/\".*//')
latestversion=$(sed -e 's/.*ller_v//;s/_Li.*//' <<< "$latesturl")
echo "Latest version is $latestversion at $latesturl"

This currently returns:
Latest version is 5.9.31 at https://static.tp-link.com/upload/software/2023/202303/20230321/Omada_SDN_Controller_v5.9.31_Linux_x64.deb

@tteck
Copy link
Owner

tteck commented Aug 9, 2023

Both scripts have been updated.

To update Omada, run the following command in the Omada LXC console.

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/omada.sh)"

Compares versions

   ____                      __     
  / __ \____ ___  ____ _____/ /___ _
 / / / / __  __ \/ __  / __  / __  /
/ /_/ / / / / / / /_/ / /_/ / /_/ / 
\____/_/ /_/ /_/\__,_/\__,_/\__,_/  
 
Installed version (v5.9.31) is the same as the latest version (v5.9.31).
Omada Controller is already up to date
root@omada:~# 

Thanks @thpryrchn

@tteck tteck unpinned this issue Aug 9, 2023
@joostvdl
Copy link

Update script for latest version v5.13.23 is broken. Looks like the changed naming of deb file

@tteck
Copy link
Owner

tteck commented Jan 12, 2024

@tteck
Copy link
Owner

tteck commented Jan 12, 2024

The command to check for the latest version also shows 5.13.22

curl -fsSL "https://www.tp-link.com/us/support/download/omada-software-controller/" | grep -o 'https://.*x64.deb' | head -n1

@liveware-problems
Copy link
Author

interestingly I just logged onto my console and I get a version update notification:
image

@joostvdl
Copy link

joostvdl commented Jan 12, 2024

@joostvdl
Copy link

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

No branches or pull requests

8 participants