for-win icon indicating copy to clipboard operation
for-win copied to clipboard

Cannot Start After Upgrading | WSL Errors

Open l-alfaro opened this issue 1 year ago • 3 comments

Description

After upgrading to v4.30. the app no longer is able to start properly. We have also tried 4.29 and the error still occurs.

The last working version is v4.26.0.

We have tried to do a clean install of Windows 10, but the issue persists.

image

We also tried different WSL distros, but same error just with the name of the Ubuntu distro changed. Tried Ubuntu-24.04, Ubuntu-22.04, Ubuntu-20.04, and Ubuntu

We tried to run the self-diagnose tool and got the following output:

Please investigate the following 2 issues:

1 : The test: is the Docker engine running? Failed with: Cannot connect to the Docker daemon at npipe:////./pipe/docker_engine_linux. Is the docker daemon running?

The Docker engine manages all containers and images on the host. Check the dockerd.log to see why it failed to start.

2 : The test: is the user in the docker-users group? Failed with: The user name could not be found.

The current user must be member of the docker-users group. Press the Win + R keys to open Run, type lusrmgr.msc into Run, followed by Enter to open Local Users and Groups.

However the user is already added to the group: net localgroup docker-users /add "*****\****@*****" image

WSL is up-to-date as well.

Thanks

Reproduce

Start Docker Desktop... Get error

Expected behavior

No response

docker version

n/a

docker info

n/a

Diagnostics ID

315A29C4-54B8-4BF0-9B64-B336A7F4A633/20240605173832

Additional Info

No response

l-alfaro avatar Jun 05 '24 18:06 l-alfaro

Hi, thanks for reporting this.

From the Diagnostics log provided, one of the errors seems like your user account doesn't have access to <HOME>\AppData\Roaming\Docker\.

[2024-06-05T17:17:16.175606700Z][com.docker.backend.exe.engines][E] applying settings: writing settings: rename <HOME>\AppData\Roaming\Docker\.tmp-settings.json863087013 <HOME>\AppData\Roaming\Docker\settings.json: Access is denied.

Can you please check if your account has permission on this path?

voonyee avatar Jun 06 '24 07:06 voonyee

Both of pcs are giving wsl errors after upgrading to 4.31.0

realiti4 avatar Jun 06 '24 18:06 realiti4

Hi. My case is the next: I just installed Docker Desktop for the first time in Windows 11; Of course, it is the current version of the software and when I tested it and followed the tutorial for beginners, while at the same time updating it, in a period of 2 days WSL and Ubuntu 22.04.3 were installed on the system without having executed these facilities still. The problem is that when I check the installed distros (with wsl --list --verbose) and that should appear in Configuration -> WSL Integration Resources, only Ubuntu appears and nothing else: This Ubuntu 22.04.3 distro does not appear; What can I do about it? Thanks for your help.

JosephKings7 avatar Jul 24 '24 16:07 JosephKings7