Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xud.sh not working on macOS #789

Open
rsercano opened this issue Nov 19, 2020 · 8 comments
Open

xud.sh not working on macOS #789

rsercano opened this issue Nov 19, 2020 · 8 comments
Assignees
Labels
bug Something isn't working P3 low priority

Comments

@rsercano
Copy link
Collaborator

Docker info:

Client:
 Debug Mode: false
 Plugins:
  scan: Docker Scan (Docker Inc., v0.3.4)

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 34
 Server Version: 19.03.13
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 8fba4e9a7d01810a393d5d25a3621dc101981175
 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
 init version: fec3683
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 5.4.39-linuxkit
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 1.941GiB
 Name: docker-desktop
 ID: YTTZ:2GLG:OT47:2PIA:JP6J:2MJK:BBWF:TOLR:LSUW:NDWG:WTN6:OM7A
 Docker Root Dir: /var/lib/docker
 Debug Mode: true
  File Descriptors: 40
  Goroutines: 47
  System Time: 2020-11-18T19:28:43.636762637Z
  EventsListeners: 3
 HTTP Proxy: gateway.docker.internal:3128
 HTTPS Proxy: gateway.docker.internal:3129
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
 Product License: Community Engine

Without grpc fuse:

image

With grpc fuse:

➜  ~ bash xud.sh 
1) Simnet
2) Testnet
3) Mainnet
Please choose the network: 1
🚀 Launching simnet environment
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/launcher-1.0.0-py3.8.egg/launcher/__init__.py", line 273, in launch
    config = Config(ConfigLoader())
  File "/usr/local/lib/python3.8/site-packages/launcher-1.0.0-py3.8.egg/launcher/config/config.py", line 37, in __init__
    self.home_dir = self.loader.ensure_home_dir(os.environ["HOST_HOME"])
  File "/usr/local/lib/python3.8/site-packages/launcher-1.0.0-py3.8.egg/launcher/config/loader.py", line 47, in ensure_home_dir
    os.mkdir(hostfs_dir)
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/hostfs/Users/sercanozdemir/.xud-docker'
@rsercano rsercano added the bug Something isn't working label Nov 19, 2020
@reliveyy
Copy link
Collaborator

Related to docker/docker-py#2696

@kilrau kilrau added the P3 low priority label Nov 20, 2020
@kilrau
Copy link
Contributor

kilrau commented Nov 20, 2020

Made this a P3 "watch only" issue since we are simply waiting for a fix on docker side observing above linked issue.

@kilrau kilrau changed the title xud.sh not working on osx xud.sh not working on macOS Nov 20, 2020
@kilrau
Copy link
Contributor

kilrau commented Nov 20, 2020

Still unfixed: docker/docker-py#2696 (comment)

@kilrau
Copy link
Contributor

kilrau commented Dec 1, 2020

Since this is still not fixed by docker, how about we also use the workaround linked in the issue (https://github.com/getsentry/sentry/pull/22250/files#diff-1125ff5a13bc41637ad61c8bd8edbc84dc7a8436b8a6ad3a8b95f16d65156913R12)

@kilrau
Copy link
Contributor

kilrau commented Dec 1, 2020

Can you guys run edge (2.5.2) to see if it fixes this issue? @peartobear @reliveyy

@kilrau kilrau assigned rsercano and unassigned reliveyy Dec 15, 2020
@kilrau
Copy link
Contributor

kilrau commented Dec 15, 2020

@peartobear
Copy link

peartobear commented Jan 5, 2021

It's not working for me right now. Cli exits after attempting to pull images

Ankurs-MacBook-Air:~ ankurkumar$ bash xud.sh
1) Simnet
2) Testnet
3) Mainnet
Please choose the network: 2
🚀 Launching testnet environment
🌍 Checking for updates...
- Image exchangeunion/proxy:latest: pull
- Image exchangeunion/boltz:latest: pull
- Image exchangeunion/lndltc:latest: pull
- Image exchangeunion/lndbtc:latest: pull
- Image exchangeunion/xud:latest: pull
- Image exchangeunion/connext:latest: pull
Ankurs-MacBook-Air:~ ankurkumar$ 

logs: https://paste.ubuntu.com/p/ZGDwpdndnp/

@kilrau
Copy link
Contributor

kilrau commented Jan 5, 2021

Thanks! cc @reliveyy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P3 low priority
Projects
None yet
Development

No branches or pull requests

4 participants