-
Notifications
You must be signed in to change notification settings - Fork 217
Player data reset #1086
Comments
Hello @carreb ! π Worth noting that you're using a really old version of the plugin which isn't compatible with Minecraft 1.17. You're likely going to bump into more problems.
I suggest using DBeaver to explore the data from H2 databases (https://dbeaver.io/). It's an open-source tool and should help you figure out what is going with the data. π |
After loading up the new version I am getting an internal error, here's what the log says.
There's a few things that I recognize in the log, which are |
Here are the files that I believe are causing the problems if you need to look through them along with the trace files |
It's only been a few hours, a bit of patience would be appreciated, rather than an eager ping. |
Okay, sorry for being a bit impatient. |
Here's a fixed database: However, as it's smaller than the files you shared, I suspect there might be some data loss. I can't tell for sure as the database files were corrupted. There are bug reports open on the H2 repository for the same error message, for example h2database/h2database#2078. H2 can be a bit temperamental, especially when a server crashes or if you try to replace a plugin JAR on a running server. |
Thank you very much for your help. Again sorry for being a bit impatient, I pinged because I didn't know if you had seen the message. I'll check to see if there is any major data loss. |
No worries, you're welcome! |
I'll check for errors in the log tomorrow and report back if I find anything. |
In addition to checking the logs for errors, I'd suggest removing all other plugins and see if the issue happens in isolation. Database driver conflicts can sometimes happen between Minecraft plugins. |
Alright, I'm checking logs now and then will see if it happens in isolation |
That is the only thing I can find from advancedachievements in the log. Checking to see if it works on a server with no other plugins now |
The issue persists even with only advancedachievements |
If it would be possible for you to show me where I can find a player name or uuid and a value for each specific achievement I will just set everything manually |
Achievement reception is stored in the It's really weird that the H2 database is not persisting any of the data, and no errors are reported. I'd advise trying to switch to SQLite, which is a bit slower but more stable. DBeaver should allow to migrate if you wanted to retain the data. |
I will try converting and seeing if it works properly. |
As the project is being sunset, I'll go ahead and close this (see #1083 or spigotmc.org for more information). The repository will be archived soon. Hopefully the tips I've provided here will have helped you solve the issue. π |
π Advanced Achievements version
6.2.1
π₯ Server version
1.17.1
π° Spigot username
carrreb
πΎ Wiki read
π Existing issues
β Description
Upon updating to 1.17.1, all of my achievements data was reset. I am using the H2 Database and can supply files from before and after updating if needed. The plugin functions fine, but all existing player data was reset.
I've tried uploading the backed up versions but they are not being read properly or being erased when uploaded.
I've tried figuring out how to open the database to see all the player data and set it back to normal manually but I can't seem to find where that is stored.
If you need to see some of the files, please let me know the names of them and I will send them asap.
β Configuration
The text was updated successfully, but these errors were encountered: