-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
delete recordings after X hours/days #5871
Comments
I think executing |
We tried using that and it ran withour errors, but the recording didn't get deleted in the database and was still visible on the frontend. |
We found that there is a greenlight api which has a function to handle recordings: app/controllers/api/v1/recordings_controller.rb
|
Well, that's the internal API that the JavaScript frontend code uses to communicate with the backend. While there certainly likely is a way to abuse it with a valid access token from a session cookie, it is not meant to be used as an external API. |
Correct |
We want to allow users to record and download their meetings, but the meetings need to be deleted after 24 hours or so.
We initially wanted to implement the script found in BBB's documentation: https://docs.bigbluebutton.org/administration/customize/#delete-recordings-older-than-n-days
The problem with that is that greenlight doesn't get the info that the recordings got deleted and still shows them. This results in errors when you try to do anything with them or try to delete the user.
We haven't found a way to automatically delete the recordings from greenlight and don't feel comfortable to let a script manipulate the database manually.
A feature where we could set the recordings to autodelete after X hours/days would be very nice. This could be in the admin interface, a parameter in the .env file or even a rake task that we could use. Whatever is easiest for you to implement.
The text was updated successfully, but these errors were encountered: