You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to set up JMB to start on system startup. I have an in-home server that runs a bunch of stuff, and every time I lose power or the server updates/shuts down/whatever, I have to manually remote in or go to the server rack to start JMB. So I went into the Startup Applications Preferences and am trying to add the Java arguments to start the bot on boot up. When adding java -jar /home/wildfyr/Desktop/MusicBot/JMusicBot.jar instead of starting the bot, it asks me to input a bot token, even though the config has an existing bot token. The config file resides in the location where it was initially created, /home/wildfyr/Desktop/MusicBot. When I click cancel, the pop up tells me it created a config file in /home/wildfyr. However, no such config file exists and the bot does not start.
Edit: It does work find when spliting up the commands, such like cd /home/wildfyr/Desktop/MusicBot && java -jar JMusicBot.jar it works fine and starts no problem. But not when making it all one command.
Steps to Reproduce
Open a terminal line
Run the start up args java -jar /home/user/wherever/your/bot/is
Does not read the config file
Expected Result
I expect the bot to read the config file in /home/wildfyr/Desktop/MusicBot and start normally
Debug Output
I cannot do this as the bot does not actually start because of this issue
Bug Description
I am trying to set up JMB to start on system startup. I have an in-home server that runs a bunch of stuff, and every time I lose power or the server updates/shuts down/whatever, I have to manually remote in or go to the server rack to start JMB. So I went into the Startup Applications Preferences and am trying to add the Java arguments to start the bot on boot up. When adding
java -jar /home/wildfyr/Desktop/MusicBot/JMusicBot.jar
instead of starting the bot, it asks me to input a bot token, even though the config has an existing bot token. The config file resides in the location where it was initially created, /home/wildfyr/Desktop/MusicBot. When I click cancel, the pop up tells me it created a config file in /home/wildfyr. However, no such config file exists and the bot does not start.Edit: It does work find when spliting up the commands, such like
cd /home/wildfyr/Desktop/MusicBot && java -jar JMusicBot.jar
it works fine and starts no problem. But not when making it all one command.Steps to Reproduce
Open a terminal line
Run the start up args
java -jar /home/user/wherever/your/bot/is
Does not read the config file
Expected Result
I expect the bot to read the config file in /home/wildfyr/Desktop/MusicBot and start normally
Debug Output
I cannot do this as the bot does not actually start because of this issue
Additional Info
No response
Checklist
JMusicBot Version
0.4.3
The text was updated successfully, but these errors were encountered: