Bike is potentially too small for you. Try putting the saddle back on its rails, failing that try a layback seat post, so that you’re not having to bend your knee as much. The bend in your knee will be putting more pressure onto your femur via your knee cap and causing pain there. The medial knee pain might be related.