I am upgrading a couple of instances of OJS, one is going from 18.104.22.168 -> 22.214.171.124, another is going from 126.96.36.199 -> 188.8.131.52. Both upgrades are failing while running the upgrade.php script. The error is the same on both instances, "DB: duplicate key entry '23' for key 'PRIMARY'. Each instance is on a different physical server, different database. I have tried clearing the session cache via the admin panel but to no avail. I have seen similar errors posted here but no clear resolutions. Any direction would be appreciated.
### UPDATE ###
I started from scratch with this upgrade and this time got the following error: DB error: Duplicate entry '2-244' for key 'u_e_pkey'</h1>ojs2: DB Error: Duplicate entry '2-244' for key 'u_e_pkey'