Here, you can see that water sits in this area with no hope of draining. The site is shaded and low, pitched improperly. Taper corrections and built-up curb is recommended as well as adding drainage.
Ponding water and low curb make for bad conditions for overtopping the roof's edge.