-
Notifications
You must be signed in to change notification settings - Fork 126
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
Unable to delete user data #254
Comments
IMO this ist not a bug. See there: https://matrix-org.github.io/synapse/latest/admin_api/user_admin_api.html#deactivate-account |
Ah, thanks for the clarification. So it's not possible to delete all local files, the user has uploaded, at once (delete file by file seems to work)? |
Well, I mean using synapse-admin. |
Ideally I'd like a checkbox next to the user so I can clear their media all in one shot. Either that or a setting in Element for the room history so I can put it on auto-pilot: In my case what's happening is I have ONE very active user in ONE telegram channel that's puppeted into my server. So I have plenty of room for everything else - it's just this one room, one user's media... |
So can we still not delete all the media for a specific user via Synapse Admin? If not, that's disappointing to say the least, seems like an obvious feature. |
It's not so obvious because they're not "just media" - when a Matrix server processes an attachment, there is actually a "message" that gets sent along with the file, so there is an entry in the postgres database, etc. It's not as easy to unwind as it seems. Particularly when you've got messages on multiple homeservers, am I supposed to delete the files when you delete them from your homeserver, etc? For my solution, I moved the Matrix homeserver out of an expensive "cloud VPS" and now I'm running it on a cheap IBM m900, it has a 1TB SSD for storage and runs out of my home office. It requires a $5/month cloud VPS to use as a reverse proxy |
I also run Synapse locally on a server, but it looks like a bridge has been malfunctioning for whatever reason, and I now have absolutely hundreds of GBs of media files that need removing from my cache pool. Throwing more storage at it isn't a solution. If a single media item can be deleted, why can't multiple? |
Maybe this will help, it's possible if you have root access to the server: |
What about the "media" tab in the user details view? |
When I click on a user and try to delete its user data ("DSGVO-konform"), it jumps back to the user list. But going back to the user, all files are still present and nothing has been deleted.
Browsers: I tried it with Firefox and with Vivaldi (Chromium-based)
Synapse-Admin: Version 0.8.5
Synapse: Version: Version 1.54.0
The text was updated successfully, but these errors were encountered: