Setting Up Your Own Cloud: A Guide to Nextcloud on TrueNAS SCALE
Vložit
- čas přidán 15. 06. 2024
- lawrence.video/truenas
Choosing a VPN Video
• Which is Better: Overl...
@LearnLinuxTV
Learn LinuxTV Nextcloud Server Setup
www.learnlinux.tv/nextcloud-f...
Connecting With Us
---------------------------------------------------
+ Hire Us For A Project: lawrencesystems.com/hire-us/
+ Tom Twitter 🐦 / tomlawrencetech
+ Our Web Site www.lawrencesystems.com/
+ Our Forums forums.lawrencesystems.com/
+ Instagram / lawrencesystems
+ Facebook / lawrencesystems
+ GitHub github.com/lawrencesystems/
+ Discord / discord
Lawrence Systems Shirts and Swag
---------------------------------------------------
►👕 lawrence.video/swag/
AFFILIATES & REFERRAL LINKS
---------------------------------------------------
Amazon Affiliate Store
🛒 www.amazon.com/shop/lawrences...
UniFi Affiliate Link
🛒 store.ui.com?a_aid=LTS
All Of Our Affiliates that help us out and can get you discounts!
🛒 lawrencesystems.com/partners-...
Gear we use on Kit
🛒 kit.co/lawrencesystems
Use OfferCode LTSERVICES to get 10% off your order at
🛒 www.techsupplydirect.com?aff=2
Digital Ocean Offer Code
🛒 m.do.co/c/85de8d181725
HostiFi UniFi Cloud Hosting Service
🛒 hostifi.net/?via=lawrencesystems
Protect you privacy with a VPN from Private Internet Access
🛒 www.privateinternetaccess.com...
Patreon
💰 / lawrencesystems
Time Stamps ⏱️
00:00 TrueNAS Scale Nextcloud Setup
02:25 Create datasets And Set Permissions to www-data
03:51 Install Collabora & Nextcloud Apps
06:30 Setting up Collabora With Nextcloud Office
#nextcloud #truenas #selfhosted - Věda a technologie
I get a kick whenever community based tutorials are better than the vendor's. More thoroughly explained and includes multiple scenario's.
Truenas’ documentation is kinda lacking man
Thanks for all of your video tutorials. Best guide to anything Truenas I've ever seen.
Glad you like them!
Appreciate your how to videos. I think there's a huge opportunity and it seems like you are the person to walk the masses through a tutorial on how to create a Docker container in TrueNAS Scale that lets you self host your own php website. There's nothing out in the wild on this yet. An alpine php image off docker hub of course.
Thank you for the tutorial. I was able to successfully set up Nextcloud with collabora on my TrueNas home server.
Glad it helped
good, fast paced tutorial. altho i had to google pretty much half the things you said to stand even a chance of understanding what i was doing,
Felt like the remark about being patient was aimed directly at me 😂. Great content!
I never would have been able to install this app without this video. Wow.
I have been working on this the last 2 days, so happy this was posted today lol
I was just searching for one tutorial about it! Thanks man!!!
Cool video! I keep a nextcloud instance running on my KVM host at home. Works great!
You are awesome Lawrence thank you so much!
It came to my surprise, but not sure why since the base operating systems for SCALE and CORE are completely different, none of the settings for where the Nextcloud data directory is located and where the app data may be stored was available during the set up of Nextcloud on CORE. One just gets a vanilla, how-CORE-handles-a-Nextcloud-setup instance of Nextcloud. Sure, that's all fine if one is starting anew. I, though, already have a Nextcloud server running elsewhere, but it's just now I have its data directory moved over to a TrueNAS CORE server, and I need the two to communicate with each other. I got it figured out with an NFS share connected between the server and the client. It took a whole day to get it figured out, but it's all working now, so everything is good. Thanks for your videos. They are terribly helpful.
With truenas 24 everything changed and nextcloud is impossible to install for me, can you do a tutorial for that please?
Love the way you deliver the various content you cover, you seem to lay out the overall picture out better than most content creators I've found. 🤔 Or maybe it's that you cover both the overall picture and the various aspects that make up said picture, and others exclude the big picture assuming we are all on the same page.
🤔 Almost forgot. I have a few clients (8 currently, most family members.) that I store photos/videos/etc for, but I am looking for a better way of receiving/managing it. 🤣🙄😮💨 Currently I receive the content via email and store it on a virtual (Win Storage Spaces, Parity.) drive on my computer; which is kinda crazy (given all the tech out there.). It started out as a favor to family, but looking to turn it into a little more. I've been looking into cloud providers (Sync, IceDrive, IDrive,etc) but they either cost too much or don't have the features I need (Mainly just need App sharability, and the ability to set upload limits (folder quotas).). I know a little about a lot, but apparently not enough to figure out the best (affordable) approach. I'm trying to put off turning my Win pc into a server because I use it (Though Virtual Box is a temp solution there.) and I'm not ready to upgrade my current internet plan to a business plan, which limits me to temporarily using a cloud service that doesn't have the features I need. Any suggestions or recommendations? I know you're not here as a consultant so I understand if you don't reply, but you're very knowledgeable on these things and figured it couldn't hurt to ask.
❤
Perfect. Straight to the point. Crisp, clean, succinct. Just what will help me tremendously. Thank you.
straight to the point? He takes literally 2 minutes to start 😭
awesome tutorial! Thank you for your help! 😃
Well even if you're using VPN to get to the service, you still need to open that VPN port to the public. But i get ya, VPN tunneling to it is far more secure than exposing the service directly to internet.
Excellent point! 🙂
Great video Tom. One of the things that occurred to me right from the get go is the importance of data structure and how to organize all of the dependencies. I think you should do a video covering this topic in more detail and reasoning behind why you structure things a certain way.
This is exactly what I'm thinking right now. Why not use PVC for the database?
Tho his video is made a bit more confusing in that the 2.0.8 setup wants to set things up in its own datasets and has a few more (and reworded) options than presented here :| im a bit confused.
Can you make a more up to date Truenas scale Nextcloud setup? i missed the train and this doesn't work anymore. Your the best...
Hi Lawrence, Great video, easy to follow. They now changed the data storage I think its now configuration storage. Anyway, I had the nextcloud install for few years nos, updated to la lates version currently and working fine. I have a dataset created where all the config and data is, but for postgres I have "ixVolume (Dataset created automatically by the system)" is it too late to create a dataset for it?
Would like to see a guide for the true charts them options are different.
Thank you Tom. Please do a video on encryption with TrueNas dataset vs self-encrypted within NextCloud. Also maybe recommendations on a RW, RO, RO setup with MariaDb and ProxySQL. I'm working on a private cloud with EBS/S3 encryption with self certificates using HashiCorp Vault and I would like to sync datasets to a TrueNAS on-premise.
I have a ZFS encryption video here czcams.com/video/Ic8vZx3QBew/video.html I don't use and therefore will not cover the rest of the request.
Got it installed good thanks to your perfect videos, however i cannot seem to find the config.php file in the pod, so that i can change the region of the phone region. Also, which editor do i need that is already installed that I can use. That would be very helpful. I have cloudflare installed for my homeassistant, and in HA i can set additional app, so i will try to have cloudflare point to my nextcloud installation, using the link for the app, and changing the ip for the domain name i recently got.
This was great. I just did this as well, but am using it as a photo backup for my family.
I am also trying to figure out the shared Calender.
Does anyone have experience with this?
Brand new to truenas and networking in general.
you mentioned that to get access to your nextcloud away from the lan that you need tailscale or something similar set up… i followed a yt tut on getting opnvpn set up but: (a) truenas is telling me that it us deprecated and i need to transition to something else, and: (b) on multiple machines I am seeing the opnvpn clients disconnect-and-reconnect with a period of a few minutes, so… can you follow up with showing hiw tobsafely access nextcloud off-lan using tailscale?
Awesome tutorial! Would love to see a tutorial on installing PhotoPrism on scale as well.
Lots of people jumping ship to Immich. Works pretty well via Truecharts
Is there a way to use the Nextcloud app (not Truecharts) with Cloudflare to access Nextcloud remotely?
I need to know too. I've been trying for 2 weeks.
You are the best!
Hey are planning on making a video on setting up and using tailscale on truenas scale? thanks
Helpful thanks
Great tutorial, you make things so easy to understand!, just one question, Can I have the the installation on 1 drive and the nextcloud data on the other?
You can have the data on a different pool than the app.
Hi Lawrence,
Before you've posted this guide I've installed Nextcloud from TC catalog as PVC - now I have an update and as you know it's impossible to update.
Is there any way to upgrade it to ix-system catalog app and change it to Host Path without loosing all the data in it?
I’ve been struggling for a week trying to being able to access Nextcloud outside of the network. I am loosing my mind haha. Any other video or tutorial that anyone could point me at. I love the idea of Nextcloud, I’m trying to ditch iCloud, OneDrive and only use Nextcloud. Between my wife & I we have around 4-5TB of data we would like to be on Nextcloud. Thx for any and all help!! Cheers!
Thank you Lawrence! This video was really helpful. I tried data managing my data on Nextcloud via SMB share, but the files don't update correctly. Basically, here's a large project folder on my TrueNAS, let me drag it over to my Nextcloud files folder, hopefully that makes sense.
Hey Denis! You can't only place files in the nextcloud storage because the database will not know what user added them and all the other metadata that gets saved when you use the nextcloud clients.
However, there is a script you can run via the ./occ command that will make assumptions on the files. (They placed it in the userxyz directory so it must be userxyz's file). Not sure what that script is!
What about the truecharts version of nextcloud? Is it advisable to use it?
i followed these steps and get stuck at "deploying 1/2" and it never finishes. is there anything that you need to to setup prior to this?
Two questions:
how do you keep your version updated? By the App section in truenas admin area, or by using Nextclouds update function?
What is the best method to keep a constant backup of Nextcloud, which can be redeployed if something went terrible wrong?
Via TrueNAS and if it breaks I just remove it and reinstall it
What database should be selected ? SQLite is discouraged and Maria and Postgre was not setup in this video. Wonder if SQLite will be just fine?
hi i just got a used computer ( i5-7600k 16 gig ram ( hdd 1 to ssd 124 gig) graphic card,
i bough 3 ssd (sata) 1to ) a and swtiched my 2to ssd on my laptop to put the ssd on the computer( i wanted to install also 32 gig ram additional (and later get 32 more) but the ram didnt work for some reason ) so i gave up the option of installing right way proxmox, and installed only truenas,
one of the apps i install is this the nextcould so i hope ti will work (i try wiht out your tuto but had a error (suing truechart repository) for weeks ihave been watching nas os and proxmox video in preparation)
Thank you Tom. I am building up resources for my small business and your videos are a big help! Would you consider doing a video on how to install the BaseRow app? It doesn't seem to be as easy as just clicking install? LOL
Not likely as it's not something I use
🥰🥰🥰 so I happen to be setting up nextcloud tomorrow for a client whose server crushed recently after running it at crazy temperatures thus a kernel panick, I was proxmox and running an Ubuntu 20.04lts, so yeah this has surely been helpful, I gotta integrate nextcloud office, and inform them about it, it's a cool tool
how high were the temperatures ?
Great video!
How would I access this from outside my home network? Wanted to set up a thing where photos from my phone are automatically backed up to my home server.
Would you be willing to show how it can be configured to be accessed outside the local network?
I just want it to auto back-up my pictures from my phone to my home server (like onedrive, Google drive, etc) and be able to set it up for my dad's phone too. Only thing is I'm trying to run it on Unraid, not truenas....
Edit: Is truenas core different from scale when it comes to this install? (Video is still playing) How do I set a specific folder for different people (to separate dads pics from mine, from my brother's, etc in their own folders. I've installed this on my TrueNAS core server, but when I try to export it through my NPM I get an error saying I have to whitelist something in a config file. How?
Great video. I am trying to install nextcloud sadly it gets stuck on deploy stage 1 and thats it.
Mine does too
Can I install Nextcloud and point it to an existing user dataset without overwriting that data?
Also, as stated, some of the settings for install are different for the latest versions of Collabra and Nextcloud
Great work😊
I can only access NextCloud on my home network. I opened ports 443 and 80 and can see my TrueNas Scale server but not the Nextcloud on port 9001 how do I get Nextcloud on iOS app working with LTE cellular network connection?
i get an invalid mount, its saying "use this path: SNB Share,NFS Share". can you please elaborate on that error message please
Well. I tried to follow along, but they've updated it and things look quite a bit different. I dont see an option for "Enable Host Path for Nextcloud Data Volume". I see "Nextcloud data directory" which has a path prefilled in, but not a drop down option to point to the path that was made earlier, so im a bit hesitant to proceed. It also looks like it wants to automatically make its own datasets under its storage config, including appdata, user data, and Posstgres data. So not quite as simple as what is shown in yours (Nextcloud is on 2.0.8 at the time of this post)
Hello Tom and thank you for another great video. I installed the nextcloud app on truenas scale and so far so good except I need to increase the file size limit. On Core, we use to change this parmeter in the php.ini file and I assume it is the same here.... but, how to locate the php.ini file on Scale ? Can you please explain ? Thank you
I tried to adjust some of the settings in the APP setup menu, but no success so far, files larger than 512K keep bouncing off during replication. The replication shows as completed (green check mark), but those file aren't there. ... any suggestion?
Hi,
Please can you show us step by step nextcloud and collobora install on TrueNas Scale with cloudflare tunnel ? I did everything showed us on video, working in local network but with cloudflare tunnel not working. I can't connect collabora server cloudflare tunnel so I can't connect collabora server on nextcloud.
Having trouble setting up preview generator using this method. Does anyone have a solution for horrible thumbnail performance when used as a photo server?
ether scale ore nexcloud or both changed a lot
on instalation ther is no select certificate
and in "storage" there are now 4 times a option to select a hoste path or a ixVolume
i confused :P
Can anyone help me? My nextcloud and collabora deployment is taking forever. I am new to truenas and was trying to setup nextcloud and collabora app.
I could not get the nextcloud app on my iPhone to sync with nextcloud server container…no longer using nextcloud
Hi Tom, what are youre thoughts on exposing the Nextcloud instance through a Cloudflare Zero Thrust tunnel?
Better then direct exposing it but still not as secure as using a VPN.
I heard that it's usually bad idea to keep all data on only 1 storage medium so I would like to have at least 2. would it be possible to have one server at home and one at maybe a friends place and have them work together? Maybe get 3+ and run them in raid configuration or something similar?
Yes
Can anyone help?
I followed the tutorial and everything worked fine. But after a few restarts of the Nas i can‘t login anymore. I tried changing the password and username but with no luck. I restarted the docker container multiple times.
I don‘t know what to do. I just tells me password or username wrong.
Tried the shell but it tells me occ command not found.
I found it easier to control my nextcloud by installing it in an Arch VM in Truenas scale. The official app doesn't make it easy to use Redis as a memcache for file transactional locking. The Truecharts app is locked down, and doesn't allow you to edit the config.php, which really limits certain use cases e.g. can't run behind HA proxy.
You're right... I have had so much problems with the updates and Nextcloud... Never again.
@@Maisonier You're also right, the update on the nextcloud app are notoriously buggy. I will do manual install if I ever use again. Its actually the only app Ive had issues with on scale.
Can you do a video tailscale and nextcloud running on truenas scale? Thank you!
I started installing this on TrueNas core yesterday, and it was a lot more automated than this recent video steps show, unfortunately that automation ran into issues and I have not gotten back to it yet.
Core is largely abandoned. They made it clear plugins won't be supported and that everyone should move to Scale. Which is sad. FreeBSD has much more new software packages. Debian has been stagnating recently. Lots of modern popular software is missing even in Sid. Jails are better. And Core has better UI, as Scale is overloaded with narrow sidebars.
Tom or ANYONE, How can I setup a permissions in a dataset to where I (dad builtin_admin) has full control and want my other users (wife and kid builtin_users) to be able to read and write files if they want, but not be able to delete anyone's files ONLY the ones they created/own? I am able to have each user write files to the dataset but the user that creates the file cannot delete their own file. If I give them modify permissions they can delete anything in the dataset. How do I fix this???
Sorry, could you please explain the nextcloud data directory, host path for nextcloud data volume and the host path for postgres data volume. I want to store the nextcloud data on certain file and make it reachable by windows mapping a network drive and let the qbittorrent to download file and store into the nextcloud. What should I do on the setting exactly. I am struglling on it.
Don't do that, load Nextcloud on the Windows computer
Can you point this to other datasets that also have SMB shares on them?
The same way you would add a media library to say, Plex?
Not sure how well that would work and would probably cause permissions conflicts.
OMG, I've been trying for 3 days to get this installed. I followed exactly all the steps and no luck. Works when I install it with default settings. Did they change permission requirements recently?
Same. Once I used the PVC storage for the database it worked though.
Great tutorial. . first time user . how do I allow external access to retrieve a shared file (from outside local network)
I can copy the link, but it's only a local address.
There is not anything built in to TrueNAS that does that.
@@LAWRENCESYSTEMS NextCloud app (personal cloud)
Watch some tutorials for Cloudflare tunnels
This is amazing however the only reason I am not able to jump to scale is nextcloud running on core. There are not tutorials to walk the migrations of nextcloud from a jail to scale app.
hi I have a problem it is stuck on deploying and can I fix it
Thanks! Does anyone know how to access the Cloud from outside of the network? I tried DDNS and the nextcloud App seems to find the correct addres but does not allow me to log in
You can use a reverse proxy or
Hi Lawrence I've followed all your instructions here but I have a problem, nextcloud gets stuck on deployment, it's day 3 now and nothing yet, so is nginx on the same situation...help please
anyone figured this hanging issue out?
I'm trying to follow this, but with Scale 23.10 and everything seems the same, until I get to the web portal where there is no "Nextcloud office" or anything like that on the apps page. And the Nextcloud documentation is unless.
Did you ever fix this issue? I ran into the same problem and am stuck.
Did you use admin user? Normal users cannot configure apps..
@@mcher-uc8jt Yeah, used the admin user and creds that were used in the app settings to log in. I moved on to something a bit more lightweight with file browser and syncthing for my family. Seems to be better for them as I can just auto sync important folders and they don't have to think about anything.
how to access outside of the network?
I have already existing an instance of Nextcloud on docker compose with a database and I want to migrate to trunas scale. Is it possible?
I am sure it can be done as a manual process.
I wrote a comment, but it doesn't post. I tried three times.
Is there a character limit?
Hello Lawrence. Is this much different on Truenas Core?
Very, Core using FreeBSD Jails
Does anyone know if you can set trusted domains during the setup of the app (such as in Nextcloud environment?)?
I did not see an option for that when I set it up.
@@LAWRENCESYSTEMS Actually - I meant trusted domains (no coffee yet this morning), I know the TrueCharts version has the ability to enter trusted domains in the app settings, but I want to stick with the official app.
Is the App_config a generic type??
I've got it set up fine but the ui is so laggy when I like move my mouse around over things, it makes my eyes trip. Is there a fix for this other than use a different software?
As you can see in the video, not an issue I have run into so not really sure.
I installed Nextcloud when I choose CornJob is show blank, do I fill manually ?
Yes, and each the five segments need a space between them. (IE: */15 * * * *) without spaces it will not validate.
Where is Nextcloud office application in NextCloud 27.1.2_1.6.51?
This is great except its not online access anywhere? Is there a tutorial for that? using a DNS etc..
I would suggest a VPN but I do not have a DNS tutorial
Thanks again for this super useful video. Do you have any tips on how to update and make sure the app run last version. In the past I had some issues because I missed some versions, Nextcloud update needs to be incremental and trueNAS scale does not allow to select the version.
Nope, there is not an auto update option in TrueNAS at this time and not sure if that is on their road map.
Hi, I have a question... how can I access nextcloud outside of my network?
Use a VPN
Hi. Is it possible to manage files stored in NextCloud by TrueNAS CLI?
Yes
@@LAWRENCESYSTEMS It seems that no. I created a new file under the proper directory, but no change occurred in nextcloud webUI.
@@littlenewton6 you need to run 'occ files:scan --all' inside the container for Nextcloud to pick up the changes.
I have Nextcloud setup on Core via reverse/HaProxy (followed your tutorial). It works great, but how would you use Nexcloud on Scale when all the IP's of your apps are the same as your Scale interface? Easiest solution to switch scale to port 9000 to free up 443 for Nextcloud via Haproxy?
I set mine up in a VM, then assigned it's bridged network its own MAC address, hence IPV4 address, hence easily accessible through HA Proxy.
Not sure how I screwed up the part with no setup at all, but my Collabora is stuck on deploying. What do?
delete it and re-install it.
I figured it out, see my reply to myself. Thanks for the response though. @@LAWRENCESYSTEMS
Easy to Setup! HARD TO BACKUP & RESTORE!!! 😮😱🤯😬( Try restoring before you start dumping important data ) Thanks for the video!
If anyone knows how to fix the issue with the cron job not running please let me know
When you enter each the five segments they need a space between them. (IE: */15 * * * *) without spaces it will not validate.
@@daviddrumm3673 haha I ended up switched to true charts months ago but thanks
i want to know how i can access the server remotly
Use a VPN
Has anyone done this setup then gotten cloudflare tunnels to work with it?
I'm in the process of setting it up, but it doesn't really work out yet. The tunnel and connection works, but whatever I set in the config.php, it always redirects me to the internal IP, which of course is not reachable from the outside. Does anyone have an idea?
This is really annoying - Getting this error when installing nextcloud: Error
PostgreSQL username and/or password not valid You need to enter details of an existing account.
Nextcloud on trueNAS scale vs proxmox LXC vs VM portainer with docker nextcloud vs learnLinuxTV way ... so many option 😢
This vs running it in a seperate vm?
It's a container inside of TrueNAS Scale
@@LAWRENCESYSTEMS im just wondering which installation of nextcloud has your preference? Containet inside truenas, vm with snap install, docker,... ?
@@maxime_vhw I don't really use Nextcloud so I don't have a preference
Is there a way to access nextcloud remotely? I can't for the life of me get it set up after watching videos I'm still stumped
Either use a VPN or reverse proxy such as Cloudflare Tunnels.
it's so difficult that no one will ever do it
if someone needed it, it would work out of the box
what if nextcloud is stuck on deployment? And no, this is not due to processor speed :) TrueNAS is just broken
this is so frustrating
please please could you do a tutorial for truenas core 🙏
no, apps on core are dying.
Collabora just sits on deploying for ever? What's wrong
looking for this answer as well. Maybe need some path be set up?
On the whole, apps in TrueNAS Scale are just a disaster.
Why they chose k3s as a backend for what should be simple local applications, I will never know.
It adds so much (wholly unnecessary) complexity to what should be a very straightforward setup.
They also do a very poor job of defining for the user what permissions each storage option needs - I guess the assumption is that most people will use PVC. Not a fan.
Well laid out video, Tom. I was previously using the TrueCharts version of NextCloud, but I'm tired of them making breaking changes every other release. Trying to get the official one running now in hopes that it will at least be more stable once I have it running.
I'd run it a different host, but I'm trying to minimize the need to go over the network between my hypervisor and my storage. It's only a 1G link, so bandwidth is precious.