The orphaned sites could cause upgrade failures. Try detach and reattach the database which contains the orphaned sites. ...