there are so many things wrong with this battery setup that it is not surprising that it started a fire.
it is a lethal hazard with exposed bus bars , which are also close to the non insulated metal rack, relying on alligator clips for balancing.
And the OP claims the be an expert.
The most...