Welcome here. Please use several paragraphs with an extra space between each one, to make it easier to read.
When a bike sits for a while then will not start, it is usually bad fuel, dirty spark plugs and/or a weak battery. Check those first. An engine needs 3 things to run- fuel, air, and spark. The factory service manual has procedures for checking all 3.
The knocking sound could be a major problem beginning, or something minor. I would get a mechanic familiar with this bike to listen to it and give you some advice. You could post up a video with the noise after you get it started, but this is definitely second place to having a mechanic look at the bike and doing whatever checks they think are needed.
“Banking institutions have banished precious metals and substituted a more fluctuating and unsafe medium; they have withdrawn capital from useful improvements and employments to nourish idleness for the few, who prefer demoralizing pursuits to labors useful to the whole; the peace of the whole is endangered by evils more easily to be deplored than remedied." by Thomas Jefferson,1810 (edited)