Well you can easily solve this with symlink lol. But I have another story quite related to that. And I'm using AMI2 as well now. So your till will help me lol.
I've tried running aaPanel on ARM, all was good till I decided to install mail as well. 😃
Email mail_sys.sh, on AMI2 returns Unsupported version. On any ARM architecture creates some errors, especially with rspamd. I've tried it compiling manually, but after doing it successfully and compiling and installable package, I got disappointed by errors, which are caused by luajit, not having something required or unable to call something for rspamd to work. P.S. To compile rspamd and other required services for ARM, including finding alternative for hyperscan, which is vectorscan approx 2 days if not more and eded up still with luajit error, which is suppose to be solve on latest commits, but rspamd does not reflect on that, even though I've rcompiled luajit from source with latest v2.1 branch commits.
P.S. Make sure you never symlink anything to /bin, instead use /bin/, but to be safe, use 😃 /bin/something. 😃 I've learned my lesson. 😃 I've broken my ARM linux with that accidental miss-type of not adding forward slash at the end. I was not able to boot because of that into recovery mode. It stated some sort of 64kb allocation bug... Oh and you also cannot chroot from another machine after that. 😃 Even if you do you cannot do anything. And it seems that when mounting permissions and ownership is not applied, or I did something wrong. 😃 But anyway mounting and copying into another fresh installed saved the day. :-)