The exact problem you have just started for me this week as well. I have been trying all morning to fix it. Still nothing.
Mine is now resolved, I installed the "Windows 11 Installation Assistant" and then was able to use that to update to the newer version. It took a bit of time, but it's all good now using version 24H2 - ironically my computer is much faster now and had slowed down quite a bit ?
Use this link to download the "Windows 11 Installation Assistant" which will take your through the process. https://www.microsoft.com/en-us/software-download/windows11 Good Luck!