Second layer: gaps, poor adhesion - why?
I wouldn't describe that as an "OK" first layer. The nozzle is either too far from the bed, or you're underextruding. Underextrusion also looks like the cause of your second layer problems.