-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Bot not working #1220
Replies: 1 comment · 4 replies
-
|
Beta Was this translation helpful? Give feedback.
All reactions
-
|
Just changed the nohup command and same error and the token is accurate it works when running via my windows machine(and I use the same config file) but not on the vps server when running it via nohup or a shell file |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
It must be using a different config file then, check the logs for where it's reading the config file, and consider manually setting the config path via |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
The bot now starts(after adding -Dconfig=/path/to/config.txt to the .sh or adding a config file to the root folder where it's grabbing the config file) but does the replys(in discord) to the commands multiple times and pm2 gives this in the logs |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
here is the whole pm2 log |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am running this on VPS server from contabo
root@vmi874373:~# nohup java -Dnogui=true -jar /root/music/JMusicBot-3.0.8.jar & [1] 118403 root@vmi874373:~# nohup: ignoring input and appending output to 'nohup.out'and then the nohup.out says
Error: Unable to access jarfile /root/music/JMusicBot-3.0.8.jarI run it through an sh file with this code
#!/bin/bash java -Dnogui=true -jar /root/music/JMusicBot-0.3.8.jarit then says in the pm2 logs from going pm2 start music.sh(what I have the mentioned sh file named)
Please provide a bot token. Instructions for obtaining a token can be found here: https://github.com/jagrosh/MusicBot/wiki/Getting-a-Bot-Token. Bot Token:I am very lost as to what to do
Beta Was this translation helpful? Give feedback.
All reactions