Guide to Installing Omada Software Controller on Raspberry Pi OS - V5

Guide to Installing Omada Software Controller on Raspberry Pi OS - V5

91 Reply
Re:Guide to Installing Omada Software Controller on Raspberry Pi OS - V5
2023-03-11 05:13:24 - last edited 2023-03-11 05:13:50

Note: in the latest version of the 4.4 branch of MongoDB, 4.4.19, they changed the build system so that it now targets armv8.2-a. This will not work even with the RPi4, let alone older models and many of the alternative boards out there (including, for example, the Libre Computer Le-Potato, which is what I've been using); instead any attempt to run it will immediately fail with a core dump and a message about illegal instructions. See here. This happened in mid-2021 with the 5.x branch and apparently they decided to make the same move here.

 

If you accidentally upgraded to version 4.4.19 automatically, you can revert back like so:


sudo -s

apt install mongodb-org-mongos=4.4.18 mongodb-org-tools=4.4.18 mongodb-org-shell=4.4.18 mongodb-org-database-tools-extra=4.4.18 mongodb-org=4.4.18 mongodb-org-server=4.4.18 

apt-mark hold mongodb-org-mongos mongodb-org-tools mongodb-org-shell mongodb-org-database-tools-extra mongodb-org mongodb-org-server

 

You may also need to repair the db in order for tpeap to start properly:

 

mongod --dbpath /opt/tplink/EAPController/data --repair

 

That should do it.

 

 

 

 

 

  2  
  2  
#23
Options
Re:Guide to Installing Omada Software Controller on Raspberry Pi OS - V5
2023-03-14 14:39:32

  @kilovar 

 

Hi, Is there any way to use a newer version like 5.9.9?

 

I'm looking to update, because of some of the new features

 

 

  0  
  0  
#24
Options
Re:Guide to Installing Omada Software Controller on Raspberry Pi OS - V5
2023-03-14 15:02:21
Not updated yet myself to latest version but I don't expect any reason why it won't work. Why don't you try the update and let the rest of us know if it works
  0  
  0  
#25
Options
Re:Guide to Installing Omada Software Controller on Raspberry Pi OS - V5
2023-03-14 15:04:32

  @kilovar 

 

Okay, I will in the evening. Thanks! The guide is awesome. I'll write back in 8 hours give or take

  0  
  0  
#26
Options
Re:Guide to Installing Omada Software Controller on Raspberry Pi OS - V5
2023-03-14 18:17:44 - last edited 2023-03-14 18:21:46

There are no problems running the latest version of the controller. Or if there are, I haven't encountered them—I've been running it for a few days now without issue. Just make sure to install MongoDB 4.4.18 specifically, as in the instructions in the first post, because any later version is incompatible with the Pi4 and most other low-end SBCs.

(Really, if you download the deb pkg directly, as the first post suggests, instead of adding the mongodb repo to apt, you should not have to worry about the compatibility of later versions of mongodb anyway.)

  0  
  0  
#27
Options
Re:Guide to Installing Omada Software Controller on Raspberry Pi OS - V5
2023-03-14 21:22:19 - last edited 2023-03-14 21:22:49

  @kilovar 

 

Hi.  

 

I am running 5.9.9 on my RasPi 4B - 4 Gig and it runs perfect:   

 

64 bit Debian 

MongoDB 4.4 

Java 8

Omada 5.9.9

 

  0  
  0  
#28
Options
Re:Guide to Installing Omada Software Controller on Raspberry Pi OS - V5
2023-03-15 20:15:06 - last edited 2023-03-15 21:27:33

Once installed is it possible to use an integrated  update as in the hardware controller or do I have to install every new version manually?

  4  
  4  
#29
Options
Re:Guide to Installing Omada Software Controller on Raspberry Pi OS - V5
2023-03-27 07:16:02

I have set 5.9.31 up on my R Pi 3b using the 64 bit lite Rasbian OS and it is running well.

 

The system defaults to a 100meg swap file which isn't enough so this needs to be increased, I went for a gig of swap file.

  0  
  0  
#30
Options
Re:Guide to Installing Omada Software Controller on Raspberry Pi OS - V5
2023-03-29 22:14:11 - last edited 2023-03-29 22:21:40

  @kilovar - thank you for the guide, I just set this up on a Raspberry Pi4 4GB using these instructions today.  I am in transition between Unifi and TP-Link, it has been a bit of battle, but so far so good.

  0  
  0  
#31
Options
Re:Guide to Installing Omada Software Controller on Raspberry Pi OS - V5
2023-05-23 23:43:08 - last edited 2023-05-23 23:44:08

I have a 3B+ as well, but when I try to install MongoDB 4.4 after the wget step, I get this error when I sudo apt update:

N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository mongodb-org 4.4 InRelease doesn't support architecture 'armhf'

 

When I try to install Mongo, I get this error:

 

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following packages have unmet dependencies: mongodb-org-server : Depends: libc6 (>= 2.29) but 2.28-10+rpt2+rpi1+deb10u1 is to be installed Depends: libgcc-s1 (>= 4.5) but it is not installable E: Unable to correct problems, you have held broken packages.

 

I'm running the RPI OS 05-07-2021 Buster arm64 image and cannot for the life of me figure out how to install Mongo.

  0  
  0  
#32
Options
Related Articles