mynodebtc/mynode

BTC RPC Explorer

cocktailsk opened this issue · 2 comments

Describe the bug
when trying to acccess BTC RPC Explorer Im getting the below error message:
This explorer currently is failing to connect to your Bitcoin Core node.
Check your connection details (host & port for Bitcoin Core), as well as your authentication details (username, password, etc).
All of these parameters need to be specified in a ".env" file or via commandline parameters. See the project homepage to review how to configure this explorer.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Browser safari
  • Version 16.6.1

MyNode hardware (please complete the following information):

  • Device: Nuc with win11 and virtualbox

Mynode was manually upgraded to 0.3.24 when checking the log I see the .env file is missing in /home/bitcoin/.config/

Dec 21 09:50:57 myNode btcrpcexplorer[22093]: 2023-12-21T15:50:57.859Z btcexp:app Config file found at /opt/mynode/btc-rpc-explorer/.env, loading...
Dec 21 09:50:57 myNode btcrpcexplorer[22093]: 2023-12-21T15:50:57.859Z btcexp:app Config file not found at /etc/btc-rpc-explorer/.env, continuing...
Dec 21 09:50:57 myNode btcrpcexplorer[22093]: 2023-12-21T15:50:57.858Z btcexp:app Config file not found at /home/bitcoin/.config/btc-rpc-explorer.env, continuing...

The upgrade may not have worked. You could try starting with a fresh image. A script with this line should be running before the app starts that sets up the env file.

cp /usr/share/mynode/btcrpcexplorer_env /opt/mynode/btc-rpc-explorer/.env