active directory – How to update Samba 4.3.11 (Ubuntu 16.04) to 4.7.6 (Ubuntu 18.04) and further to 4.11.6 (Ubuntu 20.04)?

There is a Ubuntu server 16.04 as an Active Directory controller. I need to update it or install a new AD controller and transfer domain and user data to it from the old server.

After a simple upgrade from Ubuntu 16.04 to 18.04, the samba-ad-dc service starts, but the services smbd, nmbd, winbind do not.

Is there at least a brief instruction on how to correctly update an existing Active Directory controller or transfer data to a new server?