question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failure to start BTCPayServer post 1.4.0 upgrade

See original GitHub issue

Describe 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:

  1. Install BTC Pay v1.4.x on myNode
  2. Containers start, but don’t run properly
  3. 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:closed
  • Created 2 years ago
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tehelspercommented, Sep 16, 2022

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.

0reactions
pavlenexcommented, Sep 16, 2022

@tehelsper is this still an issue or should we close it?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting an issue in BTCPay Server
First and foremost, try to determine when the issue happens. Try to replicate the problem. Try to update and restart your server to...
Read more >
BTCPay Server (@BtcpayServer) / X
Best way to accept #Bitcoin. No fees, no intermediary. Free, open source & self-hosted Bitcoin payment processor for self-sovereign individuals and businesses.
Read more >
Getting BTCPayServer to run on Docker
I am unable to get the Docker image to start: Command is docker run -it --rm btcpayserver/btcpayserver:1.4.7 (I am trying to spawn btcpayserver...
Read more >
Server Settings FAQ
Server Settings FAQ. This document covers all the questions and issues related to Server Settings. These settings are only available to the server...
Read more >
BTCPay Server Workshop w/Pavlenex & Wouter Samaey
Bas Peters & Wouter Samaey take us through a demo to use the BTCPay Server at Bitcoin Amsterdam #day2 #bitcoinamsterdam #workshopstage ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found