SudhanPlayz / Discord-MusicBot

An advanced discord music bot, supports Spotify, Soundcloud, YouTube with Shuffling, Volume Control and Web Dashboard with Slash Commands support!
https://musicbot.darrenofficial.com
Other
2.92k stars 2.84k forks source link

lavalink issue #1285

Closed Naiml007 closed 2 months ago

Naiml007 commented 4 months ago

| Slash Command Loaded: volume [11:1:2024 - 11:37] | Successfully Logged in as Botx00#4131 [11:1:2024 - 11:37] | Node: Main Node | Lavalink node is connected. [11:1:2024 - 11:37] | Node: Main Node | Lavalink node has an error: Unexpected op "ready" with data: [object Object]. fatal: not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). [11:1:2024 - 11:39] | Player: 994629419790504007 | A wild player has been created in server bot fatal: not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).


lavalink nodes: [ { identifier: "Main Node", //- Used for indentifier in stats commands. host: "localnet-id.ajiehost.rf.gd", //- The host name or IP of the lavalink server. port: 540, // The port that lavalink is listening to. This must be a number! password: "https://dsc.gg/ajidevserver", //- The password of the lavalink server. retryAmount: 200, //- The amount of times to retry connecting to the node if connection got dropped. retryDelay: 40, //- Delay between reconnect attempts if connection is lost. secure: false, //- Can be either true or false. Only use true if ssl is enabled! },

iakzs commented 4 months ago

i got the same error lol

Naiml007 commented 4 months ago

image

okisooo commented 3 months ago

if you're ever getting the error "Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set)." its probably because git is trying to look for a .git repository but the search across filesystems isnt set to true, also proven by the other log fatal: "not a git repository (or any parent up to mount point /home)", which straight up means it can't find a .git repository

and for the disconnecting error, it looks very similar to the documentation on the lavalink server

image https://blog.darrennathanael.com/post/how-to-lavalink/ it's either the bot or the lavalink server that doesn't support the library, so you should try different versions

Naiml007 commented 2 months ago

lavalink v3.7.10 lavalink node has an error: Unexpected op "ready" with data: [object Object].

ekrekeler commented 2 months ago

I was having problems with musicbot and lavalink in a docker compose environment. Might have been the same issue here, but hard to tell.

I was able to get it working by using the image fredboat/lavalink:v3-update-lp. This is a snapshot built from the v3-update-lp branch. The only difference between this and the 3.7.11 version released in March seems to be a single commit bumping the lavaplayer version. I have no idea why that makes a difference, but it worked for me.

@Naiml007 I also see this error when starting musicbot, but it appears to be cosmetic because the bot still works fine.

lavalink node has an error: Unexpected op "ready" with data: [object Object].

LewdHuTao commented 2 months ago

lavalink v3.7.10 lavalink node has an error: Unexpected op "ready" with data: [object Object].

this error has nothing to do with us, the wrapper we use are no longer maintained thats why you get that warning message but the bot still gonna works fine if you configure them correctly