Data Problem
Hey, having problems with a lands plugin not working with it erroring when you type /lands. I believe it has something to do with a data storage, but I don't know much so yeah.
- [Thu 01:25:37 ERROR Lands] Failed to get player from database: (group of numbers) Type: SQLITE
java.sql.SQLException: HikariDataSource HikariDataSource (ConnectionPool) has been closed.
at Lands-6.33.7.jar//me.angeschossen.lands.hikari.HikariDataSource.getConnection(?:96)
at Lands-6.33.7.jar//me.angeschossen.lands.pdjAO.pdjAO.pdjAO.WyaWB(?:1212)
at Lands-6.33.7.jar//me.angeschossen.lands.pdjAO.pdjAO.pdjAO.AgSRZ(?:334)
at Lands-6.33.7.jar//me.angeschossen.lands.pdjAO.RLHXh.Vjrip(?:619)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
17 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by aim99#0
!logs
Please check your server log for errors from your plugins.
If you need further help understanding the errors, please send us the whole log file.
Where can I find the server log?
Logs are stored in
<server_directory>/logs/
. Search for a file explorer in your server's management interface and navigate to that directory. Once you've opened that up, search for the latest.log
file. Some providers have a separate page for logs and may hide the "logs" folder.
On Aternos:
• Go to https://aternos.org/log/.
On Minehut and server.pro:
• Go to the "files" tab in the left menu.
• Navigate to the root directory of your server.
• From there navigate to /logs/latest.log
.
What should I do with the log?
• First of all, read it! I mean, that's what you do all the time when you run a server, isn't it? Try to locate any errors that have anything to do with the issue you are facing.
• If you got the latest.log
file or created a .txt
file with the necessary errors you can upload these directly to the channel, but we prefer if you upload them to https://mclo.gs/.
• If you have trouble downloading the log file, copy/paste the text to a paste service (like mclogs). Copy the link that it gives you and send it to us. (Don't worry, McLogs hides your users' IPs.)Admincraft Canned Responses
The error message that I am receiving when performing the action is from the logs, I just don't understand what it means. Or do I need to put it into mclogs or smth
send it through mclo.gs yes
send the entire logs
https://mclo.gs/xddj2j7
Sorry
do u have any claims already done
We do, yeah
tbf i would recommend u to ask their support
just to make sure u dont loose data
Why do you say that? Is there a leak of some kind?
We don't have that many lands, so we could just remake them, but like, is it a link
u could try and move the .db out of the folder and let it regenerate (will temporarily remove current claims)
but the connection to its database is closed when the plugin tries to do stuff with it
even before u run any commands
Hmm, I'm pretty new to plugins, so I assume you can't just tell it to stay open. I mean, it just confuses me because it was working perfectly fine earlier, but now it is just closing
the reason u should try a fresh db is to see if its because the db is corrupt
I mean, it works now
Idk, I know my players can just reclaim, but still
Odd
indeed odd
but ey, u atleast have it somewhat working now
(sure not optimal but its a start)