Prior to BigBlueButton 2.2.32, etherpad was not properly clearing out old pads. This is a privacy issue that we resolved in 2.2.32 by adding the etherpad pluginep_pad_ttl
.
However, on long running servers that made heavy use of shared notes, we received reports that ep_pad_ttl
was not able to clear out the old pads in a timely manner. This resulted in Shared Notes not initially loading after restart.
Privacy
- Proactively clean out older etherpad entries in redis before restarting
bbb-etherpad
service using the following code inbbb-etherpad.preinst
(fixes #11508 #11497).
# Ensure to clean out old pads before upgrade
if systemctl is-active --quiet etherpad; then
redis-cli keys pad:* | xargs redis-cli del
redis-cli keys sessionstorage:* | xargs redis-cli del
redis-cli keys globalAuthor:* | xargs redis-cli del
redis-cli keys token2author:* | xargs redis-cli del
fi