I’m thinking that Nextcloud is causing the problem here, since php-fpm seems to get installed because of Nextcloud (according to the MiaB scripts).
Is there a way to install MiaB without Nextcloud? I’m willing to rebuild the server so that’s not a problem.
IMO, Nextcloud carries more harm than good and it should be removed from MiaB since it adds extra attack surface to the server. MiaB should focus on mail and nothing else.
If @joshdata needs any help in modifying the scripts to make Nextcloud optional, I’d be happy to help.
I think it would be pretty easy to implement, the script should just ask the user if he wants to install Nextcloud, and sets an environment variable accordingly.
Every action related to Nextcloud in the scripts will check for that environment variable, and if it says “NO” (or something like that) it would just skip that action.
I will start writing a pull request for this.