ExchangeUnion / xud-docker

Streamlined setup of xud and all dependencies via docker 🐳
https://docs.exchangeunion.com
GNU Affero General Public License v3.0
5 stars 5 forks source link

List of Installation troubles #407

Closed raladev closed 4 years ago

raladev commented 4 years ago

Introduction

Just trying install xud-docker for each type of network:

  1. Simnet - only lnd-btc starts correctly;
  2. Testnet using own nodes (nodes from exchange union docker images)_ - only lnd-btc starts correctly after several restarts of docker containers
  3. Mainnet using Neutrino and Infra nodes - finally, I got all worked nodes, but containers has been restarted too.

I don't create separate issue for each problem that I met during installation attempts because some of them can be 'works as designed' features and its just my misunderstanding of some concepts. It can be done after discussion.

Configuration

Simnet

Versions of containers

exchangeunion/xud:1.0.0-beta.2-simnet
exchangeunion/raiden:0.100.5a1.dev162-2217bcb-simnet
exchangeunion/lnd:0.8.2-beta-simnet exchangeunion/lnd:0.8.2-beta-simnet
exchangeunion/utils:latest

List of problems

Notes

Steps to Reproduce

  1. delete all docker images and containers
  2. curl https://raw.githubusercontent.com/ExchangeUnion/xud-docker/master/xud.sh -o ~/xud.sh
  3. bash ~/xud.sh
  4. choose Simnet
  5. wait for xucli

Testnet

Versions of containers

exchangeunion/xud:1.0.0-beta.2 exchangeunion/raiden:0.100.5a1.dev162-2217bcb exchangeunion/lnd:0.9.0-beta-ltc exchangeunion/lnd:0.9.2-beta exchangeunion/geth:1.9.12 exchangeunion/litecoind:0.17.1 exchangeunion/bitcoind:0.19.1 exchangeunion/utils:latest

Created by bash xud.sh and choosing Testnet in Menu.

List of problems

Steps to Reproduce

  1. delete all docker images and containers
  2. curl https://raw.githubusercontent.com/ExchangeUnion/xud-docker/master/xud.sh -o ~/xud.sh
  3. bash ~/xud.sh
  4. choose Testnet
  5. wait for xucli

Mainnet with Neutrino/Infra

There were no unique problems, just containers that were stuck in Container running state and admin.macroon issue #382 (screen_7), but after some restarts I finally got 4 Ready states.

kilrau commented 4 years ago

Thank you so much for testing all this - good and bad news at the same time: we are aware of most of the issues :/

Since we would like to work closer with you to confirm our solutions for each, consider joining our developer chat at https://discordapp.com/invite/YgDhMSn

raladev commented 4 years ago

Issue for geth hint was added and also I found other issues that looks like my problems; Therefore, I edit first post to actualise it.

kilrau commented 4 years ago

Simnet

Simnet is currently undergoing a revamp, please refrain from using it until this is complete (also the reason why we marked it as "under maintenance" here. Raiden will not be part of the simnet anymore in future, but connext instead and channel opening bot is currently being fixed. We are fixing this as a priority, will go through the issue you encountered before we go live again.

Testnet 99,9% trouble of geth synchronization

Agree, opened this PR: https://github.com/ExchangeUnion/docs/pull/94

No Waiting For Sync status for lnd and riden nodes Was this with the full setup (bitcoind/litecoind/geth)? Issues we are aware: all things container status stuck with the light setup: https://github.com/ExchangeUnion/xud-docker/issues/382 & https://github.com/ExchangeUnion/xud/issues/1457

Cant get Ready status for lndltc node after litecoind sync because of connection refused error.

Do you happen to still have logs? Litecoin rewinding blocks (looks like syncing again from scratch but actually doesn't download anything and hence should me much faster) is an issue we encounter since early on and we gave up trying to fix it after @reliveyy spent about a month trying to get litecoind not to corrupt it's own data. We can give it another shot though.

raladev commented 4 years ago

Raiden will not be part of the simnet anymore in future, but connext instead and channel opening bot is currently being fixed.

Ok, I crossed out Raiden problem because of the deletion.

No Waiting For Sync status for lnd and riden nodes

That was with the full setup (Testnet) and with the light setup (Mainnet).

Nodes stuck in Container running state after sync finishing

Was this with the full setup (bitcoind/litecoind/geth)? Issues we are aware: all things container status stuck with the light setup: #382 & ExchangeUnion/xud#1457

That too was with the full setup (Testnet) and with the light setup (Mainnet).

If you need full logs of all nodes for both cases above, I can reproduce them again, they are easily reproducible.

Cant get Ready status for lndltc node after litecoind sync because of connection refused error. Do you happen to still have logs? Litecoin rewinding blocks (looks like syncing again from scratch but actually doesn't download anything and hence should me much faster) is an issue we encounter since early on and we gave up trying to fix it after @reliveyy spent about a month trying to get litecoind not to corrupt it's own data. We can give it another shot though.

I have only sixth screen(screen_6) with logs of xud where I tried to unlock the node and got Could not verify connection error.

Regarding litecoind re-sync problem, I have no logs and screens, but I can try to reproduce it again if this works out. Litecoin testnet sync does not take much time.

kilrau commented 4 years ago

Let's see this as the ultimate test for beta.4.

raladev commented 4 years ago

only this one still exists - No Waiting For Sync status for lnd and riden nodes after installation (when ltc, btc, geth nodes in sync state)

I closed this issue and will open another one to determine correct statuses for each stage.