I would look close at the attachment seam from the roof to the sidewall. There is a rubber covering that covers the screws that can rust out and allow water to enter. Remove a portion of this seal and see if it is wet , moldy or the screws are rusted away. Also check the 4 bolts that hold the awning arm on. Start by tightening the bolts,when you torque the bolts do they just spin or do they tighten and caulking squeezes out? If they spin I would re caulk under the flange and install over size bolts. If water is entering here it may be rotted underneath and nothing for the screw to bite into. If you check these two areas and report back what you found you can receive further help.