Resource icon

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

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

There are a number of guides on the forum to install Nextcloud, 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.7.6 (as of this writing), PHP 8.2, MariaDB 10.6 (or PostgreSQL if desired), and the latest Nextcloud 28 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
7,122
Views
38,572
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