Omada 5 9 31_Linux_x64 does not start on Ubuntu 22 04 2 LTS

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

Omada 5 9 31_Linux_x64 does not start on Ubuntu 22 04 2 LTS

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Omada 5 9 31_Linux_x64 does not start on Ubuntu 22 04 2 LTS
Omada 5 9 31_Linux_x64 does not start on Ubuntu 22 04 2 LTS
2023-06-04 16:37:30 - last edited 2023-06-09 03:27:32

Hi i installed Omada v5[dot]9[dot]31_Linux_x64 on my Ubuntu 22[dot]04[dot]2 LTS but i can not start it:


/opt/tplink/EAPController/logs$ cat startup[dot]log
java version "14[dot]0[dot]2"
OpenJDK Runtime Environment (build 14[dot]0[dot]2+12-Ubuntu-120[dot]04)
OpenJDK 64-Bit Server VM (build 14[dot]0[dot]2+12-Ubuntu-120[dot]04, mixed mode, sharing)
commons daemon version "1[dot]0[dot]15-dev"
commons daemon process (id: 61543, parent: 61542)
Exception in thread "Thread-0" java[dot]lang[dot]ExceptionInInitializerError
        at com[dot]tplink[dot]smb[dot]omada[dot]common[dot]concurrent[dot]thread[dot]a[dot]a(SourceFile:85)
        at com[dot]tplink[dot]smb[dot]omada[dot]common[dot]concurrent[dot]thread[dot]a[dot]c(SourceFile:303)
        at com[dot]tplink[dot]smb[dot]omada[dot]starter[dot]OmadaBootstrap[dot]b(SourceFile:191)
        at com[dot]tplink[dot]smb[dot]omada[dot]starter[dot]OmadaLinuxMain[dot]b(SourceFile:87)
        at java[dot]base/java[dot]lang[dot]Thread[dot]run(Thread[dot]java:832)
Caused by: java[dot]lang[dot]NullPointerException
        at com[dot]tplink[dot]smb[dot]omada[dot]common[dot]concurrent[dot]thread[dot]a$b[dot]<clinit>(SourceFile:72)
        [dot][dot][dot] 5 more
Service exit with a return value of 1

 

/opt/tplink/EAPController/logs$ java --version
openjdk 14[dot]0[dot]2 2020-07-14
OpenJDK Runtime Environment (build 14[dot]0[dot]2+12-Ubuntu-120[dot]04)
OpenJDK 64-Bit Server VM (build 14[dot]0[dot]2+12-Ubuntu-120[dot]04, mixed mode, sharing)

 

What to do?


BR

 

  0      
  0      
#1
Options
2 Accepted Solutions
Re:Omada 5 9 31_Linux_x64 does not start on Ubuntu 22 04 2 LTS-Solution
2023-06-05 17:47:55 - last edited 2023-06-09 03:27:32

  @OmadaInDaHouse 

 

The Omada dependencies are getting pretty long in the tooth, I don't think there is an intersection of Ubuntu22 and Omada that will work.  Instead, I suggest you install Docker, and then run mbentley's Omada Controller image from the docker repository.  It has worked for me on Synology NAS 7.x, Ubuntu22, and even Armbian23 on a Pi clone board, and it will work for you too :)

<< Paying it forward, one juicy problem at a time... >>
Recommended Solution
  0  
  0  
#3
Options
Re:Omada 5 9 31_Linux_x64 does not start on Ubuntu 22 04 2 LTS-Solution
2023-06-07 08:15:24 - last edited 2023-06-09 03:27:34

i used the docker version and it works like a charm...

Recommended Solution
  2  
  2  
#6
Options
5 Reply
Re:Omada 5 9 31_Linux_x64 does not start on Ubuntu 22 04 2 LTS
2023-06-05 09:08:10 - last edited 2023-06-07 01:10:32

  @OmadaInDaHouse

 

Hi, I haven't a PC with Linux system, but did you follow this link to install the controller? 

Just striving to develop myself while helping others.
  0  
  0  
#2
Options
Re:Omada 5 9 31_Linux_x64 does not start on Ubuntu 22 04 2 LTS-Solution
2023-06-05 17:47:55 - last edited 2023-06-09 03:27:32

  @OmadaInDaHouse 

 

The Omada dependencies are getting pretty long in the tooth, I don't think there is an intersection of Ubuntu22 and Omada that will work.  Instead, I suggest you install Docker, and then run mbentley's Omada Controller image from the docker repository.  It has worked for me on Synology NAS 7.x, Ubuntu22, and even Armbian23 on a Pi clone board, and it will work for you too :)

<< Paying it forward, one juicy problem at a time... >>
Recommended Solution
  0  
  0  
#3
Options
Re:Omada 5 9 31_Linux_x64 does not start on Ubuntu 22 04 2 LTS
2023-06-06 20:17:38 - last edited 2023-06-07 12:29:36

Hello, I think that problem is Java Version. You should using Java version 8. You could install both and select which one to use as a default or you should modify running omada using Java v8 - I do not know how exactly - you have to google it. I am using Omada 22.04 LTS with Java v8 without any problem. sudo apt install openjdk-8-jre sudo update-alternatives --config java

 

Here is a list of commands (sorry for image but forum rules for URLs) for Ubuntu 22.04 - I have just tried in VM with clean Ubuntu 22.04 x64 - with second command config java you have to select Java V8:

 

 

  2  
  2  
#4
Options
Re:Omada 5 9 31_Linux_x64 does not start on Ubuntu 22 04 2 LTS
2023-06-06 20:26:31 - last edited 2023-06-07 01:10:32

  @OmadaInDaHouse 

 

The bigger problem was libsslv1  versus libsslv3 when I tried (although I admit I was in the ARM space, not x86).  I then realized it was way easier to just use a container, as upgrades are as simple as downloading the latest container image: 

 

1. backup Controller

2. spin old container down

3. spin up new container

4. restore

 

if anything goes sideways, then undo steps 3 and then 2.  

<< Paying it forward, one juicy problem at a time... >>
  0  
  0  
#5
Options
Re:Omada 5 9 31_Linux_x64 does not start on Ubuntu 22 04 2 LTS-Solution
2023-06-07 08:15:24 - last edited 2023-06-09 03:27:34

i used the docker version and it works like a charm...

Recommended Solution
  2  
  2  
#6
Options