onion-monero-blockchain-explorer: Bugs when running on Docker

I found two bugs when using the Docker Compose example.

First, a “permission denied” error is thrown when the explorer tries to access the lmdb directory. I noticed the explorer image’s monero user (uid 1001) does not have the same uid as in monerod’s (uid 1000). My solution was to include an instruction to delete the ubuntu user (which was taking uid 1000) in the explorer image before adding the monero user.

After I got that fixed, I came across this other bug where the explorer simply stops working after a few minutes, attempting to restart the containers crashes both monerod and the explorer.

Image Explorer logs

The explorer stops immediately after the LMDB map resize detected. message is printed out, any HTTP requests keep timing out. The bug occurs regardless of monerod being syncing or not.

Let me know if you need more detailed logs and how to have them displayed.

We at MAGIC Grants are working on a Monero TrueNAS app (PR) and we found the bug while including the explorer in it, we would be very happy to see the explorer back working on Docker.

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 19 (15 by maintainers)

Most upvoted comments

I was testing with monero running on host, not in a docker. In this scenario it works fine.