Players usernames are always "MongoDB" after migrating
Closed this issue ยท 2 comments
Migrated from PermissionsEX. We use MongoDB as storage. If a player has not been online since migration and they are looked up by UUID then their username will show as "MongoDB".
We are running with BungeeCord. All servers have online-mode=false
and bungeecord: true
. BungeeCord has ip-forwarding enabled.
Steps to reproduce:
- Setup a simple pex structure. Add a few groups and a few users to those groups.
- Migrate to LP.
lp migration PermissionsEX
. Use MongoDB as backend storage. - Run info on a user who had been online before the migration but has not been online after. Look them up via UUID.
lp user <uuid> info
. Their username will then show as MongoDB.
Edit 1: Added version data:
Pull request made. The name is set to the name of the database adapter rather than the stored name in the database.
whoooops