Author Topic: Fehler beim Botstart  (Read 11731 times)

TimNSan

  • JTS3ServerMod Internal
  • *****
  • Posts: 6
    • View Profile
Fehler beim Botstart
« on: May 23, 2020, 05:01:19 AM »
Hey, hab den Bote mal wieder auf nen neuen Server gemacht, MySQL eingerichtet usw.
Jetzt hab ich ein Fehler der vorher noch nie kam. Kann mir da jemand weiterhelfen?

Der Log:
Code: [Select]
2020-05-23 04:57:07 START_MANAGER JTS3ServerMod 6.5.7 Hosting Edition (31.01.2020) Instance Manager started...
2020-05-23 04:57:07 SYSTEM_INFO Operating System : Linux (version: 4.15.0-101-generic / arch: amd64)
2020-05-23 04:57:07 SYSTEM_INFO Used Java Version: 11.0.7 (path: /usr/lib/jvm/java-11-openjdk-amd64)
2020-05-23 04:57:07 SYSTEM_INFO Current directory: /home/bot
2020-05-23 04:57:07 CONFIG Loading InstanceManager config file from: /home/bot/config/JTS3ServerMod_InstanceManager.cfg
2020-05-23 04:57:07 CONFIG Bot chat command !exec is disabled!
2020-05-23 04:57:07 CONFIG Multi IP Mode disabled!
2020-05-23 04:57:08 LOGGER_SQL_CONNECT Successfully connected to MySQL server for logging!
2020-05-23 04:57:08 CONFIG MySQL mode enabled!
2020-05-23 04:57:08 MYSQL_ERROR Error while connecting to database: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'tsbot.jts3servermod_instances' doesn't exist
2020-05-23 04:57:08 JTS3ServerMod 6.5.7 Hosting Edition (31.01.2020): EXCEPTION
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'tsbot.jts3servermod_instances' doesn't exist
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
at com.mysql.jdbc.Util.getInstance(Util.java:408)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:944)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3933)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3869)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2524)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2675)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2465)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2439)
at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1365)
at de.stefan1200.jts3servermod.f.e(Unknown Source)
at de.stefan1200.jts3servermod.f.c(Unknown Source)
at de.stefan1200.jts3servermod.f.<init>(Unknown Source)
at de.stefan1200.jts3servermod.JTS3ServerMod.main(Unknown Source)
2020-05-23 04:57:08 QUIT_MANAGER Error while loading the JTS3ServerMod InstanceManager config file, read error messages above to know more. Quitting now...
« Last Edit: May 24, 2020, 12:19:36 AM by TimNSan »

Stefan1200

  • Administrator
  • *****
  • Posts: 2244
    • View Profile
Re: Fehler beim Botstart
« Reply #1 on: May 23, 2020, 08:30:20 AM »
Web Interface zuerst installieren und bei der Installation anhaken, dass die Datenbank Tabellen erstellt werden sollen.

TimNSan

  • JTS3ServerMod Internal
  • *****
  • Posts: 6
    • View Profile
Re: Fehler beim Botstart
« Reply #2 on: May 23, 2020, 11:52:27 PM »
Wenn ich auf die Website will, bekomme ich Folgenden Fehler:
Code: [Select]
Fatal error: Uncaught Error: Call to undefined function mb_internal_encoding() in /var/www/html/bot/index.php:11 Stack trace: #0 {main} thrown in /var/www/html/bot/index.php on line 11Die Pakete
- php-mbstring
- php-curl
- php-xml
sind installiert.
Version: Apache/2.4.29 (Ubuntu)

Hab auch schon etwas geschaut und alles versucht, aber es will irgendwie nicht :/


TimNSan

  • JTS3ServerMod Internal
  • *****
  • Posts: 6
    • View Profile
Re: Fehler beim Botstart
« Reply #4 on: May 24, 2020, 02:06:18 PM »
Hab die MySQL Daten eingegeben, hat alles funktioniert.
Ich weiß nur nicht warum es nicht geht.
Bild

Stefan1200

  • Administrator
  • *****
  • Posts: 2244
    • View Profile
Re: Fehler beim Botstart
« Reply #5 on: May 24, 2020, 02:16:36 PM »
Vielleicht nochmal neu installieren, bitte exakt an die Anleitung vom Web Interface halten.

TimNSan

  • JTS3ServerMod Internal
  • *****
  • Posts: 6
    • View Profile
Re: Fehler beim Botstart
« Reply #6 on: May 30, 2020, 01:41:11 PM »
Hey, ich hab nen bisschen bisschen rumprobiert und hab herausgefunden das ich wohl den benötigten table für die MySQL Datenbank selber erstellen muss.
Gibst die mir dafür bitte die benötigten Daten?

Stefan1200

  • Administrator
  • *****
  • Posts: 2244
    • View Profile
Re: Fehler beim Botstart
« Reply #7 on: May 30, 2020, 03:56:27 PM »
Hey, ich hab nen bisschen bisschen rumprobiert und hab herausgefunden das ich wohl den benötigten table für die MySQL Datenbank selber erstellen muss. Gibst die mir dafür bitte die benötigten Daten?

Was für Daten? Du erstellst einfach eine Datenbank, diese gibst du bei der Installation des Webinterfaces an, der erstellt dann alle Tabellen und füllt diese.

TimNSan

  • JTS3ServerMod Internal
  • *****
  • Posts: 6
    • View Profile
Re: Fehler beim Botstart
« Reply #8 on: May 30, 2020, 04:13:22 PM »
Die Info kommt immer wenn ich im WI die MySQL Daten eintrage. Bild
Danach kommt dann dieses "SQL Abfrage war ungültig".

Stefan1200

  • Administrator
  • *****
  • Posts: 2244
    • View Profile
Re: Fehler beim Botstart
« Reply #9 on: May 30, 2020, 04:19:15 PM »
Die Info kommt immer wenn ich im WI die MySQL Daten eintrage. Bild
Danach kommt dann dieses "SQL Abfrage war ungültig".

Haken setzen nicht vergessen...

TimNSan

  • JTS3ServerMod Internal
  • *****
  • Posts: 6
    • View Profile
Re: Fehler beim Botstart
« Reply #10 on: May 30, 2020, 06:45:58 PM »
Habs einfach komplett verplant, entschuldige die Störung :p