Closed xbbb1 closed 3 months ago
I ready to pay for solution :)
Solution finded in community chat:
This is the fix for anyone else who has issues with Monero support:
# Open the Monero fragment
vim docker-compose-generator/docker-fragments/monero.yml
# Edit line 17
# Replace "entrypoint: monero-wallet-rpc --rpc-bind-ip=0.0.0.0 --disable-rpc-login --confirm-external-bind --rpc-bind-port=18082 --non-interactive --trusted-daemon --daemon-address=monerod:18081 --wallet-dir=/wallet --tx-notify="/bin/sh ./scripts/notifier.sh -X GET http://btcpayserver:49392/monerolikedaemoncallback/tx?cryptoCode=xmr&hash=%s""
# With
entrypoint: monero-wallet-rpc --rpc-bind-ip=0.0.0.0 --disable-rpc-login --confirm-external-bind --rpc-bind-port=18082 --non-interactive --trusted-daemon --daemon-address=monerod:18081 --wallet-file=/wallet/wallet --password-file=/wallet/password --tx-notify="/bin/sh ./scripts/notifier.sh -X GET http://btcpayserver:49392/monerolikedaemoncallback/tx?cryptoCode=xmr&hash=%s"
# Note the difference being changing from wallet-dir back to wallet-file/password-file
# --wallet-file=/wallet/wallet --password-file=/wallet/password
# Update the Monero container
./btcpay-update.sh
Essentially just replacing --wallet-dir=/wallet
on line 17 with --wallet-file=/wallet/wallet --password-file=/wallet/password
. Once the PR is reverted you'll need to run git restore docker-compose-generator/docker-fragments/monero.yml before you can update BTCPay again properly.
In my case on installed system solution file is nano -l /home/mrpepper/btcpayserver-docker/Generated/docker-compose.generated.yml
- use search to find /wallet
.
Thanks for chat!
The node is set to use only Monero by https: /sethforprivacy.com/guides/accepting-monero-via-btcpay-server/
The problem is that the XMR viewing keys (via Store settings -> Monero -> Upload wallet) should be added again after restarting the docker container. How to add them permanently?