Best way to install NextCloud?

SuperWhisk

Dabbler
Joined
Jan 14, 2022
Messages
19
Given that the officially supported NextCloud plugin only launched last October, the majority of posts on the forums here pre-date the officially supported plugin. The general consensus I saw in those posts is "install it yourself, people have problems with the plugin and it doesn't get updated very quickly". This presumably refers to a former community supported plugin which may or may not share most of the same code with the new official one.
So my question is, acknowledging that it's only been 8 months, is this advice still valid or should I just use the official plugin? I certainly can install it myself, but that would take a lot longer just to (in theory) achieve the same thing.

My setup for context:
TrueNAS 12.0-U8.1 Virtualized under ESXi with HBA passed through (considering switching to XCP-NG, but that should be mostly irrelevant for this question)

I want to run NextCloud in a jail rather than a separate VM to simplify the storage connection (and I heard it runs just as well under freeBSD anyway), but I could do it in a linux VM external to TrueNAS if there were strong arguments for doing so. There are plenty of processor cores and memory to go around regardless of which route I go with.
I currently plan to expose NextCloud using HA-Proxy on my pfSense box for easy Lets Encrypt SSL (exposed only internally and via VPN)
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
I've been running Nextcloud in a standard jail using the Nextcloud package for a few years now trouble free. I guess it depends on how experienced you are on installing and configuring something like Nextcloud. If you can handle configuring nginx and php yourself then go the route of a standard jail and the nextcloud package. If not maybe the plugin or something like @danb35 script may be a better option for you.
 

SuperWhisk

Dabbler
Joined
Jan 14, 2022
Messages
19
I guess it depends on how experienced you are on installing and configuring something like Nextcloud.
I have limited experience with php and nginx specifically, but I'm no stranger to unix cli, nor am I afraid of reading documentation and/or danb35's script (I am a software developer). I was mostly just wondering if the official plugin is stable enough to use/if there are any downsides to using it. It would certainly save me time, which is always a good thing if the tradeoffs are reasonable.
 
Last edited:
Joined
Jan 27, 2020
Messages
577
@danb35's is highly recommended, the script avoids typical pitfalls and is ultimately a one-click-solution, given that you worked your way through the doc on github and do some reading in the thread beforehand.
 
Top