I feel like I have been banging my head against a wall trying to get this working, watching your video helped me understand what I was doing wrong. Thank you.
I think your Channel is way too underrated for the amount of help you have created. If I try to get something running the first thing I do now is to take a look if Awsome Open Source has been uploading a video to the topic. Thank you for creating such good content!
I do agree, the level of information is amazing. The one that is holding this channel back is maybe presentation and SEO strategies. I think that he's doing for fun, but if hes making this, he probably want the more people possibly watching the channel. For this he needs to amp up the edit, thumb and SEO. Again, it is an amazing channel, but it is dificult to grow outside the super tech nerds with this. Don't get me wrong, just being realistic.
Brian, I know you have a self-hosted chat url somewhere, but I cannot find it... I am trying to follow your excellent video on nextcloud aio and am having difficulties. jim
Brian, I did not know about Nextcloud AIO until I came across this video the other day. I made the necessary changes to make this work with my Raspberry PI 4 64 bit running Ubuntu 22.04. I migrated all my data over from my current Nextcloud instance with no problems. Following the video made me go and watch your other videos to get up to speed on Nginx Proxy Server and Docker. Thanks so much for the work you do. I always enjoy your videos and learn a lot. Happy New Year.
I'm a sysadmin / Network Engineer since the '90's and this video is very very well done! I'm making transition from managing KVM / GlusterFS / CEPH server clusters to containers. I'll do CKA (Certified Kubernetes Administrator) soon and i came here out of curiosity for migration of my actual Nextcloud VM to containers. Keep up the good work!
I appreciate. I do my best. And as I ask of all of my viewers when you see room for me to improve, please share it, and definitely let me know when I mess up. It happens regularly I’m sure. Best!
I think NextCloud is setting a new standard for a secure and liberating ecosystem. This is where open source shines. For people who care about keeping government and corporate predators out of their lives, open source solutions are the only solution. I am going to build my own NextCloud server soon on a self hosted server that can be mobile wherever I go.
just got done setting this up on 2 seperate PaaS and Self hosting solutions that dealt with Most configs out of the box. Each were lacking a fully fledged aspect of setup. nice to discover this all in one beast. Thanks
Thank you very much for this tutorial. I was fighting for almost a week with docker-compose settings for NGINX. You showed me how to solve finally this. Donation from Slovakia - sent.
Good day Brian. Could you please do a short video on how to sync a calendar on nextcloud using Outlook? Been trying for days, not getting it done somehow. I tried all the docs, and also YT, no luck so far
Let me see what I can do. I only use Outlook for my job, so not sure I can even access Outlook elsewhere. Maybe I can find a trial to test with. Whatever client you use, you want to make sure to setup CalDav on the client, as that's what Nextcloud calendar uses.
@@AwesomeOpenSource When you do the Zentyal video could you show us how to configure quota over LDAP correctly because Nextcloud sees the quota in bytes but Zentyal uses megabytes
Awesome video! But they recently added to their documentation cloudflare tunnel support for Nextcloud AIO, but I didn’t managed to do it. Can you please do a video on that?
Hey!, I get this error: Domain does not point to this server or the reverse proxy is not configured correctly. See the mastercontainer logs for more details. ('sudo docker logs -f nextcloud-aio-mastercontainer') I'm using Nginx Proxy Manager
I hit that when I first tried as well. I had to completely remove everything (containers, volumes, images, and try again. I had run it with a bad setting somewhere, and that was the only way to clear it but then it worked every time. Also, make sure you're putting in the proper proxy IP on the two lines in the compose file.
Nice presentation. You could have shown or mentioned on what type of hardware you are running it. i mean is it lxc (if yes privileged?) / vm, h/w specs? Somewhere in the video the info showed 4 cores / 8gb ram /40+ gb of space for all extras enabled, but it would be nice to mention it as well. Also one of the extras (Nextcloudtalk) required the user to open up a tcp/udp port (didn t mention it either)
You're correct, but I just have various VMs setup. I believe the one in the tutorial is a 4 Core / 8 GB RAM VM. The drive space there is smaller, but my production version is setup with a few terabytes of storage space. As for Talk, yes, there is a port that needs to be opened, but it can also be proxied if preferred.
I LOVE this channel. The amount of information you put out is astonishing. In following this tutorial, I'm at the point where I've brought the container up, but when I browse to the web GUI, I only get the words "Already Installed" instead of the master password/setup screen. NGINX proxy mgr works and I am able to get to NC from outside my network, but I have not set up a password to log in
The password you make for the master container is in the docker-compose / env files. So that should be set before you bring up the containers. But, presuming you've done that, and you got through the whole process already, the way you get to the master container is to stop the apache container. So something like 'docker stop nextcloud-aio-apache'. Then wait for it to stop, and try to go to the IP address of the server host, and port 8080 (if you didn't map it to another port). You should be prompted for the password for the master container. Once inside you can create backups, run updates, and so on.
@@AwesomeOpenSource Thank you! I also found a command to grab the password, if anyone else happens to run into this: sudo cat /var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json | grep password
The trick is adding disk space to any place that you are syncing. It really depends on what you sync, and from where as to whee you may need to consider additional storage. If you just mean on the server side, then you can map a data volume I imagine, to larger storage pools.
Hi Brian, I am having issues with slow performance on my Nextcloud instance. Maybe it's just me being dumb, but I followed your "Docker-CE script tutorial" closely and installed docker with portainer and nginx proxy manager. Then I installed Nextcloud AIO from this Tutorial and everything is working fine like Redis and all other things (except the performance)...
It's hard to quantify "slow" as it's a bit subjective. Can you give me some more details? What hardware are you running on, how are you accessing it (locally or over the internet)? What's the bandwidth up and down limit? What does the CPU and RAM usage look like for the containers, etc? I haven't, so far, seen any issues with slowness, but I'm not putting terabytes of data into it either.
Great video - thank you! One question: I am running Nextcloud 30.x.x on a VPS. The VPS is automatically backed up daily. Do I need to setup Nextcloud backups on the instance (AIO interface) or can I just restore the VM from it's backups if the Nextcloud breaks? Thanks 😄
I use the backup feature just backing up my full container, and restore it, and it works really well, so, it's not a bad thing to backup the data for migration needs using Borg with AIO, but the VPS backup should get you through any update woes if they arise.
@@AwesomeOpenSource Thanks for your swift reply. That's very helpful. Not using the backup feature saves an additional configuration step but it also means I can't take advantage of the automatic weekly app updater. I think I'd prefer to update the apps manually anyway so it's not really a problem. Keep up your great work, it really helps!
I've been using AIO since it was announced. I don't use Collabora and instead use the OnlyOffice choice (also in AIO) because my server isn't that powerful and Collabora uses a lot of server-side compared to OnlyOffice.
Great video! I can't do anything related to accessing Nextcloud from outside my home network because my ISP blocks all inbound traffic. I'm not able to run a home webserver or anything else where I would be contacting from outside unfortunately. I could pay for a static IP to get around that but really don't want to pay the extra money.
Indeed. @szaimen is right, and you could also try a cheap VPS at $4 - $6 US a month, and host Netmaker or Selfhosted Gateway to use Wireguard for reverse proxying. I'm releasing on video on this topic soon.
Hi Brian.... And again. Please tell me to get lost if I am to "busy" here... I installed on local HP 360 g7 server, running 2.7 TB raid 5. I created a primary hdd of 100G, and installed NExtcloud there. Now I cannot find how to add the rest of the 2.7TB as storage into Nextcloud... Anyone any ideas please...
@ 31:40 ? When U download a File;... Document... Can it B opened with OpenOffice... ... I ask because when I used CRAP Google Drive;... they failed to open up after download back 2 my PC... ... From memory unless U installed something from Google... I HATE Google... It's my my PC;... but Google have;... use so many COOKIES as though they own your PC Files & Documents
Hi. I am walking through your build a business on Open Source. First I want to say I love it!! YES PLEASE AND MORE PLEASE are a few words that come to mind. I am having an issue though. I keep hearing this same line in a few of the videos "I have already done a video on that and the link will be in the show notes" I was wondering if you thought about adding those videos into this playlist? Specifically the docker and docker tips, reverse proxy, and portainer (specifically speaking about this video) It is probably a huge ask but I was wanting to walk through these steps in kind of a dumby proof way. (obviously I know a bit or I wouldn't want to be here doing this) just a sugestion. Or even create a seperate playlist for the full "in a box" feel LOL.
@@AwesomeOpenSource I think they do. if not, maybe a second one (for dummies LOL) could be made. I have prox up and went back and completed your script to install docker, port, nginx so I feel great about this. You are more than awesome! I appreciate all your work and I don't use that term losely! Thank you for following up!
Hi! Very nice tutorial but i got an error ERROR: yaml.scanner.ScannerError: while scanning a simple key in "./docker-compose.yml", line 13, column 1 could not find expected ':' in "./docker-compose.yml", line 14, column 1 I just copy and past create the yml file and tyhen got this error Can you please help me! Thanks for this great video.
Some others have seen this. There is something odd in copy paste of the compose file, so they just typed it, or got the compose from the project page, and it seemed to solve the issue.
This worked for me : version: "3.8" volumes: nextcloud_aio_mastercontainer: name: nextcloud_aio_mastercontainer # This line is not allowed to be changed services: nextcloud: image: nextcloud/all-in-one:latest # Must be changed to 'nextcloud/all-in-one:latest-arm64' when used with an arm64 CPU restart: always container_name: nextcloud-aio-mastercontainer # This line is not allowed to be changed volumes: - nextcloud_aio_mastercontainer:/mnt/docker-aio-config # This line is not allowed to be changed - /var/run/docker.sock:/var/run/docker.sock:ro # May be changed on macOS, Windows or docker rootless. See the applica> ports: #- 80:80 # Can be removed when running behind a reverse proxy. See github.com/nextcloud/all-in-one/blob/main/> - 812:8080 # 8443:8443 # Can be removed when running behind a reverse proxy. See github.com/nextcloud/all-in-one/blob/ma> environment: # Is needed when using any of the options below - APACHE_PORT=11000 # Is needed when running behind a reverse proxy. See github.com/nextcloud/all-in-one/blob> - APACHE_DISABLE_REWRITE_IP=1 - NEXTCLOUD_TRUSTED_DOMAINS=nc.smartjwan.com 192.168.100.104 - TRUSTED_PROXIES=< 192.168.100.104 #my local srv ip
The mastercontainer really setus up the rest of the nextcloud install, so you'll have to look at how it's going to assign those ports, but the way I've done it, you shouldn't have to change it I don't believe.
Love this tutorial, Brian. I tried to get it running in "Docker Swarm“ with Portainer GUI and unfortunately failed. Do you have any further info how we can get this to work? Many thanks.
No, I'd have to check their docs and see if they have anything about docker swarm. I only know the docker-compose to start the master-container, then letting it do the work for starting all the others.
Thanks for a great video. Your script to install docker CE, Portainer etc was very useful so thanks. However, I just could not get this to work was coming up with line errors. Once i managed to get rid of them it then gave me socket errors so I am just guessing this no longer works. Might be worth revisiting at some point if you have the time. Thanks anyway.
I continue to use this method with no issues. I will say it's very finicky at times. If you'll go over to discuss.opensourceisawesome.com maybe we can help you. Just post your errors in #help-me-please channel.
I can confirm it works. How i got it to work was on your website I used View source and took the raw compose data from the html. I then used your script to install Portainer and docker Ce etc. Then in Portainer I used a stack to create the AIO master container and it works great. Also just to add that script you made is just awesome. Thank you for your hard work. Much appreciated.
Thank you for the great videos. I followed these instructions, but when I ran the docker-compose and checked the logs, I received error message for the last 3 environmental variables. The log stated, "The environmental variable "APACHE_DISABLE_REWRITE_IP=1" has been set which is not supported by AIO". Also received for the trusted domains and proxies. Installing latest AIO. Any ideas?
I don't know personally, but maybe this is a good starting point. docs.nextcloud.com/server/latest/admin_manual/configuration_files/primary_storage.html
I tried this along with the information on your wiki. Ubuntu 20.04 selected while running your script.. then I go to the next command where you run docker-compose.. and it says no such program... I tried to sign in/create account on your wiki so I could message you.. and that doesnt work either. checked my spam folder too.. no reset password email came.. couldnt sign up for a new account either. NOT trying to complain.. just really need some help. how can I reach you?
You can reach out at discuss.opensourceisawesome.com and post in the #help-me-please channel. I or someone there will try to help you. Did you run the script from my GitLab?
Informative video, Brian. Quick question though. What if I have a specific folder where I want to save all of my NC data. Where in this setup am I expected to enter that info? I don't want my data to be saved in some default Portainer location on my host machine. Cheers!
For that you probably want to setup your Nextcloud stuff with the non AIO setup. This is really going to use default (preset) locations. Mapped volumes, but no way to set them before hand that I can see. It can be done, but still a manual change after initial setup is done. Here's a link to the method proposed by someone that knows more about it than me. github.com/nextcloud/all-in-one/discussions/890#discussioncomment-3089903
Nice video! I have one question me and my friend have nextcloud aio running on ubuntu server, we have 1 ssd (120gb) which is running nextcloud on, and 2 500gb hard drives which we want nextcloud to use, how do we make those 2 hard disks be used for storage on nextcloud. And I want that one of the hard disks to be backup, for example I the same thing that is uploaded to the other hard disk, I want it to be uploaded to the other one as backup :)
I think this is a better question over on the Nextcloud forums. I'm not sure how to go about it, and it depends on some other parts of your setup I'm sure.
Can I setup this on VPS which is already running WHM on it? I'm using VPS from contabo and using whm on it for my hostings. I am already using NextCloud which was installed by web installer on cPanel but I can't make calls because stun server is required for it. So is there way I can install Stun server along with WHM or can I use docker as well along with WHM... Please help so that I can keep running my WHM + NextCloud
@@AwesomeOpenSource I can open the ports, but I am having confusion about STURN server, do I have to install docker on VPS or STUN server directly on it
How much does it cost, if I don't have a local machine running? I'm tempted to move away from Google and others, but I need a cloud solution (NAS or similars are not options for me). So I need about 1TB of storage on some cloud: how much does it cost? Where can I find more informations?
Most of the VPS providers are going to be really expensive on that size storage. Even with object storage IMO. I have used SSDNodes for years. The machine is a bit slower, but slo has more storage that comes with it. I have never had any issues with them personally, and still use them for my Rocket.chat and wiki show notes. If you want to try them out, I have an affiliate link in the description.
I am stuck in a condition where the Nextcloud container status is Starting. I checked the log, it says "Installing imagemagick via apk..." It's been a day and doesn't make any progress. Any thoughts?
Sorry you're having issues. I'd say, just rm the docker containers, including the mastercontainer, and try it again. Sometimes that's all you need. You might also get the current volumes and images, and remove them, and just let docker try again.
Thanks very much for the video! I just installed NC AIO today, but the stable channel is at NC Hub 2 - NC 24.0.7. This seems rather outdated as NC Hub 3 was released several months ago at the end of September. Is this correct? Do you have any idea when they NC AIO will update to NC Hub 3?
I tried to get Nextcloud running on unraid, and it mostly works, but there is a file upload limit that I cannot change. Will that be a problem with this installation method? Also, since I already have an unraid server up and running, can Nextcloud point to the that server to use as the cloud storage? That would make it easier to just set up Proxmox on an older machine and just create and point to a share.
for the file upload limit, I would say you may have to adjust configurations inside the container. You'd want those volumes mounted ideally so you wouldn't have to change them every time you update though. Nextcloud, through normal install, may be a better route if you're needing to make changes like that.
@@AwesomeOpenSource I tried changing the upload limit using all the documentation I could find. The area where the limit is adjusted is grayed out. Otherwise I’d be perfectly happy with it.
Love your videos having used them to install several remote programs. Now trying to install Nextcloud and getting something I have never seen and can't figure out. I created docker-compose.yml per your instructions. When trying to run docker-compose up -d && docker-compose logs -f I get the following line immediately: parsing /home/julian/docker/nextcloud/docker-compose.yml: yaml: line 13: could not find expected ':' Can you help with this please.
There's a weird character in my yaml that I can't seem to get rid of. I think several poeple have just re-typed it, or re-typed the lines around 13 and line 13 itself to resolve it. I'm just not sure what it's picking up. I've tried to fix it a few times.
Hi Brian, for some reason I'm getting this message "Domain does not point to this server or the reverse proxy is not configured correctly. See the mastercontainer logs for more details. ('sudo docker logs -f nextcloud-aio-mastercontainer')" when I try to add the domain for Nextcloud AIO to check. Funny enough, everything is working between nginx because if I access the domain it redirects for the instalation page!! Ideias? Thanks
I hit this the first time. I ended up having to just delete the containers and volumes, then re run the setup. When I did, it started working without issue. It seemed I made a mistake and it was cached somewhere.
@@AwesomeOpenSource thanks for answer, I took 1h around a solution also tried that and just ended now for installing the agent and acess with portainer and ignore the domain check EDIT: The login is blocked since Nextcloud is running. Please use the automatic login from your Nextcloud. If that is not possible, you can unblock the login by running sudo docker stop nextcloud-aio-apache Did you got this also? Even if I stop the apache the pw generated doens't work
For some reason the copy paste from my show notes creates this for some people. I think most people just remove it, and type it manually to fix the issue.
Hi Brian. Me again..lol. SSorry to bug you, but I developed faith in your abbility, and at least you respond to questions 🙂. I am getting this error when trying to upload large files to the FTP folder we created for a client: Error when assembling chunks, status code 504 I have googled and searched for hours, but nowhere is there a step-by-step guide to fix this. Any assistance would be greatly appreciated!
Hello Brian. Thanks for this great video. I would like to ask you something about adding external storage device to nextcloud. I add environment for external storage in docker-compose. Activated external storage app and directed it to my storage device successfully. but had to give permission 777 for the external storage's directory to upload files. I couldn't find the default uid and gid to giving ownership to my external storage device's directory. Is there anyway to find out the ownership ? I want to set the permission 750.
That's probably more of a question for the Nextcloud folks. I've just done 777 on mine (which isn't great). As for the GID and UID you may be able to set PGID and PUID (usually 1000, but not always), in the compose file.
You can build either of those projects without that hard set limitation, but in reality we are using a community / development version, so they put the limitation to make the best user experience. If you want scale, you can talk to them about the "Enterprise" version, which is a different build, and made to run better at scale. It also supports the ongoing open source efforts.
I believe you can change the port mapping in the AIO docker compose file or .env file. That's where you should start. I believe you'll want that setup for the Apache web server.
@@AwesomeOpenSource Thank you for your tuts nextcloud aio in docker, completly run, but many service need more ram -_-. i want to ask, can nginx proxy connect to cloudflare? if i will setup server with home pc without ip public. next want to deploy wordpress with another sub domain. cheers !😁
I have tried to get the docker-compose to work but I keep getting the following error. yaml: line 14: could not find expected ':' I have checked it over several times and compared it to yours and I cannot find the issue. I copied the information from the show notes and made the changes for the fqdn and proxy host. I need help. LOL
Yeah, there is something weird in the formatting. Most have just retyped the line and maybe one below and above it. I can’t find what it is, but once they redo it, it seems to work for them.
@@AwesomeOpenSource Thank you so much.. this helped me as well. I was going crazy.. I even installed a fresh Ubuntu thinking something else was interfering..
Looks like this doesn't work with having your own docker network. Sad day. Used that to assign a static address to the reverse proxy. Edit: Actually no, appears to not work with the reverse proxy in a separate docker container but still on the same machine. Rough times
I appreciate the offer, I don't do any contract work right now, as I barely have time to make the videos, and have a full time job, and keep up with my family. You can always reach out directly to the nextcloud folks, or jump over to discuss.opensourceisawesome.com and post in the "helpl-me-please" channel,a nd usually people get a response within a few hours if not minutes. I know they helped someone just last night with NextCloud AIO.
Odd mix of skills. He in detail explains the makedir cmd, and how to exit nano, but then glosses over the web proxy. If someone is setting up proxy servers, I think they know basic linux cmds. But great info, thanks for sharing.
You would think that, but a lot of people are windows users, and are very comfortable with GUIs, yet very unfamiliar with the shell still. I do, however have several videos that explain NGinX Proxy Manager, and try to mention that in most videos. I’ll do my best to keep this in mind for future videos though. I appreciate the feedback.
The real problem I have with this software is the update process…. And nobody shows how to do that part… everyone teaches how to install but not how to properly update. I have a plug-in once for the sting and when I tried to update I ended up with an unusable software….if I had real things everything would have been lost. I’m now trying with the AIO solution running in a VM…even if I could update it regularly without any issues it’s not totally hassle free….
I understand your issues with the update process. That's why I like the docker route, easy to backup the data, and easy to go back to a previous version if needed. I'm hopeful the button on the MasterContainer that tells you there's an update, will actually perform a good update...of course, backing up data first is always a must.
@@AwesomeOpenSource with the VM route from the official Nextcloud site it also ends with the AIO solutions and the update from that consol page so far wen smoothly, the problem is that some time that aio page is not accessible and I need to use the console of the VM to stop and start one of the containers….
As someone who uses this to support businesses... 1) backups 2) you need minimum 2 instances 3) locate files outside of the docker container 4) require a vpn to see it or zerotier type config. 5) snapshots ( I use lxc on proxmox) doing this and switch to your secondary instance when upgrading you can have no downtime. I also only upgrade twice a year unless there is a major security issue.
@@ImAManMann my plan is using external storage features, I did not set up backups as of now because I’m only testing it with no real data… I’m trying to learn hot to manage it and it’s not all that simple to maintain as some other open source software I’m currently using…. I do this only for my home so I have limited experience
I have mine running in a container on ProxMox. Since my instance is so large I have to use command line to perform the upgrades as the WebGUI will time out after awhile. Seems this is the most reliable way of upgrading and it's easy too! I run the upgrade command inside NextCloud folder. Adjust for the version of php you have: sudo -u www-data php7.4 updater/updater.phar --no-interaction
@@AwesomeOpenSource That link works the one underneath the video dont work. Links on yourube when they are long usally gets corrupted. Thx man great work as always.
Not sure on the white-labeling of NextCloud actually. Never had anyone ask, and never thought to check into it. I think the nextcloud team would be better to answer your question. You can ask on their community here help.nextcloud.com/
no such option available as its open source but for testing purpose preparing to overtake other companies in erp, but next cloud is really impressive@@AwesomeOpenSource
I just got the most recent update to Nextcloud musing this. The updates are pretty easy. If you don’t like this method, you can definitely install it using the Snap, or manually using PHP, a web server, and MySQL. Done it that way in the past and it worked wonderfully that way as well.
I had problems with some lines but I ended up using a YAML Validator, also I had more problems in the AIO setting up the domain nc.routermehome.... and I solve it by opening port 443 on my firewall, now I have this issue and I'm stuck after running the containers: psql: error: connection to the server at "nextcloud-aio-database" (172.20.0.5), port 5432 failed: FATAL: password authentication failed for user "oc_nextcloud" also says that the database doesn't exist and the user role as well (I just have apache and nextcloud in yellow) I also posted this with screenshots your discuss chat Awesome Open Source (editing: I was able to fix everything with a fresh install, I just went to Awesome Open Source chat website and I got help right away) This guy is the best.
Glad you got the YAML worked out. I had to basically remove everything (stop containers and delete them, then delete the associated volumes) and then just re-run it to get everything to work on one of my attempts. So, if something got set wrong, the volume may be persisting that bad setting.
Thank you for a great instructional video. I do have a problem though.... The yml file for the nextcloud install gives me constant erros all the time, could you please assist... Error when running docker-compose up -d: yaml: line 14: could not find expected ':' even if I use your file ass is, it does this 😞 Yml content: version: "3.8" volumes: nextcloud_aio_mastercontainer: name: nextcloud_aio_mastercontainer services: nextcloud: image: nextcloud/all-in-one:latest restart: unless-stopped container_name: nextcloud-aio-mastercontainer volumes: - nextcloud_aio_mastercontainer:/mnt/docker-aio-config - /var/run/docker.sock:/var/run/docker.sock:ro ports: - 8080:8080 # change the port on the left side if it's already in use on your h> environment: - APACHE_PORT=11000 # change this port number if 11000 is already in use on yo> - APACHE_DISABLE_REWRITE_IP=1 - NEXTCLOUD_TRUSTED_DOMAINS=ftp.######.com 192.168.0.125 # Your domain name + p> - TRUSTED_PROXIES=< 192.168.0.125 # proxy host IP
You may just need to remove that line, and re-enter it. I think a few people had to do that, down further in the comments. Not sure why it doesn't like it when it's copied and pasted.
Brother I love your video a lot and quickly i become your one of the subscriber 🙌 I have few other doubts so, i like to contact you personally brother...
When running the Docker-compose command, I get the following error: ERROR: yaml.scanner.ScannerError: while scanning a simple key in "./docker-compose.yml", line 12, column 1 could not find expected ':' in "./docker-compose.yml", line 13, column 1 My docker-compose.yml looks exactly like yours, except for the stuff you wanted me to change. If you can, please help...
This is line 12 & 13: - nextcloud_aio_mastercontainer:/mnt/docker-aio-config # DO NOT CHANGE THIS MAPPING - /var/run/docker.sock:/var/run/docker.sock:ro
@@AwesomeOpenSource Having the same issue too. I took out the comments and it's still giving the same error - update... working now... just retyped it all and not used the copy paste... lol
Yep, following the Nextcloud documentaiton gives the error: "Domain does not point to this server or reverse proxy not configured correctly" like everyone gets it, I guess... Leading to a documentation that goes from holding your hand to something like smokey ideas without any detail. And following yours gives : " ERROR: yaml.scanner.ScannerError: while scanning a simple key in "./docker-compose.yml", line 13, column 1 could not find expected ':' in "./docker-compose.yml", line 14, column 1 " For the first problem, no one seems to be able to solve it and explain simply, like ON THE PLANET Making me feel, again, like Nextcloud team just don't K4r3 For the second, nothing exists. And I'm wondering why and how we came to a point where setting up an app has become so hasardous and erratic. Why the world of docker is such a pain, instead of being simplier than before.
So, the error you get from my file appears to be some weird thing happening from copy / paste. You may try to re-type that line, and make sure there are no odd characters in it from the copy / paste. I know a lot of people had issues, and after making the line manually, it was working better.
I feel like I have been banging my head against a wall trying to get this working, watching your video helped me understand what I was doing wrong. Thank you.
Super glad it helped.
I think your Channel is way too underrated for the amount of help you have created. If I try to get something running the first thing I do now is to take a look if Awsome Open Source has been uploading a video to the topic. Thank you for creating such good content!
I appreciate that, and I'm glad my videos help.
@@AwesomeOpenSource wait do you also the awesome open source lists I see all the time on Github??
I do agree, the level of information is amazing.
The one that is holding this channel back is maybe presentation and SEO strategies.
I think that he's doing for fun, but if hes making this, he probably want the more people possibly watching the channel.
For this he needs to amp up the edit, thumb and SEO.
Again, it is an amazing channel, but it is dificult to grow outside the super tech nerds with this.
Don't get me wrong, just being realistic.
@@user-cw5nv6eq1v No No, that's someone else.
Brian, I know you have a self-hosted chat url somewhere, but I cannot find it... I am trying to follow your excellent video on nextcloud aio and am having difficulties. jim
Brian, I did not know about Nextcloud AIO until I came across this video the other day. I made the necessary changes to make this work with my Raspberry PI 4 64 bit running Ubuntu 22.04. I migrated all my data over from my current Nextcloud instance with no problems. Following the video made me go and watch your other videos to get up to speed on Nginx Proxy Server and Docker. Thanks so much for the work you do. I always enjoy your videos and learn a lot. Happy New Year.
Thank you, and glad I was able to give you some entertainment, and maybe some self hosting ideas. Happy New Year.
Omg after a week of trying to get this installed your method worked flawlessly thank you very much you have a great day or night!!! Big props
Glad it helped
I'm a sysadmin / Network Engineer since the '90's and this video is very very well done! I'm making transition from managing KVM / GlusterFS / CEPH server clusters to containers. I'll do CKA (Certified Kubernetes Administrator) soon and i came here out of curiosity for migration of my actual Nextcloud VM to containers. Keep up the good work!
I appreciate. I do my best. And as I ask of all of my viewers when you see room for me to improve, please share it, and definitely let me know when I mess up. It happens regularly I’m sure. Best!
@@AwesomeOpenSource Cool! I'll share infos if it can add to the subject!
So far this channel is one of the best.
Thanks so much! I appreciate that.
I think NextCloud is setting a new standard for a secure and liberating ecosystem. This is where open source shines. For people who care about keeping government and corporate predators out of their lives, open source solutions are the only solution. I am going to build my own NextCloud server soon on a self hosted server that can be mobile wherever I go.
Awesome concept!
I have been looking for a channel like this, love it!
You have one of best channel. Lovely in Simple English.
Wow, thank you!
just got done setting this up on 2 seperate PaaS and Self hosting solutions that dealt with Most configs out of the box. Each were lacking a fully fledged aspect of setup. nice to discover this all in one beast. Thanks
Glad it helped
Fantastic, your film has been very useful! very happy with it! keep it up ! thank you for your time spent on this for user like me.
My pleasure, and I hope it's helpful.
I stumbled over this after building a nextcloud backed cloud storage company. Pretty cool stuff man
Very cool stuff. Love that you built a business around open source software.
Your videos really help in my JOB life
Love & support from India 🇮🇳
Thank you so much
I've been waiting on an updated AIO video for a couple months now, thanks!
Hope you enjoyed it!
This is the kind of content I wish youtube was all about
Thank you my friend.
Thank you very much for this tutorial. I was fighting for almost a week with docker-compose settings for NGINX.
You showed me how to solve finally this.
Donation from Slovakia - sent.
Thank you so much!
Nginx Proxy Mánager (NPM) its the best option
I just discovered your channel. This is absolutely great!
Thank you so much!
We have been using Odoo for ERP and CRM, just now we are planning to move enterprise from community version.
I'll be covering Odoo in the future for this series. Looks like great stuff.
Good day Brian. Could you please do a short video on how to sync a calendar on nextcloud using Outlook? Been trying for days, not getting it done somehow. I tried all the docs, and also YT, no luck so far
Let me see what I can do. I only use Outlook for my job, so not sure I can even access Outlook elsewhere. Maybe I can find a trial to test with. Whatever client you use, you want to make sure to setup CalDav on the client, as that's what Nextcloud calendar uses.
Hello, is there a ecommerce docker container that could be use for a small business? Love to see a video on this.
I've got a few that I'm actively looking into, and will cover one or two in upcoming videos.
Nextcloud is great! I’ve been syncing accounts from Zentyal with LDAP.
That is awesome!
@@AwesomeOpenSource When you do the Zentyal video could you show us how to configure quota over LDAP correctly because Nextcloud sees the quota in bytes but Zentyal uses megabytes
I'll try to keep it in mind.
Awesome video! But they recently added to their documentation cloudflare tunnel support for Nextcloud AIO, but I didn’t managed to do it. Can you please do a video on that?
Let me see what I can come up with...haven't tried with Cloudflare.
Hey!, I get this error: Domain does not point to this server or the reverse proxy is not configured correctly. See the mastercontainer logs for more details. ('sudo docker logs -f nextcloud-aio-mastercontainer')
I'm using Nginx Proxy Manager
I hit that when I first tried as well. I had to completely remove everything (containers, volumes, images, and try again. I had run it with a bad setting somewhere, and that was the only way to clear it but then it worked every time. Also, make sure you're putting in the proper proxy IP on the two lines in the compose file.
Nice presentation. You could have shown or mentioned on what type of hardware you are running it. i mean is it lxc (if yes privileged?) / vm, h/w specs? Somewhere in the video the info showed 4 cores / 8gb ram /40+ gb of space for all extras enabled, but it would be nice to mention it as well. Also one of the extras (Nextcloudtalk) required the user to open up a tcp/udp port (didn t mention it either)
You're correct, but I just have various VMs setup. I believe the one in the tutorial is a 4 Core / 8 GB RAM VM. The drive space there is smaller, but my production version is setup with a few terabytes of storage space. As for Talk, yes, there is a port that needs to be opened, but it can also be proxied if preferred.
I LOVE this channel. The amount of information you put out is astonishing. In following this tutorial, I'm at the point where I've brought the container up, but when I browse to the web GUI, I only get the words "Already Installed" instead of the master password/setup screen. NGINX proxy mgr works and I am able to get to NC from outside my network, but I have not set up a password to log in
The password you make for the master container is in the docker-compose / env files. So that should be set before you bring up the containers. But, presuming you've done that, and you got through the whole process already, the way you get to the master container is to stop the apache container. So something like 'docker stop nextcloud-aio-apache'. Then wait for it to stop, and try to go to the IP address of the server host, and port 8080 (if you didn't map it to another port). You should be prompted for the password for the master container. Once inside you can create backups, run updates, and so on.
@@AwesomeOpenSource Thank you! I also found a command to grab the password, if anyone else happens to run into this:
sudo cat /var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json | grep password
Could you do a follow-up video? Need to cover adding disk space to NextCloud.
The trick is adding disk space to any place that you are syncing. It really depends on what you sync, and from where as to whee you may need to consider additional storage. If you just mean on the server side, then you can map a data volume I imagine, to larger storage pools.
Hi Brian, I am having issues with slow performance on my Nextcloud instance. Maybe it's just me being dumb, but I followed your "Docker-CE script tutorial" closely and installed docker with portainer and nginx proxy manager. Then I installed Nextcloud AIO from this Tutorial and everything is working fine like Redis and all other things (except the performance)...
It's hard to quantify "slow" as it's a bit subjective. Can you give me some more details? What hardware are you running on, how are you accessing it (locally or over the internet)? What's the bandwidth up and down limit? What does the CPU and RAM usage look like for the containers, etc? I haven't, so far, seen any issues with slowness, but I'm not putting terabytes of data into it either.
I use it in a docker on the raspberrypi and its slow but it works, i use it for contact and a calendar
That's Awesome!
Great video - thank you!
One question:
I am running Nextcloud 30.x.x on a VPS. The VPS is automatically backed up daily.
Do I need to setup Nextcloud backups on the instance (AIO interface) or can I just restore the VM from it's backups if the Nextcloud breaks?
Thanks 😄
I use the backup feature just backing up my full container, and restore it, and it works really well, so, it's not a bad thing to backup the data for migration needs using Borg with AIO, but the VPS backup should get you through any update woes if they arise.
@@AwesomeOpenSource Thanks for your swift reply.
That's very helpful. Not using the backup feature saves an additional configuration step but it also means I can't take advantage of the automatic weekly app updater. I think I'd prefer to update the apps manually anyway so it's not really a problem.
Keep up your great work, it really helps!
I've been using AIO since it was announced. I don't use Collabora and instead use the OnlyOffice choice (also in AIO) because my server isn't that powerful and Collabora uses a lot of server-side compared to OnlyOffice.
Great to have multiple options for sure.
Great video! I can't do anything related to accessing Nextcloud from outside my home network because my ISP blocks all inbound traffic. I'm not able to run a home webserver or anything else where I would be contacting from outside unfortunately. I could pay for a static IP to get around that but really don't want to pay the extra money.
A cloudflare tunnel would probably work for you
@@szaimen8935 I'll look into that, thank you!
Indeed. @szaimen is right, and you could also try a cheap VPS at $4 - $6 US a month, and host Netmaker or Selfhosted Gateway to use Wireguard for reverse proxying. I'm releasing on video on this topic soon.
@@AwesomeOpenSource Thanks for the info! I'll be looking forward to that video.
@@szaimen8935 It worked! Thank you so much for the suggestion.
Hi Brian.... And again. Please tell me to get lost if I am to "busy" here...
I installed on local HP 360 g7 server, running 2.7 TB raid 5. I created a primary hdd of 100G, and installed NExtcloud there. Now I cannot find how to add the rest of the 2.7TB as storage into Nextcloud... Anyone any ideas please...
I think theere was someone in a comment further down that added another location, but I'll have to search through to find it.
I would like to add the remaining space on the same server... tx Brian
Check out this link, i think it will help. github.com/nextcloud/all-in-one/discussions/890#discussioncomment-3089903
@ 31:40
? When U download a File;... Document...
Can it B opened with OpenOffice...
...
I ask because when I used CRAP Google Drive;... they failed to open up after download back 2 my PC...
...
From memory unless U installed something from Google...
I HATE Google... It's my my PC;... but Google have;... use so many COOKIES as though they own your PC Files & Documents
Yes, the file can be opened locally without issue. I do this quite a bit.
@@AwesomeOpenSource ...
That is GR8 news;... many thanks...
Love your videos.
Thank you so much!
Hi. I am walking through your build a business on Open Source. First I want to say I love it!! YES PLEASE AND MORE PLEASE are a few words that come to mind. I am having an issue though. I keep hearing this same line in a few of the videos "I have already done a video on that and the link will be in the show notes" I was wondering if you thought about adding those videos into this playlist? Specifically the docker and docker tips, reverse proxy, and portainer (specifically speaking about this video)
It is probably a huge ask but I was wanting to walk through these steps in kind of a dumby proof way. (obviously I know a bit or I wouldn't want to be here doing this) just a sugestion. Or even create a seperate playlist for the full "in a box" feel LOL.
Not a bad idea. Should have thought of it myself. Let me find those and get them added. I’m sure (maybe) TH-cam has a way to re-order a playlist.
@@AwesomeOpenSource I think they do. if not, maybe a second one (for dummies LOL) could be made. I have prox up and went back and completed your script to install docker, port, nginx so I feel great about this. You are more than awesome! I appreciate all your work and I don't use that term losely! Thank you for following up!
Hi!
Very nice tutorial but i got an error
ERROR: yaml.scanner.ScannerError: while scanning a simple key
in "./docker-compose.yml", line 13, column 1
could not find expected ':'
in "./docker-compose.yml", line 14, column 1
I just copy and past create the yml file and tyhen got this error
Can you please help me! Thanks for this great video.
I received the error when bringing compose up…. Please assist…
Some others have seen this. There is something odd in copy paste of the compose file, so they just typed it, or got the compose from the project page, and it seemed to solve the issue.
This worked for me :
version: "3.8"
volumes:
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer # This line is not allowed to be changed
services:
nextcloud:
image: nextcloud/all-in-one:latest # Must be changed to 'nextcloud/all-in-one:latest-arm64' when used with an arm64 CPU
restart: always
container_name: nextcloud-aio-mastercontainer # This line is not allowed to be changed
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config # This line is not allowed to be changed
- /var/run/docker.sock:/var/run/docker.sock:ro # May be changed on macOS, Windows or docker rootless. See the applica>
ports:
#- 80:80 # Can be removed when running behind a reverse proxy. See github.com/nextcloud/all-in-one/blob/main/>
- 812:8080
# 8443:8443 # Can be removed when running behind a reverse proxy. See github.com/nextcloud/all-in-one/blob/ma>
environment: # Is needed when using any of the options below
- APACHE_PORT=11000 # Is needed when running behind a reverse proxy. See github.com/nextcloud/all-in-one/blob>
- APACHE_DISABLE_REWRITE_IP=1
- NEXTCLOUD_TRUSTED_DOMAINS=nc.smartjwan.com 192.168.100.104
- TRUSTED_PROXIES=< 192.168.100.104 #my local srv ip
Hello Brian, this video is well created and thanks for that. Which Home Lab software are you using as showing on the tract 19 min 12 sec ?
NGinX Proxy Manager. It's how I move requests for sites around my LAN.
Thank you so much! If Nginx Proxy Manager it is in the same host docker compose file is different?
The mastercontainer really setus up the rest of the nextcloud install, so you'll have to look at how it's going to assign those ports, but the way I've done it, you shouldn't have to change it I don't believe.
Love this tutorial, Brian. I tried to get it running in "Docker Swarm“ with Portainer GUI and unfortunately failed. Do you have any further info how we can get this to work? Many thanks.
No, I'd have to check their docs and see if they have anything about docker swarm. I only know the docker-compose to start the master-container, then letting it do the work for starting all the others.
Thanks for a great video. Your script to install docker CE, Portainer etc was very useful so thanks. However, I just could not get this to work was coming up with line errors. Once i managed to get rid of them it then gave me socket errors so I am just guessing this no longer works. Might be worth revisiting at some point if you have the time. Thanks anyway.
I continue to use this method with no issues. I will say it's very finicky at times. If you'll go over to discuss.opensourceisawesome.com maybe we can help you. Just post your errors in #help-me-please channel.
I will try again on a clean Ubuntu install@@AwesomeOpenSource
I can confirm it works. How i got it to work was on your website I used View source and took the raw compose data from the html. I then used your script to install Portainer and docker Ce etc. Then in Portainer I used a stack to create the AIO master container and it works great. Also just to add that script you made is just awesome. Thank you for your hard work. Much appreciated.
Super glad you got it working!
Thank you for the great videos. I followed these instructions, but when I ran the docker-compose and checked the logs, I received error message for the last 3 environmental variables. The log stated, "The environmental variable "APACHE_DISABLE_REWRITE_IP=1" has been set which is not supported by AIO". Also received for the trusted domains and proxies. Installing latest AIO. Any ideas?
No, I haven't run across that. Sorry.
hello, same issue here, did you find a solution?
So how would i tell this to mount s3 storage as the main root for user files. The external storage app only makes a folder at the root user home.
I don't know personally, but maybe this is a good starting point. docs.nextcloud.com/server/latest/admin_manual/configuration_files/primary_storage.html
If you have a domain listed on Cloudflare, can you still list the domain on Proxy Manager to set up the reverse Proxy?
Yes. I don't recall how you get it all wired up, and I think you have to turn off proxying on cloudflare to do ti.
I tried this along with the information on your wiki. Ubuntu 20.04 selected while running your script.. then I go to the next command where you run docker-compose.. and it says no such program... I tried to sign in/create account on your wiki so I could message you.. and that doesnt work either. checked my spam folder too.. no reset password email came.. couldnt sign up for a new account either. NOT trying to complain.. just really need some help. how can I reach you?
You can reach out at discuss.opensourceisawesome.com and post in the #help-me-please channel. I or someone there will try to help you. Did you run the script from my GitLab?
Informative video, Brian.
Quick question though. What if I have a specific folder where I want to save all of my NC data. Where in this setup am I expected to enter that info? I don't want my data to be saved in some default Portainer location on my host machine.
Cheers!
For that you probably want to setup your Nextcloud stuff with the non AIO setup. This is really going to use default (preset) locations. Mapped volumes, but no way to set them before hand that I can see. It can be done, but still a manual change after initial setup is done. Here's a link to the method proposed by someone that knows more about it than me. github.com/nextcloud/all-in-one/discussions/890#discussioncomment-3089903
Nice video! I have one question me and my friend have nextcloud aio running on ubuntu server, we have 1 ssd (120gb) which is running nextcloud on, and 2 500gb hard drives which we want nextcloud to use, how do we make those 2 hard disks be used for storage on nextcloud. And I want that one of the hard disks to be backup, for example I the same thing that is uploaded to the other hard disk, I want it to be uploaded to the other one as backup :)
I think this is a better question over on the Nextcloud forums. I'm not sure how to go about it, and it depends on some other parts of your setup I'm sure.
Can I setup this on VPS which is already running WHM on it? I'm using VPS from contabo and using whm on it for my hostings. I am already using NextCloud which was installed by web installer on cPanel but I can't make calls because stun server is required for it. So is there way I can install Stun server along with WHM or can I use docker as well along with WHM... Please help so that I can keep running my WHM + NextCloud
I'm just not sure if you're having to use cPanel. And for Talk, you need to expose a specific port as well.
@@AwesomeOpenSource I can open the ports, but I am having confusion about STURN server, do I have to install docker on VPS or STUN server directly on it
how about install turn server for talk sir
can we install it on the same nextcloud's container?
I have a Coturn video already. th-cam.com/video/eZ9Jrxy6NVM/w-d-xo.htmlsi=PT9B9lgTdFgKTDc-, Hope it helps.
19:58 lol your firewall only knows control ports... :D
Can you help with the iptables firewall rules for this serverr?
Maybe, what are you running into?
How much does it cost, if I don't have a local machine running?
I'm tempted to move away from Google and others, but I need a cloud solution (NAS or similars are not options for me).
So I need about 1TB of storage on some cloud: how much does it cost? Where can I find more informations?
Most of the VPS providers are going to be really expensive on that size storage. Even with object storage IMO. I have used SSDNodes for years. The machine is a bit slower, but slo has more storage that comes with it. I have never had any issues with them personally, and still use them for my Rocket.chat and wiki show notes. If you want to try them out, I have an affiliate link in the description.
@@AwesomeOpenSource thank you for your reply. Yes cost may be a barrier. I'll have a look SSDNodes too.
I am stuck in a condition where the Nextcloud container status is Starting. I checked the log, it says "Installing imagemagick via apk..."
It's been a day and doesn't make any progress. Any thoughts?
Sorry you're having issues. I'd say, just rm the docker containers, including the mastercontainer, and try it again. Sometimes that's all you need. You might also get the current volumes and images, and remove them, and just let docker try again.
Thanks very much for the video! I just installed NC AIO today, but the stable channel is at NC Hub 2 - NC 24.0.7. This seems rather outdated as NC Hub 3 was released several months ago at the end of September. Is this correct? Do you have any idea when they NC AIO will update to NC Hub 3?
I don't yet, but I'm hopeful it will come soon. I don't mind if they harden hub 3 a bit first.
I tried to get Nextcloud running on unraid, and it mostly works, but there is a file upload limit that I cannot change. Will that be a problem with this installation method?
Also, since I already have an unraid server up and running, can Nextcloud point to the that server to use as the cloud storage? That would make it easier to just set up Proxmox on an older machine and just create and point to a share.
for the file upload limit, I would say you may have to adjust configurations inside the container. You'd want those volumes mounted ideally so you wouldn't have to change them every time you update though. Nextcloud, through normal install, may be a better route if you're needing to make changes like that.
@@AwesomeOpenSource I tried changing the upload limit using all the documentation I could find. The area where the limit is adjusted is grayed out. Otherwise I’d be perfectly happy with it.
Love your videos having used them to install several remote programs. Now trying to install Nextcloud and getting something I have never seen and can't figure out. I created docker-compose.yml per your instructions. When trying to run docker-compose up -d && docker-compose logs -f I get the following line immediately: parsing /home/julian/docker/nextcloud/docker-compose.yml: yaml: line 13: could not find expected ':' Can you help with this please.
There's a weird character in my yaml that I can't seem to get rid of. I think several poeple have just re-typed it, or re-typed the lines around 13 and line 13 itself to resolve it. I'm just not sure what it's picking up. I've tried to fix it a few times.
Hi Brian, for some reason I'm getting this message "Domain does not point to this server or the reverse proxy is not configured correctly. See the mastercontainer logs for more details. ('sudo docker logs -f nextcloud-aio-mastercontainer')" when I try to add the domain for Nextcloud AIO to check.
Funny enough, everything is working between nginx because if I access the domain it redirects for the instalation page!!
Ideias? Thanks
I hit this the first time. I ended up having to just delete the containers and volumes, then re run the setup. When I did, it started working without issue. It seemed I made a mistake and it was cached somewhere.
@@AwesomeOpenSource thanks for answer,
I took 1h around a solution also tried that and just ended now for installing the agent and acess with portainer and ignore the domain check
EDIT: The login is blocked since Nextcloud is running.
Please use the automatic login from your Nextcloud.
If that is not possible, you can unblock the login by running
sudo docker stop nextcloud-aio-apache
Did you got this also? Even if I stop the apache the pw generated doens't work
Hi, I'm having this error when trying to run " docker-compose up -d " : yaml: line 14: could not find expected ':'
For some reason the copy paste from my show notes creates this for some people. I think most people just remove it, and type it manually to fix the issue.
@@AwesomeOpenSource , Thanks I'll try typing the whole yaml, partially editing dont fix it. Thanks for the tip.
Hi Brian. Me again..lol. SSorry to bug you, but I developed faith in your abbility, and at least you respond to questions 🙂. I am getting this error when trying to upload large files to the FTP folder we created for a client:
Error when assembling chunks, status code 504
I have googled and searched for hours, but nowhere is there a step-by-step guide to fix this. Any assistance would be greatly appreciated!
I found this for that error: should help - help.nextcloud.com/t/error-when-assembling-chunks-status-code-504/56751
Hello Brian. Thanks for this great video. I would like to ask you something about adding external storage device to nextcloud. I add environment for external storage in docker-compose. Activated external storage app and directed it to my storage device successfully. but had to give permission 777 for the external storage's directory to upload files. I couldn't find the default uid and gid to giving ownership to my external storage device's directory. Is there anyway to find out the ownership ? I want to set the permission 750.
That's probably more of a question for the Nextcloud folks. I've just done 777 on mine (which isn't great). As for the GID and UID you may be able to set PGID and PUID (usually 1000, but not always), in the compose file.
How do you break restrictions in free versions of collabora or onlyoffice? (it has limits on simulations connections)
You can build either of those projects without that hard set limitation, but in reality we are using a community / development version, so they put the limitation to make the best user experience. If you want scale, you can talk to them about the "Enterprise" version, which is a different build, and made to run better at scale. It also supports the ongoing open source efforts.
when 443 port is forbidden, I use 9443 instead, how to install AIO?
I believe you can change the port mapping in the AIO docker compose file or .env file. That's where you should start. I believe you'll want that setup for the Apache web server.
pretty cool! you rock!! new sub!
Welcome!! and Thank you!
Can this be tweaked to use Cloudflare tunnels instead of Nginx proxy manager?
I would guess it can, but I don't know how that would all come together myself.
Can i install wordpress web alongside nextcloud aio via docker with sub domain?
You sure can. You need to set their ports to be different in their docker setups on the host side (the left side of any port mapping in docker).
@@AwesomeOpenSource Thank you for your tuts nextcloud aio in docker, completly run, but many service need more ram -_-. i want to ask, can nginx proxy connect to cloudflare? if i will setup server with home pc without ip public. next want to deploy wordpress with another sub domain. cheers !😁
Only thing that NextCloud needs to figure out is Zero-Trust encryption.
Give them time.
do you have an inventory system like glpi or ocs many thanks
Netbox can do inventory and network layout. ERP like ERPNext or Odoo as well.
installed and seems to be working but my aio-talk container shows as unhealthy. Any ideas
No. You should be able to check the container logs with “docker logs nextcloud-aio-talk”. Maybe something there will help.
I have tried to get the docker-compose to work but I keep getting the following error.
yaml: line 14: could not find expected ':'
I have checked it over several times and compared it to yours and I cannot find the issue. I copied the information from the show notes and made the changes for the fqdn and proxy host. I need help. LOL
Yeah, there is something weird in the formatting. Most have just retyped the line and maybe one below and above it. I can’t find what it is, but once they redo it, it seems to work for them.
@@AwesomeOpenSource I had to retype the whole thing but it is working now. Thank you!
@@AwesomeOpenSource Thank you so much.. this helped me as well. I was going crazy.. I even installed a fresh Ubuntu thinking something else was interfering..
Can you install i whit only caldav / cardav?
Yes, but I wouldn't use the All-in-one package for that, I would just install nextcloud without all the extra stuff.
Looks like this doesn't work with having your own docker network. Sad day. Used that to assign a static address to the reverse proxy.
Edit: Actually no, appears to not work with the reverse proxy in a separate docker container but still on the same machine. Rough times
Hi, you should check out the reverse proxy documentation of the project. There you will find a way to work around the problem.
The docs have a lot of info on using reverse proxies, so worth it to look into that information.
Hey hey, got it to work. No lies on the reverse proxy docs. There's a lot in there including verbatim examples
Ran lots of problems. Would it be possible to pay you for some work? I would prefer not to use docker though, since I´m already running proxmox.
I appreciate the offer, I don't do any contract work right now, as I barely have time to make the videos, and have a full time job, and keep up with my family. You can always reach out directly to the nextcloud folks, or jump over to discuss.opensourceisawesome.com and post in the "helpl-me-please" channel,a nd usually people get a response within a few hours if not minutes. I know they helped someone just last night with NextCloud AIO.
Awesome!
Thanks
Odd mix of skills. He in detail explains the makedir cmd, and how to exit nano, but then glosses over the web proxy. If someone is setting up proxy servers, I think they know basic linux cmds. But great info, thanks for sharing.
You would think that, but a lot of people are windows users, and are very comfortable with GUIs, yet very unfamiliar with the shell still. I do, however have several videos that explain NGinX Proxy Manager, and try to mention that in most videos. I’ll do my best to keep this in mind for future videos though. I appreciate the feedback.
The real problem I have with this software is the update process…. And nobody shows how to do that part… everyone teaches how to install but not how to properly update. I have a plug-in once for the sting and when I tried to update I ended up with an unusable software….if I had real things everything would have been lost. I’m now trying with the AIO solution running in a VM…even if I could update it regularly without any issues it’s not totally hassle free….
I understand your issues with the update process. That's why I like the docker route, easy to backup the data, and easy to go back to a previous version if needed. I'm hopeful the button on the MasterContainer that tells you there's an update, will actually perform a good update...of course, backing up data first is always a must.
@@AwesomeOpenSource with the VM route from the official Nextcloud site it also ends with the AIO solutions and the update from that consol page so far wen smoothly, the problem is that some time that aio page is not accessible and I need to use the console of the VM to stop and start one of the containers….
As someone who uses this to support businesses... 1) backups 2) you need minimum 2 instances 3) locate files outside of the docker container 4) require a vpn to see it or zerotier type config. 5) snapshots ( I use lxc on proxmox) doing this and switch to your secondary instance when upgrading you can have no downtime. I also only upgrade twice a year unless there is a major security issue.
@@ImAManMann my plan is using external storage features, I did not set up backups as of now because I’m only testing it with no real data… I’m trying to learn hot to manage it and it’s not all that simple to maintain as some other open source software I’m currently using…. I do this only for my home so I have limited experience
I have mine running in a container on ProxMox. Since my instance is so large I have to use command line to perform the upgrades as the WebGUI will time out after awhile. Seems this is the most reliable way of upgrading and it's easy too!
I run the upgrade command inside NextCloud folder. Adjust for the version of php you have:
sudo -u www-data php7.4 updater/updater.phar --no-interaction
Your link to the nextcloud book not working mate.
@@stiannor9437 is it this link? wiki.opensourceisawesome.com/books/nextcloud-all-in-one/page/install-and-setup-nextcloud-all-in-one-aio
@@AwesomeOpenSource That link works the one underneath the video dont work. Links on yourube when they are long usally gets corrupted. Thx man great work as always.
It was an issue with a change I made in my docker setup. so apologies, but all links should be working again.
just to be clear, you have to pay for it if you want to use it for business. Open Source means not "for free" ;)
As I always try to say, even if it’s offered at no cost, if it’s something useful and valuable, you should contribute to the project to keep it going.
Can it change to our brand name
Not sure on the white-labeling of NextCloud actually. Never had anyone ask, and never thought to check into it. I think the nextcloud team would be better to answer your question. You can ask on their community here help.nextcloud.com/
no such option available as its open source but for testing purpose preparing to overtake other companies in erp, but next cloud is really impressive@@AwesomeOpenSource
Nexcloud in docker...LOL...Good luck with that.
It’s been working great for me since the video was made. Responsive, solid updates. Very pleased with it.
a grandmother whose never used a computer.. may find this useful
Great. The more people we can get using open source software, the better.
First 😁
Indeed.
Make review on onlyoffice
I have done only office in the past. Pretty great stuff.
omg everything is docker and its not even that good or fully up-to-date!!! YYYYYY?
I just got the most recent update to Nextcloud musing this. The updates are pretty easy. If you don’t like this method, you can definitely install it using the Snap, or manually using PHP, a web server, and MySQL. Done it that way in the past and it worked wonderfully that way as well.
I had problems with some lines but I ended up using a YAML Validator, also I had more problems in the AIO setting up the domain nc.routermehome.... and I solve it by opening port 443 on my firewall, now I have this issue and I'm stuck after running the containers: psql: error: connection to the server at "nextcloud-aio-database" (172.20.0.5), port 5432 failed: FATAL: password authentication failed for user "oc_nextcloud" also says that the database doesn't exist and the user role as well (I just have apache and nextcloud in yellow) I also posted this with screenshots your discuss chat Awesome Open Source (editing: I was able to fix everything with a fresh install, I just went to Awesome Open Source chat website and I got help right away) This guy is the best.
Glad you got the YAML worked out. I had to basically remove everything (stop containers and delete them, then delete the associated volumes) and then just re-run it to get everything to work on one of my attempts. So, if something got set wrong, the volume may be persisting that bad setting.
@@AwesomeOpenSource thanks Brian
Thank you for a great instructional video. I do have a problem though.... The yml file for the nextcloud install gives me constant erros all the time, could you please assist...
Error when running docker-compose up -d: yaml: line 14: could not find expected ':'
even if I use your file ass is, it does this 😞
Yml content:
version: "3.8"
volumes:
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer
services:
nextcloud:
image: nextcloud/all-in-one:latest
restart: unless-stopped
container_name: nextcloud-aio-mastercontainer
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
- /var/run/docker.sock:/var/run/docker.sock:ro
ports:
- 8080:8080 # change the port on the left side if it's already in use on your h>
environment:
- APACHE_PORT=11000 # change this port number if 11000 is already in use on yo>
- APACHE_DISABLE_REWRITE_IP=1
- NEXTCLOUD_TRUSTED_DOMAINS=ftp.######.com 192.168.0.125 # Your domain name + p>
- TRUSTED_PROXIES=< 192.168.0.125 # proxy host IP
You may just need to remove that line, and re-enter it. I think a few people had to do that, down further in the comments. Not sure why it doesn't like it when it's copied and pasted.
Thank you so much, will try today
@@AwesomeOpenSource Thank you kindlky Brian. I retyped, and used validator, and it passes. Error now:
service "nextcloud" refers to undefined volume nextcloud-aio-mastercontainer: invalid compose project
My yml file:
version: "3.8"
volumes:
nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainer
services:
nextcloud:
image: nextcloud/all-in-one:latest
restart: unless-stopped
container_name: nextcloud-aio-mastercontainer
volumes:
- nextcloud-aio-mastercontainer:/mnt/docker-aio-config
- /var/run/docker.sock:/var/run/docker.sock:ro
ports:
- 8080:8080
environment:
- APACHE_PORT=11000
- APACHE_DISABLE_REWRITE_IP=1
- NEXTCLOUD_TRUSTED_DOMAINS=ftp.##########.co.za 192.168.0.125
- TRUSTED_PROXIES=192.168.0.125
Brother I love your video a lot and quickly i become your one of the subscriber 🙌
I have few other doubts so, i like to contact you personally brother...
You can reach me at discuss.opensourceisawesome.com I'm mickintx on there.
This says episode 8. Are there 7 others about Docker or?
Thank you! Finally some one shows me how to setup AIO with Proxy Manager :)
I didn't know what program I was missing!
The other 7 are all in the Building a Business on Open Source series. But I do have videos that tell you more about docker as well.
When running the Docker-compose command, I get the following error: ERROR: yaml.scanner.ScannerError: while scanning a simple key
in "./docker-compose.yml", line 12, column 1
could not find expected ':'
in "./docker-compose.yml", line 13, column 1
My docker-compose.yml looks exactly like yours, except for the stuff you wanted me to change. If you can, please help...
This is line 12 & 13: - nextcloud_aio_mastercontainer:/mnt/docker-aio-config # DO NOT CHANGE THIS MAPPING
- /var/run/docker.sock:/var/run/docker.sock:ro
Take out my comment to the right (after the hash-tag) and try again. The line looks fine.
Just take out the comments (after the hash tags first, and see if that does anything.
@@AwesomeOpenSource Having the same issue too. I took out the comments and it's still giving the same error - update... working now... just retyped it all and not used the copy paste... lol
Same issue here
Yep, following the Nextcloud documentaiton gives the error: "Domain does not point to this server or reverse proxy not configured correctly" like everyone gets it, I guess...
Leading to a documentation that goes from holding your hand to something like smokey ideas without any detail.
And following yours gives : " ERROR: yaml.scanner.ScannerError: while scanning a simple key
in "./docker-compose.yml", line 13, column 1
could not find expected ':'
in "./docker-compose.yml", line 14, column 1 "
For the first problem, no one seems to be able to solve it and explain simply, like ON THE PLANET
Making me feel, again, like Nextcloud team just don't K4r3
For the second, nothing exists.
And I'm wondering why and how we came to a point where setting up an app has become so hasardous and erratic. Why the world of docker is such a pain, instead of being simplier than before.
So, the error you get from my file appears to be some weird thing happening from copy / paste. You may try to re-type that line, and make sure there are no odd characters in it from the copy / paste. I know a lot of people had issues, and after making the line manually, it was working better.
@@AwesomeOpenSourceI believe the issue is real and that a recent change in Nextcloud is the main cause when running it with NPM.