Update LuckPerms for the platform that is actually running, and back up its real data source. Check the info subcommand, the configuration and the data export: on Bukkit /lp info, on BungeeCord /lpb info, on Velocity /lpv info. After the swap, verify groups and permissions with normal accounts; a new JAR alone does not confirm that the permission chain is unchanged.

Identify the Platform and Storage Location

First note where LuckPerms is installed: on the Minecraft server, on the proxy or on several components. Check the platform that was started and the version in the log. Do not rely solely on the file name of a JAR that was uploaded at some point.

Then check how permissions are configured to be stored. With an external database, the authoritative data does not necessarily live in the plugin folder. A plain file backup of that folder can therefore be incomplete. Treat credentials from the configuration as confidential and do not paste them into public bug reports.

Read Platform and Storage In-Game

Instead of going by the JAR file name, query the running plugin itself: on Bukkit with /lp info, on BungeeCord with /lpb info and on Velocity with /lpv info. In the following, /lp info is the Bukkit example. Note the three details that matter before the update:

  • Platform — whether LuckPerms is running as the Bukkit, Velocity, BungeeCord, Fabric or NeoForge variant. This detail decides which download you need.
  • Storage — which local or external data source is actually active. Besides H2, the official default configuration also supports SQLite and text files as well as external databases. Check storage-method and, if applicable, split-storage; back up every data source in use consistently. A plugin folder backup does not cover an external database.
  • Version — the version that is actually loaded, against which you read the release notes.

Note all three values before you swap anything, and repeat the query after the update. If the platform or storage differs afterwards, you grabbed the wrong file or the configuration was overwritten — either way, you catch it this way before players notice.

Backup Before the Swap

Back up the previous plugin file, the configuration and the permission data that is actually in use. For the data, use a suitable export or database backup procedure and check that you can read the backup again. Note the time and which servers or proxies share the same data.

For a small test, a few examples documented in advance are enough: a normal player without special permissions, a member of a named group and an account with one specific additional permission. Note the expected behavior. Do not assign global wildcard permissions or blanket OP rights for the test; that would mask permission errors.

Update in a Maintenance Window

  1. Choose the download for your actual platform via the official LuckPerms website.
  2. Check the prerequisites and notes listed there about switching from your previous version.
  3. Shut down the affected server or proxy component cleanly.
  4. Swap the plugin file; leave the configuration and data storage as they are, unless the specific update guide requires a migration.
  5. Start the component and check the log for loading and storage errors.
  6. Test the permission cases you documented earlier.

If you have several components, update them in a controlled manner and document their versions. Do not derive a blanket upgrade instruction for all Minecraft servers from a new proxy build.

Verify the Result

Do not test only with your administrator account. With an ordinary player, check that permitted commands still work and forbidden actions are still rejected. If you use different permissions per server or world, repeat the test in exactly those contexts.

A clean start alone is not enough: the server can be reachable while a database connection or a permission rule behaves differently than expected. Note the platform, plugin version, test result and, if applicable, the first relevant error message.

If the Log Says Something went wrong whilst upgrading the LuckPerms database

[LuckPerms] Something went wrong whilst upgrading the LuckPerms database

On startup, LuckPerms tried to adapt the structure of its database to the new version, and one step failed. Which one is stated in the lines directly below, usually as an H2 or SQL error message. Permissions may then be missing or behave differently, even if the server is running.

  1. Stop the server before you change anything else, and back up the LuckPerms data in its current state: with H2 the plugins/LuckPerms folder, with an external database the database itself.
  2. Check whether the new LuckPerms file matches your platform and is a current, compatible build.
  3. Do not delete or edit the database by hand. If the upgrade fails again, restore the backup from before the update together with the old plugin file, and use the official migration guide or LuckPerms support.

Afterwards, test the permissions with a normal player as described above.

Safe Way Back

If permissions behave unexpectedly, stop further administrative changes and first check the platform file and the storage connection. Use the backed-up data for a controlled restore test. Do not blindly restore an older database state if other servers have meanwhile written correct changes into the same data.

FAQ

Is the most recently released file always the right one?

No. The platform, prerequisites and the specific release notes must all match.

Is the plugin folder enough as a backup?

Only if it also fully contains the data that is actually in use. Check the storage connection.

Do I have to recreate permissions after every update?

A regular update is no reason to rebuild your groups as a precaution. First check the data and error messages.

How do I find out which platform and storage I have?

/lp info shows the platform, storage type and loaded version of the running plugin. This is more reliable than the file name of a JAR uploaded at some point, and it also answers whether a file backup of the plugin folder is enough at all.

Do I have to update the proxy and the Minecraft server at the same time?

Each needs the file for its own platform, and if they use the same data, their versions belong together. Update them one after another in a controlled manner within a maintenance window, and document which component runs on which version.

May I restore an older database state?

Only if no other component has written correct changes into the same data since then. Otherwise you overwrite valid data with old data. First check the platform file and the storage connection — most of the time the error lies there and not in the data.

Primary Sources

Correctly Attributing a Permission Error After the Update

First compare the platform, version and storage from /lp info with your note from before the update. If groups exist but individual actions fail, check inheritance, context and the permission node required by the target plugin. If all groups are missing, check the database connection or local storage file before you recreate permissions. A freshly created replacement can mask the original cause. Test with a role without OP and with the same world/server contexts as before. Only restore an old database state once permission changes made in the meantime are documented and protected.