Switch from UniFi controller version

Hi Guys,

I currently run Unifi Linux docker with the tag Latest: in my case version 5.13.32
I have a lot of sites running in this controller and I want to convert this controller to tag: LTS for a more stable environment.

Because all of my devices 100+ in different sites are running with the firmware of the latest tag (releases from the latest stable branch.), I think my controller will crash if I switch it to LTS (releases from the 5.6.x “LTS Stable” branch.)

Is there someone with experience to give me advice on how to migrate my controller docker firmware to LTS?

See the link of the docket that I am using: