This message was deleted.
# rancher-desktop
a
This message was deleted.
b
When I try to run the command directly I get this error
Copy code
PS C:\> wsl.exe --distribution rancher-desktop --exec /usr/local/bin/wsl-service --ifnotstarted buildkitd start
/usr/libexec/rc/sh/openrc-run.sh: /etc/init.d/../conf.d/buildkitd: line 31: Chandra/AppData/Local/rancher-desktop/logs/buildkitd.log: not found
 * buildkitd: error loading /etc/init.d/../conf.d/buildkitd
 * ERROR: buildkitd failed to start
This seems that it's seems that's its picking the wrong file path. My user name has a space (Debasish Chandra), and it only picked the path after the space.
Is there a way to fix it?
m
Hi. Thanks for asking here. This matches a known issue reported in https://github.com/rancher-sandbox/rancher-desktop/issues/7332 based on your buildkit error. There is a workaround: • Create a file in
C:\Users\User Space Name\AppData\Local\rancher-desktop\provisioning
• With the following script:
sed -i '$c\log_file=/mnt/c/Users/User\\ Space\\Name/AppData/Local/rancher-desktop/logs/buildkitd.log' /etc/conf.d/buildkitd
Let us know if that remedies your problem until we can find a permanent solution.