Hello, I am running into trouble getting this script to work. (I'm the same person from the issues post on github)
I ran through the script, everything returned as a success.
CloudFlare shows my site as offline, and browsing out to the local IP shows the site refused to connect. Running a port scan on the local IP doesn't show a webserver listening for ports. I deleted the jail after it failed, and removed the last 3 lines from the below config and instead changed the POOL_PATH to /mnt/NAS-pool/nextCloud" to see if it was complicating things, but I get the same result each time I've run this.
My redacted install config:
JAIL_IP="192.168.0.3"
DEFAULT_GW_IP="192.168.0.1"
POOL_PATH="/mnt/NAS-pool"
TIME_ZONE="America/New_York"
HOST_NAME="XXXXX"
DNS_CERT=1
CERT_EMAIL="
XXXXXX@gmail.com"
DNS_PLUGIN="cloudflare"
DNS_ENV="CLOUDFLARE_EMAIL=
XXXXX@gmail.comCLOUDFLARE_API_KEY=XXXXXXXXXXX"
DB_PATH="$POOL_PATH/nextCloud/db"
FILES_PATH="$POOL_PATH/nextCloud/files"
PORTS_PATH="$POOL_PATH/nextCloud/portsnap"
Running FreeNAS 11.2-U4.1
Once I switch my router port forwarding back to my old warden nextcloud jail, things are working. This at least confirms my CloudFlare DNS is configured to point to my server properly.
Any suggestions?