[SUPPORT] Assign read permission to the Bitcoin group users for electrs #84
Replies: 9 comments 5 replies
-
I don't understand you, bitcoind creates the .cookie file and assigns read permission at startup for the group members can read it (i.e electrs) what are you suggesting? |
Beta Was this translation helpful? Give feedback.
-
I'm trying to figure out what's the issue. On every startup electrs doesn't start automatically and when I run it manually I get an error related to User
What could be the issue in my case? |
Beta Was this translation helpful? Give feedback.
-
I don't know, but shouldn't be like that, |
Beta Was this translation helpful? Give feedback.
-
Yes, it the configuration line I wrote in my first message... that doens't work with electrs. |
Beta Was this translation helpful? Give feedback.
-
I have similar behavior... In my node v24 startupnotify command is executed after about 10/15 seconds after bitcoin service is started. /home/bitcoin# watch -n1 ls -l .bitcoin/.cookie |
Beta Was this translation helpful? Give feedback.
-
I think is possible to sleep electrs for seconds before startup, to give time to bitcoind start, but I'm not sure how do it |
Beta Was this translation helpful? Give feedback.
-
@twofaktor I created this script to check permissions: could be added in the docker command or in the Electrs startup script |
Beta Was this translation helpful? Give feedback.
-
I think we should find another solution, docker and scripts are not allowed on RaspiBolt/MiniBolt guides I think should be possible to use some service parameters or maybe the Electrs dev include this fix directly on the code (ideal), which could be requested opening an issue https://github.com/romanz/electrs/issues |
Beta Was this translation helpful? Give feedback.
-
friends. correction on line on .conf file.. bitcoind = 127.0.0.1:8332 NOT /home/.... |
Beta Was this translation helpful? Give feedback.
-
electrs doesn't launch at startup using systemd service.
To start it I have first to run
chmod g+r /home/bitcoin/.bitcoin/.cookie
and thensudo systemctl start electrs
.For bitcoin-core you fixed the same issue with
startupnotify=chmod g+r /home/bitcoin/.bitcoin/.cookie
row in bitcoin.conf file.How to reach the same for electrs?
Beta Was this translation helpful? Give feedback.
All reactions