Nextcloud + ZFS for Storage + Cloudflare Tunnel Access | Proxmox Home Server | Home Lab

Sdílet
Vložit
  • čas přidán 12. 09. 2024

Komentáře • 174

  • @MOTOSTAN
    @MOTOSTAN Před rokem +24

    this is one of the best tutorial videos on youtube. I really appreciate the time to explain what you doing when you doing it. A lot of those videos from other channels are like "type this" or "type that" without any explanation what those commands do. Thank you so much for not assuming that all the viewers have linux experience. I am complete noob and I am starting my adventure with proxmox and your tutorials are excellent. I really hope your channel will grow a lot so more people can appreciate your teaching skills !!!

    • @raylab77
      @raylab77 Před 9 měsíci +1

      I so agree with you. I kind of get angry if the tutorial doesnt contain information on choices done.

    • @AlleyBeachElectric
      @AlleyBeachElectric Před 6 měsíci

      +1 - just followed this after my ncp from 2020 finally died. this is by far the best tutorial I've had. Thank you @MR.P!

  • @9danny81
    @9danny81 Před 5 měsíci +2

    I was almost about to give up on getting this to work and then I magically found your tutorial to set up exactly what I needed. This was by far one of the easiest tutorials I've ever followed, thank you so much for making this, and of course you just got a new subscriber!

    • @MRPtech
      @MRPtech  Před 5 měsíci

      Your welcome. I am happy that you got all working as you wanted

  • @MADTago
    @MADTago Před 7 měsíci +1

    Thank you, really useful and clear guide. Note for future watchers, the Cloudflare interface has changed slighlty and tunnels appear under a Network menu now.

  • @nebPet
    @nebPet Před 2 měsíci +1

    This was really good. You have filled so many gaps that I had on this topic. Please make more of this sort of thing.

  • @Honk_Honk_Clown_World
    @Honk_Honk_Clown_World Před rokem +1

    I have no idea how you learned all this, but thank you for sharing your knowledge! Helped me out a lot! Would've never figured this stuff out by myself. Really liked how you explained what each commands did in layman terms.

  • @Tomjerrydc1
    @Tomjerrydc1 Před rokem +2

    Massive thank you. As others have said you explained each part which was a massive help for someone such as myself who has never worked with servers before. Took me a few days to stumble upon your channel but really glad I did!

  • @thiagocamargoalima
    @thiagocamargoalima Před rokem +4

    Wouldn't it be easier to set the mount point to the nextcloud root folder as a whole instead of setting one for each user? I mean, doing it separately as you did is gonna require a reboot of the container each time a new user is added, wouldn't it? Have you done it this way because of security reasons? Awesome video, thank you very much!

  • @michelemarini1876
    @michelemarini1876 Před rokem +1

    You are the best, followed step by step and got it working in under 3 hours! Thanks to you're detailed comments and calm phase my first approach has been a breeze.
    You are my hero i have been searching for a while to wrap my head around the whole process and thanks to you finally got it!

  • @ismaeelhashimi6316
    @ismaeelhashimi6316 Před 3 dny

    man... you're such a genius everything worked perfectly thank you for this!

  • @nigelholland24
    @nigelholland24 Před rokem +1

    What a great video been wanting to this for ages but never found a full. Video. Very well explained. Well done.

  • @_nikojanu
    @_nikojanu Před rokem

    thank you!
    This time, I bought a domain and applied it to homelab, and I first learned that it was a cloudflare tunnel through this video.
    Also, setting up a cloud via ZFS is really intuitive and easy to manage.
    Thank you so much for making the video.

  • @michaelsanchez1000
    @michaelsanchez1000 Před rokem +1

    Really happy to see your views rising, I remember when you were just starting. The fan base is steadily growing. Keep it up

    • @MRPtech
      @MRPtech  Před rokem

      Thank you soooo much for this kind comment.
      I do appreciate !

    • @suswiththehomies
      @suswiththehomies Před rokem

      @@MRPtech I just found you today. Thanks for explaining everything so in-depth. You now have a new subscriber. :)

  • @theterminaloptimist
    @theterminaloptimist Před 23 dny

    Fantastic video, thankyou! I really appreciate the additional information you provide, it has helped me understand so much more. Learning every day!!

  • @brachisaurous
    @brachisaurous Před 6 měsíci +1

    awesome...got mine up and running just by following video...and i just installad proxmox last week! i now have a blazing fast 8 tb nvme array accessible on the cloud...good times!!!

  • @karthikeyanpalani8113

    This is my first video of yours. The best video and I followed with you. Its crystal clear and flawless. All went up well and I have my nextcloud up and running. One of THE BEST video on Proxmox, Nextcloud and Cloudflare. You got a subscriber here. Keep it up and hope to see more videos like this from you.

    • @cbaymac
      @cbaymac Před 6 měsíci

      Me too, concur

  • @ryangascoignergrg
    @ryangascoignergrg Před 10 měsíci +1

    Watched a few of your tutorials, so easy to follow I learned a lot as usual!

  • @letusgo
    @letusgo Před 9 měsíci

    This is by far the proper tutorial video. I was able to install and configure NextCloud on my server without having a single problem. Thank you and I am subscribing for future videos :)

  • @eidodoos
    @eidodoos Před rokem

    in 4 weeks i watch your video many time. today i get it done. my nextcloud working great now.

  • @diegoguzman4631
    @diegoguzman4631 Před 3 měsíci

    Sir, you are awesome! Thank you for the good explanations. I was able to get Nextcloud up and running in about an hour.

  • @richardmargolis2207
    @richardmargolis2207 Před 8 měsíci

    I am sure its been said already a few times. Thank you for your generosity, knowledge, and time.

  • @europa7533
    @europa7533 Před rokem

    Thanks mate, really appreciate the pace and clear descriptions of your actions during the tutorial, always makes me keen for the next instalments.

  • @AngelRodriguez-sv4nv
    @AngelRodriguez-sv4nv Před 9 měsíci

    MRP thank you !! I love the topic, video and how you explain the commands and why they are used. As well as giving alternatives to use. Truly appreciate your time and effort in making this available. Thank you SIR can't wait for more !

    • @MRPtech
      @MRPtech  Před 9 měsíci +1

      When i want to learn something ... most of tutorials gives me what i need at 70% level.
      I don't like when speaker showing stuff without explaining why he picked A and not B?
      Why i need to run command A but not B even if A command is almost the same as command B.
      Why you selected this option? What is a reason?
      These kinds of tutorials / guides leaves me in position where i need to spend more time trying to figure all remaining 30% myself troughs google or watch even more "information dry" videos. Things that getting missed might cause problem during setup / configuration - and you ending up with big mess.
      Don't get me wrong, there are a lot of amazing YT content creators that provides outstanding amount of information. I want to do the same but explaining in much more simple way, almost like doing ELI5 style :)
      I am not perfect ... i do make mistakes ... but i will make sure that things i demonstrate will give you close to 100% information you need to get things going.

  • @rey6253
    @rey6253 Před 11 měsíci

    Really good tutorial, all the steps are very easy transferrable to non-proxmox hosting models as well, which is awesome.

  • @theautomaticfiend
    @theautomaticfiend Před rokem

    you made this easy man, thank you very much for the awesome tutorial.

  • @tariq4846
    @tariq4846 Před 5 měsíci

    This person is expert on playing with zfs

  • @EdFife
    @EdFife Před rokem

    Thank you, tried this y myself and missed the privileged container part. Got it to work after watchimg your video

  • @TheBeardedLibertarian
    @TheBeardedLibertarian Před 11 měsíci

    sweet, finally working with tunnels... thank you😃😃😃😃😃

  • @aappiah1
    @aappiah1 Před 5 měsíci

    Great stuff and I learnt a lot . Thank you for sharing

  • @netelijah
    @netelijah Před rokem +2

    nice thank you for making the video I requested . :)

    • @netelijah
      @netelijah Před rokem

      am lost, i have true nas scale, but idk how to let it use my truenas storage.

  • @magicmanj32
    @magicmanj32 Před 5 měsíci

    great tutorial, subscribed :)

  • @hariedymahadi4414
    @hariedymahadi4414 Před rokem

    One of the best Videos. Thank you

  • @Lunolux
    @Lunolux Před 9 měsíci

    second video i watch after openmediavault, great video, great explaination, i learn a lot on the omv video, and this one explaination many think
    your video are so esay to follow
    +1 sub
    thx

  • @gusthepenguin
    @gusthepenguin Před 6 měsíci

    Best one ever made!! Thanks!!!!

  • @Beerle86
    @Beerle86 Před 9 dny

    First of all thank you for your work. I really appreciate. I follow your instruction but i have a probelm. All is working fine so far except the files don't get store on my 4TB SSD which is mounted with zfs. All gets store on "pve-vm--101--disk--0" . When i login as admin and go to administration settings i can see the 4TB (3.51 TB) for every user i created.

  • @cskmnrpt
    @cskmnrpt Před 7 měsíci

    Thank you, the tutorial is spot on!

  • @1968rolo
    @1968rolo Před 5 měsíci

    greatest video for all that stuff... thx a lot

  • @leandrocode
    @leandrocode Před 8 měsíci

    Best tutorial ever!!! Thank you

  • @Ox4d
    @Ox4d Před 12 dny

    Thank you, I tried to figure out why I either get to many redirects when selecting http to my Nextcloud instance or it Not working at all when selecting https. The TLS verify Option was my issue! Nice Video

  • @bobsmith2698
    @bobsmith2698 Před rokem +1

    Great video, you explained really well. Instead of using zfs, I would like to put the storage on my truenas scale at say mount point /mnt/zeus/nextcloud. How would I go about that? I tried created a mount point similar to what you did for zfs but didn't work.

  • @thomas8954
    @thomas8954 Před 3 měsíci

    great stuff

  • @MrSamyWageh
    @MrSamyWageh Před rokem +2

    Great video as usual MRP. I'm a bit reluctant to use Turnkey container as I have tried with Jellyfin Turnkey but when I tried to upgrade the JF version, I had issues and it turned out the turnkey sort of protect the integrity of the the container version along with the app version within it. So, I had to use the new version of JF turnkey CT and reconfigure JF libraries from start. If this will be the same with NextCloud, I have to chose a different plain container away from Turnkey. What do you think?

    • @MRPtech
      @MRPtech  Před rokem

      I have been using NC turnkey CT for quite a while now. Haven't had any issues with updates. My approach to updates : i do try to update them once a month. Once new version is out i give another week or two to settle down before doing any changes / updates.

    • @filipstadler
      @filipstadler Před rokem

      @@MRPtech the NC was very old in the turnkey image - also I did what to use NAS/NFS for storage, so some modifications was needed.

  • @chrisspatgen
    @chrisspatgen Před rokem

    Thank you very much for this video, this video helped me out a lot!💻

    • @MRPtech
      @MRPtech  Před rokem

      Your welcome.
      I'm glad video helped you

  • @BeYourselfMan
    @BeYourselfMan Před 7 měsíci

    Mr P, can you do a video about getting nextcloud office working. Only if you have time that is. Regardless, this is a fantastic tutorial as always. Big hug from Portugal.

  • @Jayzo237
    @Jayzo237 Před rokem +2

    Only issues i had were in the first minute lol…..Couldn’t download nextcloud Lxc templates after fresh proxmox install. Had to correct nameserver in /etc/resolv.config & update pveam list using the Shell first, if anyone has the same issue. 0:59

    • @nihalJohann
      @nihalJohann Před rokem

      could you please elaborate, im currently stuck in that part.
      Edit: Used the command "pveam update" in shell and got it

  • @hackrin
    @hackrin Před rokem +1

    I really congratulate you and thank you very much for the professional and exhaustive work you do through your videos. This is just what I was looking for. I'm new to these systems and I'm not practical, plus I don't speak English well. I would like to better understand why I have to add users from the console and not from the web interface. I would like to share Excel files, pdfs and photos even remotely with my staff which is 30 people and some of them will have access to different folders of the tank, do I have to manually create 30 accounts from shell?

    • @MRPtech
      @MRPtech  Před rokem +1

      1. Reason i did via terminal. Much easier to check who uses most storage and to custom snapshots of data in the future just for that user and not all.
      2. [Please note, i haven't tested this]
      if you want to create users video NC website and not terminal. mount-point dataset to make nextcloud-data folder.
      example:
      mp0: /tank/nextcloud-data,mp=/var/www/nextcloud-data
      Not sure how installation will work when dataset will be mounted prior turnkey doing nextcloud install.

    • @hackrin
      @hackrin Před rokem

      How do I allow certain users to access only some folders and not the whole tank?

  • @yboujraf
    @yboujraf Před 7 měsíci

    Thanks for your video.
    An idea for a new video is to have LDAP (managing user) and the create in nexcloud per user a home folder.
    Thanks in advance

  • @OkphotographyNetStudio
    @OkphotographyNetStudio Před 11 měsíci

    thank you
    MRP your a star

  • @biswajitdey13
    @biswajitdey13 Před 24 dny

    This is great video with detailed instructions. I am setting it up in the same way, but I would like to use unprivileged container because of security reasons. But as you have mentioned I am now able to change the ownership of the files and getting error message: "chown: changing ownership of 'files': Operation not permitted". Are there any instructions on how to do this for unprivileged containers? Otherwise, I'll probably have to set up a VM for this. @MRPtech

  • @mikegodin23
    @mikegodin23 Před 10 měsíci

    Great.
    Thanks a lot!

  • @Niktronik99
    @Niktronik99 Před 10 měsíci

    would you do a tutorial on how to do ZFS operations with an unprivileged containerer?

  • @Asbasnowe
    @Asbasnowe Před rokem

    Really good, thanks a lot!

  • @user-si1wt1xq9b
    @user-si1wt1xq9b Před 6 měsíci

    Ty ty ty!

  • @mattiaippolito1625
    @mattiaippolito1625 Před 11 měsíci +1

    Wow… but can I do the same hack if I want to mount a folder that’s on an SMB share?

  • @BMW-GS
    @BMW-GS Před rokem

    Absolutely fantastic video, thanks for sharing it and taking the time to explain it in detail. One issue I have is when I restart the Debian Cloudflare CT the cloudflare connection is lost and doesn’t come back. Am I missing something in making the connection recursive when the CT restart? Thanks

    • @BMW-GS
      @BMW-GS Před rokem

      To add a little more. The service seems to work fine for a while and then just presents a Bad Gateway 502 error. I can still see the Nextcloud via the private IP address.

  • @ChrysovalandesSophocleous

    OMG Thank you! thank you

  • @Mikesco3
    @Mikesco3 Před 10 měsíci

    I did subscribe wonderful video

  • @kondzio2003
    @kondzio2003 Před rokem

    great video

  • @vincecuares346
    @vincecuares346 Před měsícem

    Hey MrP fantastic video. However, I found out that I'm limited by my internet connection speed even if I'm local. I've tried turning on Nat Loopback/Hairpin on my router and can't make it work, I'm thinking it's because of the Cloudflare Tunnel. Any insight on this?

    • @MRPtech
      @MRPtech  Před měsícem

      Yes. If you go via CF tunnel - traffic will be redirected over internet. You can connect to NC via local IP address or if you have PiHole you can setup local dns address, something like nextcloud.local.hub
      You will need to add "nextcloud.local.hub" as trusted access point inside nextcloud config file

  • @minadzhiev
    @minadzhiev Před 10 měsíci

    Great tutorial, thanks! Do you have any suggestions - I did the two mount points in the CT config, but when I run 'df -h' in the container, my mounted storage is not showing up there. Thank you! EDIT: funny it worked when I deleted the two lines in the CT config file and added them using the 'pct set CTID /path/from,/path/to'. Anyway, got another sub!

  • @Asbasnowe
    @Asbasnowe Před 11 měsíci

    Thanks a lot, works like a charm. I did a fresh install due to the fact, that the local drive was to small for my purposes. The folders within files from the old install wont be displayed. Do you have an idea, how i can fix this? Thanks alot, you're great and a great help for the communiy. :)

  • @silva.christian
    @silva.christian Před 6 měsíci

    hi everyone one question. is possible running both system in the same containner. Cloudflare configuration and nextcloud image?

  • @flaketime5199
    @flaketime5199 Před 15 dny

    Would you recommend this over a Truenas scale + Filebrowser setup?

    • @MRPtech
      @MRPtech  Před 14 dny

      If you only want file sharing without all other features that nexcloud provides -- YES!
      + Truenas Scale ZFS will do snapshots.
      You can achieve same thing with Proxmox ZFS, in TrueNAS scale snapshot configuration is more ... easier to do imo

  • @emrelabarjr6803
    @emrelabarjr6803 Před 11 měsíci

    Great guide, but unfortunately i cant do ZFS. Note: ZFS is not compatible with disks backed by a hardware RAID controller. How would i do this LVM?

  • @leandrocode
    @leandrocode Před 8 měsíci

    Hi MRP, is it possible for you to teach us how to install Trilium notes + Cloudflare tunnel? Or recommend any video tutorial, thank you so much!!

    • @MRPtech
      @MRPtech  Před 8 měsíci +1

      Will do. First I would like to use it for couple days. Then video will be done.

    • @leandrocode
      @leandrocode Před 8 měsíci

      @@MRPtech thank you!!

  • @matthew6674
    @matthew6674 Před 10 měsíci

    Do you have to do all of those steps for every user account you create?

  • @kevinhughes9801
    @kevinhughes9801 Před 9 měsíci

    Excellent video got mine setup now following this thank you although missed steps attaching zfs storage. Missing from this video tho is how to adjust file upload size that nextcloud is restricted to on install. Also could you do follow up please on how to update this turnkey instance and nextcloud?

    • @MRPtech
      @MRPtech  Před 9 měsíci +1

      NC upload size: docs.nextcloud.com/server/latest/admin_manual/configuration_files/big_file_upload_configuration.html
      Update is same as any other linux distro - inside turnkey container run "apt update" and "apt upgrade"
      Make backup before doing that - just in case

    • @kevinhughes9801
      @kevinhughes9801 Před 9 měsíci

      @@MRPtech thank you. Does the apt update update nextcloud also then? I tried the nextcloud update from web interface on my first install and that failed and crashed system?

  • @piotrzajac5694
    @piotrzajac5694 Před 5 měsíci

    Can I share /tank/nextcloud/mrp between nextcloud container and fileserver container?

  • @svexbankiks2381
    @svexbankiks2381 Před 11 měsíci

    Hi bro, great video big thanks!! I followed your instructions step by step and it works very well with me for 3 days, but today I have a 502 error: Bad gateway when I try to access my nextcloud even if I didn't change anything on cloudflare or in configs, do you know how to solve this issue?

  • @piotr7601-c3n
    @piotr7601-c3n Před 8 měsíci

    Great! I did everything following your tutorial. It is working! Thank you! ... just one question: I'm using cloudflare tunnel, exactly 1:1, as you showed, but this way, even I'm in LAN, everything goes through internet with very low speed. I can add my local IP address to nextcloud config.php and run it, but how to make it that it would work automatically, when I'm on LAN then my domain is "routed" locally and when outside LAN then within internet? Can you advice on this one please?

    • @vincecuares346
      @vincecuares346 Před měsícem

      looking for an answer to this, have you figured it out?

  • @erichb.1396
    @erichb.1396 Před rokem

    Hello, again a great and understandable video from you. I have been thinking about using the CF tunnel for Nextcloud for a while :-) I have an ambiguity regarding data protection. There is on YT one or the other critical statement that the traffic that is passed through the CF tunnel can be analyzed and read by CF. How do you see this? Can I use the tunnel with good conscience also for example for Vaultwarden?

    • @MRPtech
      @MRPtech  Před rokem

      I have been using CF Tunnel since day one, and in my day job we been using Cloudflare services for 5+ years. maybe more.
      I can't understand why people so obsessed that CF might ready their data.
      If you want security for your stuff, you go to the Pro and Cloudflare is a KING of all this.
      If you don't like that cloudflare can see what you sending or receiving, well, maybe you should stop doing what ever you are doing.
      I do accept that some companies don't want their data to be shared because GDPR in EU and other things. Well ... these companies have so much $$$ that they have their own way of securing there connection. Still, i bet these companies using Cloudflare for their website security like everyone else in the world.

  • @Asbasnowe
    @Asbasnowe Před 7 měsíci

    Hey could you explain how to upgrade the nextcloud with newer turnkey versions?

    • @piotrzajac5694
      @piotrzajac5694 Před 5 měsíci

      I am not expert but I did like tihs "Make a backup; apt-get update && apt-get upgrade; update nextcloud from website Administrative Settings > Overview

  • @rmstmg1
    @rmstmg1 Před 10 měsíci

    @MRP, Thanks for the amazing tutorial but I couldn't understand why you created a separate LXC container for cloudflare tunnel. I think I can use the same nextcloud LXC for cloudflare tunnel as well. Any specific reason for a separate LXC for cloudflare?

    • @MRPtech
      @MRPtech  Před 9 měsíci

      Main reason: If i want to scrap NC instance and go with something else, for example FileBrowser or anything else. I will destroy NC instance which will kill Cloudflare. For me to have Cloudflare as separate instance - keeps it away from anything else. In some cases it is useful to have two stuff inside 1 VM/LXC like for example Transmission and VPN ;)
      At this moment i have LXC container with Cloudflare Tunnel + Pihole + Tailscale
      These 3 service must be ONLINE at any cost, if they not, i loose half of my sh*t :)
      If something will happen, 1 single restore will bring them back to life.

  • @DavidsonMott
    @DavidsonMott Před rokem

    What are the possibilities of seeing this done on TrueNAS Scale?

  • @user-nz8bg3lk3f
    @user-nz8bg3lk3f Před měsícem

    How to limit disk size on mrp let say just 10gb?

  • @svborisov
    @svborisov Před 8 měsíci

    Great and simple tutorial! Thank you! But i have a problem - when i open any folders on my Nextcloud from web GUI, after a 5-10 folder NC freezes and after reload page i get an error - Internal Server Error
    The server encountered an internal error and was unable to complete your request.
    Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
    More details can be found in the server log.
    In logs i see this - "Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused.
    After i reboot container of nextcloud it works again. Till i am don't walkin in folders. Then it crashing again.
    What i am doing wrong?

    • @clyde4fun
      @clyde4fun Před 6 dny

      same issue for me in the log i got " ssl_stapling_init_cert: can't retrieve issuer certificate! "

  • @hackrin
    @hackrin Před rokem +1

    Today another error message. I can easily access https, I can upload and download without problems both via admin and via any user, but in administrator settings a yellow error message appears saying that the server has no internet connection, consequently, I cannot update, I cannot send emails, and I can't download apps. I've already done research and tried them all. The file /data/files_external/rootcerts.crt is not empty, it is the same as the versions of old backups that did not have internet connection problems. If I try to restore any old backup that had no problems nextcloud returns bad gataway. Suddenly it started doing this problem do you have any idea?

  • @MrGainify
    @MrGainify Před rokem

    Do you know what port we need to setup for the reverse proxy with this setup?

  • @Dreadylock9170
    @Dreadylock9170 Před 9 měsíci

    hi love your tutorials, i want to setup zfs in omv 6.5 on proxmox vm do i need to make pool in promox first then add it to omv 6.5?

    • @MRPtech
      @MRPtech  Před 8 měsíci

      for omv to work you need to attach at least one drive to it.
      the way i would do it - setup ZFS inside proxmox and for omv i would create one large drive and attached to it.
      drive location will be ZFS, omv will see that drive as normal drive which then it can use to store files.

    • @MRPtech
      @MRPtech  Před 8 měsíci +1

      czcams.com/video/PHmHNzv3a7s/video.htmlsi=qaoyXoj1CdNebTkD
      Where i am attaching a drive - i would just get virtual drive assigned to OMV VM via Hardware tab

  • @fotozientas7394
    @fotozientas7394 Před 5 měsíci

    hey, unfortunately I can't do this with a resource mounted via smb or nfs. I cannot change the permissions for .../user/files.
    chown -R if it doesn't work at all, the root user on the mounted resource can create and delete directories without any problems.
    Do you have any idea what's wrong?

    • @MRPtech
      @MRPtech  Před 5 měsíci

      in source where you share your SMB/NFS who is the owner of folder that you trying to share ?

  • @yoch4922
    @yoch4922 Před rokem

    That nice MrP. Can you explain how run nextcloud lxc + tailscale? i apreciate

    • @MRPtech
      @MRPtech  Před rokem

      Setup Nextcloud in the way i did in this video.
      Instead of Cloudflare LXC, get Tailscale LXC running (How to - czcams.com/video/QJzjJozAYJo/video.html)
      Tailscale Subnet-advertising must be active.
      Inside nextcloud config file, add tursted domain Nextcloud LXC container IP address.
      Now you can access nextcloud from any of your devices as long as all tailscale devices linked using same tailscale account

    • @yoch4922
      @yoch4922 Před rokem +1

      @@MRPtech i try it. All work fine. Thank you

    • @MRPtech
      @MRPtech  Před rokem

      Your welcome

  • @Catge
    @Catge Před 9 měsíci

    Great video but doesn't this go against cloudflare's TOS?

    • @MRPtech
      @MRPtech  Před 9 měsíci

      CF Tunnel TOS for home lab users is a bit grey area.
      If you won't push a lot of data via CF servers - i don't think they won't even notice. When you will push 1TB+ over their servers each month - then you might get in trouble.

    • @Catge
      @Catge Před 9 měsíci

      @@MRPtech Where do you get the 1tb figure from? I have seen other people run into issues with much less than that.

    • @MRPtech
      @MRPtech  Před 9 měsíci

      I have been using cloudflare tunnel for my home lab for over 1year and not onces I been contacted by Cloudflare team.
      Via CF Tunnel I set to access Plex, Nas, remmina, webtop, uptime-kuma, Kasm ... Almost every single thing I have running in my home lab.
      Why others getting flagged - don't know.
      Maybe because got my domains via cloudflare register instead of using other providers. Hmmmm....

    • @Catge
      @Catge Před 9 měsíci

      @MRPtech Interesting, I have my domains registered through cloudflare as well. I don't see why they would discern where domains are registered, but I will give it a shot and keep traffic to a minimum.

  • @nnekdmejeke120
    @nnekdmejeke120 Před rokem

    If you do it this way, everytime you add a user now you have all these extra steps to move the user data to zfs pool. Is there an easier way like directing nextcloud to save all its data to the zfs to begin with? Or create the nextcloud vm to be contained on zfs or maybe setup a truenas vm and provide a share for nextcloud to store on after passing drives through to truenas and using it to create the zfs pool? The idea is to reduce administration and not to increase it.

    • @MRPtech
      @MRPtech  Před rokem

      To get this setup done as you describe you need to mountpoint ZFS data set to /var/www/netcloud-data before starting Nextcloud LXC for very first time.
      Reason for me doing the other way ... this kind of setup already been deployed and in use for 3 - 4 months at one of my friends company. He has Proxmox PVE with 4 ZPools. 3 of them are used for 3 customers. Each customers data saved at separate ZPool and 4th used for general customer. We did this because 3 Pools that are used for 3 customers has high performance enterprise drives. 4th ZPool contains just standard drives.
      If one of the ZPools dies, at least other customers still can upload data. For our use case is much better to migrate just customers dada across to another ZPool and not migrate entire Nextcloud file structure.

    • @nnekdmejeke120
      @nnekdmejeke120 Před rokem

      @@MRPtech So are you using one nextcloud instance for all the customer's instead of separate per customer? It would still be better to have hba's passed through to a truenas vm and have separate pools in truenas this way. Truenas does a much better job and has more utility for ZFS than proxmox does as far as i understand. Plus you wouldn't have to do any commands and could just point the containers to shares from truenas to reduce your management.

    • @MRPtech
      @MRPtech  Před rokem

      Hmmm. interesting idea. thank you for suggestion.

  • @SignedAdam
    @SignedAdam Před 7 měsíci

    So my ls -l doesn’t look like yours the names are different colours but I don’t see any letters or numbers in a row like it does on yours So I can’t see the permissions, I obviously don’t know what the colours are, I’ve set chown 33:33, and the folder link ends in (admin/files) I still see nothing in the UI but when I go to the console and follow the path to the end I can see the folders I have stored on my zfs, is there something additional we need to do in the ui settings, have they pushed an update since this video was made and for new instances this no longer longer works? Please check thanks for the video hope I can get this done as this is much prettier than just turnkey… and yes my container is privileged for nextcloud, edit - I haven’t checked what it says in the ui, if it sees the mount point or not edit - the mount point is showing up under settings - administration - system “in the web ui” so something is wrong with permissions?

    • @SignedAdam
      @SignedAdam Před 7 měsíci

      I’m still facing this issue, when going in to webmin and looking under the file manager folders and files are being made in the mount folder, but any existing files and folders aren’t showing up only new ones, I’ve changed the permission of all the existing files and folders to match that of the folder that was made in the mount point by nextcloud 0755 www-data:www-data however the existing files and folders don’t show up? it’s like nextcloud has an index of the files and folders and isn’t even checking the folder to see what’s already there

  • @lesfilanto
    @lesfilanto Před 10 měsíci

    I found turnkey buggy and had many times it died when updated and cron wouldn't work. I am using nextcloudPI now and it is definitely superior

  • @kirakazki
    @kirakazki Před 10 měsíci

    I tried doing this and it worked but when I installed the next cloud apps on my phone and the computer the website suddenly stopped working

    • @atlasv1238
      @atlasv1238 Před 9 měsíci

      Like me. I always have "internal error" after few weeks…

  • @user-be9go5rh6t
    @user-be9go5rh6t Před rokem

    Can you do a video on what configurations that you need to do following this install for Talk to work externally ? I can not seem to find any body that is documenting the usage of Talk wile using Cloudflare tunnel. I also am using PFSense as my router and the domain is an actual Cloudflare domain. Everything is working to include starting calls but audio and video are not making it outside of the network. When I start the call if I hit a reaction you can see it on the other side of the call. I have tried all the fixes I have found but I am obviously looking at the wrong things to fix this issue.

    • @MRPtech
      @MRPtech  Před rokem

      Hmmm.
      I know that Cloudflare Tunnel and well, Cloudflare in general will "complain" about using their system to host media (livestream, movies, music, photo gallery). Could be that your TALK service getting blocked by cloudflare due to their limitations on this kind of content being sent via CF pipes

    • @LaserGrunt
      @LaserGrunt Před rokem

      @@MRPtechyea I am seeing mixed information about that. It would seem that since the 2021 changes it should work. However, maybe you could make a video on how you would configure NextCloud for Talk to work? CF might not be the best option in this case. It looks like you route TURN via unproxied DND ?

  • @baileyboy3687
    @baileyboy3687 Před rokem

    Can you just have a single disk set up instead of dual zfs? The single disk will be backed up to a proxmox backup server every evening. Thanks

    • @MRPtech
      @MRPtech  Před rokem +1

      Yes. you can use single drive for all this. You can use single drive per user if your system has enough connections to accommodate more drives.
      I used ZFS setup because it was easy to setup and i thought would be great to include that.

    • @baileyboy3687
      @baileyboy3687 Před rokem

      @@MRPtech thanks, will give it a try tomorrow with single disk.

    • @baileyboy3687
      @baileyboy3687 Před rokem

      @@MRPtech got it all working. Of course like an idiot i followed the guide of setting the nextcloud disk size to 12G so that was my total capacity. Then had DB problems on the next few installs because i forgot to add 'nesting'. Last fresh install set my SSD to 200GB and all works a treat. Installed the 'memories' app in nextcloud which i read is supposed to be pretty good and now uploading all my photos, so thank you again for a great informative video.

  • @azrielx30
    @azrielx30 Před rokem

    chown command is not changing the ownership 😞

  • @hackrin
    @hackrin Před rokem

    what are these
    problems?
    1) The last background process lasted 1 hour ago. Something wrong. Check background process settings ↗.
    2) Last cron run: 2 hours ago. There may be a problem.

    • @MRPtech
      @MRPtech  Před rokem

      When you logged in to Nextcloud. under setting you should see System Info (or something like) that option.
      That page should show you your nextcloud statistics / usage. Are all the graphs maxed out when you uploading or downloading files from NC?

    • @hackrin
      @hackrin Před rokem

      @@MRPtech quando scarico qualcosa i grafici di carico e memoria restano pressoché invariati. Aumentano di poco

    • @hackrin
      @hackrin Před rokem

      @@MRPtech when i download something the load and memory graphs stay almost the same, they increase a little

  • @HomeLabEnt
    @HomeLabEnt Před 8 měsíci

    Thank you. Next time pretend Proxmox are fresh install and nave no Nexcloud CT Template.

  • @Jacob4duke
    @Jacob4duke Před 10 měsíci

    ive followed this tutorial exactly and my next cloud container does not boot after editing the config file, can anyone help me out

    • @MRPtech
      @MRPtech  Před 10 měsíci

      Hi,
      Step 1 to troubleshoot this.
      Restore Config file to original state and try to start Nextcloud. If NC starts - Modified config file contains syntax errors.

    • @Jacob4duke
      @Jacob4duke Před 10 měsíci

      @@MRPtech thank you!!!! Damn capital letter in a user name!

    • @MRPtech
      @MRPtech  Před 9 měsíci

      Yeah, these kinds of silly mistakes got me more then i am willing to admit.

  • @zaluq
    @zaluq Před rokem

    I followed the setup excactly and it worked great , then suddenly got a 502 from cloudflare , even if i did not change any settings , do you need to configure something else than tunnels on cloudflare dns ?

    • @MRPtech
      @MRPtech  Před rokem

      Inside cloudflare tunnel. How did you setup your domain? Domain goes via HTTP or HTTPS?

    • @zaluq
      @zaluq Před rokem

      @@MRPtech Yeah , first i did http and changed it . Wish you could make one with the AIO on a docker setup also. Thx

    • @MRPtech
      @MRPtech  Před rokem +1

      If you setup to use https - try to turn TSL validation off - this will bypass SSL validation on your server.

    • @natelyons1983
      @natelyons1983 Před rokem

      I noticed when I add a user to Nextcloud I get the 502 cloudflare error. I identified this was the trigger by creating a backup of Nextcloud before adding a user. I then tried multiple times to create a user I get the same error everytime.
      Looks like I will just have to use an admin account.

  • @hackrin
    @hackrin Před rokem

    I followed the guide perfectly, if I create a folder in admin, he sees it, but another user doesn't see it, why?
    Please help me

    • @MRPtech
      @MRPtech  Před rokem +1

      Where did you created that folder. If folder created under Admin data structure - only admin will see that folder.
      If you want folder to be accessed with others, you need to link that folder with all users using network share or just a simple share over nextcloud

    • @hackrin
      @hackrin Před rokem

      @@MRPtech Thank you very much and sorry so much for the question, I realized, for myself, how silly it was.
      In any case, I officially inform you that your video has produced the desired results, before, and perhaps still now, I didn't really know what linux was, never used anything more than Windows, and this just means that you are one of the few who know really being a computer communicator, you deserve a wall of plaques just for that.
      Now I have 30 people who can share data, access the ones I share, and even work on them directly without downloading them, all this from wherever they want and with any device, even smartphones. I have proxmox on a mini pc 12v 2a bought used for 80€, with two 3tb usb disks in zfs mirror for data, with a bullseye container with a cloudflare tunnel to access proxmox remotely over https. Then another bullseye container is running with another cloudflare tunnel to remotely access nextcloud running on another container. Everything works perfectly but sometimes, without me doing anything, the nextcloud link returns "Bad Gateway" and I'm forced to restore a backup of the nextcloud container to make it work again and I really don't understand why. Again many, many thanks for the time you dedicate to people. Next step data backup on second offsite server, any ideas?

    • @MRPtech
      @MRPtech  Před rokem

      Hi,
      Thank you for your comment!
      I am glad that you got everything sorted.
      I do too get "Bad Gateway" once in a while. Not sure what is going on, i am convinced i have missed some configuration or specific setting options not turned on.
      For me a quick and dirty work-around - i set cron to auto restart Nexcloud at midnight. Since then i haven't had a problem with "Bad Gateway". is this is a solution - No. Is this a temp solution - at this moment Yes.
      For offsite backups - i am using rclone + backblaze.
      At midnight rclone syncs my proxmox backups, my family photos and other irreplaceable data. Backblaze cost $0.005 per GB stored. So far i pushed around 1TB of data which costs me around £5 per month to store. To make sure i keep on top of all this. So things gets auto deleted after sync completes, like for example Proxmox backups. i want to store last 3 days of backups so rclone deletes every proxmox backup that is older than 4days.
      Another offsite backup could be - your friend, family member, anyone you can trust - if they have their own nas and there is a way to install tailscale - you can setup SMB share over tailscale and sync stuff to their server overnight for offsite backup.

  • @OddLlama
    @OddLlama Před rokem

    This works great for about 24 hours then I start getting 502 from cloudflare. I can't even access it locally (connection refused). I think it has something to do with Apache and certs. I've gone through the whole process from scratch 3 times.

    • @MRPtech
      @MRPtech  Před rokem

      Where your DOMAIN lives? In Cloudflare or 3rd party provider?
      nameserver changed to CF ?
      When you setting up CF tunnel and access rules, do you create special rules for your access only or public access?

    • @OddLlama
      @OddLlama Před rokem

      @@MRPtech the setup is no problem and access is fine through cloudflare (they do not host my domain). But after about a day nextcloud starts refusing the connection through both my domain, and locally. Apache crashes and refuses to start, complaining about shared memory, even after increasing it and opcache. I've spent many hours but have yet to figure out why. It happens every time I create the ct.

    • @OddLlama
      @OddLlama Před rokem

      @@MRPtech oh and it's not specifying what segment size it's trying to allocate in the error but has 128 megabytes to work with

    • @OddLlama
      @OddLlama Před rokem +1

      @@MRPtech disabling opcache fixes it. Haven't figured out why

    • @zaluq
      @zaluq Před rokem

      @@OddLlama can you tell where to do that ?

  • @user-td5eg6um9w
    @user-td5eg6um9w Před rokem

    you don't say that we need as begginers to command line: PVEAM UPDATE at first...

  • @ManuelePolverini
    @ManuelePolverini Před 23 dny +1

    Thanks a lot, good guide, i used tailscale instead of cloudflare.
    I have tank/myuser/files
    tank/myuser/files
    But, why still the space on / goes finishing instead of zfs pool?
    Should i edit the datadirectory (it's strange because i have mountpoints..)
    Thanks

    • @MRPtech
      @MRPtech  Před 22 dny

      hmmm. a bit confused what you asking here. Could you give me a bit more information please

  • @TearTox
    @TearTox Před 6 měsíci

    How do you get rid of the /index.php/ ? The turnkey ct does that and its ugly. I think its because of the /var/www/nextcloud folders? it should sit in the webroot

  • @rag7628
    @rag7628 Před rokem

    I have a challenge: I would like to always have a copy of my files and folders that I upload to my Nexcloud account.
    Is it somehow possible in promox to automatically copy new files and folders from my nextcloud user_1 datadirectory into a backup directory ?
    nextcloud datadirectory => (/dev/sdb1) /mnt/pve/data_1/nextcloud-data/user_1/files/
    backup directory => (/dev/sdc1) /mnt/pve/backup/nextcloud-data/user_1/files/

    • @MRPtech
      @MRPtech  Před rokem +1

      How in "real time" you want this to happen ?
      Like instantly or can it be 5,10,30,60min gap between sync ?

    • @rag7628
      @rag7628 Před rokem

      @@MRPtech So if it's possible I'd like to try both methods instantly and 5,10,.....min gap between sync.
      Thank You very much.

    • @MRPtech
      @MRPtech  Před rokem

      With instant change - that will be a bit tricky to setup and on top of that, proxmox host will get performance tanked if a lot of data getting moved almost instantly between two folders.
      the way i would do this, setup cron task to run every 5 min with "rsync" command.
      example
      0/5 * * * * "rsync -aAX /mnt/pve/data_1/nextcloud-data/user_1/files/ /mnt/pve/backup/nextcloud-data/user_1/files/ --delete"
      This cron task should run every 5 min and sync files from folder-1 to folder-2
      I need to check something first, there is a way to tell system not to run command if the same command already running. will come back to you about that as soon as i can.

    • @rag7628
      @rag7628 Před rokem

      @@MRPtech That's great, many Thanks for your help, I will definitively try this..