Installing a modpack from FTB will not run because the install scripts expects the -force flag and that is unable to be set (best I can tell. A very detailed documentation of the error was opened by someone else on FTB Github: [Bug]: Install direwolf20 1.21 server on AMP · Issue #8 · FTBTeam/FTB-Server-Installer · GitHub
When the install script tries to run in AMP this is the output:
Install directory is not empty, installing the modpack may cause issues
To force install use the -force flag