Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.
Resource icon

Scripted installation of Nextcloud 21 in iocage jail 2018-03-23

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE
Status: This script will run with FreeNAS 11.3 and TrueNAS Core 12.0-BETA (and likely -RC and -RELEASE). It will not work with earlier versions due to the EOL status of FreeBSD 11.2.

There are a number of guides on the forum to install Nextcloud/Owncloud, but they all rely on a lot of manual work. Where there's manual work to be done, there are ways to get it wrong. Therefore, this guide is designed to minimize manual work--all that's really needed is to download the script, set up a small configuration file, and run the script--it will do the rest of the work. And by "the rest of the work", I mean that it will create the jail, download Caddy 2.3.0 (as of this writing), PHP 7.4, MariaDB 10.3 (or PostgreSQL if desired), and the latest Nextcloud 21 release; configure all of them; obtain and install a trusted TLS certificate for the jail (if desired); and automatically renew the certificate.

The most up-to-date instructions will be at https://github.com/danb35/freenas-iocage-nextcloud
Author
danb35
Downloads
2,220
Views
16,201
First release
Last update
Rating
5.00 star(s) 9 ratings

More resources from danb35

Latest reviews

This is more than just a scripted version of Nextcloud. Through it, I've been made aware of automatic updates of trusted certificates using Let's Encrypt and Cloudflare - all at no cost!
Excellent.. best guide I've found..
So jolly good! This script gets updated to the latest bits and pieces and is so reliable to use. Have had great success getting nextcloud going on a freeness server many times using this script.
Great script. Works like a charm :)
Very useful script to create all the nextcloud environment.
Very nicely done! I created mine the old fashioned way (by hand), but really like the little extras that you created to make this work! Bravo!
Works perfectly on FreeNAS 11.1-U4 as long as you have configured correctly port-forwarding and firewall rules on your router.
Works great with 11.1-U4
This script accomplished in 25 minutes what I was not able to do in 3 months of attempts to install nextcloud. Great resource!
Top