Cannot create instance of Minecraft Java Edition

OS Name/Version: Debian 11

Product Name/Version: AMP Release “Triton”
v2.3.2.4, built 21/02/2022 18:37

Problem Description:
Cannot create server instance

Configuration Failed: chmod failed with return code 1
Create Instance Failed: chmod failed with return code 1

Steps to reproduce:

Just try to install Micraft Java Edition in AMP

Actions taken to resolve so far: None, as the error does not provide any pointers to the root cause.

Temporary issue - run su -l amp -c "ampinstmgr -nocache upgradeall" as root and it’ll start working again.

su -l amp -c “ampinstmgr --nocache --upgradeall” solved the minecraft problem.
Cheers!