Video není dostupné.
Omlouváme se.
Setting Up NextCloud on Docker w/ NGINX and Cloudflare for Remote Access!
Vložit
- čas přidán 19. 08. 2024
- 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/db23wi...
✨✨ Genuine Lifetime Activation Windows 10 Home only $11.50:
✅ dbte.ch/win10home
✨✨ Genuine Lifetime Activation Office2019 only $39:
✅ dbte.ch/office...
/=========================================/
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/boo...
NextCloud .htaccess Fix:
dbt3ch.com/boo...
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...
✨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/privad...
✅ Digital Ocean: dbte.ch/do
✅ Bunny CDN: dbte.ch/bunnycdn
✅ Private Internet Access (PIA) VPN: dbte.ch/piavpn
✅ Amazon: dbte.ch/amazon...
✨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/echoge...
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/amazon...
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
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.
Man, you're a life saver!!! I've been trying to get this setup working for over a year now.... THANK YOU!!!
Great to hear!
@@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?
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.
Same issue
Thank you so much for your videos, you are an inspiration and a really great help for me and my self-hosting projects!
Glad the videos are helpful
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.
Outside your network you will have it over HTTPS with NGINX proxy manager.
It would be great if you go over the process of adding external storage to the Docker container.
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.
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?
Worked like a charm!
Thank you for you video, With this I was able to setup next cloud with Docker, Thanks.
Thanks for how much you put into these studies .
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!
Hey David - why Nextcloud, and not Nextcloud AIO?
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.
What is when the htcacces file is missing?
thanks dude! appreciate this
Glad it helped!
my files just load forever is there any way to speed this up?
I've got everything up and going but when I login I have to refresh the page to get it to go to the home screen, also the phone app won't connect to the site (just getting the spinning loading screen). When I go to the admin tab it won't load the recommendations where it says "Checking for system and security issues." I feel like its something to do with https requests but I'm not sure.
Also my nginx container doesn't seem to be saving any data, every time I reboot the server I have to redo everything for the setup of nginx. I followed the guide in the linked video to install and used portainer stack to install.
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!
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.
And you can go on their hotline and reactivate them if that happens. I've done in more than once.
@@DBTechYT What they just let you do that?! I could've saved so much money.
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.
Update: for your info, I was able to fix my problem by enabling "websockets support" in the nginxx proxy.
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.
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.
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?
@@waynemichel by adding your absolute path to the mapped volumes in my experience
@@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.
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.
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.
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 ↗.
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?
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!
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.
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
Also everytime I restart the computer everything on nginx gets deleted and have to re-set up everything
Thanks for your video. Can you please make a video with nextcloud in docker BackUp and Restore. Thanks
Nextcloud iOS app no longer works to sync files. Looks like the mobile apps have been unstable.
is there anyway to run tailscale as a docker container? love your videos and content, your work is very much appreciated!
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...
@@DBTechYT awesome! i will check it out. thank you
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 .
Thank you.
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
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.
Can you also add in a section where it all runs behind gluetun?
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.
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
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.
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.
I get an untrusted domain error? Because you said not to mount the nextcloud files, i'm now unable to edit the config file??
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.
@@DBTechYT thanks
@@DBTechYT sorry but how can I change file config.php when run docker exec -it nextcloud bash . because can't use nano or vim in this
@@sodapoppppp once you're in the container, run the following commands:
apt update
apt install nano
then you should be able to use nano to edit the config.php file
@@DBTechYT can u help me explain how to change volumn to stored data another disk? because now when set up success then it stored into my memory card
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
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?
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.
show us how you made every things i can't follow with
if i miss steps, i can't follow with you
thanks.
I've made videos about all of this already
how do i get this to work with my phone app and desktop app?
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."
hey i got the same error all the time after adding subdomain to ngiex proxy
Error 522: connection timed out?? I repeat the question?
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.
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!
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).
Is there any way to change default storage path for nextcloud docker container ?
Change the 'nextcloud' in the volumes to the path where you want to store your files.
volumes:
- nextcloud:/var/www/html
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.
Either of these videos should get you sorted:
czcams.com/video/7EoEll0lVXc/video.html
czcams.com/video/HkAqt6WreGQ/video.html
@@DBTechYT Thank you, DB Tech!
Is there anyway to speed up Nextcloud? I find it extremely slow
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)
so my ISP will not allow me to use port 80, how do I make my netload accessible outside my LAN?
I would probably use something like ZeroTier and access it that way.
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!
when i try to install nextcloud its show (failed to deploy a stack: app Pulling db Pulling b6e5ca4da968 )
I'd give it another shot. Sometimes weird things happen.
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?
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.
@@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
@@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?
Sorry how do I reset my admin password?
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)
try using a database password without special characters. Just use numbers and letters and see if that helps
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?
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
How do you change where the data is stored - i.e. onto a NFS share / NAS
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
@@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
In my portainer it says unable to deploy
What do your container logs say in Portainer?
@@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..
@@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.
i only came on the side the where it says welcome to nginx ... but not on nextcloud can someone help me
then you pointed nginx to the wrong place
@@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
and by sites avaiable is no nextcloud site
i have made a thread on dc when you have maybe time to help me because no one awnsering@@DBTechYT
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
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?
Sounds like you have CloudFlare set to "strict" but don't have an SSL running maybe?
@@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.
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
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
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
I'm getting the same error. Did you figure this out @Harm Meyer?
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
sounds like a database credentials issue.
@@DBTechYT I don't think so, because I left also your stack and didn't changed nothing and still have the error ;(
Then start the DB container and then wait a few minutes and then start the app container
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
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.
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
Where does nextcloud store the files you upload to it?
Wherever you set the volume in the docker-compose
@@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!
come to the point i got anger issues man
I get it. I'm not a fan of NextCloud either :)
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.
What are you talking about? Difficulty with Ubuntu 20.04 on what? What are you trying to do?
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).
Then why are you commenting on this video? This video has NOTHING to do with Chromebooks.
sorry my brother. it's so much I would like to know how I can handle the problem. last time.
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."
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.
@@DBTechYT I tried that but my drive is ntfs and from what i know 'chmod' doesn't work on ntfs drives.
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
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.
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.
@@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.
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.
@@DBTechYT Thanks David, Can you still gain access via your private IP directly?
I'm using PFsense incidentally
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.
Nextcloud 23.0.01 how to install
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.
what is dbs for pi-hole?
Well, I did have a longer comment. But what are you referring to?
@@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 ?
Look for the yobasystem db
@@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"
Forget about cloudfare
Do you propose a better solution?
Why? For what reason? What's your justification?
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.
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.
Dude.... your video says “scam” all day. W..t..f..
How does it say "scam"?
@@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.
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.
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 CZcams videos. I hope this helps clear things up for you. Have a nice day.
@@DBTechYT I do understand integrated ads. Why you would pick/record that one, is beyond me.
Can you talk like normal human? maybe drink less coffe, or dont do drugs?
This is how I talk. Not only on CZcams, 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 CZcams: 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.
@@DBTechYT don't pay attention to rude individuals like this, not worth your time. You're great man, keep it up.
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
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 :)
17:48 How do you fix “/.well-known/caldav” & “/.well-known/carddav”??
You're probably going to want to go to their Github page or Reddit to get the answers to this
@@DBTechYT I found the fix! Let me know if your interested in putting in a video!
I'd be happy to hear what your solution was. You can email me at david@dbtechreviews.com
@@DBTechYT Absolutely!