-
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
[GDPR] Cron jobs for User data export wedged #15663
Comments
Ahh - just seen this - I presume this fixes 'wedged data' ? Not sure it is going to fix my DB errors though :-/ |
Still exists in 2.2.0 because the fix does not appear to have been merged. |
(Just so I remember, and for reference, these are previous attempts at fixes) #14143 #10777 This Issue 15666 should be fixed here but it hasn't been merged yet: Rocket is still not GDPR compliant for anyone suffering this. |
Still on 2.2.1 Also there seems to be an associated bug. I can see the error in the docker log but NOT in the admin View Logs Admin Log Viewer
Docker log viewer
|
I am on 2.3.1 also Docker. Yesterday upgraded from quite old version 0.7.1 to the latest. Today was checking logs and found same error message regarding missing files in Was trying to find what that means and if it is bad or not. It looks like this is the problem when you recreate Docker container as all the files from To get rid of this error you can clear one collection inside mongoDB. I used tehese steps
And that error log message is gone. Then requested data export from my profile, stopped rocket chat, deleted that container, and recreated it. And the error was back, as the But later I got another error in logs when was trying to "Download My Data (HTML)" from "My Account". After requested and some time i got new error message:
That error message repeats ten or more times and stops then after some time (few minutes) it appears again. Disabling "User Data Download" in Administration stops that error. |
So 2.3.x is still not GDPR compliant then (and probably 2.4.x as well), at least with docker installs. :-( |
Tested this on 2.3.3 with a mapped volume /opt/uploads and can confirm the same error.
Note it does seem to have generated the data in the directory but viewing the DB keys it seems that is still 'exporting' some rooms. Wondering if it is timing out or somesuch? Here one room is completed but another (the main room) is still 'exporting'. When you look in the room2.html file it only goes up to Sun, 23 Dec 2018 18:08:57 GMT ????
When I get 5 minutes I'll try on 2.4.x but imagine that this will still exist. |
On rocket.chat-3.0.2 user data export works for some users, but for another user the export job exports one room in an endless loop. The json file is growing and growing, the same messages are exported multiple times and in the mongodb the exportedCount stays at zero:
|
sometimes the exported data does not fit into 16M storage limit and starts to annoy in logs |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This refers:
#10777 (comment)
After the update to 2.1.1 I noticed that data exports still did not work.
I checked in Mongo and it appears there were jobs still 'pending'. These should have been cleared by the system.
These are some existing jobs on my main v2.1.1 server. They should have been cleared:
Here I added in a download dir (a mapped volume) and tried to add some new downloads, but this does not appear to have been picked up:
On my test server I then tried to see if I could clear the 'wedged' downloads as per #10777
Now get errors in my logs:
https://pastebin.com/Fq7q3N7t
We can see on the testbox the correct dir is set:
But the jobs still have the wrong path:
I think there is probably more than one issue here.
The text was updated successfully, but these errors were encountered: