Upgrade database fails

I am trying to upgrade from 3.8.7 to 4.4.0 and everything goes well until the 4.1.1 step when I get this:

Processing 4.1.1
Now populating database schema.
[critical]: DBD::mysql::st execute failed: Duplicate entry ‘0-0’ for key ‘ObjectScrips1’ at /usr/local/rt/core/rt-4.4.0/sbin/…/lib/RT/Handle.pm line 552. (/usr/local/rt/core/rt-4.4.0/sbin/…/lib/RT.pm:390)
DBD::mysql::st execute failed: Duplicate entry ‘0-0’ for key ‘ObjectScrips1’ at /usr/local/rt/core/rt-4.4.0/sbin/…/lib/RT/Handle.pm line 552.
make: *** [upgrade-database] Error 255

Then, in the database I ran this:

delete from ObjectScrips where Scrip = 0 and Creator = 120;
Query OK, 1 row affected (0.01 sec)

Then I continued the database upgrade from 4.1.1 onward and it goes well few more versions until I get this:

Processing 4.3.8
Now populating database schema.
Now inserting data.
[error]: Couldn’t add scrip: Is already added to the object (/usr/local/rt/core/rt-4.4.0/sbin/…/lib/RT/Scrip.pm:207)
[error]: Couldn’t add scrip: Is already added to the object (/usr/local/rt/core/rt-4.4.0/sbin/…/lib/RT/Scrip.pm:207)
Processing 4.3.9
Now inserting data.
[error]: Couldn’t add scrip: Is already added to the object (/usr/local/rt/core/rt-4.4.0/sbin/…/lib/RT/Scrip.pm:207)
[error]: Couldn’t add scrip: Is already added to the object (/usr/local/rt/core/rt-4.4.0/sbin/…/lib/RT/Scrip.pm:207)
Processing 4.3.10
Now populating database schema.
[critical]: DBD::mysql::st execute failed: Table ‘Assets’ already exists at /usr/local/rt/core/rt-4.4.0/sbin/…/lib/RT/Handle.pm line 552. (/usr/local/rt/core/rt-4.4.0/sbin/…/lib/RT.pm:390)
DBD::mysql::st execute failed: Table ‘Assets’ already exists at /usr/local/rt/core/rt-4.4.0/sbin/…/lib/RT/Handle.pm line 552.
make: *** [upgrade-database] Error 255

Any idea how to fix this? Thanks.

does anyone have any idea how to get past the duplicate entry error?