Comments (4)
This issue is from me. This is on WSL 2.0 using both Ubuntu and then later on Fedora. After installing on both everything came up besides lightning and bitcoin 100% synced. The error I was seeing in the logs was
lightning | unable to initialize tor controller: unable to connect to Tor server: dial tcp 10.21.21.11:29051: connect: connection refused
Later I was able to see the logs of tor using 'docker compose logs tor' from the citadel directory and at the top I finally saw some helpful clue. It said:
tor | Jun 07 22:25:42.845 [warn] You have a ControlPort set to accept unauthenticated connections from a non-local address. This means that programs not running on your computer can reconfigure your Tor, without even having to guess a password. That's so bad that I'm closing your ControlPort for you. If you need to control your Tor remotely, try enabling authentication and using a tool like stunnel or ssh to encrypt remote access.
At first I thought I needed to do something with 'ip tables' but that wasn't it. Later I keyed in on the part about "without even having to guess a password" and then I saw in tor/torrc-core the HashedControlPassword didn't have a password and I felt like that must be it. After some googling I found that I could type 'tor --hash-password [password]' to generate a hashed password. Then I figured on checking in lnd/lnd.conf to see if it contained a password and it did so I tried with that and generated some hashed password. Then I needed a way to use my new HashedControlPassword but if I modified tor/torrc-core I knew it would get replaced when i restarted citadel. So I decided to try pointing the docker-compose to a torrc-core file outside of citadel that I had control of where the only change I made was giving the HashedControlPassword the value generated for the tor --hashed-password command. Then I restarted citadel and it worked.
Docker containers
NAMES STATUS
nginx Up About an hour
middleware Up About an hour
manager Up About an hour
redis Up About an hour
app-2-tor Up About an hour
app-3-tor Up About an hour
lightning Up About an hour
app-tor Up About an hour
electrum Up About an hour
dashboard Up About an hour
bitcoin Up About an hour
tor Up About an hour
Writing all this incase anyone else tries with WSL 2.0 and has the same issue. This was my only issue bringing up citadel.
I hope there can be some fix to get HashedControlPassword populated on start up but if not this is my workaround
from core.
The password is normally generated by the configure script. If it's missing, the configure script did not run properly, probably because you did not install the required dependencies that are mentioned on our website.
We should improve the error messages in this case, but this does not seem to be a bug.
from core.
I ran
curl -fsSL https://get.docker.com | sh
sudo apt -y install fswatch jq rsync curl
sudo apt -y install python3-jsonschema python3-dacite python3-semver python3-requests python3-yaml
On both ubuntu and fedora it could not find python3-dacite, not sure why, so i used
pip install dacite to get it
maybe that is causing it? Other than that everything was the same as the guide says.
from core.
python3-dacite
only exists on Ubuntu 22.04, which the guide mentions as minimum version. You are using an OS which is too old.
from core.
Related Issues (14)
- Change .umbrel to .runcitadel ? HOT 2
- Make SSL Port 443 optional/deactivable HOT 1
- Wordpress App HOT 1
- Do we need to really run this as root? HOT 2
- Some problems when I tried run in ubuntu server HOT 2
- Add Torq App - routing node data aggregator
- Wordpress App - 403 Forbidden Apache error
- Rust-based app generator HOT 1
- New backup backend
- Show correct CPU temperature (x86) HOT 1
- E: Unable to locate package runcitadel HOT 5
- App store not loading HOT 1
- Electrs not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.