Upgrade from 1.7.0 beta 5 to beta 7 failed. Postgresql error

Today (finally) we migrated to the new server restoring the last backup. :tada: :confetti_ball:
The problem is definitely solved and this topic can be closed.
Thanks