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

Поделиться
HTML-код
  • Опубликовано: 26 авг 2024

Комментарии • 168

  • @MOTOSTAN
    @MOTOSTAN Год назад +23

    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 8 месяцев назад

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

    • @AlleyBeachElectric
      @AlleyBeachElectric 6 месяцев назад

      +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 4 месяца назад +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  4 месяца назад

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

  • @theterminaloptimist
    @theterminaloptimist 5 дней назад

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

  • @nebPet
    @nebPet Месяц назад +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.

  • @MADTago
    @MADTago 7 месяцев назад +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.

  • @brachisaurous
    @brachisaurous 5 месяцев назад +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!!!

  • @Honk_Honk_Clown_World
    @Honk_Honk_Clown_World Год назад +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.

  • @michelemarini1876
    @michelemarini1876 11 месяцев назад +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!

  • @Tomjerrydc1
    @Tomjerrydc1 Год назад +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!

  • @michaelsanchez1000
    @michaelsanchez1000 Год назад +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  Год назад

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

    • @suswiththehomies
      @suswiththehomies Год назад

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

  • @_nikojanu
    @_nikojanu Год назад

    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.

  • @nigelholland24
    @nigelholland24 Год назад +1

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

  • @thiagocamargoalima
    @thiagocamargoalima 11 месяцев назад +3

    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!

  • @richardmargolis2207
    @richardmargolis2207 7 месяцев назад

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

  • @diegoguzman4631
    @diegoguzman4631 3 месяца назад

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

  • @eidodoos
    @eidodoos Год назад

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

  • @tariq4846
    @tariq4846 4 месяца назад

    This person is expert on playing with zfs

  • @letusgo
    @letusgo 8 месяцев назад

    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 :)

  • @ryangascoignergrg
    @ryangascoignergrg 10 месяцев назад +1

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

  • @karthikeyanpalani8113
    @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 6 месяцев назад

      Me too, concur

  • @AngelRodriguez-sv4nv
    @AngelRodriguez-sv4nv 8 месяцев назад

    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  8 месяцев назад +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.

  • @europa7533
    @europa7533 11 месяцев назад

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

  • @EdFife
    @EdFife Год назад

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

  • @rey6253
    @rey6253 10 месяцев назад

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

  • @yboujraf
    @yboujraf 7 месяцев назад

    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

  • @TheBeardedLibertarian
    @TheBeardedLibertarian 11 месяцев назад

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

  • @Jayzo237
    @Jayzo237 Год назад +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 Год назад

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

  • @aappiah1
    @aappiah1 5 месяцев назад

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

  • @theautomaticfiend
    @theautomaticfiend Год назад

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

  • @1968rolo
    @1968rolo 4 месяца назад

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

  • @curiouschimpyt
    @curiouschimpyt 6 месяцев назад

    Thank you, the tutorial is spot on!

  • @BeYourselfMan
    @BeYourselfMan 7 месяцев назад

    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.

  • @netelijah
    @netelijah Год назад +2

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

    • @netelijah
      @netelijah Год назад

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

  • @gusthepenguin
    @gusthepenguin 6 месяцев назад

    Best one ever made!! Thanks!!!!

  • @hariedymahadi4414
    @hariedymahadi4414 Год назад

    One of the best Videos. Thank you

  • @magicmanj32
    @magicmanj32 4 месяца назад

    great tutorial, subscribed :)

  • @leandrocode
    @leandrocode 7 месяцев назад

    Best tutorial ever!!! Thank you

  • @Lunolux
    @Lunolux 9 месяцев назад

    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

  • @bobsmith2698
    @bobsmith2698 11 месяцев назад +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.

  • @biswajitdey13
    @biswajitdey13 7 дней назад

    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

  • @thomas8954
    @thomas8954 2 месяца назад

    great stuff

  • @chrisspatgen
    @chrisspatgen Год назад

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

    • @MRPtech
      @MRPtech  Год назад

      Your welcome.
      I'm glad video helped you

  • @user-si1wt1xq9b
    @user-si1wt1xq9b 5 месяцев назад

    Ty ty ty!

  • @mattiaippolito1625
    @mattiaippolito1625 11 месяцев назад +1

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

  • @svborisov
    @svborisov 7 месяцев назад

    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?

  • @OkphotographyNetStudio
    @OkphotographyNetStudio 11 месяцев назад

    thank you
    MRP your a star

  • @Niktronik99
    @Niktronik99 10 месяцев назад

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

  • @user-nz8bg3lk3f
    @user-nz8bg3lk3f 28 дней назад

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

  • @mikegodin23
    @mikegodin23 9 месяцев назад

    Great.
    Thanks a lot!

  • @hackrin
    @hackrin Год назад +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  Год назад +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 Год назад

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

  • @silva.christian
    @silva.christian 5 месяцев назад

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

  • @piotrzajac5694
    @piotrzajac5694 5 месяцев назад

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

  • @minadzhiev
    @minadzhiev 9 месяцев назад

    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 Год назад

    Really good, thanks a lot!

  • @Asbasnowe
    @Asbasnowe 10 месяцев назад

    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. :)

  • @leandrocode
    @leandrocode 7 месяцев назад

    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  7 месяцев назад +1

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

    • @leandrocode
      @leandrocode 7 месяцев назад

      @@MRPtech thank you!!

  • @emrelabarjr6803
    @emrelabarjr6803 10 месяцев назад

    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?

  • @BMW-GS
    @BMW-GS Год назад

    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 Год назад

      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.

  • @svexbankiks2381
    @svexbankiks2381 10 месяцев назад

    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?

  • @MrSamyWageh
    @MrSamyWageh Год назад +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  Год назад

      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 Год назад

      @@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.

  • @ChrysovalandesSophocleous
    @ChrysovalandesSophocleous Год назад

    OMG Thank you! thank you

  • @vincecuares346
    @vincecuares346 28 дней назад

    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  25 дней назад

      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

  • @hackrin
    @hackrin 11 месяцев назад +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?

  • @kevinhughes9801
    @kevinhughes9801 9 месяцев назад

    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  9 месяцев назад +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 9 месяцев назад

      @@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?

  • @Asbasnowe
    @Asbasnowe 6 месяцев назад

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

    • @piotrzajac5694
      @piotrzajac5694 5 месяцев назад

      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

  • @kondzio2003
    @kondzio2003 Год назад

    great video

  • @matthew6674
    @matthew6674 10 месяцев назад

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

  • @Mikesco3
    @Mikesco3 9 месяцев назад

    I did subscribe wonderful video

  • @DavidsonMott
    @DavidsonMott 11 месяцев назад

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

  • @piotr7601-c3n
    @piotr7601-c3n 8 месяцев назад

    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 28 дней назад

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

  • @MrGainify
    @MrGainify Год назад

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

  • @lesfilanto
    @lesfilanto 9 месяцев назад

    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

  • @HomeLabEnt
    @HomeLabEnt 7 месяцев назад

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

  • @erichb.1396
    @erichb.1396 Год назад

    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  Год назад

      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.

  • @rmstmg1
    @rmstmg1 9 месяцев назад

    @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  9 месяцев назад

      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.

  • @azrielx30
    @azrielx30 Год назад

    chown command is not changing the ownership 😞

  • @SignedAdam
    @SignedAdam 6 месяцев назад

    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 6 месяцев назад

      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

  • @fotozientas7394
    @fotozientas7394 4 месяца назад

    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  4 месяца назад

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

  • @kirakazki
    @kirakazki 10 месяцев назад

    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 9 месяцев назад

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

  • @yoch4922
    @yoch4922 Год назад

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

    • @MRPtech
      @MRPtech  Год назад

      Setup Nextcloud in the way i did in this video.
      Instead of Cloudflare LXC, get Tailscale LXC running (How to - ruclips.net/video/QJzjJozAYJo/видео.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 Год назад +1

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

    • @MRPtech
      @MRPtech  Год назад

      Your welcome

  • @Dreadylock9170
    @Dreadylock9170 8 месяцев назад

    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  8 месяцев назад

      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  8 месяцев назад +1

      ruclips.net/video/PHmHNzv3a7s/видео.htmlsi=qaoyXoj1CdNebTkD
      Where i am attaching a drive - i would just get virtual drive assigned to OMV VM via Hardware tab

  • @nnekdmejeke120
    @nnekdmejeke120 Год назад

    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  Год назад

      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 Год назад

      @@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  Год назад

      Hmmm. interesting idea. thank you for suggestion.

  • @Jacob4duke
    @Jacob4duke 9 месяцев назад

    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  9 месяцев назад

      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 9 месяцев назад

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

    • @MRPtech
      @MRPtech  9 месяцев назад

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

  • @Catge
    @Catge 9 месяцев назад

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

    • @MRPtech
      @MRPtech  8 месяцев назад

      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 8 месяцев назад

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

    • @MRPtech
      @MRPtech  8 месяцев назад

      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 8 месяцев назад

      @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.

  • @user-be9go5rh6t
    @user-be9go5rh6t Год назад

    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  Год назад

      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 Год назад

      @@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 Год назад

    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  Год назад +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 Год назад

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

    • @baileyboy3687
      @baileyboy3687 Год назад

      @@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.

  • @hackrin
    @hackrin Год назад

    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  Год назад +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 Год назад

      @@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  Год назад

      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.

  • @zaluq
    @zaluq Год назад

    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  Год назад

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

    • @zaluq
      @zaluq Год назад

      @@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  Год назад +1

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

    • @natelyons1983
      @natelyons1983 11 месяцев назад

      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 Год назад

    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  Год назад

      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 Год назад

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

    • @hackrin
      @hackrin Год назад

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

  • @OddLlama
    @OddLlama Год назад

    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  Год назад

      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 Год назад

      @@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 Год назад

      @@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 Год назад +1

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

    • @zaluq
      @zaluq Год назад

      @@OddLlama can you tell where to do that ?

  • @user-td5eg6um9w
    @user-td5eg6um9w Год назад

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

  • @ManuelePolverini
    @ManuelePolverini 6 дней назад +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  5 дней назад

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

  • @rag7628
    @rag7628 Год назад

    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  Год назад +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 Год назад

      @@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  Год назад

      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 Год назад

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

  • @TearTox
    @TearTox 6 месяцев назад

    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