ZerioDev / Music-bot

A complete code to download for a cool Discord music bot !
https://discord.gg/5cGSYV8ZZj
GNU General Public License v3.0
864 stars 1.05k forks source link

There are no more songs in the queue #270

Closed itsjustyryr closed 1 year ago

itsjustyryr commented 1 year ago

I really don't think this is an error but when I played a track on my DigitalOcean server with Ubuntu 22.04 LTS, I installed the node modules with yarn and, when playing a track, it directly skips. What's weird is that when running on the local machine(that has Windows), it's working perfectly fine, but not on the Linux server. Could it be because of the ffmpeg-static or something? Thanks!

Versions:

  npm: '8.18.0',
  node: '18.7.0',
  v8: '10.2.154.13-node.9',
  uv: '1.44.2',
  zlib: '1.2.11',
  brotli: '1.0.9',
  ares: '1.18.1',
  modules: '108',
  nghttp2: '1.49.0',
  napi: '8',
  llhttp: '6.0.7',
  openssl: '3.0.5',
  cldr: '41.0',
  icu: '71.1',
  tz: '2022g',
  unicode: '14.0'
  yarn run: '1.22.19'
itsjustyryr commented 1 year ago

For this fix, remove ffmpeg-static and run sudo snap install ffmpeg on the server, as mentioned in this issue at Additonal Context