btcpayserver-docker: monerod crashes after update to Monero v0.18.2.2

Todays commits caused monerod to crash on our server:

# docker logs --tail 10 "btcpayserver_monerod" 
2023-06-26 09:49:59.427	I Stopping cryptonote protocol...
2023-06-26 09:49:59.427	I Cryptonote protocol stopped successfully
2023-06-26 09:49:59.428	E Exception in main! boost::filesystem::create_directories: Permission denied: "/nonexistent"
2023-06-26 09:51:01.007	I Monero 'Fluorine Fermi' (v0.18.2.2-release)
2023-06-26 09:51:01.007	I Initializing cryptonote protocol...
2023-06-26 09:51:01.007	I Cryptonote protocol initialized OK
2023-06-26 09:51:01.008	I Initializing core...
2023-06-26 09:51:01.008	I Stopping cryptonote protocol...
2023-06-26 09:51:01.008	I Cryptonote protocol stopped successfully
2023-06-26 09:51:01.008	E Exception in main! boost::filesystem::create_directories: Permission denied: "/nonexistent"

We temporarily fixed it by going back to commit cd0a734:

# cd btcpayserver-docker/
# git checkout cd0a73435c2bc8a8bd7c815611ef34c634ca3628
# btcpay-update.sh --skip-git-pull

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 16 (16 by maintainers)

Most upvoted comments

https://github.com/btcpayserver/dockerfile-deps/pull/67 resolves this, it appears to be a permissions issue as the containers default UID for the new Monero user defaults to 100 now instead of 101 after switching the base image to stable-slim.