following https://pmg.proxmox.com/wiki/index.php/Upgrade_from_6.x_to_7.0 to upgrade the process fails.
at the end of the upgrade process you get
dpkg: error processing package pmg-api (--configure):
installed pmg-api package post-installation script subprocess returned error exit status 1...