-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
Error when using Download My Data or Export My Data #10777
Comments
Can confirm this on
Cheers |
@RocketChat/core This is an important piece of our GDPR and seeing as it is broke on instances, we need to get it fixed asap. |
Should probably be re-opened, still broken in 0.74.3 and 1.0.0-beta.0. 69 jobs in This feature doesn't seem to have ever actually worked except for single server setups.
|
I can confirm this on the latest docker develop version. |
We are able to confirm this on Rocket.Chat version 0.74.3 too. |
Anyone have a fix for this? Also running 0.74.3 |
According to the logfiles the requestDataDownload Service is trying to create a "tempdir/partial" folder without creating the "tempdir" folder first (tempdir seems to be the userId?) The file.server Source uses "mkdirp" instead of "fs" which creates parent directories as well. Switching to that method should solve at least the "mkdir" error |
User Data export in 1.1.1 (Docker Image at least) also appears to be broken.
Setup is 3 containers on different hosts with an external MongoDB From inside the docker container on node1:
Error messages in the logs:
|
Yup, #14645 fixes this. |
The same issue with the official docker images (latest, develop, release-candidate) from here.
|
I can confirm this. This seems to not have yet been fully corrected. |
My RocketChat server admin has confirmed that we are at the latest version yet cannot export. He pointed me to this ticket as indication that we are stuck. That is all the information I have right now but just wanted to add my suspicion that this issue is not actually fixed. |
It is working on my end now. I configured the correct path and removed the export-jobs from the mongo db. New jobs ran through. |
For others can you please post how you did that? Thanks. |
start your mongo client and connect use correct database:
Verify there is some export operations data:
remove it:
re-verify that the table (or whatever it is called in mongodb) is now empty. Good luck |
Not sure that is quite right ! |
Still not sure this is fixed. v 2.1.1 docker <corrected version - long day :-( > First, it shouldn’t leave old exports blocking up the system but it clearly has. Second, to try and get over this I deleted out the old keys as per the above comments. That throws errors as per this:
Full log: https://pastebin.com/Fq7q3N7t I then tried adding one html and one json export for my user. It puts the new file paths in the settings but does not use appear to use them - see pics. One very unhappy test install right now :-( |
Description:
When attempting to export or download a user's data, the system errors out. No additional configuration has been done to User Data Download section, other than it is enabled.
Server Setup Information:
rocketchat/rocket.chat:latest
Rocket.Chat
Commit
Steps to Reproduce:
Expected behavior:
The data should be made available for download.
Actual behavior:
System errors out with "Internal Server Error" message:
Relevant logs:
The text was updated successfully, but these errors were encountered: