-
-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Database scrambled AGAIN! #1556
Comments
In older databases you can see there is less tables.. |
The issue is that it somehow wrote NULL values in the database. |
Players are also reporting that they are rollbacking after every restart restart. There is save before every restart. They are reporting that they are losing ob level, phase, mined blocks etc.. |
@kFxDaKing I downloaded your database files and I opened the most recent one mc_oneblock202010292050 and imported it to MariaDB and ran my server and it all works fine. I can teleport to different coordinates and see player's islands. I also looked through the tables and all the data seems to be there. Was there a particular date that I need to look at? There is a minor issue on start up - the Warps tables are duplicated (the older ones have the long names), but that should not affect anything else. The log file link you shared does not work. Are you running the server online or offline? Sometimes with situations like this, it's caused by online/offline mode changes so the player UUIDs change and all the islands become unowned.
I cannot see evidence of that. Can you point to a database file that shows that? All the data appears to be in the tables I've checked so far (but there are a lot of them). |
Hello, there is my latest database, and for example player "natiix" is experiencing these problems:
There is much more players that are reporting same or similar problems, for example they cant do anything in ob settings as owners. |
1 More example: Now he want to kick player Charlie_009 via command /ob team kick Charlie_009 |
I found, that he was member of 2 islands, owner of his island and member of another. So i kicked him from another island and now when he do /ob it create new island for him. /ob info on his islands gives this /ob info natiix gives error that he dont have any island. Unregister/register |
You have a few islands where players are members of more than one island and even one island that has two owners. I do not know how that happened. I can only think of maybe the promote command being used, but it should not be possible. Anyway, I have made an admin command that will fix the database. You will need the SNAPSHOT build of BentoBox Build 1896 or later. After loading run the command:
This will fix the database. I recommend you immediately shutdown and restart to make sure everything is in-sync. If you spot weirdness again, try this command and see if it fixes anything. I would like to know why this is happening. I did notice that some of the players have ranks of sub-owner, but I do not know if this is related or not. |
1 more thing, for 1st time i tried to fix that manualy in database, so i deleted player "natiix" from another islands, and it seems to be okay, now he can do everything. But after that a lot of players reproted me that they lost their phase and destroyed blocks count, i have no idea how can this happend. I didnt touch anything about phases and blocks, all i did was deleting "natiix" from other islands then his own, and setting his home location, and world.bentobox.aoneblock.dataobjects databases. (Server was offline, when i touch db) Short list of players that reported it(there is much more players that got this problem): Thats current db: |
Becouse its erroring, something like world.bentobox.aoneblock.xxx could not rename, database name already exist |
@tastybento /acid fix not work on my server. |
@andris155 Make a new bug report. |
Don't delete the table. That is where your player data is stored for AOneBlock. I recommend you try the latest AOneBlock build. Then if you see any errors report them in a new bug report. I'm going to close and lock this one now because the original issue is addressed. |
Description
Describe the bug
Server crashed(Lagged out to 9 tps) and after server reboot there is tons of players that lost their island, mined blocks, levels, ob homes etc.
/ob commands created new ob for them.
It broke my whole server, since i have 80-120 players online it SO BIG problem...
What should i do now?
Steps to reproduce the behavior
Not sure, have some online players with islands on server, then crash a server somehow.
Im using MARIADB
Expected behavior
Fix?
Screenshots and videos (Optional)
Thats how my db looks again, no idea why it looks like that.
https://cdn.discordapp.com/attachments/310623455462686720/771441930474487858/unknown.png
Environment
Output of
/bbox version
(Mandatory)Plugins (Optional)
Additional context (Optional)
Here is some logs, but i cant see nothing in that logs..
Server lagged out, so admin had to restart it, after restart it was scrambled..
https://dropmefiles.com/W7RA2 --LOGS
https://dropmefiles.com/HJt4i -- DATABASE BACKUPS
The text was updated successfully, but these errors were encountered: