LuckPerms

LuckPerms

41.4k Downloads

Players usernames are always "MongoDB" after migrating

Foorack opened this issue ยท 2 comments

commented

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:

  1. Setup a simple pex structure. Add a few groups and a few users to those groups.
  2. Migrate to LP. lp migration PermissionsEX. Use MongoDB as backend storage.
  3. 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.

ekrankopio de 2017-11-30 11-09-04
ekrankopio de 2017-11-30 11-14-09

Edit 1: Added version data:

ekrankopio de 2017-11-30 11-18-56

commented

Pull request made. The name is set to the name of the database adapter rather than the stored name in the database.

commented

whoooops

003ddc5