Issue with Purge command run from Console
SkippyMcSkips opened this issue ยท 3 comments
The server that I admin has a scheduled item that runs shortly after a daily reboot to run the coreprotect.purge command, however it's failing when run in the web console. If I run the command in-game as an admin, it works without issue.
Web console output:
coreprotect purge t:90d #optimize
[17:01:38 INFO]: CoreProtect - You do not have permission to do that.
In-game output:
[17:03:14 INFO]: SkippyMcSkips issued server command: /coreprotect purge t:90d #optimize
[17:03:14 INFO]: [CoreProtect] Data purge started on "#global".
[17:03:14 INFO]: [CoreProtect] Please note that this may take some time.
[17:03:14 INFO]: [CoreProtect] Do not restart your server until completed.
[17:03:14 INFO]: [CoreProtect] Processing art map data...
[17:03:14 INFO]: [CoreProtect] Processing block data...
Server is running Purpur v 1.18.2 and LuckPerms. Web console is running on Pterodactyl.
https://docs.coreprotect.net/commands/#co-purge
/coreprotect
is disabled by default, both in-game and in the console. You either need to enable the command, or use the default /co
command.
Thanks, I will change it to co purge t:90d #optimize in the scheduled task and see what happens the next time it runs (tomorrow morning).