Permissions are removed from groups #585


  • New
  • Defect
Open
  • slipcor created this issue Jul 11, 2013

    Describe to us the issue that you're having:

    Some groups are trimmed of permissions and subgroups, it might be coincidence, but I lose my default group everytime, which messes up every group, because I use inheritance ;)

    Which steps will reproduce this problem?:
    1) update to 1.6.1 (can not be the issue, can it?)
    2) restart your server once a day (hopefully not...)
    3) have plugins accessing the ApiLayer to alter player groups (there maybe?)

    Do you have an error log of what happened?

    No I did not see any error around the last change of the config, due to a /duty command setting my user group to admin and back to offDuty admin

    Which version of bPermissions are you using?: (Please don't say "latest"!!!)

    v2.11.2

    Which version of CraftBukkit?: (Please don't say "latest"!!!)

    build 2809 (MC 1.6.1)

    Which OS?

    ubuntu x64 LTS (not the current, the one before)

    Any other information we may need (plugins, configs, etc):

    You don't want to know .... but it worked before, and I can not check if it was a bPerms update or the server update, however, I am sure that bukkit could not mess it up.

    yes, I know that they had an error where it didnt load perms at all, but see the pastebins, bPerms is removing them - or a plugin via API - I activated debug mode - let's see if I notice something strange now oO

    how it should be: http://pastebin.com/hk4vrhGz

    what happens: http://pastebin.com/Niqt00HE

  • slipcor added the tags New Defect Jul 11, 2013
  • slipcor edited description Jul 11, 2013
  • slipcor posted a comment Jul 12, 2013

    update:

    I saw the plugin main page information about the downgrade. Tried that, acted like the other day when it messed up, so far, so good :)

    if you hear nothing from me tomorrow, we can assume this bug is fixed?

  • _ForgeUser7786195 posted a comment Jul 14, 2013

    We're seeing the same thing. About half the time when we do a /bp reload most of the permissions in the groups.yml file are deleted. Most of the time it deletes all of them, other times just most of them. Also if it does stay intact random players lose all of their permissions. They have to logout and back in to get their permissions back. We've had this problem with the last few releases, including the latest 2.10.5.

  • slipcor posted a comment Jul 15, 2013

    @paulj1x: Go

    now that you said that, I checked some things. It appears to be happening when you edit the files and then /permissions reload ...

    v2.11.1 and v2.10.5 do mess up on reloading but only marginal things that are fixed on next restart, so it's okay. However, v2.11.2 does absolutely mess up the config while reloading and I did not test in detail if this is a messed up state while the server is running, but it's clear that this results in lost perms when the server restarts afterwards ;)

    However, this is fixed in v2.10.5 ; I can reload as much as I want and the perms are fine!

    Now to analyze that, I enabled debug mode and found some interesting things:

    "[debug] Error setting groups dirty"

    http://pastebin.com/f7tYVsha

    And check the end of the file... I am sure you will make more out of that than me. The error about dirty might not be as bad as the fact that it spam updates my perms without me doing anything. ;)


    Edited Jul 15, 2013
  • _ForgeUser7786195 posted a comment Jul 19, 2013

    @SLiPCoR: Go

    We're seeing the groups.yml file lose all permissions about half the time we do a /bp reload under 2.10.5. Same thing about a third of the time when we restart. We keep a complete groups.yml and upload it each time, and even after a /bp reload people have to log out and back in to get permissions.

  • _ForgeUser7786195 posted a comment Jul 20, 2013

    Tickets 574, 585 and 590 are for the same problem.

  • _ForgeUser7786195 posted a comment Jul 20, 2013

    I did a /bp cleanup which reduced my users file from 200k to 70k. This majorly improved the problem with losing permissions from the group file on /bp reload, maybe even fixed it, except that /bp reload still causes some players to lose all permissions until they logout and back in. Many of the players have learned that when we're working on the system to logout and back in at the first sign of trouble.


To post a comment, please login or register a new account.