Basil Hendroff
Wizard
- Joined
- Jan 4, 2014
- Messages
- 1,644
@profzelonka Let's have a look at your config file, but remember to redact any sensitive information.
JAIL_NAME="cloud"@profzelonka Let's have a look at your config file, but remember to redact any sensitive information.
Did these exist before you reran the script?I'm only seeing config and db under mnt/ssd/nextcloud.
It is there...under the pool root. My suggestion for a clean install. Create the nested datasets db, portsnap, files, config under the parent dataset nextcloud. Remember to adjust the characteristic of the db dataset. In the script config file, explicitly specify locations for all the nested datasets eg.No portsnap folder there... :(
PORTS_PATH="/mnt/SSDs/nextcloud/portsnap"
etc. Rerun the script. Make sure there are no errors. Check the nested datasets.Btw, you have remembered to open ports 80 and 443 from the internet to your jail before running the script?STANDALONE_CERT=1
Also make sure your local DNS resolver resolves subdomain.domain.com to your jail IP.HOST_NAME="subdomain.domain.com"
Yup! 80 and 443 pointed at jail IP. Got DDNS setup for the subdomain too. (Hopefully it'll work) My DDNS times out btw, if it matters at all. (That is to say, I don't get "unable to connect" page but rather a "The connection has timed out".)Btw, you have remembered to open ports 80 and 443 from the internet to your jail before running the script?
You have done this step?Also make sure your local DNS resolver resolves subdomain.domain.com to your jail IP.
Just forget about what's happening on the internet side for the moment. Your local DNS resolver (e.g. a capable router, pi-hole, DNSMasq, hosts file, etc) needs to resolve, on the local network, subdomain.com.au to the jail IP. For instance, I use DNSMasq and in the DNSMasq configuration file have the lineYes. But I'm not confident. My router is updating DuckDNS with my daily public IP (DynDNS), and on my external webhost where the domain is managed I'm using CNAME pointed at the DuckDNS subdomain. I believe this should all be correct, but I'm not confident because when I install nextcloud v17 via Plugins, I'm able to access nextcloud thru the duckdns url, however my subdomain.domain.com is somehow letting me access my freenas instead. I don't understand how, when the CNAME record, again, is point at my duckdns. (example: domain.duckdns.org)
address=/subdomain.domain.com/jail_IP
. If you don't have a capable router, you can use local hosts file on your client device to test.Just make sure you've edited the hosts file on the PC you're using.Same :\ unable to connect. Reinstalling it last time before I go pass out (It's 230am here lol) I appreciate your help! :) Will let you know if this one will work. Thanks again!
mkdir -p /mnt/iocage/jails/${JAIL_NAME}/root/var/db/portsnap mkdir -p /mnt/iocage/jails/${JAIL_NAME}/root/mnt/files mkdir -p /mnt/iocage/jails/${JAIL_NAME}/root/mnt/includes mkdir -p /mnt/iocage/jails/${JAIL_NAME}/root/usr/ports
mkdir -p "${POOL_PATH}"/iocage/jails/${JAIL_NAME}/root/var/db/portsnap mkdir -p "${POOL_PATH}"/iocage/jails/${JAIL_NAME}/root/mnt/files mkdir -p "${POOL_PATH}"/iocage/jails/${JAIL_NAME}/root/mnt/includes mkdir -p "${POOL_PATH}"/iocage/jails/${JAIL_NAME}/root/usr/ports
Hey Basil,Just make sure you've edited the hosts file on the PC you're using.