Problem migration server

copying DB and data from the old to the new server nextcloud is unable to go up, the paths are identical and so are the permissions.

Can you post more details? Have you copy all needed directorys/files?