gridfsmigrate
gridfsmigrate copied to clipboard
Unable to run script.
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)
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?
Update :::
So i figured out above error was due to not using username and password.
Here I ran into another issue.
Please let me know if you can guide in this
to fix the first error, you need to add two keys with empty arguments --user "" --password ""
.
I had to remove username and password from the Migrator Class altogether. Empty username and password didn't work for the first error.