Open Da-Bayer opened 4 months ago
Hi everyone.
Another diagnostics ID 092845CE-A5A5-46DB-9940-D74EC4092151/20240419053944
Workaround: Start Docker with administrator rights.
More Info: The update to 4.29 deleted all images. I do not login with an administrator account.
Tobi
https://github.com/microsoft/WSL/issues/9157 I run success with issue WSL update failed . Let's install KB5020030 file https://www.catalog.update.microsoft.com/Search.aspx?q=KB5020030
Same issue here. version 4.29.0 always tries to update my wsl although it's already on the latest version when I try to do it manually.
wsl update failed: update failed: updating wsl: exit code: 4294967295: running WSL command wsl.exe C:\WINDOWS\System32\wsl.exe --update --web-download: Downloading: Windows Subsystem for Linux The requested operation requires elevation. : exit status 0xffffffff
uninstalling and reinstalling 4.28.0 works again. But I can't seem to be able to update to 4.29.0
Disgnostic ID:
E440D448-382B-4F34-BEE3-C1D2FB5E0345/20240419121414
Also happens on my end: 640FC6CF-9D49-480B-84CC-C8CF71D41B41/20240422071529
I had the same problem solution below:
SOLVED: Reinstall Docker ver. 4.28.0 with preinstalled Ubuntu from Microsoft Store
Can confirm downgrading to 4.28 has fixed the issue for me too.
Same issue as well Windows 10
error wsl update failed: update failed: updating wsl: exit code: 4294967295:
Discovered even though I had to install Docker Desktop 4.29.0 (145265) with admin rights and Docker Desktop was prompting to update wsl with admin privilidges.
The solution was simple.
Run wsl.exe --update from a cmd prompt that was not elevated.
Things that make you go Hmmmm
@minhruhr @Villad-dev @bl0000 where i can get 4.28.0 installer to download, can you give me the link or attach your file installer Thank you a lots <3
@duckodei https://docs.docker.com/desktop/release-notes/
Scroll down to 4.28.0.0, click Windows.
Same problem for me. Even though WSL is already updated to latest version. Diagnostic ID: A8FBCE60-CB47-4FBE-811B-CA75083CA43B/20240423084432
Getting same error please fix this
have this issue, can't fix it even with 4.28 ver. any ideas?
@bl0000 I tried, but that show check sum, not any installer file to download.
Do I make any mistake here, or can we have a way to use check sum to adjust the version when running the installer?
@duckodei did you click on checksum or on Windows? When you click on Windows, it directly downloads the installer.
@sbanoeon oh thanks a lot, i clicked checksum, my mistake. Let me try to install again
@sbanoeon oh thanks a lot, i clicked checksum, my mistake. Let me try to install again Just click on the windows option buddy it will start downloading we have to use this version until they fix this issue
I tried installing version 4.28 & 4.27.2 also but there seems to be a problem, have you encountered it?
@sbanoeon @Prashant20nov2003
Seeing the same issue here. Windows 10 machines, non-admin accounts. Downgrades to 4.28 allow the engine to start again.
Also, running wsl.exe --update --web-download
from an unelevated command prompt Then if open, closing out and opening up Docker for Windows worked, even though wsl reported that it was already at the latest version.
Similar to what tjk19 suggested https://github.com/docker/for-win/issues/14022#issuecomment-2070866709
Diagnostic ID: 33CED035-C391-46A4-8B96-9D06B5AD557C
Hey everyone 👋 ,
I'm taking a look at this issue.
From the diagnostics provided, the common theme is that the non-elevated check errors out with:
Windows Subsystem for Linux
The requested operation requires elevation.: exit status 0xffffffff
This feels odd, given that in all cases I see that the elevated update completes right before.
I also noticed that none of the diagnostics contained a log for com.docker.admin.exe
, which is where we may see clues about what is happening with the elevated update.
Could I ask you to check your logs directory, and let me know if it's present?
It would be here:
C:\Users\<user>\AppData\Local\Docker\log\host\
@chelpingstinetrill I will take a look at your diagnostic right now.
@chelnak that is not present on my regular user account but is present on my admin account.
@chelpingstinetrill Great! I can see it included in your diagnostics bundle which is really helpful. I can see that WSL gets updated successfully inside the elevated process.
I have a few questions for you if that is OK.
Appreciate your time, thank you!
@chelnak
WSL is correctly updated in my log file
-------------------------------------------------------------------------------->8 -------------------------------------------------------------------------------->8 [2024-04-24T07:05:26.035077800Z][com.docker.admin.exe.update][I] WSL Updater: updating wsl with -> wsl.exe --update --web-download [2024-04-24T07:05:36.538551100Z][com.docker.admin.exe.update][I] WSL Updater: update completed successfully: Checking for updates. The most recent version of Windows Subsystem for Linux is already installed.
If I may answer to your questions, in my case
@chelnak
Did you install Docker Desktop while logged in as an administrator account? It is installed/updated via Intune it uses the SYSTEM acount.
Did you run Docker Desktop while logged in as an administrator? Initial run/fail was with non-admin account. I then tried with admin account for troubleshooting and it ran successfully.
Did you then log in with your non-administrator account? Please see above.
Does your non-administrator account have any local admin / UAC rights? No local admin/UAC for non-admin account.
@minhruhr @chelpingstinetrill thank you both for the responses. They will be really useful for building a repro of the issue.
I see this message..as shown below:
Docker Desktop - WSL update failed
wsl update failed: update failed: updating wsl: exit code: 1: running WSL command wsl.exe C:\Windows\System32\wsl.exe --update --web-download: : exit status 1
Diagnostics ID is E4DDC3FC-415C-4FF4-9BE1-5DC1E320ADEA/20240425112407
Please help what to do
Hey @Rishikesh-atal
Can you take a look at the questions I posted here and provide some answers if possible please?
Also, as indicated in the above replies, a possible work around for this is to run wsl --update --web-download
from the same user that you are seeing Docker Desktop fail to start.
Also to add, I appreciate that this may not be feasible for those experiencing this on a larger scale!
Thanks, Craig
@chelnak
Please find my reply below to your questions:
Thank you so much for this thread!
This is a pretty serious issue as Docker Desktop v4.29 is completely unusable here on Windows 10 22H2 and I lost hours troubleshooting.
v4.28 started perfectly! 😀👍
Getting also this error with 4.29 even with admin account: " wsl update failed: update failed: updating wsl: exit code: 4294967295: running WSL command wsl.exe C:\WINDOWS\System32\wsl.exe --update --web-download: Copyright (c) Microsoft Corporation. All rights reserved. Usage: wsl.exe [Argument] [Options...] [CommandLine] ... " Apparently there is no such option argument with the wsl --update as "--web-download"
wsl --status
Default Distribution: Ubuntu-22.04
Default Version: 2
Windows Subsystem for Linux was last updated on 30.12.2023
WSL automatic updates are on.
Kernel version: 5.10.102.1
Apparently wsl from microsoft marketplace is unable to update to newer Kernel version:
wsl --update
Checking for updates...
No updates are available.
Kernel version: 5.10.102.1
Latest version available shoud be 5.15.57.1 https://learn.microsoft.com/en-us/windows/wsl/kernel-release-notes
Trying to update that, could be issue that has something to do with Windows version perhaps.
wsl --status Default Distribution: Ubuntu-22.04 Default Version: 2 Windows Subsystem for Linux was last updated on 30.12.2023 WSL automatic updates are on.
Kernel version: 5.10.102.1
Apparently wsl from microsoft marketplace is unable to update to newer Kernel version:
wsl --update Checking for updates... No updates are available. Kernel version: 5.10.102.1
Latest version available shoud be 5.15.57.1 https://learn.microsoft.com/en-us/windows/wsl/kernel-release-notes
Trying to update that, could be issue that has something to do with Windows version perhaps.
Updating the WSL to use latest version from https://learn.microsoft.com/en-us/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package had no effect to the kernel version. The documentation does not provide information about the kernel version that update is suppose to install so I'm now unsure if the kernel was updated correctly to actual latest version
wsl --status Default Distribution: Ubuntu-22.04 Default Version: 2 Windows Subsystem for Linux was last updated on 30.12.2023 WSL automatic updates are on.
Kernel version: 5.10.102.1 Apparently wsl from microsoft marketplace is unable to update to newer Kernel version:
wsl --update Checking for updates... No updates are available. Kernel version: 5.10.102.1
Latest version available shoud be 5.15.57.1 https://learn.microsoft.com/en-us/windows/wsl/kernel-release-notes Trying to update that, could be issue that has something to do with Windows version perhaps.
Updating the WSL to use latest version from https://learn.microsoft.com/en-us/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package had no effect to the kernel version. The documentation does not provide information about the kernel version that update is suppose to install so I'm now unsure if the kernel was updated correctly to actual latest version
Windows version should not be an issue
PS C:\WINDOWS\system32> systeminfo | Select-String "^OS Name" , "^OS Version"
OS Name: Microsoft Windows 10 Education
OS Version: 10.0.19045 N/A Build 19045
@MatiasHiltunen
Getting also this error with 4.29 even with admin account: " wsl update failed: update failed: updating wsl: exit code: 4294967295: running WSL command wsl.exe C:\WINDOWS\System32\wsl.exe --update --web-download: Copyright (c) Microsoft Corporation. All rights reserved. Usage: wsl.exe [Argument] [Options...] [CommandLine] ... " Apparently there is no such option argument with the wsl --update as "--web-download"
Try copy/paste the command. You are missing the .exe in your reply. You need to do this with the non-admin account. That worked for me. Good luck!
wsl.exe --update --web-download
Hey everyone,
We found the root cause of the issue some of you are experiencing.
It's been patched and will be released with Docker Desktop v4.30.
Thanks again for providing diags and answers!
Great work @chelnak!
Just curious, do you have an ETA for the next version?
I believe the next update is scheduled for the end of the month. 😄
Hello everyone,
I downgraded to 4.28 but I am still getting the same weird issue:
Additional info:
Microsoft Windows [versão 10.0.20185.1000]
(c) 2020 Microsoft Corporation. Todos os direitos reservados.
C:\Users\andre>wsl --update
Verificando atualizações...
Não há atualizações disponíveis.
Versão do kernel: 5.10.102.1
C:\Users\andre>
any news on that?
also happens; E7B5509D-AC4E-4D6A-A081-0B3F2EB1DE45/20240428072427
I downgraded the version and still got the error F194B62D-0A50-46F1-86C1-28FF2C97FC32/20240429021728
I also encountered the same problem. Perhaps it's my network problem, and trying the above methods and running "wsl -- update" in PS is ineffective The final solution is to find the offline update package for WSL, After installing the latest version of WSL, version 4.28.0 of Docker Desktop was successfully launched. Download address: https://github.com/microsoft/WSL/releases
@wmdzkey Did u met any trouble when installing wsl? With me, it's just so like below, after that, nothing happen.
I checked version and installed or not by wsl --list --verbose but it don't recognize.
@duckodei It's different from the output on my end
Check if WSL is set to the default version: 2
@wmdzkey After setting WSL, did u do some steps else to integrate with docker?
Can you list the steps of your setting from start till to be worked.
If possible give me more details.
Thanks a lot, I'm just stuck with installing docker and getting started with it ; (
I downgraded the docker-desktop to version 4.28 but still didn't solve the problem :
Just solved the issue with : Login with the Admin session Run "wsl --updat" in the cmd ( didn't work in my local session even running the cmd as administrator ) Restart computer and open docker-desktop as an administrator
@OmarLtf sorry but can you express "Login with the Admin session" in more specific for me.
My laptop only has an account ant it's admin account also, i logged in with this account and installing docker, but i dont know that what u mean or not.
@duckodei There are a total of the following steps. The first step is to start the hyper v and container services If it is not installed, check Add in the control panel, programs and features, and Windows features. Step 2: Update WSL Install the latest wsl2 and set the default version to 2 Step 3: Run Docker Desktop 4.28 All of the above
This cost me a whole day.... until i stumbled upon this comment !!!! Thanks !!!!
Same issue here. version 4.29.0 always tries to update my wsl although it's already on the latest version when I try to do it manually.
wsl update failed: update failed: updating wsl: exit code: 4294967295: running WSL command wsl.exe C:\WINDOWS\System32\wsl.exe --update --web-download: Downloading: Windows Subsystem for Linux The requested operation requires elevation. : exit status 0xffffffff
uninstalling and reinstalling 4.28.0 works again. But I can't seem to be able to update to 4.29.0
Disgnostic ID:
E440D448-382B-4F34-BEE3-C1D2FB5E0345/20240419121414
I have the same problem and but I assume it's because I'm using a WSL version where wsl --version does not exists (none win store version). In the docker logs I find:
[2024-05-02T11:45:26.992490300Z][com.docker.backend.exe.eci][W] getting WSL version: executing wsl --version: exit code: 4294967295: running WSL command wsl.exe C:\WINDOWS\System32\wsl.exe --version: Invalid command line option: version
I had same problem. download wsl from github and install. every thing ok
Same issue here.
My diagnostic ID:
ED1F22E8-3BAE-4A3C-BF9D-8442B06B5D42/20240505082418
My WSL version info:
WSL version: 2.1.5.0
Kernel version: 5.15.146.1-2
WSLg version: 1.0.60
MSRDC version: 1.2.5105
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22631.3527
Description
wsl update failed: update failed: updating wsl: exit code: 4294967295: running WSL command wsl.exe C:\WINDOWS\System32\wsl.exe --update --web-download: Downloading: Windows Subsystem for Linux
The requested operation requires elevation.
: exit status 0xffffffff
Reproduce
Expected behavior
Docker desktop start correctly.
docker version
docker info
Diagnostics ID
38B1FB20-5B09-490A-A484-255D42B5973B/20240417053402