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

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

Status: This script will run with TrueNAS CORE 12. It's possible, but untested, that it will work with FreeNAS 11.3. Earlier versions are not supported.

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.4.6 (as of this writing), PHP 7.4, MariaDB 10.3 (or PostgreSQL if desired), and the latest Nextcloud 23 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
5,739
Views
30,348
First release
Last update
Rating
5.00 star(s) 10 ratings

More resources from danb35

Latest reviews

Hands down, the best way to run nextcloud on TrueNAS. Very well documented and frequently maintained.
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