edgedb-cli icon indicating copy to clipboard operation
edgedb-cli copied to clipboard

Unable to initialize project using cli

Open morfert opened this issue 2 years ago • 3 comments

  • EdgeDB Version: 2.14+7aec755
  • EdgeDB CLI Version: 3.0.0-dev.983+bbf07e5
  • OS Version: Windows 10 Home 19044.2965

Steps to Reproduce:

  1. Install edgedb on windows with wsl2
  2. Run 'edgedb project init'

I referenced https://github.com/edgedb/edgedb-cli/issues/850#issuecomment-1275965281 from #850 by @tailhook , installed nightly and ran 'edgedb project init 2>project-init.log' to generate the following log. project-init.log

morfert avatar May 13 '23 05:05 morfert

The only thing we see in the log is that network in WSL doesn't work. It's likely that firewall blocks the network in WSL. Unfortunately there are a lot of different issues with WSL and firewalls.

If you don't have any specific one installed I suggest trying to disable "windows defender firewall" entirely and test if that works. If it does you can revert the setting and work thought more fine-grained firewall tuning.

tailhook avatar May 15 '23 10:05 tailhook

Yeah, I only have windows firewall installed. Even after disabling all the firewall options from settings I could not initialize a project.

morfert avatar May 18 '23 03:05 morfert

I have the same problem. I installed WSL separately, but it still starts downloading WSL upon initialization. Administrator rights didn't help. I also discovered a bug during installation: when select to change the path: 2 -> Y, nothing happens UPD And so, install wsl (Admin rule) wsl --install Be sure to restart your computer to complete the installation. Then run edgedb server install

creatormir avatar Dec 08 '23 19:12 creatormir