I don't know yet what's causing it, but apparently the sql upgrade script is executed more than once and that's why the upgrade fails. I'll work on it and I hope to fix it soon.
Regards