Failure to start BTCPayServer post 1.4.0 upgrade
See original GitHub issueDescribe the bug This bug occurs after upgrading to v1.4.x from v1.3.x and has been reported by several myNode users.
At first, I was not able to reproduce the issue, but I have since reproduced the issue on a 32-bit Raspberry Pi 4. The 64-bit device seems to run fine, but I’m not sure if that is necessarily related.
The affected users have tried downgrading back to 1.3.6, which lets it work again and re-upgrading causes it to fail.
On my device having the issue, this is all I see in the logs for the btcpayserver container:
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
rm: cannot remove '/datadir/host_id_rsa': Device or resource busy
Creating BTCPay Server SSH key File...
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
rm: cannot remove '/datadir/host_id_rsa': Device or resource busy
Creating BTCPay Server SSH key File...
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
rm: cannot remove '/datadir/host_id_rsa': Device or resource busy
Creating BTCPay Server SSH key File...
To Reproduce the bug Steps to reproduce the reported bug:
- Install BTC Pay v1.4.x on myNode
- Containers start, but don’t run properly
- Browser error because NGINX can’t forward traffic to BTCPay
Expected behavior
I expected BTCPay to start. I’m thinking it is probably config related or related to the device being 32-bit, since that is the only place I’ve seen it. What I find unusual is that it seems to work fine on most devices. Not sure what could cause that.
Your BTCPay Environment (please complete the following information):
- BTCPay Server Version: 1.4.
- Deployment Method: Docker
- Browser: N/A
Setup Parameters
env file
BTCPAY_PROTOCOL=https
BTCPAY_HOST=mynode.local
BTCPAY_ADDITIONAL_HOSTS=btcpay-mynode.local
BTCPAY_ANNOUNCEABLE_HOST=
REVERSEPROXY_HTTP_PORT=80
REVERSEPROXY_HTTPS_PORT=443
REVERSEPROXY_DEFAULT_HOST=none
BTCPAY_IMAGE=
ACME_CA_URI=production
NBITCOIN_NETWORK=mainnet
LETSENCRYPT_EMAIL=
LIGHTNING_ALIAS=
BTCPAY_SSHTRUSTEDFINGERPRINTS=
BTCPAY_SSHKEYFILE=/datadir/host_id_rsa
BTCPAY_SSHAUTHORIZEDKEYS=/datadir/host_authorized_keys
BTCPAY_HOST_SSHAUTHORIZEDKEYS=/root/.ssh/authorized_keys
LIBREPATRON_HOST=
BTCTRANSMUTER_HOST=
BTCPAY_CRYPTOS=btc
WOOCOMMERCE_HOST=
TOR_RELAY_NICKNAME=
TOR_RELAY_EMAIL=
# myNode Additions
BTCPAY_VERSION=1.4.5
NBXPLORER_VERSION=2.2.20
POSTGRES_VERSION=9.6.5
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (5 by maintainers)
Top GitHub Comments
Ah sorry, I missed @NicolasDorier’s responses. You can close it. I’ve made some changes to restrict the version on arm32 and am now encouraging upgrading to arm64 to get recent versions of applications.
@tehelsper is this still an issue or should we close it?