Replies: 1 comment
-
Thank you for your patience! You'll need to create a database with the tables already created. See the migration scripts under sql |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i just created container and it does not want to work
logs:
[INFO] [Koin] loaded properties from file:'/defaults.properties' [INFO] [Koin] bind type:'tech.gdragon.discord.Bot' ~ [type:Single,primary_type:'tech.gdragon.discord.Bot'] [INFO] [Koin] bind type:'tech.gdragon.data.DataStore' ~ [type:Single,primary_type:'tech.gdragon.data.DataStore'] [INFO] [Koin] total 2 registered definitions [INFO] [Koin] load modules in 25.647099 ms 2023-02-13T17:12:21+0000 [INFO] t.g.App - #: Creating recordings directory: /data/recordings/ [main] INFO JDA - Login Successful! [JDA MainWS-ReadThread] INFO WebSocketClient - Connected to WebSocket [JDA MainWS-ReadThread] INFO JDA - Finished Loading! 2023-02-13T17:12:25+0000 [INFO] t.g.l.EventListener - #: ONLINE: Connected to 1 guilds! 2023-02-13T17:12:25+0000 [INFO] t.g.l.EventListener - #: Add any missing Guilds to the Database... 2023-02-13T17:12:27+0000 [WARN] Exposed - #: Transaction attempt #0 failed: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such table: Guilds). Statement(s): SELECT Guilds.id, Guilds.active, Guilds.name, Guilds.region, Guilds.created_on, Guilds.last_active_on FROM Guilds WHERE Guilds.id = ? org.jetbrains.exposed.exceptions.ExposedSQLException: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such table: Guilds) at org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed(Statement.kt:48) ~[exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:131) ~[exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:125) ~[exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.Query.iterator(Query.kt:304) ~[exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.IterableExKt$mapLazy$1.iterator(IterableEx.kt:126) ~[exposed-0.13.6.jar:?] at kotlin.collections.CollectionsKt___CollectionsKt.firstOrNull(_Collections.kt:219) ~[kotlin-stdlib-1.3.31.jar:1.3.31-release-198 (1.3.31)] at org.jetbrains.exposed.dao.EntityClass.findById(Entity.kt:519) ~[exposed-0.13.6.jar:?] at org.jetbrains.exposed.dao.EntityClass.findById(Entity.kt:510) ~[exposed-0.13.6.jar:?] at tech.gdragon.db.dao.Guild$Companion.findOrCreate(DataAccessObject.kt:44) ~[throw-voice-1.2.0.jar:?] at tech.gdragon.listener.EventListener$onReady$4$1.invoke(EventListener.kt:232) ~[throw-voice-1.2.0.jar:?] at tech.gdragon.listener.EventListener$onReady$4$1.invoke(EventListener.kt:27) ~[throw-voice-1.2.0.jar:?] at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.inTopLevelTransaction(ThreadLocalTransactionManager.kt:104) [exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction(ThreadLocalTransactionManager.kt:75) [exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction(ThreadLocalTransactionManager.kt:58) [exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction$default(ThreadLocalTransactionManager.kt:58) [exposed-0.13.6.jar:?] at tech.gdragon.listener.EventListener.onReady(EventListener.kt:231) [throw-voice-1.2.0.jar:?] at net.dv8tion.jda.core.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:364) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:84) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.requests.WebSocketClient.ready(WebSocketClient.java:213) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.handle.GuildSetupController.ready(GuildSetupController.java:129) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.handle.GuildSetupNode.completeSetup(GuildSetupNode.java:390) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.handle.GuildSetupNode.handleMemberChunk(GuildSetupNode.java:284) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.handle.GuildSetupController.onMemberChunk(GuildSetupController.java:235) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.handle.GuildMembersChunkHandler.handleInternally(GuildMembersChunkHandler.java:49) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.handle.SocketHandler.handle(SocketHandler.java:37) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.requests.WebSocketClient.onDispatch(WebSocketClient.java:868) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.requests.WebSocketClient.onEvent(WebSocketClient.java:766) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.requests.WebSocketClient.handleEvent(WebSocketClient.java:745) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:903) [JDA-3.8.3_462.jar:3.8.3_462] at com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:368) [nv-websocket-client-2.5.jar:?] at com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:270) [nv-websocket-client-2.5.jar:?] at com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:990) [nv-websocket-client-2.5.jar:?] at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:749) [nv-websocket-client-2.5.jar:?] at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:108) [nv-websocket-client-2.5.jar:?] at com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64) [nv-websocket-client-2.5.jar:?] at com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45) [nv-websocket-client-2.5.jar:?] Caused by: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such table: Guilds) at org.sqlite.core.DB.newSQLException(DB.java:941) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.core.DB.newSQLException(DB.java:953) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.core.DB.throwex(DB.java:918) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.core.NativeDB.prepare_utf8(Native Method) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.core.NativeDB.prepare(NativeDB.java:134) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.core.DB.prepare(DB.java:257) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.core.CorePreparedStatement.<init>(CorePreparedStatement.java:47) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.jdbc3.JDBC3PreparedStatement.<init>(JDBC3PreparedStatement.java:30) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.jdbc4.JDBC4PreparedStatement.<init>(JDBC4PreparedStatement.java:19) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.jdbc4.JDBC4Connection.prepareStatement(JDBC4Connection.java:35) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:241) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:205) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:214) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:25) ~[exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed(Statement.kt:46) ~[exposed-0.13.6.jar:?] ... 35 more 2023-02-13T17:12:27+0000 [WARN] Exposed - #: Transaction attempt #1 failed: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such table: Guilds). Statement(s): SELECT Guilds.id, Guilds.active, Guilds.name, Guilds.region, Guilds.created_on, Guilds.last_active_on FROM Guilds WHERE Guilds.id = ? org.jetbrains.exposed.exceptions.ExposedSQLException: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such table: Guilds) at org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed(Statement.kt:48) ~[exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:131) ~[exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:125) ~[exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.Query.iterator(Query.kt:304) ~[exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.IterableExKt$mapLazy$1.iterator(IterableEx.kt:126) ~[exposed-0.13.6.jar:?] at kotlin.collections.CollectionsKt___CollectionsKt.firstOrNull(_Collections.kt:219) ~[kotlin-stdlib-1.3.31.jar:1.3.31-release-198 (1.3.31)] at org.jetbrains.exposed.dao.EntityClass.findById(Entity.kt:519) ~[exposed-0.13.6.jar:?] at org.jetbrains.exposed.dao.EntityClass.findById(Entity.kt:510) ~[exposed-0.13.6.jar:?] at tech.gdragon.db.dao.Guild$Companion.findOrCreate(DataAccessObject.kt:44) ~[throw-voice-1.2.0.jar:?] at tech.gdragon.listener.EventListener$onReady$4$1.invoke(EventListener.kt:232) ~[throw-voice-1.2.0.jar:?] at tech.gdragon.listener.EventListener$onReady$4$1.invoke(EventListener.kt:27) ~[throw-voice-1.2.0.jar:?] at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.inTopLevelTransaction(ThreadLocalTransactionManager.kt:104) [exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction(ThreadLocalTransactionManager.kt:75) [exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction(ThreadLocalTransactionManager.kt:58) [exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction$default(ThreadLocalTransactionManager.kt:58) [exposed-0.13.6.jar:?] at tech.gdragon.listener.EventListener.onReady(EventListener.kt:231) [throw-voice-1.2.0.jar:?] at net.dv8tion.jda.core.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:364) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:84) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.requests.WebSocketClient.ready(WebSocketClient.java:213) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.handle.GuildSetupController.ready(GuildSetupController.java:129) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.handle.GuildSetupNode.completeSetup(GuildSetupNode.java:390) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.handle.GuildSetupNode.handleMemberChunk(GuildSetupNode.java:284) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.handle.GuildSetupController.onMemberChunk(GuildSetupController.java:235) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.handle.GuildMembersChunkHandler.handleInternally(GuildMembersChunkHandler.java:49) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.handle.SocketHandler.handle(SocketHandler.java:37) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.requests.WebSocketClient.onDispatch(WebSocketClient.java:868) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.requests.WebSocketClient.onEvent(WebSocketClient.java:766) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.requests.WebSocketClient.handleEvent(WebSocketClient.java:745) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:903) [JDA-3.8.3_462.jar:3.8.3_462] at com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:368) [nv-websocket-client-2.5.jar:?] at com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:270) [nv-websocket-client-2.5.jar:?] at com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:990) [nv-websocket-client-2.5.jar:?] at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:749) [nv-websocket-client-2.5.jar:?] at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:108) [nv-websocket-client-2.5.jar:?] at com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64) [nv-websocket-client-2.5.jar:?] at com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45) [nv-websocket-client-2.5.jar:?] Caused by: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such table: Guilds) at org.sqlite.core.DB.newSQLException(DB.java:941) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.core.DB.newSQLException(DB.java:953) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.core.DB.throwex(DB.java:918) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.core.NativeDB.prepare_utf8(Native Method) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.core.NativeDB.prepare(NativeDB.java:134) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.core.DB.prepare(DB.java:257) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.core.CorePreparedStatement.<init>(CorePreparedStatement.java:47) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.jdbc3.JDBC3PreparedStatement.<init>(JDBC3PreparedStatement.java:30) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.jdbc4.JDBC4PreparedStatement.<init>(JDBC4PreparedStatement.java:19) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.jdbc4.JDBC4Connection.prepareStatement(JDBC4Connection.java:35) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:241) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:205) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:214) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:25) ~[exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed(Statement.kt:46) ~[exposed-0.13.6.jar:?] ... 35 more 2023-02-13T17:12:27+0000 [WARN] Exposed - #: Transaction attempt #2 failed: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such table: Guilds). Statement(s): SELECT Guilds.id, Guilds.active, Guilds.name, Guilds.region, Guilds.created_on, Guilds.last_active_on FROM Guilds WHERE Guilds.id = ? org.jetbrains.exposed.exceptions.ExposedSQLException: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such table: Guilds) at org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed(Statement.kt:48) ~[exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:131) ~[exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:125) ~[exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.Query.iterator(Query.kt:304) ~[exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.IterableExKt$mapLazy$1.iterator(IterableEx.kt:126) ~[exposed-0.13.6.jar:?] at kotlin.collections.CollectionsKt___CollectionsKt.firstOrNull(_Collections.kt:219) ~[kotlin-stdlib-1.3.31.jar:1.3.31-release-198 (1.3.31)] at org.jetbrains.exposed.dao.EntityClass.findById(Entity.kt:519) ~[exposed-0.13.6.jar:?] at org.jetbrains.exposed.dao.EntityClass.findById(Entity.kt:510) ~[exposed-0.13.6.jar:?] at tech.gdragon.db.dao.Guild$Companion.findOrCreate(DataAccessObject.kt:44) ~[throw-voice-1.2.0.jar:?] at tech.gdragon.listener.EventListener$onReady$4$1.invoke(EventListener.kt:232) ~[throw-voice-1.2.0.jar:?] at tech.gdragon.listener.EventListener$onReady$4$1.invoke(EventListener.kt:27) ~[throw-voice-1.2.0.jar:?] at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.inTopLevelTransaction(ThreadLocalTransactionManager.kt:104) [exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction(ThreadLocalTransactionManager.kt:75) [exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction(ThreadLocalTransactionManager.kt:58) [exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction$default(ThreadLocalTransactionManager.kt:58) [exposed-0.13.6.jar:?] at tech.gdragon.listener.EventListener.onReady(EventListener.kt:231) [throw-voice-1.2.0.jar:?] at net.dv8tion.jda.core.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:364) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:84) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.requests.WebSocketClient.ready(WebSocketClient.java:213) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.handle.GuildSetupController.ready(GuildSetupController.java:129) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.handle.GuildSetupNode.completeSetup(GuildSetupNode.java:390) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.handle.GuildSetupNode.handleMemberChunk(GuildSetupNode.java:284) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.handle.GuildSetupController.onMemberChunk(GuildSetupController.java:235) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.handle.GuildMembersChunkHandler.handleInternally(GuildMembersChunkHandler.java:49) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.handle.SocketHandler.handle(SocketHandler.java:37) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.requests.WebSocketClient.onDispatch(WebSocketClient.java:868) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.requests.WebSocketClient.onEvent(WebSocketClient.java:766) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.requests.WebSocketClient.handleEvent(WebSocketClient.java:745) [JDA-3.8.3_462.jar:3.8.3_462] at net.dv8tion.jda.core.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:903) [JDA-3.8.3_462.jar:3.8.3_462] at com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:368) [nv-websocket-client-2.5.jar:?] at com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:270) [nv-websocket-client-2.5.jar:?] at com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:990) [nv-websocket-client-2.5.jar:?] at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:749) [nv-websocket-client-2.5.jar:?] at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:108) [nv-websocket-client-2.5.jar:?] at com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64) [nv-websocket-client-2.5.jar:?] at com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45) [nv-websocket-client-2.5.jar:?] Caused by: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such table: Guilds) at org.sqlite.core.DB.newSQLException(DB.java:941) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.core.DB.newSQLException(DB.java:953) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.core.DB.throwex(DB.java:918) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.core.NativeDB.prepare_utf8(Native Method) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.core.NativeDB.prepare(NativeDB.java:134) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.core.DB.prepare(DB.java:257) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.core.CorePreparedStatement.<init>(CorePreparedStatement.java:47) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.jdbc3.JDBC3PreparedStatement.<init>(JDBC3PreparedStatement.java:30) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.jdbc4.JDBC4PreparedStatement.<init>(JDBC4PreparedStatement.java:19) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.jdbc4.JDBC4Connection.prepareStatement(JDBC4Connection.java:35) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:241) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:205) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:214) ~[sqlite-jdbc-3.27.2.1.jar:?] at org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:25) ~[exposed-0.13.6.jar:?] at org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed(Statement.kt:46) ~[exposed-0.13.6.jar:?] ... 35 more [JDA MainWS-ReadThread] ERROR JDA - One of the EventListeners had an uncaught exception org.jetbrains.exposed.exceptions.ExposedSQLException: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such table: Guilds) SQL: [Failed on expanding args for SELECT: org.jetbrains.exposed.sql.Query@3feee1d8] at org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed(Statement.kt:48) at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:131) at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:125) at org.jetbrains.exposed.sql.Query.iterator(Query.kt:304) at org.jetbrains.exposed.sql.IterableExKt$mapLazy$1.iterator(IterableEx.kt:126) at kotlin.collections.CollectionsKt___CollectionsKt.firstOrNull(_Collections.kt:219) at org.jetbrains.exposed.dao.EntityClass.findById(Entity.kt:519) at org.jetbrains.exposed.dao.EntityClass.findById(Entity.kt:510) at tech.gdragon.db.dao.Guild$Companion.findOrCreate(DataAccessObject.kt:44) at tech.gdragon.listener.EventListener$onReady$4$1.invoke(EventListener.kt:232) at tech.gdragon.listener.EventListener$onReady$4$1.invoke(EventListener.kt:27) at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.inTopLevelTransaction(ThreadLocalTransactionManager.kt:104) at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction(ThreadLocalTransactionManager.kt:75) at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction(ThreadLocalTransactionManager.kt:58) at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction$default(ThreadLocalTransactionManager.kt:58) at tech.gdragon.listener.EventListener.onReady(EventListener.kt:231) at net.dv8tion.jda.core.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:364) at net.dv8tion.jda.core.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:84) at net.dv8tion.jda.core.requests.WebSocketClient.ready(WebSocketClient.java:213) at net.dv8tion.jda.core.handle.GuildSetupController.ready(GuildSetupController.java:129) at net.dv8tion.jda.core.handle.GuildSetupNode.completeSetup(GuildSetupNode.java:390) at net.dv8tion.jda.core.handle.GuildSetupNode.handleMemberChunk(GuildSetupNode.java:284) at net.dv8tion.jda.core.handle.GuildSetupController.onMemberChunk(GuildSetupController.java:235) at net.dv8tion.jda.core.handle.GuildMembersChunkHandler.handleInternally(GuildMembersChunkHandler.java:49) at net.dv8tion.jda.core.handle.SocketHandler.handle(SocketHandler.java:37) at net.dv8tion.jda.core.requests.WebSocketClient.onDispatch(WebSocketClient.java:868) at net.dv8tion.jda.core.requests.WebSocketClient.onEvent(WebSocketClient.java:766) at net.dv8tion.jda.core.requests.WebSocketClient.handleEvent(WebSocketClient.java:745) at net.dv8tion.jda.core.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:903) at com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:368) at com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:270) at com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:990) at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:749) at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:108) at com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64) at com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45) Caused by: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such table: Guilds) at org.sqlite.core.DB.newSQLException(DB.java:941) at org.sqlite.core.DB.newSQLException(DB.java:953) at org.sqlite.core.DB.throwex(DB.java:918) at org.sqlite.core.NativeDB.prepare_utf8(Native Method) at org.sqlite.core.NativeDB.prepare(NativeDB.java:134) at org.sqlite.core.DB.prepare(DB.java:257) at org.sqlite.core.CorePreparedStatement.<init>(CorePreparedStatement.java:47) at org.sqlite.jdbc3.JDBC3PreparedStatement.<init>(JDBC3PreparedStatement.java:30) at org.sqlite.jdbc4.JDBC4PreparedStatement.<init>(JDBC4PreparedStatement.java:19) at org.sqlite.jdbc4.JDBC4Connection.prepareStatement(JDBC4Connection.java:35) at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:241) at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:205) at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:214) at org.jetbrains.exposed.sql.statements.Statement.prepared(Statement.kt:25) at org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed(Statement.kt:46) ... 35 more 2023-02-13T17:12:27+0000 [INFO] t.g.App - #: Starting background process to remove unused Guilds. 2023-02-13T17:12:27+0000 [INFO] t.g.App - #: Disabling remove-old-guilds Timer. 2023-02-13T17:12:27+0000 [INFO] t.g.App - #: Starting HTTP Server: http://localhost:1
Beta Was this translation helpful? Give feedback.
All reactions