Revelation 20 doesn't say anything other than saying Gog and Magog. No contradictions? What you should be saying is there is no similarities other than the words Gog and Magog. And there are insurmountable reasons why Gog/Magog of Ezekiel 38/39 is not the same.
There are not 7 years following Revelation 20. There is no feast on the dead bodies. There is no gathering of the elect. There is no the Lord setting his glory among the heathen. Jesus will have been here on earth at that time for 1000 years - and it is not until after the 1000 years that Israel knows him? Impossible.
Ezekiel 39:
28 Then shall they know that I
am the LORD their God, which caused them to be led into captivity among the heathen: but I have gathered them unto their own land, and have left none of them any more there.
No; you have decided either that there's no literal millennial reign or that Gog/Magog has to be twice. You would not get that from reading it.
There's nothing stating that verse 28 isn't past tense. In fact, every verb is past tense. The formerly untested millennium people know Jesus more when they see Him destroy the peoples that come against them.
Ezekiel 38:8
8 After many days you will be visited. In the latter years you will come into the land of those brought back from the sword and gathered from many people on the mountains of Israel, which had long been desolate; they were brought out of the nations, and now all of them dwell safely.
This is consistent with the millennium - Jesus gathered them (Isaiah 27:12-13) and brought them peace (Isaiah 26:12, Isaiah 2). What compels you to think it's possible for Israel to live in peace, dwelling safely in their land without Jesus Himself doing it?
Ezekiel 38:10-12
10 ‘Thus says the Lord God: “On that day it shall come to pass that thoughts will arise in your mind, and you will make an evil plan: 11 You will say, ‘I will go up against a land of unwalled villages; I will go to a
peaceful people, who dwell
safely, all of them dwelling without walls, and having neither bars nor gates’—12 to take plunder and to take booty, to stretch out your hand against the waste places that are again inhabited, and
against a people gathered from the nations, who have acquired livestock and goods, who dwell in the midst of the land.
Compare this with Isaiah 2:
The word that Isaiah the son of Amoz saw concerning Judah and Jerusalem.
2 Now it shall come to pass in the latter days
That the mountain of the Lord’s house
Shall be established on the top of the mountains,
And shall be exalted above the hills;
And all nations shall flow to it.
3 Many people shall come and say,
“Come, and let us go up to the mountain of the Lord,
To the house of the God of Jacob;
He will teach us His ways,
And we shall walk in His paths.”
For out of Zion shall go forth the law,
And the word of the Lord from Jerusalem.
4 He shall judge between the nations,
And rebuke many people;
They shall beat their swords into plowshares,
And their spears into pruning hooks;
Nation shall not lift up sword against nation,
Neither shall they learn war anymore.
This is never going to happen before Jesus returns, and frankly, the Jewish people can't possibly be brought to Israel and gathered from the nations to live at peace without Jesus doing it. They are presently surrounded by lots of people/nations who have expressed the desire to annihilate them.
Perhaps part of this prophecy is a dual prophecy of Armageddon and the millennial Gog/Magog--I don't know. But the Gog/Magog after the millenium will show the formerly untested people (who didn't know war or Satan's interference) that God is strong to defend them when they trust in Him by faith. Probably most people living then won't have been alive to see Christ's glorious return and the ugliness of the pre-reign world before God heals everything (see Ezekiel 47-48).