OC200 Controller Migration to Software Controller Error

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

OC200 Controller Migration to Software Controller Error

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
OC200 Controller Migration to Software Controller Error
OC200 Controller Migration to Software Controller Error
2023-11-28 22:01:55 - last edited 2023-12-08 02:51:47
Model: OC200  
Hardware Version: V2
Firmware Version: 5.12.9

I am trying to migrate from an OC200 controller to a new software controller running in a docker container. 

 

OC200 is on 5.12.9

The new software controller is on v5.12.7

 

If I migrate the site from the OC200 to the new software controller this completes successfully but this does not restore all the existing client names. (i have exported the client names from the OC200 but there is no way to import these into the new controller).

 

If i use the controller migration feature I get a failure to restore on the new software controller. The restore on the new controller gives a 'Failed unknown errror try again later' message in the UI.

 

I have tried numourous backups, settings only, 30 days, 60 days, with and wothout user data. All fail to restore on the new software controller. A manual backup and restore also give the same error. 

 

Can anyone point to the issue? Thanks.

 

The following error is in the logs.

 

11-28-2023 13:57:55.992 ERROR [restore-work-group-0] [] c.t.s.o.b.c.r.c(): omadacId=OmadacId(XXX) restore failed with Exception
java.lang.reflect.InaccessibleObjectException: Unable to make field private static final long java.util.LinkedHashMap.serialVersionUID accessible: module java.base does not "opens java.util" to unnamed module @5c130274
 

  0      
  0      
#1
Options
1 Accepted Solution
Re:OC200 Controller Migration to Software Controller Error-Solution
2023-12-07 16:17:37 - last edited 2023-12-08 02:51:47

Hello,

 

I have the same problem using jdk 17, same stack trace. I dont have an oc200 and Im using 5.13.22 latest version. Im building my own raspberry pi based image omadapi.

 

I was able to fix this, the error is caused by old reflection codes in the Java sources:

1. Replace /etc/init.d/tpeap with updated copy

2. Update to jsvc 1.3.4 which supports --add-open option. I made a package for this since debian upstream only has v1.0.x.

 

Restart omada/reboot

 

After this my restore works no problems.

 

Hopefully this helps, good luck!

Recommended Solution
  1  
  1  
#3
Options
2 Reply
Re:OC200 Controller Migration to Software Controller Error
2023-11-28 22:03:18 - last edited 2023-11-28 22:03:32

i cant post the rest of the error message as i get this error!

 

"Content or title contains illegal external links."

  0  
  0  
#2
Options
Re:OC200 Controller Migration to Software Controller Error-Solution
2023-12-07 16:17:37 - last edited 2023-12-08 02:51:47

Hello,

 

I have the same problem using jdk 17, same stack trace. I dont have an oc200 and Im using 5.13.22 latest version. Im building my own raspberry pi based image omadapi.

 

I was able to fix this, the error is caused by old reflection codes in the Java sources:

1. Replace /etc/init.d/tpeap with updated copy

2. Update to jsvc 1.3.4 which supports --add-open option. I made a package for this since debian upstream only has v1.0.x.

 

Restart omada/reboot

 

After this my restore works no problems.

 

Hopefully this helps, good luck!

Recommended Solution
  1  
  1  
#3
Options

Information

Helpful: 0

Views: 624

Replies: 2

Related Articles