Comments (4)
I am having the same issues now for a few days, have tried resetting tor and rebooting but no luck.
Was working excellent until then
from mynode.
If you are having this issue, see if it was for the same reason as me
- lnd requires Tor to start
- Tor requires an accurate clock to start
- myNode uses systemd-timesyncd to set the clock
- systemd-timesyncd is configured with DNS names for its NTP servers
- DNS requires /etc/resolv.conf to contain a valid nameserver line
- resolv.conf is created by the startup script, see issue #133
- If any of these are blocking your node, fix them and reboot
from mynode.
There's multiple issues going on here. The first issue is the clock is always wrong on the Pi 4 on boot. There is no Real Time Clock saved on the hardware, so Pi depends on a network time server. I believe some script is writing to systemd-timesyncd.service unit file which causes systemd to refuse to start the unit:
admin@myNode:/mnt/hdd/mynode/bitcoin $ sudo systemctl start systemd-timesyncd
Warning: The unit file, source configuration file or drop-ins of systemd-timesyncd.service changed on disk. Run 'systemctl daemon-reload' to reload units.
To work around this every time my Pi boots MyNode:
(The below is assuming you already worked around issue #133 by commenting the line in mynode_startup.sh and have working nameservers in /etc/resolv.conf )
sudo systemctl daemon-reload
sudo systemctl start systemd-timesyncd
The clock now gets set correctly.
After this point, it seems Tor, then LND both may need manual restarts... or I'm not waiting long enough. I wasn't able to find what writes to the systemd timesyncd unit file as the text timesyncd doesn't occur in /usr/bin - possibly a batch copy.
sudo systemctl start tor
(Wait a few minutes)
sudo systemctl restart lnd
The unlock script is already waiting and runs automatically in about 30 sec after this and LND starts up.
from mynode.
Tor is not on a much newer version. Closing.
from mynode.
Related Issues (20)
- fresh install on raspberry pi 4; some apps stuck in "installing ..." forever HOT 3
- Electrum Wallet will not connect. HOT 1
- LND Error - The LND service is not running properly. HOT 1
- Docker error="unauthorized: authentication required" HOT 10
- security: implement LNbits update to 0.12.x HOT 1
- i2pd is running even not enabled as a bitcoin protocol HOT 5
- That's the mempool log. Is docker still failing? If you can, can you create a new VM to see if it also has the same issue?
- Support for UPS power shutdown HOT 2
- Public IP shown in Status page would be useful HOT 1
- Bug fix
- allow PCIe NVMe on Raspberry Pi 5 HOT 5
- idk if it's a docker-based problem 🤷♂️ The log is full of entries like that:
- When I debug a transaction with both a P2TR scriptpath and a P2TR keypath input, I always get an error:
- Problem on Raspi5 initial login HOT 2
- Change the size in MyNode . OVA OS Disk HOT 3
- Broken links with tailnet on
- Migration to PC mynode HOT 2
- Cannot connect to Alby with LND - ERR_UNSAFE_PORT 10080 HOT 1
- ye
- Color Shell
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 mynode.