When you configure a title
longer than X characters, it will prevent backups from being made.
EXCEPTION: /var/www/discourse/lib/discourse.rb:139:in 'exec': rm: cannot remove '/var/www/discourse/public/backups/default/redacted-xxx(...)xxx-2025-01-17-125027-v20250116024516.tar': File name too long
Yes, people really do that.
Proposed fix
def get_parameterized_title
SiteSetting.title.parameterize.presence[..64] || "discourse"
end