Similar issue here, but happened when adding a new server to the estate, so now it's stuck with the database role "installed" as per the interface, but no actual database installed, and removing the role errors out. Ticket is submitted already, so will update here if anything changes.