lbartosek
Dabbler
- Joined
- Dec 12, 2018
- Messages
- 13
First of all, I'd like to give a credit to danb35 for pointing me to the right direction and re-directing me to your script.
@NasKar
Hi, I have successfully installed Nextcloud using your script today. Well done and thank you!
I was wondering, why the LE cert didn't work out of the box but I cannot give you any error logs, because, I didn't spend much time investigating/troubleshooting. I've successfully setup my already issued Comodo cert as that was my intention anyway.
I'd like to ask you one thing. I didn't find the answer in your documentation, maybe I just missed something so I better ask you. How do I install Nextcloud in the webroot instead of subdir by using your script? Because now... the Nexcloud has been installed in the subdir and I have to access it via this URL https://mydomain.com/nexcloud instead of just https://mydomain.com. I didn't find a way of setting up the installation config file otherwise in order to Install Nexcloud to webroot instead of subdir, you know.
TYPE_CERT="--webroot" Probably this is the reason why the LE cert didn't work. I'll test that again later to see what is wrong.
Thank you very much once again.
@NasKar
Hi, I have successfully installed Nextcloud using your script today. Well done and thank you!
I was wondering, why the LE cert didn't work out of the box but I cannot give you any error logs, because, I didn't spend much time investigating/troubleshooting. I've successfully setup my already issued Comodo cert as that was my intention anyway.
I'd like to ask you one thing. I didn't find the answer in your documentation, maybe I just missed something so I better ask you. How do I install Nextcloud in the webroot instead of subdir by using your script? Because now... the Nexcloud has been installed in the subdir and I have to access it via this URL https://mydomain.com/nexcloud instead of just https://mydomain.com. I didn't find a way of setting up the installation config file otherwise in order to Install Nexcloud to webroot instead of subdir, you know.
Code:
JAIL_IP="10.0.0.100" #ip address of iocage jail DEFAULT_GW_IP="10.0.0.238" INTERFACE="re2" VNET="off" POOL_PATH="/mnt/nextcloud-pool" #your pool JAIL_NAME="nextcloud" #name of iocage jail to be created TIME_ZONE="Europe/Prague" # See http://php.net/manual/en/timezones.php HOST_NAME="mydomian.com" STANDALONE_CERT=1 DNS_CERT=0 TEST_CERT="--staging" TYPE_CERT="--webroot" C_NAME="CZ" ST_NAME="Prague" L_NAME="Prague" O_NAME="FreeNAS" OU_NAME="FreeNAS_IT" EMAIL_NAME="lbartosek@mydomain.com" NO_SSL=""
TYPE_CERT="--webroot" Probably this is the reason why the LE cert didn't work. I'll test that again later to see what is wrong.
Thank you very much once again.