duplicate entry just means you ran the upgrade more than once.
some more info here would assist us like url to your install integration type etc. You did not replace your config files right? If your integrating with vb3 make sure your $vbpath is correct. This will cause a white page.