LuckPerms forgets users
AaronFrost99 opened this issue ยท 4 comments
Description
Reproduction steps
- User registered/login at server
- User logout
- I can see the user at web luckperms console
- user missing for about a day
- user info lost from web luckperms console
Expected behaviour
It shouldn't be like this, or is there something I don't know?.
Environment details
git-Yatopia-13 (MC: 1.16.5)
- , Luckperms v5.2.104
Any other relevant details
These events were detected after the server was moved from sqlite storage to mysql. However, this may be a coincidence. However, the translation was also not quite correct - not all the data was transferred. Some of the data was not transferred. We don't know why. That is, when switching between storage types, the data is different. In the local format, Luckperms sees more information
Note that there isn't any syncing of data between storage types. You need to export and then import the data. See: https://luckperms.net/wiki/Switching-storage-types#how-to
The data was exported and imported as the developer specified-with the appropriate /export and /import commands. The server reported a successful import of the database, and the data in the Mysql database was reflected, but not all.
It's unlikely that there's a bug that is causing this issue, perhaps you made a mistake during the migration?
If you still have the import/export files to hand, I can take a look to see if the data is there? You could always run the import again and it'll merge the old data back in again.
Closing for now, but please feel free to re-open if you have any more info to give.
Morgning My LuckPerms data was in Mysql type
I created the character "Test" and went into the game with it. After then relogin as an administrative character. In the webconsole, character was, i checked it. I applied the permission for the group (adding rtp for default), and then opened the lacperms console again - the "Test" character was no longer there - it just disappeared.
There were no storage migrations between it 2 action. LuckPerms was and remained on Mysql. After that, I moved the storage from sql to H2 local, since as far as I understand, LuckPerms cannot work correctly with databases. If such an error occurs again in local storage, I will report it here.
However, given that there were no migrations between the registration of the character and its disappearance , no mistakes could be made in the migration process (since there was no migration itself).