Another (slightly different) mongorestore error

All I am using Ubuntu 18.04.1 LTS and when I attempt the mongo restore:

mongorestore --drop --gzip --uri "mongodb+srv://" data

I get the following error:

2019-01-11T17:34:05.139-0600 Failed: mongorestore target 'data' invalid: stat data: no such file or directory

I am running mongo shell v4.0.5

Any ideas where I am going wrong?

thanks in advance

What’s more I am also getting errors now with the package manager:

mongodb-org: Depends: mongodb-org-server but it is not installed
             Depends: mongodb-org-mongos but it is not installed
             Depends: mongodb-org-tools but it is not installed

Is anyone experiencing such difficulties or better does anyone have a fix?

Hello, Were you able to solve this? You should be inside mflix-python folder to execute it.

I did a full wipe of all mongo services on my system - I had a weird mix of 3.6 and 4.0. Then I was able to execute the command - mongorestore working!

1 Like