-
Notifications
You must be signed in to change notification settings - Fork 821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't open wsl possibly after update "the data is invalid" #8826
Comments
Exactly the same error. Cant run docker dosktop. |
Short fix (from another discussion I found) change the system date backwards in time |
Fixed mine completely by downloading and installing another update |
Strongest recommendation don’t do anything silly- your files are probably fine (mine were) |
I used system date trick to back everything up in case though |
Hell no! :D |
Can do you give link to that issue. |
If this is a Docker Desktop related issue it may not be caused by actual WSL layer. |
It looks like a Docker Desktop bug. Can you reproduce the issue with a different Linux distribution from Windows Store after uninstalling Docker Desktop? |
everything are same |
This is also happening to me. Setting the date back in time fixed it. Why I think this is happeningI wasn't able to update my system for months. Today, every action I take regarding the system configuration / administration now shows an UAC prompt (opening task manager, changing settings). Checking their exes, they all have one thing in common: the certificate they were signed with (Microsoft Windows) is valid until 2022-09-15. I think some WSL-related binary was signed with that certificate and some check is failing because of that. This won't happen if your machine is properly updated |
This is happening because you are stuck on a very old Windows Insiders build (from March). Fix is to make sure you install a more recent version of Windows. |
Nope, that's not true, as i'm in 25179.1000 and it failing for me too, and the update KB2267602 is giving me a wrong date or time error too, so maybe is realted to other problem too |
Okay, seems that updating the system solves the problem, that build expires on 15/09/2022 |
Ok, solve to me: 1 - Travel to 14/09/2022 in my windows |
when i do this, i am getting error: |
Not sure why changing the date works; whatever it is, it needs to be fixed. |
That's totally insane, but this is what helped me after doing all other instructions. |
Thanks for reporting this @jameschapman19. |
I am having the exact same error, updating insider to a new build doesn't work, Update: I managed to change the date with command line Edit: I found that with the date from the paste then wsl works. So I will just backup everything and then install real linux instead |
What worked for me: @SauloSilva said to set my date back to Sept 14, 2022 in Windows, which I did
... changed my date back via "set time automatically" Starting a new WSL2 shell seems to be working, all data appears to be present. |
still getting |
@IzaGz open a terminal with admin privilege, reset the date to something before the 15th ex : set-Date -Date "01/09/2022" |
@iandouglas the first command : wsl update failed because it is missing "--" it should be: wsl --update |
Everytime I need |
Here's my "fix": I wrote a PowerShell script that grabs the date/time, sets it back to Sept 13, launches WSL, then sets the date back to today. In WSL, I have a script that runs in my .bashrc that ensures some necessary startup tasks are running (Redis, PostgreSQL, corn, etc) and then calls The first part of the script relaunches itself in Administrator mode if you don't already run it in Administrator mode.
|
Version
Microsoft Windows [Version 10.0.22579.100]
WSL Version
Kernel Version
No response
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
wsl.exe ->
Expected Behavior
Open a wsl console
Actual Behavior
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: