[Help]: OC200 > Docker Controller, No Devices #375
-
Controller Versionv5.12.7 Describe Your Issue or QuestionHi, I'm looking for a bit of clarification if possible please? I have been running an OC200 for a little over a year and I am looking to migrate to a Docker Software Instance. I'm running a small Proxmox install with a Ubuntu 20.04 VM + Portainer with various containers already running on this VM. Having set up the new controller container using the below docker compose via a stack in Portainer I can log into the new controller, skip the initial setup, just creating the account, getting to the main dashboard all ok. What I am stuck on is: I have now done a successful site backup and restore to the new container controller and the devices are listed but 'Disconnected' status. I do not want to try the next step Migrating the Devices if the new controller cannot see them already. Other Info: The VM and the hardware devices are all on the same VLAN. The Ubuntu 20.04 VM can ping the devices. Originally the OC200 was on 5.7.4 and a backup could not be restored into a 5.7.6, 5.8 or 5.12 new container controller. Expected BehaviorNA Steps to ReproduceNA How You're Launching the Container
Container Logs
MongoDB LogsNo response Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Are you shutting down the OC200 before you restore your config to the software controller in a container? I imagine what is going on is that the existing controller is still owning those devices so the restore still shows them as disconnected. You should be fine to power off your OC200 and it shouldn't lose any configuration. It may have to re-adopt the devices but that's not a big deal (or shouldn't be). |
Beta Was this translation helpful? Give feedback.
-
After turning off the OC200 and starting the Container the devices all started to auto connect and be adopted by the new container. (I had not clicked migrate devices so didn't expect them to automatically be connected to the new container controller) The Issue with this is it seems to have not restored any Client Usernames. (I had done a site migration) So I have reset everything back to the OC200 and stared again with a new container and OC200 controller migration. As originally I can not get any container backup to restore to the software controller. Checking the logs I have this error. Is this container related? 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 |
Beta Was this translation helpful? Give feedback.
-
Shutting down the original controller made the devices connect in the new controller |
Beta Was this translation helpful? Give feedback.
Are you shutting down the OC200 before you restore your config to the software controller in a container? I imagine what is going on is that the existing controller is still owning those devices so the restore still shows them as disconnected. You should be fine to power off your OC200 and it shouldn't lose any configuration. It may have to re-adopt the devices but that's not a big deal (or shouldn't be).