Can't load from self hosted interface(stuck on loading)
Xenorki opened this issue ยท 4 comments
Hello,
I want to have self hosted web interface, I followed all instructions!
When I execute the command: /lp editor I have this:
When I click, I have this:
I looked in the app.js in order to find what could be wrong, and I have found and replaced the '/' by '?':
And I'm stuck here with this loading message!
Here is the Chrome console:
Here is the text stack trace:
Uncaught TypeError: data.sessions is not iterable
at Object.loadData [as success] (app.js:884)
at i (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at A (jquery.min.js:4)
at XMLHttpRequest.<anonymous> (jquery.min.js:4)
And here the bytebin text from the plugin:
{
"metadata": {
"commandAlias": "lp",
"uploader": {
"name": "Xenorki",
"uuid": "a896bdaa-47f7-4f39-a084-caf17d7c8799"
},
"time": 1586561849660,
"pluginVersion": "5.0.130"
},
"permissionHolders": [
{
"type": "group",
"id": "default",
"displayName": "default",
"nodes": []
},
{
"type": "user",
"id": "a896bdaa-47f7-4f39-a084-caf17d7c8799",
"displayName": "xenorki",
"nodes": [
{
"type": "prefix",
"key": "prefix.10.",
"value": true,
"context": {
"world": "maps"
}
},
{
"type": "suffix",
"key": "suffix.10.",
"value": true,
"context": {
"world": "maps"
}
},
{
"type": "permission",
"key": "*",
"value": true
},
{
"type": "inheritance",
"key": "group.default",
"value": true
}
]
}
],
"tracks": [],
"knownPermissions": [
"craftbukkit",
"betternick",
"betternick.*",
"bukkit",
"bukkit.broadcast",
"bukkit.broadcast.admin",
"bukkit.broadcast.user",
"bukkit.command",
"bukkit.command.help",
"bukkit.command.plugins",
"bukkit.command.reload",
"bukkit.command.version",
"essentials",
"essentials.*",
"essentials.keepinv",
"essentials.back",
"essentials.back.into",
"essentials.back.into.dust",
"essentials.back.into.gunspawn",
"essentials.back.into.lobby",
"essentials.back.into.maps",
"essentials.back.into.snowtown",
"essentials.back.into.vip",
"essentials.back.into.world",
"essentials.back.into.world_nether",
"essentials.back.into.world_the_end",
"essentials.gamemode",
"essentials.gamemode.*",
"essentials.seen",
"essentials.seen.extra",
"essentials.teleport",
"essentials.teleport.cooldown",
"essentials.teleport.cooldown.bypass",
"essentials.teleport.cooldown.bypass.back",
"essentials.teleport.cooldown.bypass.tpa",
"luckperms",
"luckperms.applyedits",
"luckperms.bulkupdate",
"luckperms.check",
"luckperms.creategroup",
"luckperms.createtrack",
"luckperms.debug",
"luckperms.deletegroup",
"luckperms.deletetrack",
"luckperms.editor",
"luckperms.export",
"luckperms.import",
"luckperms.info",
"luckperms.listgroups",
"luckperms.listtracks",
"luckperms.migration",
"luckperms.reloadconfig",
"luckperms.search",
"luckperms.sync",
"luckperms.tree",
"luckperms.verbose",
"luckperms.group",
"luckperms.group.clear",
"luckperms.group.clone",
"luckperms.group.editor",
"luckperms.group.info",
"luckperms.group.listmembers",
"luckperms.group.rename",
"luckperms.group.setdisplayname",
"luckperms.group.setweight",
"luckperms.group.showtracks",
"luckperms.group.meta",
"luckperms.group.meta.addprefix",
"luckperms.group.meta.addsuffix",
"luckperms.group.meta.addtempprefix",
"luckperms.group.meta.addtempsuffix",
"luckperms.group.meta.clear",
"luckperms.group.meta.info",
"luckperms.group.meta.removeprefix",
"luckperms.group.meta.removesuffix",
"luckperms.group.meta.removetempprefix",
"luckperms.group.meta.removetempsuffix",
"luckperms.group.meta.set",
"luckperms.group.meta.setprefix",
"luckperms.group.meta.setsuffix",
"luckperms.group.meta.settemp",
"luckperms.group.meta.settempprefix",
"luckperms.group.meta.settempsuffix",
"luckperms.group.meta.unset",
"luckperms.group.meta.unsettemp",
"luckperms.group.parent",
"luckperms.group.parent.add",
"luckperms.group.parent.addtemp",
"luckperms.group.parent.clear",
"luckperms.group.parent.cleartrack",
"luckperms.group.parent.info",
"luckperms.group.parent.remove",
"luckperms.group.parent.removetemp",
"luckperms.group.parent.set",
"luckperms.group.parent.settrack",
"luckperms.group.permission",
"luckperms.group.permission.check",
"luckperms.group.permission.checkinherits",
"luckperms.group.permission.clear",
"luckperms.group.permission.info",
"luckperms.group.permission.set",
"luckperms.group.permission.settemp",
"luckperms.group.permission.unset",
"luckperms.group.permission.unsettemp",
"luckperms.log",
"luckperms.log.grouphistory",
"luckperms.log.notify",
"luckperms.log.recent",
"luckperms.log.search",
"luckperms.log.trackhistory",
"luckperms.log.userhistory",
"luckperms.sponge",
"luckperms.sponge.option",
"luckperms.sponge.option.clear",
"luckperms.sponge.option.info",
"luckperms.sponge.option.set",
"luckperms.sponge.option.unset",
"luckperms.sponge.parent",
"luckperms.sponge.parent.add",
"luckperms.sponge.parent.clear",
"luckperms.sponge.parent.info",
"luckperms.sponge.parent.remove",
"luckperms.sponge.permission",
"luckperms.sponge.permission.clear",
"luckperms.sponge.permission.info",
"luckperms.sponge.permission.set",
"luckperms.track",
"luckperms.track.append",
"luckperms.track.clear",
"luckperms.track.clone",
"luckperms.track.info",
"luckperms.track.insert",
"luckperms.track.remove",
"luckperms.track.rename",
"luckperms.user",
"luckperms.user.clear",
"luckperms.user.clone",
"luckperms.user.demote",
"luckperms.user.editor",
"luckperms.user.info",
"luckperms.user.promote",
"luckperms.user.showtracks",
"luckperms.user.meta",
"luckperms.user.meta.addprefix",
"luckperms.user.meta.addsuffix",
"luckperms.user.meta.addtempprefix",
"luckperms.user.meta.addtempsuffix",
"luckperms.user.meta.clear",
"luckperms.user.meta.info",
"luckperms.user.meta.removeprefix",
"luckperms.user.meta.removesuffix",
"luckperms.user.meta.removetempprefix",
"luckperms.user.meta.removetempsuffix",
"luckperms.user.meta.set",
"luckperms.user.meta.setprefix",
"luckperms.user.meta.setsuffix",
"luckperms.user.meta.settemp",
"luckperms.user.meta.settempprefix",
"luckperms.user.meta.settempsuffix",
"luckperms.user.meta.unset",
"luckperms.user.meta.unsettemp",
"luckperms.user.parent",
"luckperms.user.parent.add",
"luckperms.user.parent.addtemp",
"luckperms.user.parent.clear",
"luckperms.user.parent.cleartrack",
"luckperms.user.parent.info",
"luckperms.user.parent.remove",
"luckperms.user.parent.removetemp",
"luckperms.user.parent.set",
"luckperms.user.parent.settrack",
"luckperms.user.parent.switchprimarygroup",
"luckperms.user.permission",
"luckperms.user.permission.check",
"luckperms.user.permission.checkinherits",
"luckperms.user.permission.clear",
"luckperms.user.permission.info",
"luckperms.user.permission.set",
"luckperms.user.permission.settemp",
"luckperms.user.permission.unset",
"luckperms.user.permission.unsettemp",
"minecraft",
"minecraft.autocraft",
"minecraft.command",
"minecraft.command.defaultgamemode",
"minecraft.command.effect",
"minecraft.command.gamemode",
"minecraft.command.give",
"minecraft.command.kick",
"minecraft.command.kill",
"minecraft.command.list",
"minecraft.command.me",
"minecraft.command.say",
"minecraft.command.seed",
"minecraft.command.selector",
"minecraft.command.stop",
"minecraft.command.teleport",
"minecraft.command.tell",
"minecraft.command.toggledownfall",
"minecraft.command.trigger",
"minecraft.command.xp",
"multiverse",
"multiverse.*",
"multiverse.help",
"multiverse.access",
"multiverse.access.*",
"multiverse.access.dust",
"multiverse.access.gunspawn",
"multiverse.access.lobby",
"multiverse.access.maps",
"multiverse.access.snowtown",
"multiverse.access.vip",
"multiverse.access.world",
"multiverse.access.world_nether",
"multiverse.access.world_the_end",
"multiverse.core",
"multiverse.core.*",
"multiverse.core.clone",
"multiverse.core.config",
"multiverse.core.confirm",
"multiverse.core.coord",
"multiverse.core.create",
"multiverse.core.debug",
"multiverse.core.delete",
"multiverse.core.generator",
"multiverse.core.import",
"multiverse.core.info",
"multiverse.core.load",
"multiverse.core.purge",
"multiverse.core.regen",
"multiverse.core.reload",
"multiverse.core.remove",
"multiverse.core.script",
"multiverse.core.silent",
"multiverse.core.unload",
"multiverse.core.version",
"multiverse.core.anchor",
"multiverse.core.anchor.*",
"multiverse.core.anchor.create",
"multiverse.core.anchor.delete",
"multiverse.core.anchor.list",
"multiverse.core.gamerule",
"multiverse.core.gamerule.*",
"multiverse.core.gamerule.list",
"multiverse.core.gamerule.set",
"multiverse.core.list",
"multiverse.core.list.*",
"multiverse.core.list.environments",
"multiverse.core.list.who",
"multiverse.core.list.worlds",
"multiverse.core.modify",
"multiverse.core.modify.*",
"multiverse.core.modify.add",
"multiverse.core.modify.clear",
"multiverse.core.modify.remove",
"multiverse.core.modify.set",
"multiverse.core.spawn",
"multiverse.core.spawn.*",
"multiverse.core.spawn.other",
"multiverse.core.spawn.self",
"multiverse.core.spawn.set",
"multiverse.exempt",
"multiverse.exempt.*",
"multiverse.exempt.dust",
"multiverse.exempt.gunspawn",
"multiverse.exempt.lobby",
"multiverse.exempt.maps",
"multiverse.exempt.snowtown",
"multiverse.exempt.vip",
"multiverse.exempt.world",
"multiverse.exempt.world_nether",
"multiverse.exempt.world_the_end",
"multiverse.teleport",
"multiverse.teleport.*",
"multiverse.teleport.other",
"multiverse.teleport.other.*",
"multiverse.teleport.other.a",
"multiverse.teleport.other.b",
"multiverse.teleport.other.ca",
"multiverse.teleport.other.e",
"multiverse.teleport.other.pl",
"multiverse.teleport.other.w",
"multiverse.teleport.self",
"multiverse.teleport.self.*",
"multiverse.teleport.self.a",
"multiverse.teleport.self.b",
"multiverse.teleport.self.ca",
"multiverse.teleport.self.e",
"multiverse.teleport.self.pl",
"multiverse.teleport.self.w",
"mv",
"mv.bypass",
"mv.bypass.gamemode",
"mv.bypass.gamemode.*",
"mv.bypass.gamemode.dust",
"mv.bypass.gamemode.gunspawn",
"mv.bypass.gamemode.lobby",
"mv.bypass.gamemode.maps",
"mv.bypass.gamemode.snowtown",
"mv.bypass.gamemode.vip",
"mv.bypass.gamemode.world",
"mv.bypass.gamemode.world_nether",
"mv.bypass.gamemode.world_the_end",
"mv.bypass.playerlimit",
"mv.bypass.playerlimit.*",
"mv.bypass.playerlimit.dust",
"mv.bypass.playerlimit.gunspawn",
"mv.bypass.playerlimit.lobby",
"mv.bypass.playerlimit.maps",
"mv.bypass.playerlimit.snowtown",
"mv.bypass.playerlimit.vip",
"mv.bypass.playerlimit.world",
"mv.bypass.playerlimit.world_nether",
"mv.bypass.playerlimit.world_the_end",
"placeholderapi",
"placeholderapi.*",
"placeholderapi.admin",
"placeholderapi.ecloud",
"placeholderapi.list",
"placeholderapi.parse",
"placeholderapi.register",
"placeholderapi.reload",
"placeholderapi.updatenotify",
"plugman",
"plugman.admin",
"plugman.dump",
"plugman.help",
"plugman.info",
"plugman.list",
"plugman.load",
"plugman.lookup",
"plugman.reload",
"plugman.unload",
"plugman.update",
"plugman.usage",
"plugman.check",
"plugman.check.all",
"plugman.disable",
"plugman.disable.all",
"plugman.enable",
"plugman.enable.all",
"plugman.restart",
"plugman.restart.all",
"vault",
"vault.admin",
"vault.update"
],
"potentialContexts": {
"world": [
"world",
"world_nether",
"world_the_end",
"lobby",
"snowtown",
"maps",
"gunspawn",
"vip",
"dust"
]
}
}
Thank you for your help!
The new editor is on the v2
branch - https://github.com/lucko/LuckPermsWeb/tree/v2
We're still working on getting a self hosting guide made for this.
I'm currently working on an automated installer script for the web editor.
It currently installs the webeditor and bytebin. Designed for Debian based systems (expects apt-get
for missing packages. Should however work on different systems if have all required packages installed). Also you need nginx preinstalled.
If you fulfil these criteria, run this command as a user with sudo permissions or as root:
git clone --branch installer_script https://github.com/BrainStone/LuckPermsWeb; LuckPermsWeb/installer/install.sh
See LuckPerms/LuckPermsWeb#187 for discussion