Open cocktailsk opened 10 months ago
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
This is still open, and looking on Telegram it appears to still be a widespread issue. It's a current problem for my instance of myNode. Has there been any further progress on this?
I may have had exactly the same problem. The following was also in the log: "Error: connect ECONNREFUSED ::1:8332"
I then changed the following part in
/usr/share/mynode/btcrpcexplorer_env
BTCEXP_BITCOIND_HOST=localhost
changed to
BTCEXP_BITCOIND_HOST=127.0.0.1
Then I restarted the BTC Explorer and now everything is working as expected.
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):
MyNode hardware (please complete the following information):
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...