Custom sounds do not work


When I upload a custom sound, it uploads and gives no error. But when I try to preview the sound in the custom sound panel I hear nothing, and when the custom sound is set as a notification sound it also does not play.

This is a fresh install of Rocket.Chat.

Server Setup Information

  • Version of Rocket.Chat Server: 4.6.1
  • Operating System: Linux
  • Deployment Method: Docker Compose
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: v14.18.3
  • MongoDB Version: 4.4.13 / wiredTiger (oplog Enabled)
  • Proxy: Nginx
  • Firewalls involved: None

Any additional Information

Log when I upload a custom sound:
{"level":50,"time":"2022-04-14T12:44:28.965Z","pid":110,"hostname":"0b6aded1134a","name":"System","msg":"Exception while invoking method uploadCustomSound 'The \"listener\" argument must be of type function. Received an instance of Timeout'"}