I have managed to migrate it with version 8.9.10 LTS. I kept the same version in both instances with H2 and PostgreSQL