Open astrugatch opened 1 year ago
Same issue on new install here as well... also running Ubuntu 20.04 LTS..
SAme issue on Clean INstall, Unable to connect to local MongoDB. Same exact Error
Same issue... How we can resolve this?
eventually, i ended up using this script: https://github.com/techahold/Meshcentral-Installer
I saw this on updating an existing installation to 1.1.0, Was there specific Fix?
ok looks like maybe the mongo requirmnet changed and did not update. when I ran npm list
shows as UNMET DEPENDENCY mongodb@4.1.0
npm ERR! missing: mongodb@4.1.0, required by meshcentral npm ERR! extraneous: debug@4.3.4 /opt/meshcentral/node_modules/acme-client/node_modules/debug npm ERR! extraneous: readable-stream@2.3.7 /opt/meshcentral/node_modules/archiver-utils/node_modules/readable-stream npm ERR! extraneous: readable-stream@2.3.7 /opt/meshcentral/node_modules/lazystream/node_modules/readable-stream npm ERR! extraneous: readable-stream@2.3.7 /opt/meshcentral/node_modules/compress-commons/node_modules/readable-stream npm ERR! extraneous: bytes@3.0.0 /opt/meshcentral/node_modules/compression/node_modules/bytes npm ERR! extraneous: depd@2.0.0 /opt/meshcentral/node_modules/cookies/node_modules/depd npm ERR! extraneous: safe-buffer@5.2.1 /opt/meshcentral/node_modules/content-disposition/node_modules/safe-buffer npm ERR! extraneous: safe-buffer@5.2.1 /opt/meshcentral/node_modules/express/node_modules/safe-buffer npm ERR! extraneous: ms@2.1.3 /opt/meshcentral/node_modules/send/node_modules/ms npm ERR! extraneous: archiver@5.3.1 /opt/meshcentral/node_modules/meshcentral/node_modules/archiver npm ERR! extraneous: safe-buffer@5.2.1 /opt/meshcentral/node_modules/multiparty/node_modules/safe-buffer
@Ylianst Hi I am facing the same issue after updating meshcentral as my old version was not supporting letsencrypt. But now I have run into trouble with this and my machines are not showing anymore. I had tried to reinstall mongodb@4.12.1 looking at the errors. Not sure what went wrong.
I was having the same issue and I fixed it by using another docker image. At the time I was using typhonragewind/meshcentral:mongodb and I tried a few others, and it had the same error. The docker container johann8/meshcentral is working for me and if anyone needs help on the config just reply.
Describe your issue Cannot enable MongoDB after installing MeshCentral on ubuntu 20.04
Server Software (please complete the following information):
Your config.json file
Doing a clean install of Mesh Central following the wiki here:https://meshcentral-community.com/doku.php?id=howto:installation:manual:ubuntu
At the point of enabling mongo db. Removed the _ from MongoDb and WANonly per the example. When trying to run
node ./node_modules/meshcentral
I get the following error: