-
Controller Version5.15.24.18 Describe Your Issue or QuestionFirst time docker user, first time using Omada docker version. Running it on a Synology diskstation using Portainer to set it up. But I'm afraid to change it, as I changed it last time and ended up with corruption. In fairness, don't know if those two things were connected. I did use the restart delay in the container creation this time as I read something about corruption possibilities on Github. So, I'm waiting here afraid to make the change, restart and log in. So 2 questions.
Expected BehaviorI would have expected that the IP I gave on the source side of the migration, 192.168.1.103 would have been in the Controller Hostname/IP field instead of my Tailscale IP. Steps to ReproduceNormal install through Portainer and migration from OC200 How You're Launching the Container
Container Logs
MongoDB Logs
Additional ContextAppreciate any help. BTW, am I save is I simply backup the two folders, data and logs so that I can start over if it gets corrupted> |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Changing the IP there should certainly not cause database corruption. It's getting that IP by picking one from the host's networks so you can change that, no problem. If you're concerned about corruption, take backups or just configure autobackups anyway because it's the easy and safe thing to do but you can manually take a backup before changing the setting and if somehow if the controller gets messed up, it's an easy restore. The only things that ought to potentially cause corruption would be the container being stopped suddenly (killed) before MongoDB has a chance to shut down cleanly or actual disk low level file corruption. Anything else would be a bug in the controller software. |
Beta Was this translation helpful? Give feedback.
-
I am a bit confused about the differences between export data, the automatic scheduled backup and what happens when you migrate from another platform. In other words could I have set up the Docker controller as new and then just imported data exported from the OC 200? Or imported from the extracted nightly backup files?
|
Beta Was this translation helpful? Give feedback.
-
By the way, working great. Fast and everything works. Thanks again. |
Beta Was this translation helpful? Give feedback.
Changing the IP there should certainly not cause database corruption. It's getting that IP by picking one from the host's networks so you can change that, no problem. If you're concerned about corruption, take backups or just configure autobackups anyway because it's the easy and safe thing to do but you can manually take a backup before changing the setting and if somehow if the controller gets messed up, it's an easy restore.
The only things that ought to potentially cause corruption would be the container being stopped suddenly (killed) before MongoDB has a chance to shut down cleanly or actual disk low level file corruption. Anything else would be a bug in the controller software.