brennentsmith / internet-speed-logger

Open source application to track your internet download and upload speeds with an elegant web interface.
GNU General Public License v3.0
176 stars 33 forks source link

Unable to start due to MongoDB error 132 #38

Open tomsinclair94 opened 1 year ago

tomsinclair94 commented 1 year ago

I have been running this tool for quite some time with very little issue. Today I executed an update using the steps provided to pull down the latest docker. When attemting to bring it back up, the mongodb element seems to fail to start and therefore cannot connect. I don't believe it's a permission issue as I have had this running for over a year!

Here is the output from my start attempt ist-docker.log

Any help would be appreciated!

brennentsmith commented 1 year ago

Hey! Sorry for the delay - looking at the output, it appears that it may be a Docker Compose issue. I'd restart the docker daemon, then retry bringing up the Compose stack.

speedlogger-web_1 | MongoNetworkError: failed to connect to server [mongo:27017] on first connect [Error: getaddrinfo ENOTFOUND mongo - appears that Docker not setting the alias record correctly.

tomsinclair94 commented 1 year ago

Hey, not a problem at all!

I have tried this - and also spun up a handful of new built VMs and all seem to have the same problem with the "Error: getaddrinfo ENOTFOUND mongo" issue