by the way if you are like me and host mastodon in #yunohost. if you migrate to new debian version, do a forced an upgrade of mastodon after. (it basically refreshes it without erasing your data)
(some maintenance tasks might not run otherwise and can cause your media cache to balloon up)