after a couple of days trying to get nextcloud running with different tutorials this one was the only one that worked
@PlaylistMan Жыл бұрын
its taken me 2 days to find a tutorial this good, and it was worth it thank you
@boi_doingthings3 жыл бұрын
Oh man. What a great one. Went through many videos but none matches the level of convenience of your video. Much appreciated.
@immortalcyanogen7793 жыл бұрын
Hey, I have watched his bitwarden video and successfully made a bitwarden server with port 8080. Now port 8080 is occupied by bitwarden container in my docker and I have assigned nextcloud with port 8443. But when I tried to open setup after assiging the port, it did not open in my browser. Please help me. Thank you
@curlyfryactual3 жыл бұрын
@@immortalcyanogen779 make sure to map the host port 8443 to a different docker port from bitwarden. Bitwarden maps to docker port 80, so don't do 8443:80. Also in your {your_path}/nextcloud/config/config.php make sure your trusted_domain list includes your ip x.x.x.x:8443 and your overwrite.cli.url variable maps to the same x.x.x.x:8443
@seanaldridgefrancisco87363 ай бұрын
Managed to finish setting it up in 2 hours, thanks for the easy to follow tutorial
@asuras110 ай бұрын
Thanks for the best video for the combination raspberry pi + nextcloud + docker! Two things would have been great to be added: - setup the crontab for the background jobs (sudo docker exec -u www-data nextcloud php /var/www/html/cron.php) - manually perform a file scan otherwise you won't find all images on nextcloud (sudo docker exec -u www-data nextcloud php /var/www/html/occ files:scan --all)
@curlyfryactual3 жыл бұрын
Really covered all your bases, absolutely fantastic guide! I did not do this on a raspberry pi, but was spared any and all headaches setting this up on Fedora.
@SHAILESH_JANGRA3 жыл бұрын
Great,The best video on internet , pls make a video on internet access of this nextcloud and how to transfer whole database to another hard drive and if possible include backup of nextcloud
@DylanLongwith4 ай бұрын
This still works in 2024. Be sure to read what you are downloading in regards to installing Docker per his BitWarden video. I did mess up though. I went through the setup before setting up Postgres, because I was trying to hurry and do this on my lunchbreak. Pretty sure the Postgres db is doing nothing now, not sure where to go from here because I seem to be illiterate!
@paulrheinert3 ай бұрын
I would recommend Maria instead of Postgre
@davidward17293 жыл бұрын
Great starting point to start setting this up. Excellent video!
@daylifemap2 жыл бұрын
Hi, I did everything you showed but I cannot open Nextcloud in the browser. "This site can’t be reached".
@Bcarr1223913 жыл бұрын
This was THE easiest guide to follow - I wish I found this 7 hours ago - yes, I've been working on this for 8 hours. 😭
@Bcarr1223913 жыл бұрын
Side note: I rebooted my Pi, and now NextCloud isn't running - I ran the full script after reboot: {docker run --name nextcloud -d -p 8080:80 -v /media/usbdrive:/data --network nextcloud-net -v /home/pi/nextcloud:/var/www/html nextcloud} after reboot but get the following error: The container name "/nextcloud" is already in use by container "(long string of text/numbers). You have to remove (or rename) that container to be able to reuse that name." How do I fix this?
@Bcarr1223913 жыл бұрын
Ok, if you get this issue of NextCloud not running: Run: docker start postgres & docker start nextcloud This should solve the issue, as I've found.
@G4bis3 жыл бұрын
@@Bcarr122391 thanks u so much, after i restarted i had the sam problem. I have two questions maybe u can help me. In the folder /var/www/html i do not have any file , why? And maybe u know how to automatically start postgres and nextcloud after a reboot? Thanks
@michaelgibbons70142 жыл бұрын
If anyone is curious about the "docker" way to do this, docker actually gives you a flag for what should happen on reboot. sudo docker update --restart=unless-stopped postgres sudo docker update --restart=unless-stopped nextcloud
@immortalcyanogen7793 жыл бұрын
Hey censi, I have watched your bitwarden video and successfully made a bitwarden server with port 8080. Now port 8080 is occupied by bitwarden container in my docker and I have assigned nextcloud with port 8443. But when I tried to open setup after assiging the port, it did not open in my browser. Please help me. Thank you
@usuariodegoogle17312 ай бұрын
It worked! Than you so much :)
@collinsvods12523 жыл бұрын
After the screen at 4:33, I get a Internal Server Error, saying "The server was unable to complete your request". Is there any way to simply fix this?
@sheepdev3 жыл бұрын
Me too :(
@vpjornal41902 жыл бұрын
How did you fix this?
@_capr_5453 жыл бұрын
Doesn't work for me. After clicking on finish at 4:33, I lose the admin page and can't access it again. I made sure everything except the password was named postgress in the database section.
@magmarrex59393 жыл бұрын
did u menage to fix it?
@_capr_5453 жыл бұрын
@@magmarrex5939 Nope. I got a home drive.
@joaodessainsaraiva55942 жыл бұрын
same here
@Dude0413 Жыл бұрын
Goated video. Thank you!
@RushMyEx3 жыл бұрын
Nextcloud GUI starts up just one time. After trying to enter Database login and user i get "Request Error" -page and cant access it anymore.
@vpjornal41902 жыл бұрын
How did you fix that?
@RushMyEx2 жыл бұрын
@@vpjornal4190 reinstalled Raspian and tried many different ways to install NC. Still dumped it and working with Openmediavault which gives me more SMB controle. I dont need that "dropbox" style.
@Grimy-ks7vn2 жыл бұрын
How do I disable and enable these containers and bridge etc when turning the pi off and on? I keep having to set this all up again when I move
@tesla46232 жыл бұрын
I've tried to follow this tutorial multiple times but each time after reaching the step "starting nextcloud again", I get an "internal server error" at the localhost:8080 address. Any idea why? Here's the entire message: "The server was unable to complete your request. If this happens again, please send the technical details below to the server administrator. More details can be found in the server log."
@deepak_mahesh Жыл бұрын
Any solution you got? I have similar issue now
@TostonDePana Жыл бұрын
fantastic video, really appreciate it!
@dcc13133 жыл бұрын
Hi dude, what about ssl certificates ? Is it the same like bitwarden video? I should add the ssl commands when running docker?
@Glightstar3 жыл бұрын
You should probably use a reverse proxy instead: en.wikipedia.org/wiki/Reverse_proxy There is also a bit more information about this on the wiki of bitwarden_rs: github.com/dani-garcia/bitwarden_rs/wiki/Enabling-HTTPS Basically, you set up a webserver (bitwarden_rs references caddy, I myself use nginx), set up the subdomains, request the certificates through Let'sEncrypt's certbot (at least this is the case for nginx, for caddy it seems that this functionality is already built in), and voila, finished...... of course it isn't that simple. Maybe, @censiCLICK, this could be a topic you could cover :?
@wayne62203 жыл бұрын
Fabulous video, it is well done. thank you
@sebnargeurbrok137411 ай бұрын
thank you very much, your video helped a lot
@AadityaS-iy7pl Жыл бұрын
Hi, noob here trying out this project. It may well be above my competence but am trying anyway! Am getting this error when i try to install Nextcloud. Error Error while trying to initialise the database: An exception occurred while executing a query: SQLSTATE[42501]: Insufficient privilege: 7 ERROR: permission denied for schema public LINE 1: CREATE TABLE oc_migrations (app VARCHAR(255) NOT NULL, versi... ^ Have followed all the instructions to the letter. Could it be due to a later version of postgreSQL which is causing this issue? Kindly let me know how to fix this please.
@Iulian.I Жыл бұрын
Same issue. Have you found a solution?
@EagerEggplant3 жыл бұрын
Sensational video!
@odimeae3 жыл бұрын
after setting up my external storage im back at the admin account creation with the database and get the error: Error while trying to initialise the database: An exception occurred while executing a query: SQLSTATE[42P07]: Duplicate table: 7 ERROR: relation "oc_migrations" already exists
@yipkellyfamily2856 Жыл бұрын
Hi there, I'm very new to Raspberry Pi, and this guide really helped me I am wondering though, would nextcloud put a lot of strain on the sd card that the pi runs from? I want to use Nextcloud to backup photos on my external USB drive, but I'm worried that during uploads there may be a bunch of temporary files being written to the sd card if Nextcloud is installed there
@ujwalcs3 жыл бұрын
After I restart my raspberry pi I am not able to login to Nextcloud, can someone help me
@denhafiz18603 жыл бұрын
Thanks bro, great stuff.
@TypicallyThomas10 ай бұрын
For some reason it keeps telling me the login credentials aren't valid even though they definitely are and I can login through the CLI. I think it's unable to find the database
@ashishcchauhan Жыл бұрын
what if my raspberry pi restarts by any chance - is nextcloud will start automatically? if not than what is a solution
@paulrheinert3 ай бұрын
Yes, it shoulod autostart on boot
@thezebiano3 жыл бұрын
Amazing video! Thank you.
@michaelseiler6952 жыл бұрын
Hello, how do you update the database container? The database is gone one I do an update on the container and there is no mapped directory?
@BigZeus2 жыл бұрын
What do we do if we have a pi hole running and when we enter the IP with the 8080 on the end it pulls up the pi hole web GUI?
@Conorstew3 жыл бұрын
How could I setup raid on multiple external drives?
@Leon-cm4uk Жыл бұрын
I am trying to reach nextcloud within my home network from my Macbook in the browser using the ip address of the raspberry pi but it does not work.
@nayab87049 ай бұрын
were you able to SSH into your raspberry pi using your mac?
@aishasaeed24673 жыл бұрын
Why did you need Docker?
@edgarwesterhoven67292 жыл бұрын
right after running the command "docker run --name nextcloud -d -p 8080:80 nextcloud" I can briefly see the container running but than it stops....😞
@chuchotech55133 жыл бұрын
Hello, I have installed it, it is working and I transferred some files but when I go to linux and I try to find it, I don't know where are located. I have added a drive with 2 TB, I have created a folder name nextcloud in /media/nexcloud and I have mounted the drive in this location. mount /dev/sda1 nextcloud. Then, inside that, I noticed that netxcloud cerated mariadb (i have used mariadb database) and nextcloud folder. I have tried to find my files but nothing. Do you know where the nextcloud storages the data? which format? thanks
@e.t58752 жыл бұрын
Can you see the files that you have uploadet to rasberry pi outside your house or outside your network?
@byMarto_com2 жыл бұрын
Anyone with idea why on the setup step I got: Error while trying to initialise the database: An exception occurred while executing a query: SQLSTATE[42501]: Insufficient privilege: 7 ERROR: permission denied for schema public LINE 1: CREATE TABLE oc_migrations (app VARCHAR(255) NOT NULL, versi...
@Iulian.I Жыл бұрын
Same issue. Have you found a solution?
@Unmesh.9 ай бұрын
After restarting raspberrypi what command should I type to start nextcloud once again ?
@paulrheinert3 ай бұрын
Nextcloud should start on boot
@alanroc94713 жыл бұрын
How to backup the nextcloud data?
@AdityaKumar-us9bv3 жыл бұрын
Hi, I am getting this error while running the next cloud image - "Exited (127) 4 minutes ago."
@C3PO_ Жыл бұрын
Thanks so much for this excellent introductory tutorial. May I ask after connecting and setting up the external drive in Nextcloud, whether it is possible to map it as a drive in Windows so that I could access it more easily?
@TostonDePana Жыл бұрын
You can set up an NFS server for that. It's a little involved but it's a fantastic way to access the drive at home.
@C3PO_ Жыл бұрын
@@TostonDePana Thanks for the tip! I plan to set up a Nextcloud container on my Raspberry Pi, and connect a large external HDD to it so that all devices at home can use it as a file store on my home network. Is it possible to connect an HDD with data instead of a fresh drive? I'm new to all these so will have to look them up. If you know a good tutorial I'll be very appreciative! Many thanks again! 🙏
@TostonDePana Жыл бұрын
@@C3PO_ yes it's possible to do that. I have a nearly identical setup like that. It requires quite a bit of reading and tinkering but you'll get there slowly. The site pi my life up which you can find via search engine had a lot of great and updated pi-specific tutorials that I used along the way. Make sure to document everything you do to reference it in the future. You can use one note or obsidian (or any other note taking software) to ensure you have a record in case things go wrong.
@yanchok1 Жыл бұрын
Hi, thank you for the great tutorial! How to make the containers start every time the rsberry turns on?
@ricardog2165 Жыл бұрын
Use "--restart unless-stopped" on the "docker run" command
@ShacharOz3 жыл бұрын
great reiew. regarding external storage space. can I add a USB storage with existing data on it? or do I must make a format before as you show here?
@ShacharOz3 жыл бұрын
can you create a guide to make all this without docker? i installed ubuntu core and nextcloud directly on it.
@norbertoneto26742 жыл бұрын
Hello there, is it possible to give a name to the volume in the postgres container? I mean, I mounted it in local storage but when I use the docker volume ls command, the volume has a big random name. I would like to use something like postgres-nextcloud, bind in /home/user/nextcloud/db and, of course, it be the /var/lib/postgresql/data. Thank you!
@TheMFLORD2 жыл бұрын
Really good and quick tutorial, but as I understand the database of the Nextcloud now lies on the SD card of the PI right? Is it possible to move everything on the external drive?
@balazssrancsik1691 Жыл бұрын
If you are running it on a Rasbperry OS, there is the possibility of copying the SD image to say an external USB drive. Then by removing the SD card, the USB drive will serve as a boot drive.
@ajnart_3 жыл бұрын
Hey so I have an old Galaxy S7 and I was wondering if maybe I could use it like a raspberry Pi ?
@RameshKumar-rt8xb2 жыл бұрын
after clicking on login nothing happens why?
@WhereistheVINnumber2 жыл бұрын
This is a rather outdated tutorial but thanks for that. Ive managed to open Nextcloud by using a different command: docker run -d -p 8080:80 nextcloud
@sagichdirdochnicht46532 жыл бұрын
this won't install you a Database.
@Aexvishu2 жыл бұрын
All went well until I decided to move my Pi along with its external drive connected to it to someplace else. I had brought it offline so I switched off Pi. After I started again, Nextcloud never came back. I tried starting containers for Postgres and NextCloud but doesn't help. Can anyone guide me step by step on what commands should be used while switching off Pi and starting it again if ever I need to do that? I am guessing it will not work automatically on a reboot or should it?
@sarthakjain1702 жыл бұрын
Same problem, did you find a solution?
@_capr_5453 жыл бұрын
Is it better to install Nextcloud with Docker or NextcloudPi?
@justuskertscher24183 жыл бұрын
After clicking finish on the admin setup page, it is loading and then it only shows index.php/apps/files as the URL and page could not be accessed. Does anyone have an idea what the problem might be?
@gaminghack38623 жыл бұрын
This cloud only works if you are on the local network, or even if you are on another network?
@Devillman903 жыл бұрын
If you want to expose it over the Internet and have it function like Google Drive, OneDrive etc, you have 2 options either expose your raspberry pi over the internet by port-forward the port of the docker container running nextcloud in your router. Or use a vpn to access your local network from the outside world. The guy mention about this in this video. If you want to expose it directly you will need to set a proxy have a domain and install an SSL certificate to allow everyone to visit this instance, but you need check how to do this as it takes few extra steps.
@gaminghack38623 жыл бұрын
@@Devillman90 Ok really thanks ^^. I'm gonna check how doing this.
@maximkaminajj5 ай бұрын
idk what to do Error Error while trying to create admin account: An exception occurred in the driver: SQLSTATE[08006] [7] could not translate host name "rasperrypi" to address: Name or service not known Create an admin account
@paulrheinert3 ай бұрын
Is the error still present?
@maximkaminajj3 ай бұрын
@@paulrheinert yes, but I gave up and started with a new project on my pi haha
@paulrheinert3 ай бұрын
@@maximkaminajj Oh okay, so if you want to do the protect in the future angain, I can help you with that
@ParthParikh233 жыл бұрын
Hello, can you please share details on how to make it available outside the local network...
@joshuaSundeep3 жыл бұрын
well that's going to depend on your router. Its called port forwarding, you will need to forward the ports 80 and 443 80 is http 443 is https you will need to do both here is a website that can help just put in your router make and change the ports shown portforward.com/router.htm hope it works
@ParthParikh233 жыл бұрын
@@joshuaSundeep do i need my ISP to also open those ports?
@joshuaSundeep3 жыл бұрын
@@ParthParikh23 they should already be open
@ParthParikh233 жыл бұрын
@@joshuaSundeep when i called them they say the way our network is setup we have to open ports for you...is that true or it should be open?
@joshuaSundeep3 жыл бұрын
@@ParthParikh23 on. The isps side they should be open but on your side they should be closed for you to open it when needed
@cuboid43573 жыл бұрын
What if you needed to add multiple external drives, would you just add another drive mount to the -v command?
@SeanSR10 ай бұрын
I cant get past enter domain. :(
@mattuso5 ай бұрын
Followed guidelines. Worked really well till moving the pi from one room to another. Now getting the following error message when tried the IP address. I checked the logs as well it says "wrong password for user oc_admin". I never changed the password nor created user oc_admin. Made a couple google searches nothing really helpful. "Internal Server Error The server encountered an internal error and was unable to complete your request. Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report. More details can be found in the server log."
@paulrheinert3 ай бұрын
Can you still do ssh onto the raspi?
@zacariasbenta39103 жыл бұрын
Why did you use a docker image? Are there any performance improvements by doing so?
@cesiumtv3 жыл бұрын
I think docker allows for better management and auto-updating, but running the server without docker shouldn't pose any performance change.
@Proud-Papa Жыл бұрын
Error.. Internal Server Error. Fixed the issue by installing from scratch. downloading container files ce cli didn't work for me. sudo apt install docker docker-compose after installation, you can follow censi instructions.
@MrFadiAi3 жыл бұрын
Can i install nextcloud and pi hole together in one raspberry pi 1?
@censiCLICK3 жыл бұрын
Yes, you can, you need to use different ports for each though.
@juxuanu3 жыл бұрын
What about the snap package? They claim to auto-configure everything
@BrianThomas3 жыл бұрын
Great video. Question: Would this setup be the same if I installed it on a k3s 8 node pi cluster? If not how would I make it work?
@joeallen22863 жыл бұрын
Network Chuck has a video showing something like that.
@BrianThomas3 жыл бұрын
@@joeallen2286 awesome. Would you be willing to supply a link?
@kabouterWesley13 жыл бұрын
I cutted the power of the raspberry, and now i'm not able to get my nextcloud running. How do i solve this?
@user-df8cc1ec5e3 жыл бұрын
Did you eventually find a solution to this?
@kabouterWesley13 жыл бұрын
@@user-df8cc1ec5e yes, bought icedrive (lifetime subscription). A lot faster and easier to use. I didnt really understood what i was doing with the raspberry , i just followed the steps but i think i need to understand it first
@n642613 жыл бұрын
Should I run Nextcloud and Bitwarden on separate Pi's? I don't expect to tax the processor or RAM very much with light personal use. My preference would be to host both services with docker on a single Pi. Do I need to adjust the ports or should I just get 2 pi's?
@censiCLICK3 жыл бұрын
They work fine on a single Pi. You just have to use different ports for each service.
@magmarrex59393 жыл бұрын
What will happen when the raspberry will turn off. Will the data will be lost. How to automaticly on startup run docker with nextcloud and postres? BTW: The best guide !
@yesplusca2 жыл бұрын
install dietpi OS then install nextcloud without any command , install external for nextcloud more easier on dietpi , no command neeeded if you are a beginner .
@user-df8cc1ec5e3 жыл бұрын
How do you restart NextCloud after restarting your Raspberry Pi?
@taruntehri89113 жыл бұрын
You need to restart both postgres and next cloud docker restart nextcloud docker restart postgres
@user-df8cc1ec5e3 жыл бұрын
@@taruntehri8911 I figured it out. I just need to set the restart policy to "always". Read it from here: docs.docker.com/config/containers/start-containers-automatically/
@ujwalcs3 жыл бұрын
@@user-df8cc1ec5e what command to use?
@РомаПетров-ж1н3 жыл бұрын
you show `add VPN connection` button but it isn't there! no instructions at all!
@jonasohrfeldt14953 жыл бұрын
Good video on how to get nextcloud installed via docker. But the link with step by step on how to expose the cloud server isnt very accurate. Atleast i did not get it working like intended. And why have a nextcloud server locally wich cant be used outside your own network? What is the point of that with a cloud service that is this sofisticated ? I do have owncloud running on my RPI3b+ but i want to start using nextcloud instead and i thought docker would be great but it kind of complicates everything.
@egoodson3 жыл бұрын
Installed on my Raspberry Pi 4 with an external drive but can not create a folder on that drive. Also does the server boot automatically whenever the Raspberry Pi reboot?
@censiCLICK3 жыл бұрын
To start automatically, use something like "--restart unless-stopped" or "--restart always" in your Docker run command. The other issue doesn't have an obvious answer but it's likely a permission problem. Make sure user "www-data" can write to the drive.
@egoodson3 жыл бұрын
@@censiCLICK thank you for your response. Not really familiar with Docker but trying. I will start from scratch again watching your video and see where I went wrong.
@egoodson3 жыл бұрын
@@censiCLICK After starting from scratch finally got it all working! Thank you! Now to make it visible from the internet to house my phone's camera images.
@OmarFaraNorgaisse3 жыл бұрын
@@egoodson I ran into the same exact issue and was also able to correct it by running it from scratch.
@2busytv1663 жыл бұрын
how do I change the database password?
@walkingmanvideo94559 ай бұрын
4:45 is the name nextcloud not an indicator that this would be used offsite remotely or else it’s just a local glorified external hard drive which offers no redundancy if your house burns down. The reason for “cloud “ storage and services is having your data offsite. By advising to keep local , is negating the whole reason for this video.
@marcioo19953 жыл бұрын
Hello, can somebody help me what I have to do to make nextcloud respond to https?
@tahirjalilov3 жыл бұрын
who can create a docker-compose file for this?
@fluxpistol36083 жыл бұрын
sudo chowm: command not found. Now what?
@censiCLICK3 жыл бұрын
It's "chown", unless you just mistyped in the comment.
@yurkshirelad3 жыл бұрын
It'd be easier to create a docker-compose file.
@Conorstew3 жыл бұрын
What is that?
@cubeeism3 жыл бұрын
Nextcloud on Synology NAS please
@Findanish3 жыл бұрын
I 2nd that! Also, I loved this video. Keep up the good work!
@DGXHQ3 жыл бұрын
Du kommst aus Deutschland oder ?
@DarkKnight-bt4nb3 жыл бұрын
How Raspberry got windows 10? It supposed to Raspian OS right??
@TheExsi3 жыл бұрын
I believe he is using Ssh to connect go the pi from windows and thus gain a shell .
@Brah_Lizard3 жыл бұрын
ssh
@magmarrex59393 жыл бұрын
solves many problems: chown -R www-data:www-data nextcloud in pi directory