It seems like on new installations on Debian 12 bookworm and version 1.8.3 that nginx gets installed but when trying to start it fails to start with an emergency error that the cloudflare inc doesnt seem to exist. See screen shot.
How can onego about fixing this does one need to redeploy the machine and start a new installation? Can the installation process be resumed?
cloudflare.inc file is created during install fetching the ips from IP Ranges so something went wrong during your install. Maybe you should fill an issue on github because if there is a problem getting the ips during install, the include to cloudflare.inc in nginx.conf should not be created.
Anyways, here is the content of /etc/nginx/conf.d/cloudflare.inc file:
I thought that the installation completed successfully and now the problem was that nginx didn’t start. I’ve been using hestiacp for 5 days so don’t know whether hestiacp supports restart a failed installation so I would wait till someone confirms it but if I were you, I would start again from scratch.
The problem is this start seems to be during the installation step, I think this is an incomplete install but I am not sure as the script doesnt show any progress as what has been installed and what is still pending
You need to clone the repo and follow the steps here:
# Replace with https://github.com/username/hestiacp.git if you want to test a branch that you created yourself
git clone https://github.com/hestiacp/hestiacp.git
cd ./hestiacp/
# Replace main with the branch you want to test
git checkout servicing
# Install Dependencies
npm install
# Build
npm run build
cd ./src/
# Compile packages
./hst_autocompile.sh --all --noinstall --keepbuild '~localsrc'
cd ../install
bash hst-install-{os}.sh --with-debs /tmp/hestiacp-src/deb/