-
Notifications
You must be signed in to change notification settings - Fork 22
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
No files are copied if i run the dump command #22
Comments
Problem solved - we used the snap version and the DB is called parties and not rocketchat |
Sorry to disturb, but beside using -r parties instead of -r rocketchat did you have to change anything else? I get a message like 'pymongo.errors.OperationFailure: Authentication failed.' when I try. |
So, the problem that for the snap mongo is without authentication. So in my case I removed the username and password parameters form the MongoClient call at line 91 and it is currently dumping the files. |
IM having the same issue as Rongten, i have removed the calls for user/pass in the mongo.py file but now receive a further error regarding RAM, DB is aroungd 5.5GB is this the problem? |
Unforntunately, same result here:
I edited the .py script to do not use user and pass, it was working until dumping 769, and then crashed :(
At this point, I think I will start a clean install with filesystem since the beginning. |
Same issue any help ? |
login into the mongo db
also if you are running on a VM increase the No of CPUs and RAM so that the script will run faster :) |
In my case, for loop gets skipped in dumpfiles function even though it should run. Not sure why. Look into it and my cursor object was getting skipped due to being zero for some reason. I had to use rewind() => |
Hello,
i want to migrate the uploads from our RocketChat Installation from GridFS to FileSystem
i have installed phyton3 and phyton-pip.
I have also installed phyton-pip pymongo and boto3
i set filesystem in the RocketChat Upload config. If i upload a file in Rocketchat it is placed in /var/snap/rocketchat-server/common/uploads/
After that i made the py file executable and run the script with the follwoing syntax
./migrate.py -c dump -r rocketchat -t FileSystem -d /var/snap/rocketchat-server/common/uploads/
a csv.log in /var/snap/rocketchat-server/common/uploads/ but its empty and no files are copied.
What did i wrong?
it would be great if someone can help me.
thanks!
The text was updated successfully, but these errors were encountered: