LuckPerms

LuckPerms

41.4k Downloads

RedisBungee Remote databases

Neko7sora opened this issue ยท 4 comments

commented

Description

I need RedisBungee support for Remote databases.

Proposed Behaviour

https://luckperms.net/wiki/Storage-types

image
image

I am using RedisBungee and have a problem with storages not being shared.
https://github.com/LuckPerms/LuckPerms/search?q=RedisBungee

Extra Details

No response

commented

Seeing the editors being different doesn't give us any information we can actually debug. Please share /lp info from both servers (if one is a bungee or velocity use, /lpb or /lpv).

commented

image

[22:42:28 INFO]: [LP] Running LuckPerms v5.4.30 by Luck.
[22:42:28 INFO]: [LP] -  Platform: BungeeCord
[22:42:28 INFO]: [LP] -  Server Brand: Waterfall
[22:42:28 INFO]: [LP] -  Server Version:
[22:42:28 INFO]: [LP]      git:Waterfall-Bootstrap:1.19-R0.1-SNAPSHOT:fc30291:498
[22:42:28 INFO]: [LP] -  Storage:
[22:42:28 INFO]: [LP]      Type: H2
[22:42:28 INFO]: [LP]      File Size: 0.29MB
[22:42:28 INFO]: [LP] -  Extensions:
[22:42:28 INFO]: [LP]      None
[22:42:28 INFO]: [LP] -  Messaging: RedisBungee
[22:42:28 INFO]: [LP] -  Instance:
[22:42:28 INFO]: [LP]      Static contexts: (proxy=waterfall-kame-java) (server=bungee)
[22:42:28 INFO]: [LP]      Online Players: 1 (3 unique)
[22:42:28 INFO]: [LP]      Uptime: 8m 11s
[22:42:28 INFO]: [LP]      Local Data: 2 users, 2 groups, 0 tracks

image

[22:43:13 INFO]: [LP] Running LuckPerms v5.4.30 by Luck.
[22:43:13 INFO]: [LP] -  Platform: BungeeCord
[22:43:13 INFO]: [LP] -  Server Brand: Waterfall
[22:43:13 INFO]: [LP] -  Server Version:
[22:43:13 INFO]: [LP]      git:Waterfall-Bootstrap:1.19-R0.1-SNAPSHOT:fc30291:498
[22:43:13 INFO]: [LP] -  Storage:
[22:43:13 INFO]: [LP]      Type: H2
[22:43:13 INFO]: [LP]      File Size: 0.3MB
[22:43:13 INFO]: [LP] -  Extensions:
[22:43:13 INFO]: [LP]      None
[22:43:13 INFO]: [LP] -  Messaging: RedisBungee
[22:43:13 INFO]: [LP] -  Instance:
[22:43:13 INFO]: [LP]      Static contexts: (proxy=waterfall-kei-java) (server=bungee)
[22:43:13 INFO]: [LP]      Online Players: 6 (16 unique)
[22:43:13 INFO]: [LP]      Uptime: 2h 56m 41s
[22:43:13 INFO]: [LP]      Local Data: 6 users, 2 groups, 0 tracks
commented

They show storage type to be H2. H2 is the file in your /LuckPerms/ folder, luckperms-h2.mv.db. How do you expect data to be synced if they use their own file? H2 is not meant to be written to/read from by more than one instance at a time. You should use an actual remote storage to sync permissions, groups and users.

commented

Redis is not supported for data storage. Use MySQL instead.