Clean VPS and the installer seems to get stuck on a part

I was using VestaCP, but as the control panel is badly out of date it is no longer good to use so I was recommended to use this control panel. The control panel is being installed on a clean server and the installation has been going smoothly until it gets to this line of text “Adding missing variable to hestia.conf: DOMAINDIR_WRITABLE (‘no’)” without quotations where it says like this for about 25 minutes and nothing changes.

That part is the end of installation. Also, that part is called from function syshealth_repair_system_config

echo "[ * ] Updating configuration files..."

BIN="$HESTIA/bin"
source $HESTIA/func/syshealth.sh
syshealth_repair_system_config

# Add /usr/local/hestia/bin/ to path variable
echo 'if [ "${PATH#*/usr/local/hestia/bin*}" = "$PATH" ]; then
    . /etc/profile.d/hestia.sh
fi' >> /root/.bashrc

#----------------------------------------------------------#
#                   Hestia Access Info                     #
#----------------------------------------------------------#

# Comparing hostname and IP
host_ip=$(host $servername | head -n 1 | awk '{print $NF}')
if [ "$host_ip" = "$ip" ]; then
        ip="$servername"
fi

echo -e "\n"
echo "===================================================================="
echo -e "\n"

# Sending notification to admin email
echo -e "Congratulations!

But don’t know if the installation is stuck on this command:

 $BIN/v-change-sys-config-value "DOMAINDIR_WRITABLE" "no"

I don’t think so… but to know, we need to debug the installation. If you plan to start a new fresh installation:

sed -Ei 's/bash hst-install/bash -x hst-install/' hst-install.sh

And then you can execute hst-install.sh with all the options you need. You will see a lot of lines, we need to view the last ones, the ones when installation gets stuck.

1 Like