Page 1 of 1

TS3MusicBot Webinterface crashes when trying to load

Posted: Thu Sep 15, 2016 9:23 am
by Kopertje
Hello,

I want to run the TS3MusicBot @ home on a old server that connects to my Teamspeak 3 VPS.
Everyhting installs fine, but when i open my webbrowser and navigate to the IP address with port 8080 the TS3Musicbot crashes.
In the CLI session the following displays :

java.lang.NullPointerException
at c.w.a(Unknown Source)
at c.m.a(Unknown Source)
at c.e.run(Unknown Source)
at java.lang.Thread.run(Thread.java:701)

I hope you can help me fix this.
I got Java 6 & 7 installed and i'm using Ubuntu Server 14.04

Greetings,
Robin

Re: TS3MusicBot Webinterface crashes when trying to load

Posted: Thu Sep 15, 2016 9:34 am
by Shadow86
Hello,

stop the TS3MusicBot (if you'r not sure if all is shutdown use this ->
Code: Select all
pkill -9 -f 'TS3MusicBot'
- kills all what have to do with the TS3MusicBot)

then recheck if your start parameters are all correct

Example:

./TS3MusicBot_runscript.sh -account EMAIL -port 2000 -webif-pw ADMIN_PASSWORD -webif-pw-user USER_PASSWORD -noquery

(Replace the bold one with your own )

execute it in the TS3MusicBot folder

then check if you didnt get any errors on any point (for example: port already bound -> if you get this replace the portnumber with a non reserved port)

regards

Shadow86

Re: TS3MusicBot Webinterface crashes when trying to load

Posted: Thu Sep 15, 2016 9:37 am
by Kopertje
Hello,

I rebooted my server and reinstalled JAVA.
I get no errors @ startup:

/_ __/ ___/__ // |/ /_ _______(_)____/ __ )____ / /
/ / \__ \ /_ </ /|_/ / / / / ___/ / ___/ __ / __ \/ __/
/ / ___/ /__/ / / / / /_/ (__ ) / /__/ /_/ / /_/ / /_
/_/ /____/____/_/ /_/\__,_/____/_/\___/_____/\____/\__/

Linux srv-fp-app01 3.19.0-61-generic #69~14.04.1-Ubuntu SMP Thu Jun 9 09:09:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
TS3MusicBot 4.6.5.9b (25.06.2016) started...
------------------ UPDATE MANAGER STARTED ------------------
Checking for updates...
------------------ UPDATE MANAGER FINISHED -----------------
Initializing instance:
Listening on port 8080.
External webinterface URL: http://XXX.XXX.XXX.XXX:8080
TS3MusicBot: TS3MusicBot "TS3MusicBot" starts now
Starting with account: email@email.com
Starting client.. done
TS3MusicBot successfully connected to teamspeak server: XXX.XXX.XXX.XXX:9987

Console input started (use 'help' for a list of commands):
>

Where can i find log files?

Re: TS3MusicBot Webinterface crashes when trying to load

Posted: Thu Sep 15, 2016 9:45 am
by Shadow86
then all seems to be fine now (maybe your java wasn't right installed)

logs are found usually in the system folder under "logs" and also for the client under "identities" or in the Webinterface itself.

regards

Shadow86

Re: TS3MusicBot Webinterface crashes when trying to load

Posted: Thu Sep 15, 2016 9:49 am
by Kopertje
Hello,

I used http://askubuntu.com/questions/84483/ho ... stall-java to remove Java from my server and used the Java 7 command on the How to Install page to reinstall java. Still got the same error.

>java.lang.NullPointerException
at c.w.a(Unknown Source)
at c.m.a(Unknown Source)
at c.e.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)

EDIT: When i use the internal address it works, when i use the external address it doestn work and it crashses. The ports are open in my firewall.

Greetings,
Robin

Re: TS3MusicBot Webinterface crashes when trying to load

Posted: Thu Sep 15, 2016 12:59 pm
by Shadow86
hm...

if it really crashes only on a specific address then maybe there is maybe really a problem with the firewall or port forwarding.

because as you said
EDIT: When i use the internal address it works, when i use the external address it doestn work and it crashses.