hi guys,
I wanted to give an update on this issue...since this was last updated last year in Aug 2021.
So, this invalid block thing was happening quite often until i discovered something: I was always running my CPU with an undervolt flag for better temperature under heavy loads.
For some reason, at some point i disabled that flag while running Core, and again and again and i noticed that the issue with the invalid block NEVER happened again. I didn't change anything, i didn't change SSD drive, didn't format, didn't re-download the entire blockchain, nothing.
So i am quite happy i managed to find a solution that works. I still run the undervolt for other things and some other wallets but not for BTC core.
Still a mystery the reason why though ;-)
Best,
Gabrio