[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian and other Linux systems

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian and other Linux systems

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
139 Reply
Re:[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian and other Linux systems
2020-11-23 21:24:51

@Rod-IT Ok, I used the command line copydb to do that. But this command was not required previously.

 

I would also suggest that the command line help would explain better that d1 and d2 are the source and target folders, not versions...

  0  
  0  
#113
Options
Re:[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian and other Linux systems
2020-11-23 21:28:07
I'm fairly sure on the first page it tells you it doesn't touch your existing install, it installs the new version alongside. I used the GUI as that was simplest for me.
  0  
  0  
#114
Options
Re:[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian and other Linux systems
2020-11-23 21:33:57

@Rod-IT 

 

I used the GUI and was a little nervous that it had me doing a new install. Fortunately, the restore worked.

 

Thanks

  0  
  0  
#115
Options
Re:[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian and other Linux systems
2020-11-24 06:41:01

 

unmesh wrote

Backup/restore from the GUI or omadactl or either?

 

You can use three methods:

 

  1. Through the GUI.
     
  2. Using a plain file copy of the DB, either with cp(1) or with omadactl (Controller must be stopped while copying):
    omadactl copydb OmadaController-4.1.5/data OmadaController-4.2.4/data
     
  3. Using dump/restore (Controller must be running to dump and/or restore the DB):
    omadactl dump / omadactl restore

 

The alternatives to the GUI had been developed when the GUI backup/restore didn't restore maps, but now it has been fixed in the GUI.

 

The dump/restore method is useful to do scheduled backups using cron(8) (the UNIX way to do scheduled tasks).

 

More information is available in omadactl's manpage (worth reading it!).

 

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#116
Options
Re:[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian and other Linux systems
2020-11-27 00:14:03

Hello, I tried logging in to ftp but I get the message stating that my IP address has been banned so I can't get the file at all. Is someone able to send me the latest .deb file?

  0  
  0  
#117
Options
Re:[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian and other Linux systems
2020-11-27 06:14:28

@R1D2 

 

Saving this information for future reference

 

Thanks

  0  
  0  
#118
Options
Re:[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian and other Linux systems
2020-11-27 06:20:52 - last edited 2020-11-27 06:22:10

 

TheMonDon wrote

Hello, I tried logging in to ftp but I get the message stating that my IP address has been banned so I can't get the file at all.

 

If you got banned, you had been using a lousy programmed FTP client such as those embedded in web browsers or in Windows.

 

I wish people would read the instructions more carefully: Please use a standard-compliant FTP client such as the FTP cmdline clients coming with Linux. Don't use FTP clients embedded in web browsers or Windows clients, they do not comply to the standard.

 

The ban is temporarily only for 12 hours, so you can always try again later.

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#119
Options
Re:[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian and other Linux systems
2020-11-28 06:15:51

Alright so I downloaded the file and got it installed but I can't seem to get it to actually run. Here is my log file: https://pastebin.com/QFxbEBUp

  0  
  0  
#120
Options
Re:[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian and other Linux systems
2020-11-29 15:28:24

This:

 

2020-11-28 00:11:26,009 main ERROR RollingFileManager (/opt/tplink/OmadaController-4.2.4/lib/../logs/server.log) java.io.FileNotFoundException: /opt/tplink/OmadaController-4.2.4/lib/../logs/server.log (Permission denied)

 

is caused by one of the bugs in the official TP-Link controller version which has been fixed already in my community controller version since v4.1.5.

 

Whatever you run as the SW controller, it's not the community version.

༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  1  
  1  
#121
Options
Re:[Update 11/2020] Omada SDN Controller 4.2.4 for Devuan, Debian and other Linux systems
2020-12-12 18:40:10 - last edited 2020-12-12 18:46:37

@R1D2

R1D2 wrote

 

Commons Daemon (jsvc)

 

You can try to install jsvc from the repository of your Linux distribution. However, last time I checked on Debian 8 jsvc required OpenJDK, which – if being installed – will configure itself as the default JRE using the update-alternatives mechanism. In this case I recommend to download the jsvc source and compile it instead of installing it via apt/apt-get. The jsvc binary actually does not require the OpenJDK, just the package jsvc is contained in depends on OpenJDK for whatever reasons.

 

 

 

I'm trying to install Omada Controller on a VPS. I have tried the official version but the controller fails to start with error on logs.

 

Caused by: java.lang.OutOfMemoryError: unable to create new native thread

 

Now I'm trying to follow these instructions to try community version. I started again with a fresh Debian 10 system.

 

I installed JRE8 from Oracle, curl and mongodb.

 

I tried to install jsvc from source as suggested in the quote. So I installed build-essential and autoconf. And proceeded with the build process per instructions on apache website but when I run ./configure --with-java=/opt/jvm/jre1.8.0_271/ I get the error,

 

checking for JDK os include directory... Cannot find jni_md.h in /opt/jvm/jre1.8.0_271//

 

which indicates I need JDK to build jsvc.

 

As I was stuck I decided to install jsvc from repository then use again update-alternatives to select JRE8 but when installing Omada won't start again with an OutofMemory error message.

 

How can I buld jsvc from source to try once more, avoiding openJDK installation from debian repository?

  0  
  0  
#122
Options
Related Articles