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.
"We have created a Star Wars civilization, with Stone Age emotions, medieval institutions, and godlike technology. We thrash about. We are terribly confused by the mere fact of our existence, and a danger to ourselves and to the rest of life.”
― from Edward O. Wilson, The Social Conquest of Earth.