Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data in Meteor Js application is kept in local mongodb. I can't migrate to cloud mongodb. #11805

Closed
zehrademirel opened this issue Dec 13, 2021 · 3 comments
Labels
resolved This discussion is resolved.

Comments

@zehrademirel
Copy link

Hello, I have developed an application in meteor js. Data is stored in local mongodb. I can't connect to cloud mongodb. I am using windows computer and powershell.

@denihs
Copy link
Contributor

denihs commented Dec 13, 2021

Hi,

What's the problem exactly? Are you getting any errors?

Are you trying to copy the data from your local database or just trying to connect your app to your cloud MongoDB?

If it's an error that you're getting, we need a reproduction. See more on that.

@denihs denihs added the needs-reproduction We can't reproduce so it's blocked label Dec 13, 2021
@zehrademirel
Copy link
Author

I want to connect my application to cloud mongodb.
image

@zehrademirel
Copy link
Author

I solved the problems by doing research. Thank you. I upgraded the current versions.
I first fixed the expired certificates issue due to updates as I am using Powershell. ( $Env:NODE_TLS_REJECT_UNAUTHORIZED=0 ) I added the parentheses.

I deleted or updated the packages that were causing the problem.

meteor npm install --save

Then I did the process of moving the meteor to the atlas.

$Env:MONGO_URL="mongodb+srv://zehrademirel:password@cluster0.mfntl.mongodb.net/dbName?retryWrites=true&w=majority"

I then ran it.
meteor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolved This discussion is resolved.
Projects
None yet
Development

No branches or pull requests

3 participants