hello
nice you solved your issue, but i will be interested to know why it happens (cause i dont want it to happen to me :) ).
Did you perform full upgrade (enforce and detection servers) for each step (11.6 to 12.0 and 12.0 to 12.5) ?
Did a scan was running when you performed the upgrade ?
You wrote scan was starting, but is there any errors or things like that in UI / logs or just "starting" and nothing more ?
Regards.