Looking at this report.
Looks like the first blackout while alongside was cause by human error. A crew-member was doing maintenance on the exhaust scrubber for the only generator they had online. During this process the exhaust damper got closed causing the generator to shut down probably due to high exhaust gas temps.
The second power loss while alongside occurred when the standby generator came online due to the first power loss and later shut down due to low fuel pressure causing the generator to shut down. This was likely caused by human error as well (valve misalignment).
The idea that there was known issues with the power system might be a red herring.
Based on this preliminary report, we might be looking at human error as the most likely cause. This is a known risk when you are shutting down systems for maintenance while underway or right before getting underway. It may be the case that something was misaligned or misconfigured during maintenance and set off a chain reaction when getting back underway.
The preliminary report favors the shipowner here, imo. There's no guarantee that limitation gets busted. If human error materializes as the most likely cause we'll see them try and make the case that the crew was unseaworthy, which may be a harder sell.
We probably looking at human error. This may come down to one low level guy doing preventative maintenance not putting something back like it was supposed to be.