I had exactly the same problem and, as everyone, I tried every option that was suggested here without any result. What did the trick for me were the following:
a) First of all there were some scripts that were referring to the companies EXT and COM which did not exist in the legal entities. So I disabled those scripts.
b) Those scripts had batch constraints to or from other batch tasks. So I went into the BatchConstraints table, I made the BatchId field visible and I removed any constraints that had to do with those, now disabled, scripts.
c) Still, after that I found out that only the scripts that were referring to partition "initial" were finished, while the rest were still at status "ready". The reason was that my user had only one record in the UserInfo table and that was for the "initial" partition. For the rest of the partitions there were no records. When that was fixed, the rest of the scripts were executed normally.