I manage to make it work by commenting the following lines on bin/v-delete-web-domain
# Deleting web backend
#if [ ! -z "$WEB_BACKEND" ]; then
$BIN/v-delete-web-domain-backend $user $domain $restart
When install without apache, the “backend” dropdown is not present on web domain edit form. Maybe is that whats causing the error.
And the following lines on bin/v-delete-web-domain-backend
# Defining pool directory
#pool=$(find -L /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
#if [ ! -e "$pool" ]; then
# check_result $E_NOTEXIST "php-fpm pool doesn't exist"
Aparently the $pool variable gets populated by 5 lines (each line correspond to each php version pool directory) and the if statement check if that variable is a valid directory and if its not interrupts the process and return the message: “php-fpm pool doesn’t exist”