 Time here for more systems and we're gonna talk about how to set up next cloud on true NAS scale If you haven't heard of next cloud is probably one of the best document management systems It's open source. So you own your documents because putting your stuff in some proprietary ecosystem Well, you're now subjected to that proprietary ecosystem next cloud is fully open source supports open document formats Supports online editing collaboration. It's a great way to keep your cloud at home But I will put a big but on this even though next cloud has gone through security audits That does not mean there won't be some flaw found in the future now I do believe the next cloud team is very on top of this and will Maintain the package very well and have an update ready But are you ready to do an update on this part of the planning if you plan to public exposes is going to be Having a plan to keep it up to date. This is something I really hammer home with people who asked me Help in assisting set up their next cloud for their business because they want to publicly expose it I'm like, well, then you'll also I highly suggest have some type of maintenance plan or contract And it's not a good way to disavoid cost if you're a small business because it can cost you dearly If a flaw is in this system, you're not aware of the flaw You don't update it in time and your data becomes vulnerable My suggestion is to put this behind a VPN whether it's a VPN on your firewall Such as if using PF sense and open VPN or something like tail scale tail scales outstanding I really like it. It's one of the tools that I've really used a lot more lately Because I wanted to really put it to the test on a lot of scenarios I'm really gonna press with how well it works and does not have to expose any ports on your system to keep all of your Network private and of course, I've got the video headscale if you go, but I don't want to use tail scales public controller Well, there's headscale for you I've got videos linked down below for that now This is specifically setting up next cloud on True NAS scale if you're interested in how to set up next cloud independently on your own Linux server Jay from learn Linux TV and has an entire write-up on that for doing it on a Linux server But we're gonna be a little more narrow in focus to just covering how to set up on true NAS scale Things I'm not covering this video because it's just out of scope is gonna be using reverse proxy for those of you That would like to publicly expose this But as I noted before be careful with what you do and make sure if you decide you're going to publicly expose this That you have a plan just want to read it one more time before we jump into tutorial All right, let's get started Now we're doing this on true NAS scale 22.12.3.2 first step is creating data sets to store the configuration and the data for next cloud I already have this data set called app configs I like to nest all of my application config data underneath one data set to keep things less confusing and more organized That is up to you. It is an optional step, but we're gonna create this next cloud database Data set this is where the database will be stored which means we can leave the share type generic We're not actually going to be sharing it the standard Unix permission types are going to be fine Go ahead and hit save it'll automatically add the extra permissions that are needed when the application gets set up They may go back to our route and add a another data set This is we're going to store the next cloud data itself So this is next cloud data and this does need some special permissions. So first We're going to set it to apps hit save Now we're gonna go ahead and click on next cloud data go down here to the permissions hit edit And we want to apply owner apply group and now we can type WWW auto complete for data Data and you notice here now it says owner will be and group will be and I'm go ahead and apply these recursively Hit confirm even though there's nothing in there It's just always a step I take just in case there is some data in there We need to update and this will save the ACLs and set the permission So WW data group and owner are there. This is the permissions needed by next cloud From there, we're gonna go to apps and you see I've already installed the Collabra application There's really nothing you have to do this one So I already put this installed if you look at this parameters outside of changing the password because the default one Is just change me. I left everything here at default. So that's the first app You want to make sure it's installed, but there's nothing to change except for the password So it's not change me that can be left that default now We want to go to the available applications again, and we want to go to next cloud and we'll click install This is the official from IX systems. So next cloud certificate configuration We're gonna head and use the default pre-nast certificate. The fault password is change me Let's make it much more secure by making it change me one two three We're gonna head and say yes to installing the extra FFM peg and SMB client and next We want to set the next cloud storage so we want to enable host path for next cloud data volume storage and This is where we do the next cloud data portion Then we're gonna scroll down here and we want to enable host path for postgres data volume We're gonna head and go here go here and We go to our app config and this is where I want to store the postgres database that next cloud uses If you wanted to also enable you could have created one more for extra backups of it But because I'm going to be backing up the database. I'm not as worried about that That's optional might be a good idea to do it But for this demo, we're gonna skip it enable cron jobs definitely gonna do that and after that We just hit save and go all the way down here to the bottom And we'll let it go through the process of spinning this up. Now one thing I will warn you It's about to say that it's ready, but then it'll go back to deploying That is normal behavior and depending on the processor speed It may take it a while to get fully deployed the first time you set it up because it has to build out the databases This is something where people may think they're stuck But it may take and like right now it says up to date But if we go to the web portal, we're gonna get this error I just wanted to point that out that if you're impatient and we've we go off the page and refresh it again It'll go back to deploying one of two. This is the whole setup process This may take up to depending on speed your processor five minutes to do in this particular system, which happens to be a A rise in three twenty two hundred it takes about two minutes to get set up But just of note depending on how busy your machine is this might take a few minutes and just be patient All right, I waited about two and a half minutes and now the web portal is available so we can log in admin and the Change me one two three which probably not a great password, but hey it works with that's just what we set up for the demo here Right now that I put the password in properly we are in there's the next step though is setting up the collaborator So the collaborative documents for that we're going to go here and we're going to go to the apps Search and we're going to look for next cloud office Which is right here and we want to download and enable Now that we have the next cloud office apps set up we want to go here to the administrative settings Scroll down to next cloud office And we want to use our own server This is to get the document and collaborate online server working and you can go to the web portal Or you can just go here to click edit and the goal is to put in the IP address of the server Which is these one nine two one six eight three dot eight happens to be my server IP and the port number And we have this set with a certificate to the FreeNAS default cert So that means we're going to use the certificate with it and we choose that by doing HTTPS one nine two one six eight three dot eight colon nine nine eighty and we want to Disable certificate verification and it says collaborate server is online. Let's click save, but we know that works Now let's go ahead and play with the document in here. So if we go back over to our files And we'll just make sure this is all working so we can get into one of the collaborative documents We'll actually upload something So I uploaded a documentary on scale versus analogy. This is what produced one of my other videos We'll go ahead and open this make sure we can open up the collaborative documents and here we are it's working now There's obviously a lot more you can do with next cloud. They have great documentation I just wanted to cover the basics of getting it set up creating those data sets The next steps you would have to do after this is going to be making sure you're backing up those data sets via replication via copying all that data somewhere maybe through One of the backups to a cloud provider. There's a lot of different ways you can handle that But importantly is getting it set up first and then backing it up and making sure you understand and have a plan One of the other things to note is if you have to reinstall next cloud that you can just point it back at those same data Directories and all of your data was there There was some bugs in the early days if you had watched my early videos on this one Sure, Nascale was first released more or less in beta coming all the way here to July of 2023 It's a much better much more stable integration and I've deleted next cloud and popped it right back to those same Data sets that I had pointed at and it restores perfectly fine I made sure I tested this numerous ways numerous times to Understand that it works well and if you had an incident you'd be able to have all of your data This was sometimes like I said a little bit buggy in the early days So if you would experience that try it out here in July or whenever you're watching this video That it's moved and become a lot better of a product Nonetheless leave all of your questions and comments and thoughts down below Love hearing from all of you if you'd like to hire us for a project related to true and ask consulting and storage consulting in general Reach out to us over at Lawrence systems calm if you'd like to see more content of this channel like and subscribe and I'll see you next time Thanks