Setting Up NextCloud on Docker w/ NGINX and Cloudflare for Remote Access!

Поделиться
HTML-код
  • Опубликовано: 1 ноя 2021
  • Today's video sponsor sponsored and I use their service regularly!
    ✨✨30% discount code:
    ✅ DB23
    Purchased keys are permanent and you can see for yourself in the video!
    ✨✨ Genuine Lifetime Activation Windows 10 Pro only $13:
    ✅ dbte.ch/db23win10
    ✨✨ Genuine Lifetime Activation Windows 11 only $18.50:
    ✅ dbte.ch/db23windows11
    ✨✨ Genuine Lifetime Activation Windows 10 Home only $11.50:
    ✅ dbte.ch/win10home
    ✨✨ Genuine Lifetime Activation Office2019 only $39:
    ✅ dbte.ch/office2019
    /=========================================/
    In this video we'll take a look at installing NextCloud on Docker using Portainer. We'll also modify the .htaccess file to allow for larger uploads.
    If you want to access your NextCloud instance from the internet, we'll take a look at how to use NGINX Proxy Manager and Cloudflare to do that and add some security to your setup.
    Resource Links
    NextCloud Docker-Compose/Stack:
    dbt3ch.com/books/nextcloud/pa...
    NextCloud .htaccess Fix:
    dbt3ch.com/books/nextcloud/pa...
    NGINX Proxy Manager Install:
    • Install NGINX Proxy Ma...
    CloudFlare Videos:
    • Cloudflare - FREE Addi...
    • CloudFlare DDNS - Upda...
    • Install Cloudflare SSL...
    NextCloud Official Links:
    nextcloud.com/
    hub.docker.com/_/nextcloud
    ✨Join this channel to get access to perks:
    ✅ / @dbtechyt
    ✨Come chat in Discord:
    ✅ dbte.ch/discord
    ✨Find all my social accounts here:
    ✅ dbte.ch/
    ✨Services (Affiliate Links):
    ✅ PrivadoVPN: dbte.ch/privadovpn
    ✅ Digital Ocean: dbte.ch/do
    ✅ Bunny CDN: dbte.ch/bunnycdn
    ✅ Private Internet Access (PIA) VPN: dbte.ch/piavpn
    ✅ Amazon: dbte.ch/amazonaffiliate
    ✨Hardware (Affiliate Links):
    ✅ TinyPilot KVM: dbte.ch/tpkvm
    ✅ LattePanda Delta 432: dbte.ch/dfrobot
    ✅ Lotmaxx SC-10 Shark: dbte.ch/sc10shark
    ✅ EchoGear 10U Rack: dbte.ch/echogear10u
    The hardware in my current home server is:
    ✔ Synology DS1621xs+ (provided by Synology): amzn.to/2ZwTMgl
    ✔ 6x8TB Seagate Exos Enterprise HDDs (provided by Synology): amzn.to/3auLdcb
    ✔ 16GB DDR4 ECC RAM (provided by Synology): amzn.to/3do7avd
    ✔ 2TB NVMe Caching Drive (provided by Sabrent): amzn.to/3dwPCxj
    All amzn.to links are affiliate links.
    /=========================================/
    Remember to leave a like on this video and subscribe if you want to see more!
    /=========================================/
    Like what I do? Want to be generous and help support my channel? Here are some ways to support:
    ✅ Patreon: dbte.ch/patreon
    ✅ PayPal: dbte.ch/paypal
    ✅ Ko-fi: dbte.ch/kofi
    /=========================================/
    Here's my Amazon Influencer Shop Link:
    ✅ dbte.ch/amazonshop
  • НаукаНаука

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

  • @ironicstaraurore
    @ironicstaraurore Год назад +5

    I know there are numerous providers who do tutorials... but honestly, I like yours the best. Your voice is clear and easy to follow

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

      Thank you very much!!

  • @Jtarcz
    @Jtarcz 2 года назад +10

    I know it's impossible to cover everything, but another thing to touch on could be using the external storages function. I followed along with your Raspberry Pi tutorial, but I had to go into the container console and install smbclient in order for it to access my external hard drive from OMV in the Nextcloud instance.

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

    Man, you're a life saver!!! I've been trying to get this setup working for over a year now.... THANK YOU!!!

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

      Great to hear!

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

      @@DBTechYT while the docker template you have works exactly as shown, but updating NC using portainer recreation with latest image or edit duplicate the container failed due to the volume mapping in used. I had to tweaked the volume paths, also all these extra tweaks to the config.php, .htaccess file are resetted everytime you update or recreates your NC? Also, like to touch up with external storage via a Nas where you can drag and drop data quickly from you computers. Would be nice to do a part two video how to update NC?

  • @kslim34
    @kslim34 Год назад +5

    Hi David, longtime viewer, love your videos. Have you ever tried maximizing next cloud storage capacity to use external storage like say an attached storage on your OMV setup or even a network attached drive on the network?

  • @briahayandiazluisi6134
    @briahayandiazluisi6134 Год назад +5

    Great step by step video for the old version of NextCloud, It will be great if you can do the same video with the new NextCloud aio, using the same metod, local server plus nginx proxy manager. Best Regards

  • @vmdcortes
    @vmdcortes 2 года назад +2

    Thank you so much for your videos, you are an inspiration and a really great help for me and my self-hosting projects!

    • @DBTechYT
      @DBTechYT  2 года назад

      Glad the videos are helpful

  • @Farizno
    @Farizno 2 года назад

    Another great video! Keep up the good work, and thank you!
    I have a question about Nginx. If I have Nginx already up and running on an x86 machine that's not always on, can I run another instance on a Pi and can I port forward in my router (ddwrt) 80 and 443 to both machines? Or is it better to use only one Nginx on my network?
    Thanks again.

  • @sigmaroll9802
    @sigmaroll9802 2 года назад

    Thanks for how much you put into these studies .

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

    It would be great if you go over the process of adding external storage to the Docker container.

  • @markstanchin1692
    @markstanchin1692 2 года назад +1

    Hi, can the command line you mentioned be entered somewhere in Portainer after the stack is deployed? In other words is there a way to interact with a docker container in a stack to make Configuration changes or issue a command ect. Once you deploy the stack that’s it and if you wanna make a change to one part of it you can’t just re-deploy one of the docker containers inside the stack that’s where I get confused. Do you have to deploy the whole stack In this case if you want to make a change to the Maria database if you redeployed don’t you lose settings etc.? I deployed the stack but before I saw the command you had does not start correctly but nginx works fine tho. This the command I’m referring to - transaction-isolation=READ-COMMITTED ect . I didn’t type it all out here. Please educate me thanks for the video!

  • @persching78
    @persching78 2 года назад +1

    I've used your .htaccess-Mod for the php settings in another way: I've placed the file outside the container and mapped it with a volume entry in my docker-compose to the container. It works, but now I use watchtower to update my docker containers and if there's a new image available the update didn't work. Is your method working every time or do I have to update the .htaccess every update?? Or is there a different way to do these settings? For example with environment variables in the compose file?

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

    Thank you for you video, With this I was able to setup next cloud with Docker, Thanks.

  • @meroxdev
    @meroxdev 2 года назад

    Worked like a charm!

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

    Hi @DTTech it is possible to add an external hdd and move all the NextCloud data to it ? I tried to mount the new hdd and add a new volume to the container, then with the External Storage plugin I can add the drive to the NextCloud but I don't know how to use it for all the data .

  • @RRits57
    @RRits57 2 года назад

    I have a omv with nextcloud ect. running with your setup videos, really love them. Now with the new caddy version it is possible to run https over tailscale, which i really want because the no ssl errors are annoying and jellyfin to chromecast also needs https.
    But I can nog get it to work... would love a video about setting up caddy as reverse proxy container for the other containers with tailscale running on the host.

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

    Is it possible to use something else than Cloudflare? I'm not too keen on routing my traffic through the servers of an American company. I'm a beginner in stuff like this, but really enjoyed the video!

  • @Frank-do1bg
    @Frank-do1bg 2 года назад

    for anyone that would have the same problem as me, which is that you can't login with the admin user after install, delete your browser cache and try again, it should work.

  • @Mayhem6633
    @Mayhem6633 2 года назад +2

    Thanks for your video. I've been following your tutorials and have setup a docker for nextcloud using cloudflare and nginx-proxy-manager. It's pretty awesome and your tutorials have helped tremendously. I'm now going through all your otherr videos to find other useful docker containers to run on my OMV box.
    Question: do you have a tutorial how to get a collabora/code docker running to enable on-line editing of files on nextcloud? That's my next goal so any help you could provide would be appreciated. I have the collabora server running and pointed nextcloud to it. The nextcloud office app indicates "Collabora Online server is reachable" but it still doesn't work.

    • @Mayhem6633
      @Mayhem6633 2 года назад +1

      Update: for your info, I was able to fix my problem by enabling "websockets support" in the nginxx proxy.

  • @Billyfelicianojp
    @Billyfelicianojp 2 года назад +9

    I think setting up cloud flare with next cloud as https should be the default and not http. Also showing how to do it would be great. Thanks.

    • @josevalenzuela3680
      @josevalenzuela3680 2 года назад +6

      Outside your network you will have it over HTTPS with NGINX proxy manager.

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

    Hey David - why Nextcloud, and not Nextcloud AIO?

  • @eliasalves2994
    @eliasalves2994 2 года назад +1

    What is when the htcacces file is missing?

  • @jordant2
    @jordant2 2 года назад +6

    I followed this and couldn't get past the login because my system wanted me to setup the database. I got around this by adding mariadb using a portainer provided template. Then it takes me to a login screen without the database setup part. Great tutorial, I thought my comment may just help someone else who's stuck.

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

    my files just load forever is there any way to speed this up?

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

    Thanks but I'm getting some errors not sure how to fi
    You are accessing your instance over a secure connection, however your instance is generating insecure URLs. This most likely means that you are behind a reverse proxy and the overwrite config variables are not set correctly. Please read the documentation page about this ↗.
    The "Strict-Transport-Security" HTTP header is not set to at least "15552000" seconds. For enhanced security, it is recommended to enable HSTS as described in the security tips ↗.

  • @harrygoldin1725
    @harrygoldin1725 2 года назад +1

    Question for a linux noob. My server has three drives, a main drive that I have for program files, then 2 identical drives that I would ideally like to use to store all my nextcloud files in a RAID configuration. Is there a simple way to modify this process to achieve that? I love your videos, they are straight forward and easy to follow!

    • @DBTechYT
      @DBTechYT  2 года назад +2

      You'd need to mount an additional volume in the docker-compose.yml for your data volume as such:
      - data:/var/www/html/data
      the "data" on the left of the : would need to be mapped to a location on your RAID setup.

  • @heliodoro58
    @heliodoro58 2 года назад

    Thanks for your video. Can you please make a video with nextcloud in docker BackUp and Restore. Thanks

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

    I can't thank you enough for these guides. I do have a question though. If I want to use HSTS (and I've read the cloudflare warning) and break something (total beginner here), I'd have to wait at least a month before I can use my nextcloud again?
    EDIT: For anyone having issues when using nextcloud and the proxy from cloudflare. It's because all trafic goes now through your internet connection (meaning lower speeds). Also, cloudflare doesn't allow uploads of more than 100mb. Nextcloud is supposed to chunk files to prevent this problem, but that does not seem to work for me. Uploading files of more than 100mb will end with an error (something like "connection closed"). Smaller files do work.
    EDIT2: The problem was the nextcloud desktop client. Go to your user appdata folder and locate the nextcloud folder. Edit nextcloud.cgf and under the general section add: maxChunkSize=50000000. Boom, no more aborted file transfers through the proxy.

  • @RaviKumar-mj3gs
    @RaviKumar-mj3gs Год назад

    Nextcloud iOS app no longer works to sync files. Looks like the mobile apps have been unstable.

  • @greysandstorm
    @greysandstorm 2 года назад +1

    is there anyway to run tailscale as a docker container? love your videos and content, your work is very much appreciated!

    • @DBTechYT
      @DBTechYT  2 года назад +1

      Thanks!! I'm not sure if that's an option. I know that you can run a ZeroTier configuration dashboard on your local server, but it still requires connecting to ZerotTier servers for the actual connections...

    • @greysandstorm
      @greysandstorm 2 года назад +2

      @@DBTechYT awesome! i will check it out. thank you

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

    Can you also add in a section where it all runs behind gluetun?

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

    great content, i have have one problem with portainer. after a restart it change always my nextcloud intern port for example from 4199 to 4196 and next restart from 4196 to 4199 -.- how can i solve this?

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

    What if I don't have my nextcloud docker instance inside of portainer? Is there a way to make nextcloud external facing with cloudflare truenas scale app and nginx proxy manager installed from truenas scale? I already got cloudflare working and can access truenas from my internet but for some reason nextcloud appears to only stay internal. Not sure what steps I need to take. Tried everything from port forwarding to creating a cloud flare tunnel, I am at a loss.

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

      If you're able to access locally, but not via your remote method, I think the problem might be that you need to modify the config file to add a trusted URL to it. What I think has happened is that you installed NextCloud on a local IP address. I'm just guessing though. If that's the case, your config file was modified to have your local IP/port as the trusted domain. Since that's the only domain listed in the config file, you won't be able to access NextCloud any other way until you modify the config file to add the remote URL as a trusted domain.

  • @scottchristian313
    @scottchristian313 2 года назад

    thanks dude! appreciate this

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

    how do i get this to work with my phone app and desktop app?

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

    Has anyone encountered a problem downloading files larger than ~800 MB ? I connect nextcloud webdav as a network drive in windows10pro. The file does not download, reaches 99% and starts again, then there is an error.
    PS Thanks for the video very much I watch a lot from you and set up the same way.

  • @capturedbyfabian
    @capturedbyfabian 2 года назад +1

    How do I increase the available disk space? I have it installed in a 10TB hard drive yet it only shows 232.3gb available. Thanks

    • @capturedbyfabian
      @capturedbyfabian 2 года назад +1

      Also everytime I restart the computer everything on nginx gets deleted and have to re-set up everything

  • @smokeyjoee4835
    @smokeyjoee4835 2 года назад

    hey DB, whats the best password in the world? should i use it when i try this next clouds? i love giving all of this a go you make it look so easy

  • @koolaidman171
    @koolaidman171 8 часов назад +1

    I keep getting an error for host is not allowed to connect to this MariaDb server

    • @DBTechYT
      @DBTechYT  8 часов назад

      Then there's an issue with either your database host and/or your username and password.

  • @Matthew-.-
    @Matthew-.- 2 года назад

    If you do ads abut OEM Windows keys you need to note the difference between those and retail keys. OEM keys get deactivated when changing hardware.

    • @DBTechYT
      @DBTechYT  2 года назад +1

      And you can go on their hotline and reactivate them if that happens. I've done in more than once.

    • @Matthew-.-
      @Matthew-.- 2 года назад

      @@DBTechYT What they just let you do that?! I could've saved so much money.

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

    hey i got the same error all the time after adding subdomain to ngiex proxy
    Error 522: connection timed out?? I repeat the question?

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

      You didn't ask a question. Also, I haven't used NextCloud or Nginx Proxy Manager in more than a year, so I'm not sure what to tell you.

  • @nikhil96widhani
    @nikhil96widhani 2 года назад

    The dont like to use cloudflare with Nextcloud and i always turn of proxied for nextcloud domain. The reason is that when the domain is proxied and i access it on local network it is treated like other website and results in slow download speed because it depends on my internet upload speed. If i access it with proxied off then my router treats it as an internal request because public ip is the same and downloads are much faster

    • @DBTechYT
      @DBTechYT  2 года назад +4

      I would suggest that you set up a firewall rule in CloudFlare to bypass the proxy from your home address and leave the proxy status on to protect your self-hosted stuff from the rest of the world.

  • @dylanmullenix
    @dylanmullenix 2 года назад

    Thanks for the videos. I edited the .htaccess as shown in the video and the increased limits are shown in nextcloud. However, the app still doesn't allow anything over 100mb to be uploaded. Is there something else that needs to be changed to get the app to use the same limits?

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

      Same problem here. Seems like the limitation is in nginx, but I've been unsuccessful in getting it to work. If there is a solution, please make a video about it

  • @ricksmith219
    @ricksmith219 2 года назад

    I cannot create admin user, I get the error cannot connect to db. You mentioned in video that you did not get the error so that was good, but you did not cover what to do if you did? Any thoughts?
    Error while trying to create admin user: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [1045] Access denied for user 'nextcloud'@'172.20.0.2' (using password: YES)

    • @DBTechYT
      @DBTechYT  2 года назад

      try using a database password without special characters. Just use numbers and letters and see if that helps

  • @ezekoren
    @ezekoren 2 года назад

    Sorry how do I reset my admin password?

  • @briandortch4610
    @briandortch4610 2 года назад

    so my ISP will not allow me to use port 80, how do I make my netload accessible outside my LAN?

    • @DBTechYT
      @DBTechYT  2 года назад

      I would probably use something like ZeroTier and access it that way.

  • @mattwork6434
    @mattwork6434 2 года назад

    When I set this up I had an issue with the mobile app logging in, I can log in from web browsers fine from different internet connections. The error I get is “Strict mode, no HTTP connection allowed!” Have you seen this and do you know how to fix?

    • @DBTechYT
      @DBTechYT  2 года назад

      Sounds like you have CloudFlare set to "strict" but don't have an SSL running maybe?

    • @mattwork6434
      @mattwork6434 2 года назад

      @@DBTechYT That could be, I am not sure how to add an SSL, I followed your tutorial for the Nginx Proxy manager specifically the portion for the settings of the SSL in Nginx Proxy Manager. Unless you are referring to something else, I definitely could be missing something else.

    • @mattwork6434
      @mattwork6434 2 года назад

      I looked at the wrong video in the description, I will try again later when I have time, thank you for the comment. @DB Tech

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

    I get an untrusted domain error? Because you said not to mount the nextcloud files, i'm now unable to edit the config file??

    • @DBTechYT
      @DBTechYT  6 месяцев назад +1

      You can ssh into your docker server and run a command like this in the terminal: docker exec -it nextcloud bash
      This will allow you to edit the files in the docker volume. You'll need to change "nextcloud" in the command above to be the actual name or ID of your nextcloud instance. Once you get in, you can edit the file and add additional domains or change your current domain.

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

      @@DBTechYT thanks

  • @joesaikaly2938
    @joesaikaly2938 2 года назад +1

    Hey man, great video and great content specially the playlist about the docker server. Set mine up with an 8tb raid and argon eon. Absolutely loving it
    Everything is working just fine, except for video uploads in nextcloud, i updated the max upload size the same way you described in your video above but for some reason i keep getting an error that "file is too big" when it comes to .mov files. some are 130mb other 300 and some 820 mb.
    Do you know what setting i should adjust to fix it?
    thanks!

    • @Jan_Alexander
      @Jan_Alexander 2 года назад +1

      Did you solve this? Just installed latest NextCloud on Docker and I have the same problem. Googled around and found a TON of posts from everywhere from the past 6 years until last month with ppl with the same problem and NO solution. They all repeat to set filesize and upload size in php.ini, nginx-conf and so on, and none of the settings has effect on NC. Only miles of posts saying "same problem here". I really wanted to get rid of GDrive/Dropbox, but even if I could solve this show-stopper, it is not a reliable alternative. It's incredible that in 6 years something like this hasn't been fixed, but worse that that there is no Additional Settings anymore in the Web GUI, so it's not possible to set size from there either (I found old posts that "solved" using that).

  • @jeffmendocino1912
    @jeffmendocino1912 2 года назад +1

    You say not to change or really modify the volumes for NextCloud, but if you're using OMV don't you need to add the path to something like your NAS in order for NextCloud to properly see the external drive? I just seem to remember running into that problem when I tried to deploy it in the past.
    I must admit, it's refreshing to watch you make mistakes, just shows that at the end of the day, we're all human, and what do we do, we learn from our mistakes.
    In this particular video, while you're running Nginx proxy manager, it doesn't show in your list of running containers. I've ran into the problem in the past of trying to use Nginx proxy manager, NextCloud and something else I can't quite remember. But essentially they were all having to run on different databases. I was having issues with running one database and having multiple containers then use that single database. Am I just slow and needed to use that "link" in the compose to make everything happy? Really enjoyed the video!
    Any solutions for restarting certain containers at certain times of the day? Outside of making a script and running it off of cron, which may be the simplest come to think of it.

    • @DBTechYT
      @DBTechYT  2 года назад

      Thanks for watching! You can absolutely mount the container volumes in OMV shares. The way I show here is just a different method of the same thing. You're right about not seeing NGINX in my list of containers. I've got NGINX running on a different device on my network so it isn't on this VM.

    • @waynemichel
      @waynemichel 2 года назад

      I am a newbie to all this. I have a 2nd HDD mounted and shared on my OMV server. How do I add/modify the docker compose file to use this drive?

    • @jeffmendocino1912
      @jeffmendocino1912 2 года назад

      @@waynemichel by adding your absolute path to the mapped volumes in my experience

    • @waynemichel
      @waynemichel 2 года назад

      @@jeffmendocino1912 I understand that, but in the compose file in the video, volumes are mentioned in 3 places. Do I add the path into the 1st mention under:
      volumes:
      nextcloud:[MY ABSOLUTE PATH]
      db:[MY ABSOLUTE PATH]
      or directly under the services volume listing, eg
      services:
      app:
      volumes:
      - [MY ABSOLUTE PATH]:/var/www/html
      or both?
      This is where I am confused.

  • @ecko1986
    @ecko1986 2 года назад

    when i try to install nextcloud its show (failed to deploy a stack: app Pulling db Pulling b6e5ca4da968 )

    • @DBTechYT
      @DBTechYT  2 года назад +1

      I'd give it another shot. Sometimes weird things happen.

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

    How to pull image for mariadb on Raspberry Pi 3B? That will make me continue following your tutorial.
    Looks like you're on a different machine.

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

      Either of these videos should get you sorted:
      ruclips.net/video/7EoEll0lVXc/видео.html
      ruclips.net/video/HkAqt6WreGQ/видео.html

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

      @@DBTechYT Thank you, DB Tech!

  • @servertech6727
    @servertech6727 2 года назад

    Is there any way to change default storage path for nextcloud docker container ?

    • @DBTechYT
      @DBTechYT  2 года назад

      Change the 'nextcloud' in the volumes to the path where you want to store your files.
      volumes:
      - nextcloud:/var/www/html

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

    Hello. I got my server working. but it's showing my ip address instead of my domain name when i access it through my domain? How do I fix this?

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

      Sounds like you need to edit your NextCloud config file to have your domain name listed as a trusted domain rather than just your IP address.

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

      @@DBTechYT So I think the problem is that I can use my cloudflare domain on my local network but I can't remotely use it for some reason. I have ports 80 and 443 open on my vm that's running nginx. Any pointers on what could be going wrong? Thanks

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

      @@DBTechYT When I try to telnet my servers 443 port it just times out. My server is filtering port 443. Is this supposed to happen?

  • @ronm6585
    @ronm6585 2 года назад

    Thank you.

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

    Hello, to anybody seen this "Invalid private key for encryption app. Please update your private key password in your personal settings to recover access to your encrypted files."

  • @andrescalapt_
    @andrescalapt_ 2 года назад

    Hi, I followed your tut but I'm gettinh this error:
    Error while trying to create admin user: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [1045] Access denied for user 'nextcloud'@'172.21.0.3' (using password: YES)
    Ideias? Thanks

    • @DBTechYT
      @DBTechYT  2 года назад

      sounds like a database credentials issue.

    • @andrescalapt_
      @andrescalapt_ 2 года назад

      @@DBTechYT I don't think so, because I left also your stack and didn't changed nothing and still have the error ;(

    • @DBTechYT
      @DBTechYT  2 года назад

      Then start the DB container and then wait a few minutes and then start the app container

  • @abdallahboucedraya
    @abdallahboucedraya 2 года назад

    show us how you made every things i can't follow with
    if i miss steps, i can't follow with you
    thanks.

    • @DBTechYT
      @DBTechYT  2 года назад

      I've made videos about all of this already

  • @patrichestefan2293
    @patrichestefan2293 2 года назад

    I receive this error after creating the admin user in nextcloud. Any ideea how to get pass it?
    "Your data directory is readable by other users
    Please change the permissions to 0770 so that the directory cannot be listed by other users."

    • @DBTechYT
      @DBTechYT  2 года назад

      Okay. So that is a security message letting you know that NextCloud wants your data directory to have a more secure setup than the 777 you might currently have. What I would suggest doing is SSHing into your server and then using the command "cd" (without quotes) to nagivate to wherever your NextCloud data directory is, for instance, if you've mounted /home/nextcloud as your data directory, navigate to /home .
      Then run this command:
      chmod 770 nextcloud
      That *should* fix the issue and make the error message go away.

    • @patrichestefan2293
      @patrichestefan2293 2 года назад

      @@DBTechYT I tried that but my drive is ntfs and from what i know 'chmod' doesn't work on ntfs drives.

    • @DBTechYT
      @DBTechYT  2 года назад

      I would take a look at the solutions offered here: askubuntu.com/questions/11840/how-do-i-use-chmod-on-an-ntfs-or-fat32-partition

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

    How do you change where the data is stored - i.e. onto a NFS share / NAS

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

      you'd have to set up a remote mount from the device that has the data storage to the device you want to install NextCloud on

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

      @@DBTechYT Thanks, I've tried your docker-compose to have a play - unfortunately I don't get a "create an admin account" as the first prompt... it expects me to have an account/password already & thus can't login

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

    I get the following error when creating the admin account:
    Error while trying to create admin user: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [1045] Access denied for user 'nextcloud'@'172.20.0.2' (using password: YES)
    Does anybody know how to fix it?
    I have copied the docker compose from the video and im running this on a jetson nano 4G version with ubuntu 20

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

      Sounds like you're not connecting to the database. Try a different password with NO special characters. Just use letters and numbers and see if that helps

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

      I'm getting the same error. Did you figure this out @Harm Meyer?

  • @Soulreigner
    @Soulreigner 2 года назад

    hello bud thanks for the guides you have really helped me out. Saying that I've hit a wall if anyone can help. I followed your guide all the way except nextcloud works internally but when I remote in externally using my domain name I get hit with the "Access through untrusted domain" and no matter what IP or name I put in it to config.php it doesn't allow access. Is there a way I can identify the IP or name I need to unblock. Thanks for any help

    • @DBTechYT
      @DBTechYT  2 года назад +1

      So what you need to do is say into your server and locate your nextcloud config.php file. The file will be wherever you mapped it when you deployed the container.
      You'll need to edit that file and look for a section where your server IP is listed in a section called trusted servers (or something like that... I'm on my phone so I'm going by memory).
      When you find that section, you'll add your domain. Be sure to follow the same formatting used in the section.
      If your up has a number before it in the config, your domain name will need to have the next number before it. It'll make more sense when you get into the file.

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

      Hi, did you ever manage to resolve this? I have a similar issue; also can I ask how you found the nextcloud config.php file and edited it? When I try to cd into the mount path location /var/snap/docker through command line, I get a permission denied. Thanks

  • @dalexinelus8390
    @dalexinelus8390 2 года назад

    my brother i have a lot of difficulty with ubuntu 20.04, i had no sound and then i don't know how to adjust the brightness. Help me please. tell me something please.

    • @DBTechYT
      @DBTechYT  2 года назад

      What are you talking about? Difficulty with Ubuntu 20.04 on what? What are you trying to do?

    • @dalexinelus8390
      @dalexinelus8390 2 года назад

      I'm talking about ubuntu version 20.04.3 LTS. Gnome version 3.36.8. it is install on my Hp chromebook. but with firmware. what i am trying to do is find out how i can activate the audio system (sound). and then how I can regulate the decrease and increase of lighting. (brightness).

    • @DBTechYT
      @DBTechYT  2 года назад

      Then why are you commenting on this video? This video has NOTHING to do with Chromebooks.

    • @dalexinelus8390
      @dalexinelus8390 2 года назад

      sorry my brother. it's so much I would like to know how I can handle the problem. last time.

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

    Is there anyway to speed up Nextcloud? I find it extremely slow

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

      Make sure you are running cron jobs on a timer rather than on page loads.
      You could use a service like cron-job.org, or a service like Uptime Kuma to periodically ping: http[s]:///nextcloud/cron.php (or whatever the URL of your cron.php file is)

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

    HI, David, thank you for your content! I was able to follow along and get NextCloud setup on my OMV v.6 server in docker using stacks in Portainer. I access the NextCloud instance using Cloudflare tunnels, no NGINX reverse proxy. One of the things that I've noticed with the NextCloud setup is that the Built-in CODE server is a tad slow on a computer but tolerable. However a spreadsheet is unresponsive on a phone. So, I thought I would try to setup a separate Collabora server using the collabora/code docker image to see if that gave better performance. I was able to get it running, but I cannot get NextCloud to launch the editor for the document type. I just see a blank area where the editor should be. I had a lot of trouble around SSL, post allow host, and wopi storage host settings. So, I'm sure something was likely misconfigured, or perhaps it didn't like Cloudflare tunnels. Could you put together a follow up to this video demonstrating how to setup a separate Collabora server accessed through Cloudflare tunnels? Thanks for the consideration!

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

    When I run the security overview of the site, this is one of the main warnings: You are accessing your instance over a secure connection, however your instance is generating insecure URLs. This most likely means that you are behind a reverse proxy and the overwrite config variables are not set correctly. Please read the documentation page about this ↗. Also, is this something to be concerned about: The database is used for transactional file locking. To enhance performance, please configure memcache, if available. See the documentation ↗ for more information.
    Thanks in advance.

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

      I managed to fix the issue regarding the secure connection. Though I have not found anything for transactional file locking. I'm also running into issues where the cron job is not working. @DBTechYT

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

    i only came on the side the where it says welcome to nginx ... but not on nextcloud can someone help me

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

      then you pointed nginx to the wrong place

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

      @@DBTechYT can you say me maybe how i point it right i make it like in your video but it doesnt work
      and thx for responding so fast

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

      and by sites avaiable is no nextcloud site

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

      i have made a thread on dc when you have maybe time to help me because no one awnsering@@DBTechYT

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

      thx all things done it was 3 things i have to mutch not cleared installations with nextcloud nginx etc and because of that that are was i think the error after reinstall all work thx for responding so fast DBTECHYT
      i wish a very nice day to all

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

    Where does nextcloud store the files you upload to it?

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

      Wherever you set the volume in the docker-compose

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

      @@DBTechYT How can you set these variables for a container that has been deployed already?
      Can you do it through it's bash or you need to start everything over? Also, if need to, where to find a comprehensive docker compose template? Thank you!

  • @RameshKumar-rt8xb
    @RameshKumar-rt8xb 2 года назад

    In my portainer it says unable to deploy

    • @DBTechYT
      @DBTechYT  2 года назад

      What do your container logs say in Portainer?

    • @RameshKumar-rt8xb
      @RameshKumar-rt8xb 2 года назад

      @@DBTechYT I got the reason.. It was because my password was strong I was using $ in my password. But that problem is solved yet after clicking on login ithe page is not redirected even thought the address in top bar changes..

    • @RameshKumar-rt8xb
      @RameshKumar-rt8xb 2 года назад

      @@DBTechYT just finished setting up... What I have done is in our stack I have mentioned a different path for database folder and mapped it to container instead of calling it db.... Finally it worked after 48 hours research and trial and errors... Anyways thank you for the video it just needed a little tweaking of one line.

  • @SolarPV.
    @SolarPV. 2 года назад

    I guess opening ports from the internet enables access directly via your home IP ?
    I think you could block this by putting CloudFlares IP's in a source alias list in PFsense that would only allow CLoudFlares IP's inand now everyone directly via your home IP.

    • @DBTechYT
      @DBTechYT  2 года назад +1

      Opening ports always has an inherent risk. I use CloudFlare to hide my IP address from the internet. If you ping my domains, you get a CloudFlare IP, but if you don't use a service like CloudFlare and someone pings your domain, they WILL get your home IP.

    • @SolarPV.
      @SolarPV. 2 года назад

      @@DBTechYT Thank you, Don't you still open ports using CloudFlare though? These open ports could be accessed directly not going via CloudFlare via your domain name and CloudFlare.

    • @DBTechYT
      @DBTechYT  2 года назад

      I only open ports 80 and 443 to the internet. I've also got a firewall on my Unifi router. Traffic comes in to my modem, goes to my router, gets forwarded to a VM with NGINX Proxy Manager and Authelia and then gets fowarded to the appro priate container.

    • @SolarPV.
      @SolarPV. 2 года назад

      @@DBTechYT Thanks David, Can you still gain access via your private IP directly?
      I'm using PFsense incidentally

    • @DBTechYT
      @DBTechYT  2 года назад

      So when you setup NextCloud, you'll have either done it on a domain or your server's local IP address. Either way is fine. Thing is, when you did the setup, that method was recorded in the config file. If you want to be able to access it both locally and remotely, you'll need to modify the config file to add another line to the trusted domains in order to access it from both.

  • @ersonusaini
    @ersonusaini 2 года назад

    Nextcloud 23.0.01 how to install

    • @DBTechYT
      @DBTechYT  2 года назад

      Just because NextCloud has that version available doesn't mean that specific version is available in Docker. You'll need to wait for NextCloud to make that version available in Docker and then install it the same way as this.

  • @kalitsiadischaritos4685
    @kalitsiadischaritos4685 2 года назад

    what is dbs for pi-hole?

    • @jeffmendocino1912
      @jeffmendocino1912 2 года назад

      Well, I did have a longer comment. But what are you referring to?

    • @kalitsiadischaritos4685
      @kalitsiadischaritos4685 2 года назад

      @@jeffmendocino1912 it’s said that nextcloud and db databases are not gone work if run the container in a pi.
      So what databases we have to use in a pi ?

    • @DBTechYT
      @DBTechYT  2 года назад +1

      Look for the yobasystem db

    • @kalitsiadischaritos4685
      @kalitsiadischaritos4685 2 года назад +1

      @@DBTechYT I have try everything and always receiving same error. "Error while trying to create admin user: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused"

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

    come to the point i got anger issues man

    • @DBTechYT
      @DBTechYT  Год назад +3

      I get it. I'm not a fan of NextCloud either :)

  • @mcnunn999
    @mcnunn999 2 года назад +1

    Forget about cloudfare

    • @jeffmendocino1912
      @jeffmendocino1912 2 года назад +1

      Do you propose a better solution?

    • @DBTechYT
      @DBTechYT  2 года назад +2

      Why? For what reason? What's your justification?

  • @JohnWDisco
    @JohnWDisco 2 года назад

    Dude.... your video says “scam” all day. W..t..f..

    • @DBTechYT
      @DBTechYT  2 года назад

      How does it say "scam"?

    • @JohnWDisco
      @JohnWDisco 2 года назад

      @@DBTechYT dude the first minute is all about getting a super cheap windows license key. It screams scam. If you are developing anything other than maybe testing, then you are running linux, BSD, or another variation of Unix. Coding on windows it points, so is MacOS.

    • @DBTechYT
      @DBTechYT  2 года назад

      That windows key thing is an AD. It's how I make money on here. There's even a yellow progress bar across the bottom of the screen so you can more easily skip the ad. The rest of the video is about setting up NextCloud.

    • @DBTechYT
      @DBTechYT  2 года назад

      The video even has a pop-up in it that says "Includes paid promotion" in the top left as the video is loaded in per legal requirements. If you know so much about development, I have a hard time believing this is your first day on the internet, so I'm not sure why you don't understand what integrated ads are. I've been doing them for a while. The rest of the internet has been doing them even longer. So... it seems to me that this is you not understanding how ad integrations work on RUclips videos. I hope this helps clear things up for you. Have a nice day.

    • @JohnWDisco
      @JohnWDisco 2 года назад

      @@DBTechYT I do understand integrated ads. Why you would pick/record that one, is beyond me.

  • @ashwingurbuxani317
    @ashwingurbuxani317 2 года назад

    2 minutes in and you've already said check out the links to your other videos in the description. Can you please just stick to the subject and stop referring other videos? It gets annoying. Thanks for sharing the info.

    • @DBTechYT
      @DBTechYT  2 года назад +1

      I have to or people forget that there's a TON of information down there and then I get the same questions over and over and OVER AND OVER AND OVER.

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

    Can you talk like normal human? maybe drink less coffe, or dont do drugs?

    • @DBTechYT
      @DBTechYT  Год назад +5

      This is how I talk. Not only on RUclips, but in real life as well. This is who I am. So, a couple of things that have been said by myself and others with regards to how fast I talk on RUclips: 1. You can change the playback speed of the video to suit your listening needs. 2. dbtechreviews.com/i-talk-fast/
      All that said, I could comment on the fact that you upload gaming content that is nearly an hour long and you never say anything. Even in your 5 minute CS:GO videos, you don't say anything, thus making YOUR content not at all engaging.
      Here's the thing, no one can please everyone. But, this video has more than 40k views with only 22 dislikes, so I think the video is fine as it it.

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

      @@DBTechYT don't pay attention to rude individuals like this, not worth your time. You're great man, keep it up.

  • @ricksmith219
    @ricksmith219 2 года назад

    I had a hardtime getting the db to start.. It complained about this part of yaml "--skip-innodb-read-only-compressed" So I removed it and it started... What is it and is it safe to run without it?
    2021-11-20 22:46:32 0 [ERROR] /usr/bin/mysqld: unknown option '--skip-innodb-read-only-compressed'
    2021-11-20 22:46:32 0 [ERROR] Aborting

    • @DBTechYT
      @DBTechYT  2 года назад

      That part of the file was in place because of a database connect issue that seems to happen. You don't need it and if the container deployed without it, you should be good to go :)

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

    17:48 How do you fix “/.well-known/caldav” & “/.well-known/carddav”??

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

      You're probably going to want to go to their Github page or Reddit to get the answers to this

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

      @@DBTechYT I found the fix! Let me know if your interested in putting in a video!

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

      I'd be happy to hear what your solution was. You can email me at david@dbtechreviews.com

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

      @@DBTechYT Absolutely!