Serial number issue when migrating self-hosted server to other computer

Are both SHS instance affected?
Maybe restore the backup you made and only start one SHS instance.

Have you read [Modding] Migrating Homey Pro data to Homey SHS

It described everything about the sn between HomeyPro and the SHS version.