gridfsmigrate icon indicating copy to clipboard operation
gridfsmigrate copied to clipboard

Unable to run script.

Open rishab22 opened this issue 2 years ago • 3 comments

Hello,

Can you please help me the script is not working for me? Whenever i run ./migrate.py -c dump -r rocketchat -t FileSystem -d /root/mongo it gives me with following error (Screenshot attached) image Also, my mongo does not have any username or password it is open and accessible without credentials. Can you please guide me here on what am doing wrong?

rishab22 avatar Jan 18 '23 06:01 rishab22

Update :::

So i figured out above error was due to not using username and password.

Here I ran into another issue. image

Please let me know if you can guide in this

rishab22 avatar Jan 18 '23 07:01 rishab22

to fix the first error, you need to add two keys with empty arguments --user "" --password "" .

birdiecode avatar Dec 25 '23 10:12 birdiecode

I had to remove username and password from the Migrator Class altogether. Empty username and password didn't work for the first error.

MaisumAbbas avatar Mar 20 '24 09:03 MaisumAbbas