question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`systemctl` issue in WSL

See original GitHub issue

Hi 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:

image

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:open
  • Created a year ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
riollycommented, Jul 25, 2022

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.

0reactions
tailhookcommented, Jul 22, 2022

@aradalvand, @riolly, can you please try the latest nightly?

curl https://sh.edgedb.com --proto '=https' -sSf1 | sh -s -- --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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found