Hi Pierre,
I did try to use the workaround from “the post marked as solution”. But as mentioned above I tried to run the query which gave me 0 result.
Also, I manually scanned the UI to find unscanned projects and deleted them but still getting the same error when attempted the upgrade