my meteorJs App is not starting, but I need access to the MongoDB data.
Please help, what can I do to at least read the data from the monogo db to copy/paste them
my meteorJs App is not starting, but I need access to the MongoDB data.
Please help, what can I do to at least read the data from the monogo db to copy/paste them
If you comment out all imports and code in /client/main.js and /server/main.js, you should probably be able to start up the server and get the db running (unless the crash is caused by a meteor package, in wich case you would have to remove that as well)
Thank you for your reply.
I am getting these errors now:
While downloading accounts-base@1.2.11...:
error: certificate has expired
Started proxy.
=> A patch (Meteor 1.4.4.6) for your current release is available!
Update this project now with 'meteor update --patch'.
=> Started MongoDB.
=> Errors prevented startup:
While downloading accounts-base@1.2.11...:
error: certificate has expired
While downloading accounts-password@1.3.0...:
error: certificate has expired
While downloading accounts-ui@1.1.9...:
error: certificate has expired
While downloading accounts-ui-unstyled@1.1.12...:
error: certificate has expired
While downloading alanning:roles@1.2.15...:
error: certificate has expired
While downloading allow-deny@1.0.5...:
error: certificate has expired
While downloading anti:i18n@0.4.3...:
error: certificate has expired
While downloading aslagle:reactive-table@0.8.34...:
error: certificate has expired
While downloading autoupdate@1.2.11...:
error: certificate has expired
While downloading babel-compiler@6.9.1...:
error: certificate has expired
While downloading babel-runtime@0.1.11...:
error: certificate has expired
While downloading base64@1.0.9...:
error: certificate has expired
While downloading binary-heap@1.0.9...:
error: certificate has expired
While downloading blaze@2.1.9...:
error: certificate has expired
While downloading blaze-html-templates@1.0.5...:
error: certificate has expired
While downloading blaze-tools@1.0.10...:
error: certificate has expired
While downloading boilerplate-generator@1.0.10...:
error: certificate has expired
While downloading caching-compiler@1.1.7...:
error: certificate has expired
While downloading caching-html-compiler@1.0.7...:
error: certificate has expired
While downloading callback-hook@1.0.9...:
error: certificate has expired
While downloading check@1.2.3...:
error: certificate has expired
While downloading coffeescript@1.2.4_1...:
error: certificate has expired
While downloading dburles:collection-helpers@1.0.4...:
error: certificate has expired
While downloading dburles:mongo-collection-instances@0.3.4...:
error: certificate has expired
While downloading ddp@1.2.5...:
error: certificate has expired
While downloading ddp-client@1.2.9...:
error: certificate has expired
While downloading ddp-common@1.2.6...:
error: certificate has expired
While downloading ddp-rate-limiter@1.0.5...:
error: certificate has expired
While downloading ddp-server@1.2.10...:
error: certificate has expired
While downloading deps@1.0.12...:
error: certificate has expired
While downloading diff-sequence@1.0.6...:
error: certificate has expired
While downloading ecmascript@0.5.8...:
error: certificate has expired
While downloading ecmascript-runtime@0.3.14...:
error: certificate has expired
While downloading ejson@1.0.12...:
error: certificate has expired
While downloading email@1.1.17...:
error: certificate has expired
While downloading es5-shim@4.6.14...:
error: certificate has expired
While downloading fastclick@1.0.12...:
error: certificate has expired
While downloading fourseven:scss@3.10.0...:
error: certificate has expired
While downloading geojson-utils@1.0.9...:
error: certificate has expired
While downloading houston:admin@2.0.7...:
error: certificate has expired
While downloading html-tools@1.0.11...:
error: certificate has expired
While downloading htmljs@1.0.11...:
error: certificate has expired
While downloading http@1.1.8...:
error: certificate has expired
While downloading id-map@1.0.8...:
error: certificate has expired
While downloading iron:controller@1.0.12...:
error: certificate has expired
While downloading iron:core@1.0.11...:
error: certificate has expired
While downloading iron:dynamic-template@1.0.12...:
error: certificate has expired
While downloading iron:layout@1.0.12...:
error: certificate has expired
While downloading iron:location@1.0.11...:
error: certificate has expired
While downloading iron:middleware-stack@1.1.0...:
error: certificate has expired
While downloading iron:router@1.0.13...:
error: certificate has expired
While downloading iron:url@1.0.11...:
error: certificate has expired
While downloading jquery@1.11.9...:
error: certificate has expired
While downloading lai:collection-extensions@0.1.4...:
error: certificate has expired
While downloading launch-screen@1.0.12...:
error: certificate has expired
While downloading less@2.6.5...:
error: certificate has expired
While downloading livedata@1.0.18...:
error: certificate has expired
While downloading localstorage@1.0.11...:
error: certificate has expired
While downloading logging@1.1.15...:
error: certificate has expired
While downloading matb33:collection-hooks@0.8.4...:
error: certificate has expired
While downloading meteor@1.2.17...:
error: certificate has expired
While downloading meteor-base@1.0.4...:
error: certificate has expired
While downloading meteortoys:allthings@3.0.0...:
error: certificate has expired
While downloading meteortoys:authenticate@3.0.0...:
error: certificate has expired
While downloading meteortoys:autopub@3.0.0...:
error: certificate has expired
While downloading meteortoys:blueprint@3.0.0...:
error: certificate has expired
While downloading meteortoys:email@3.0.0...:
error: certificate has expired
While downloading meteortoys:hotreload@3.0.0...:
error: certificate has expired
While downloading meteortoys:listen@3.0.0...:
error: certificate has expired
While downloading meteortoys:method@3.0.4...:
error: certificate has expired
While downloading meteortoys:pub@3.0.4...:
error: certificate has expired
While downloading meteortoys:result@3.0.0...:
error: certificate has expired
While downloading meteortoys:shell@3.0.0...:
error: certificate has expired
While downloading meteortoys:status@3.0.0...:
error: certificate has expired
While downloading meteortoys:sub@3.0.0...:
error: certificate has expired
While downloading meteortoys:throttle@3.0.0...:
error: certificate has expired
While downloading meteortoys:toykit@3.0.4...:
error: certificate has expired
While downloading minifier-css@1.2.14...:
error: certificate has expired
While downloading minifier-js@1.2.14...:
error: certificate has expired
While downloading minimongo@1.0.17...:
error: certificate has expired
While downloading mobile-experience@1.0.4...:
error: certificate has expired
While downloading mobile-status-bar@1.0.12...:
error: certificate has expired
While downloading modules@0.7.6...:
error: certificate has expired
While downloading modules-runtime@0.7.6...:
error: certificate has expired
While downloading momentjs:moment@2.15.1...:
error: certificate has expired
While downloading mongo@1.1.12...:
error: certificate has expired
While downloading mongo-id@1.0.5...:
error: certificate has expired
While downloading msavin:jetsetter@2.0.0...:
error: certificate has expired
While downloading msavin:mongol@2.0.1...:
error: certificate has expired
While downloading npm-bcrypt@0.9.1...:
error: certificate has expired
While downloading npm-mongo@1.5.49...:
error: certificate has expired
While downloading observe-sequence@1.0.12...:
error: certificate has expired
While downloading ordered-dict@1.0.8...:
error: certificate has expired
While downloading poetic:materialize-scss@1.97.6_1...:
error: certificate has expired
While downloading promise@0.8.7...:
error: certificate has expired
While downloading random@1.0.10...:
error: certificate has expired
While downloading rate-limit@1.0.5...:
error: certificate has expired
While downloading reactive-dict@1.1.8...:
error: certificate has expired
While downloading reactive-var@1.0.10...:
error: certificate has expired
While downloading reload@1.1.10...:
error: certificate has expired
While downloading retry@1.0.8...:
error: certificate has expired
While downloading routepolicy@1.0.11...:
error: certificate has expired
While downloading service-configuration@1.0.10...:
error: certificate has expired
While downloading session@1.1.6...:
error: certificate has expired
While downloading sha@1.0.8...:
error: certificate has expired
While downloading shell-server@0.2.1...:
error: certificate has expired
While downloading spacebars@1.0.13...:
error: certificate has expired
While downloading spacebars-compiler@1.0.13...:
error: certificate has expired
While downloading srp@1.0.9...:
error: certificate has expired
While downloading standard-minifier-css@1.2.0...:
error: certificate has expired
While downloading standard-minifier-js@1.2.0...:
error: certificate has expired
While downloading templating@1.2.15...:
error: certificate has expired
While downloading templating-compiler@1.2.15...:
error: certificate has expired
While downloading templating-runtime@1.2.15...:
error: certificate has expired
While downloading templating-tools@1.0.5...:
error: certificate has expired
While downloading tmeasday:paginated-subscription@0.2.4...:
error: certificate has expired
While downloading tracker@1.1.0...:
error: certificate has expired
While downloading ui@1.0.12...:
error: certificate has expired
While downloading underscore@1.0.9...:
error: certificate has expired
While downloading url@1.0.10...:
error: certificate has expired
While downloading webapp@1.3.11...:
error: certificate has expired
While downloading webapp-hashing@1.0.9...:
error: certificate has expired
While downloading webtempest:animate@0.1.9...:
error: certificate has expired
=> Your application has errors. Waiting for file change.
if you have mongod installed on your machine, you can start it in a way it uses your existing db directory of the meteor app:
assuming you are in your project directory:
mongod --dbpath .meteor/local/db --port 3001
this will start a mongodb server listening on port 3001 using the projects database
I found the mongosh … Is this the same? Where can I download mongod?
hmm, never have come across that error before… but it says it has MongoDB started. So if you fire up your Mongodb tool (like eg. Compass) or run meteor mongo in a new terminal instance you might get in there even without mongod.
Indeed MongoDB is running but now Compass shows this Error:
Server at localhost:3001 reports maximum wire version 4, but this version of the Node.js Driver requires at least 6 (MongoDB 3.6)
when I try to establish connection with MongoDB
You can set an environment variable NODE_TLS_REJECT_UNAUTHORIZED
as 0
to start your project and you should be able to run it:
export NODE_TLS_REJECT_UNAUTHORIZED=0
Or you can run your app by passing it as an argument:
NODE_TLS_REJECT_UNAUTHORIZED=0 meteor npm run
You can find more info about this in our docs.
Hello, thank you reply,
I read this Solution in Forums but I get this message:
‘NODE_TLS_REJECT_UNAUTHORIZED’ is not recognized as an internal or external command,
operable program or batch file.
I am using Windows 10
I see, using Windows I believe you need to set it before running the command. Try this:
set NODE_TLS_REJECT_UNAUTHORIZED=0 // this will set it to the current process
meteor npm run // run your app
Thank you for the support,
indeed it did solved the issue but now
another Error occur:
app\server\main.js:1
W20220413-17:33:44.304(3)? (STDERR) (function(Npm,Assets){(function(){import { Meteor } from 'meteor/meteor';
Was there a Change in the way you Import?
Maybe I need to install older version of Meteor?
Forgot to Reply to you in previous comment
Ok so this:
set NODE_TLS_REJECT_UNAUTHORIZED=0 // this will set it to the current process
meteor npm run // run your app
Solved my issue and deleting one of the Packages.
@janmp also thank you, while I had error indeed I could access the Mongo via meteor mongo
and I saved data into TXT file (copy/paste from cmd)
Thank you All
Can I mark here the Topic as Solved?
Sure! I’m glad you solved it.