`systemctl` issue in WSL
See original GitHub issueHi there. I’m on Windows 11 (build 22622, if that matters) and I’ve been trying to install EdgeDB on WSL Ubuntu 20.04.
As per the instructions in the documentation, first I ran the following command:
curl https://sh.edgedb.com --proto '=https' -sSf1 | sh
And then:
edgedb project init
Leading to the following error:
Which seems to have something to do with the fact that there’s no systemd
and by extension systemctl
in WSL.
How are you supposed to get EdgeDB to work on WSL? I searched through the issues in this repo and also edgedb/edgedb-cli but the explanations and the suggested workarounds were either confusing or outdated/didn’t work.
Thanks.
Issue Analytics
- State:
- Created a year ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
why systemd is disabled in WSL? - ubuntu - Stack Overflow
Systemd is NOT supported in WSL but there is a workaround for this - Script to enable systemd support on current Ubuntu WSL2...
Read more >Systemd support is now available in WSL!
The Windows Subsystem for Linux (WSL) can now run systemd inside of your WSL distros, empowering you to do more with your Linux...
Read more >How to enable systemd in Windows Subsystem for Linux (WSL)
To enable systemd, at least right now, you will have to add an instruction to your wsl.conf file. This is a configuration file...
Read more >Enable systemd in WSL 2 - gists · GitHub
This guide will enable systemd to run as normal under WSL 2. This will enable services like microk8s , docker and many more...
Read more >Systemd support lands in WSL – unleash the full ... - Ubuntu
Systemd support has arrived in WSL! This long-awaited upgrade to WSL unlocks a huge number of quality of life features for managing ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m done with WSL. Recently I install dual boot Linux instead. I really want to use edgedb.
Because there is also a problem when I run
npx edgedb-js
when generating the edgejs.Maybe @aradalvand can try using nightly version.
@aradalvand, @riolly, can you please try the latest nightly?
It seems to work for me both within default ubuntu and distrod. If it doesn’t please show the output of the
env
command.