Mini NextCloud Server on Raspberry Pi 5
ฝัง
- เผยแพร่เมื่อ 21 ต.ค. 2023
- Time to upgrade my raspberry pi 4 nextcloud server to a raspberry pi 5 with transplanting to a desk pi pro case
○○○ LINKS ○○○
Desk Pi Pro Case ► amzn.to/46Lt4Sg
Pi-Hosted ► pi-hosted.com/
NextCloud ► www.nextcloud.com
PCBWAY ► pcbway.com
Raspberry Pi ► amzn.to/3tL5F4J
○○○ SHOP ○○○
Novaspirit Shop ► teespring.com/stores/novaspir...
Amazon Store ► amzn.to/2AYs3dI
○○○ SUPPORT ○○○
💗 Patreon ► goo.gl/xpgbzB
○○○ SOCIAL ○○○
🎮 Twitch ► / novaspirit
🎮 Pandemic Playground ► / @pandemicplayground
▶️ novaspirit tv ► goo.gl/uokXYr
🎮 Novaspirit Gaming ► / @novaspiritgaming
🐤 Twitter ► / novaspirittech
👾 Discord chat ► / discord
FB Group Novaspirit ► / novasspirittech
○○○ Send Me Stuff ○○○
Don Hui
PO BOX 765
Farmingville, NY 11738
○○○ Music ○○○
From Epidemic Sounds
patreon @ / novaspirittech
Tweet me: @ / novaspirittech
facebook: @ / novaspirittech
Instagram @ / novaspirittech
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. - วิทยาศาสตร์และเทคโนโลยี
As soon as I get the opportunity to get my Pi5 here in Australia, this was what I was aiming to do ... thanks for the tutorial mate, really appreciate it!
Please, an indepth video on how you use Nextcloud would be awesome
Thanks Don. You rock! 😊 I would love to see a video about setting up a phone to store photos in next cloud. Setting up sync and keeping the phone memory free. (Compare to iPhotos and its seamless backup) Thanks
Yep, I’d like to see how you’ve setup the on-the-go access - reverse proxy, cloudflare tunnel, VPN etc, and the security ramifications of the chosen access method as well as other pros and cons. I tried cloudflare tunnels but wasn’t confident about how secure it was. VPN on the other hand drains the phone battery and needs to wake up when unlocking the phone,
For the people blindly following this video, please don't use these default passwords. Change it to something else, and disable password ssh authentication. Use certificate authentication instead. If you open this thing up to the internet you will have hundreds of bots trying to break into your server every day.
Awesome. As a raspi-newbie I found you this weekend. I would love to see how you continue (setup) and how to sync mobile devices to the cloud. Also how to setup to have access from anywhere. Thank you again for your content.
Nice video Don.. definitely show more on next cloud.
I run nextcloud on my main server. Array protected and backed up. Pi nextcloud server is a fun idea but data easily lost.
Not having sd card storage on phones nowadays I use nextcloud to automatically upload all my pictures and videos to my server at home and delete them from my phone. Saves a ton of room!
more next cloud. Can't wait to see this integrated with the pi series you did
Even I would like to implement something like this actually like the concept of Self - Hosted cloud storage or network , love using docker to setup things...
Nice video real made me learn more about the Pi 5
Great video, I'd love to see more NextCloud videos with addons.
man, this brings me back to your old original video of the pi with nextcloud. i ended up decommisioning it because back then the ethernet was too slow, which required a faster usb ethernet dongle and the processing speed was just not there.
but in this case in present day, the pi5 with a proper case is not out yet, so feels more like this is how we will plan to proceed when the time comes for it. looks promising in that way.
but overall, i would probably go with a non-pi more powerful nas for a cloud storage, but still lots of potential with the pi 5 for other lower power tasks.
That's a sweet case!
Awesome video mate! I've been using Nextcloud for a while now with my Rasbperry Pi 400. Only problem facing is when I try to backup and recover my Nextcloud database to another OS/device (bullseye/bookworm, Pi4/Pi5), the sync gets slow after. It'll great if you can make a video and talk about this. Would also like to see if you using any other "Contacts" app to sync with your phone contacts. Cheers budd👍
Works great with my Ras Pi 4!
Planning to do this tonight, how's the performance? Last time I tried nextcloud was slow, bloated, sluggish.
Thanks in advance
You should do a video about keeping your nextcloud data protected and backed up in the event of a drisk failure or data breach. How to restore your instance of Nextcloud without needing to reinstall everything all over again. That would be a helpful video.
Yeah, absolutely! There are a few options. You can handle backups yourself, we also have a cool backup app that can back up to somebody else's Nextcloud instance so you can backup to your friend's Nextcloud instance and vice-versa. Another option is the built in Borg backup in the AIO docker image - another recommendation.
@@Nextcloud I love the sounds of this very much. I see a future video on the horizon. Thank you very much for sharing this data with us / me!
@@Nextcloud can you please send me a link on how to backup the pi or better yet the data I have in my docker image of nextcloud.
At the same price point of the Pi5, for a nextcloud server, a miniPC is a LOT better.
Low power draw saves money in long run. These servers are 24/7
I agree. But for non media playback, just storage, the pi 5 will do great.
I'm going to build a similar device using the new minisforum ryzen PC.
@@nikobellic570 a n100 minipc is 3.5x as fast and consumes under 10w at idle. That would cost less than 15€ a year more even with a energy cost of 30 ct/kWh
@@LampJustinyou goddam right
@@nikobellic570And? A n100 uses 6W at idle and 12 at full load while more than doubling the rpi5 speed. And with a proper graphic chipset.
Thanks Don.
I find all this interesting, I like see this stuff.
Yes please. Looking to understand NextCloud better.
Just installed my Nextcloud setup on Orange Pi 5 Plus with PCIe 3 with a 4TB Samsung 990 PRO. 🙌
Thanks for the vid, can you explain how to give access from internet both in phone app and computer.
I couldnt figure out how to add trusted domains and ssl with this method.
Great video champ! Do you have a plan to make a video with ZimaBorad + NextCloud setup also! 🙂
Hi. Thank you very much for the great video !
Please do a full tut on nextcloud, plus they have diff ver (are they like dev, beta, stable)?
show how to access from outside your lan?
Thank you, allways interesting, now i'll like to go futher. please do a second part
Hi Don, many thx from Germany. All went well. Do you have some additional guide for fixing the 11 lines of warning in the general settings of nc28? Some of the are pretty tricky within a container. Would help a lot of folks.
Does it do off-site backups? Where if a HDD dies I still got my data or in case of a malware attack and the HDD gets encrypted.
Hi Don,
Good explaination.
A video on how to setup a local reverse proxy for nextcloud will be great please.
Any ideas on how to add an external drive to this setup?
What operating system are you using ? (beginning of the video), also have you used Zimaboard compared to Pi 5 ? thanks
Do you use a UPS in case you have a power cut? If not, hace you ever had data loss?
Could you explain how to add external drive? It seems like Docker is blocking outside storage even if it connected inside of NextCloud
SHOWOFF!! Showing off with his early Pi5...
🤣
What do you use to capture and graph the power usage?
Can you show how to add an external or extra storage to nextcloud e.i USB, external hhd/ssd and to save the data you are synching on it
Same here, It seems like Docker doesn't have permission to write to the external drive. Even if it connected as a volume
Same question. How is it possible to add external storage? Thanks, and a very interesting video.@@gringomaus2080
@@gringomaus2080 i have been facing same issue it got fixed after i format drive to ext4
Nice and to the point, have a subscribe.
hey Don, thank you for sharing your knowledge. Your desktop looking nice. Which desktop env and OS do you using?
just running debian 12 with kde & dracula theme
how do I change it to store the files to my SSD I just formatted and mounted?
Micro Center now says the Pi 5 will be available on November 3rd, but there's still no M.2 dongle listed.
8 GB Pi 5: $80
27W power supply: $12
active cooler: $5
RTC battery: $5
1 x micro-HDMI: $10
micro SD card: $??
M.2 adapter: $??
NVMe drive: $??
custom case: $??
+ sales tax
6w at idle with hdd and 10w on use 😉
Could you make a video on how to resolve issues that nextcloud encounters when you check for security and setup warnings.
Just followed your tutorial, I want to know if you have a video for the configuration to auto upload to separate videos and photos in folders not sure if the auto upload will auto separate
I really wanna know how to add a external harddrive/ssd and have acess to it on Nextcloud
Thanks I finally found someone who set up nextcloud template. what happens if it crashes and can no longer log in, which is my problem now. do you reinstall? I did not have any thing on nextcloud I was just testing. I ran into my problem now that does not allow me to log in.
Great video, love you videos. One question, did you ever tried to install native, without docker? I have everything native, even nextcloud office, coolwsd running native and i can tell you the snapiness is way way better compared with docker also updating eveything is easier using just the repositories.
hey, did you setup everything manually? asking because I'm using AIO version and it's very easy to install and manage from one dashboard
@@su1ka yes, even collabora online, installed in native linux, not using the integrated one in nextcloud nor docker. And i can tell, it is much much snappier on a i3 NUC (7th gen) and 16GB of ram.
Please help! at first, Great video, simple and easy tutorial for a beginner like me. I followed this video and setup my own Nextcloud server on my old laptop but I am facing a problem with my nextcloud, if I upload a large file it completes the upload but at the end it shows "error when assembling chunks code 504" error and the file doesnt show up until I refresh the page after some seconds. I am using Dietpi as OS and Portrainer as you have showed and cloudflare tunnel to host on the internet to share files.
What's the name of the program you used to measure the wattage power
sadly at the time i used rpi4 there was no onlyoffice for arm (office integration in nextcloud). So i lost interest in arm, switched completely to x86 and didn't regret it so far. But it is still interesting how arm is progressing, thanks for the vid :)!
yea collabora is the only one on arm64 right now
I was too quick with clicking install, how do I change the databasetype and source folder?
Hi. Thank you very much for the video. But, cannyou help me to locate where can we set the definitions for the max_memory_limit and the max_input_time. I did spend hours and hours making changes to any php.ini and .htaccess files everywhere and I couldn't manage to increase those values
@Novaspirit what are you using for these power charts? They are very nice.
Have you found out? I was wondering the same thing
@@golvellius6855 no
thanks for the video!! is it possible to add another storage location?? I've an SDD connected to the RPI and i want to use it with nextcloud, if it's possible
Hi, have you found any solution?
Followed your process on a brand new Pi5. At 8:04 I get "Failure - unable to retrieve templates".. Any ideas?
Cool info! Thank you! How would you expose it to the internet in a safe way to avoid constant attacks from hackers trying to get into it? Thanks :)
what is the distro u using on ur pc
which os do you use this video?
How do i add trusted Domains, with this installation? Can i do it post installation or do i need to start again?
Hi Don
Good video thanks.
What would be useful is how best to connect to a NextCloud server that is hosted on a private lan from the outside world.
Paul
The problem with that is it's not a one size fits all video as there's many things that will be specific to your situation, depending on what your ISP is, and what your router is. Some are capable of enabling the things needed and others outright block them from happening. The basic steps are:
1) find out if your ISP will let you have a static IP. It's not essential but makes things easier. Some ISPs will just enable it if you ask, some will charge extra and some won't offer it at all, and some still will actively block external connections from coming in to home servers.
1a) if you don't get a static address, you need to set up a dynamic IP forwarding service which involves an account with a dyndns provider and a client on your server. It's not tricky but is extra config
1b) if you get a static IP address you can buy a domain name to point to that address like owncloud.myawesomedomain.me
Or something 😂
3) once all that is in place you need full access to your router. Some ISPs provide their routers fully locked down making this step impossible without replacing it with your own kit (also a good idea anyway TBH)
4) You need to make the IP address of the OwnCloud server either fully static or "sorta static" where a specific address is allocated or reserved for that specific machine. The server thinks it has a dynamic address but every time it requests one it always gets the same one.
5) In your router settings you need to do "port forwarding" which allows incoming connections from the outside internet to route to the owncloud server on your LAN. Which ports you forward will depend on what services you want to expose. You set the port on the outside (let's say for example port 80 for a web page port) to go from incoming port 80 on the router to forward to port 80 on the IP address of the server on your LAN. More extensive guides on this can be found just by searching for "network port forwarding". The concept is the same if you're forwarding an owncloud server or an enterprise web server.
So sad that NCP was discontinued. Then I have to reshare all my shared folders after setting up a new instance.
Was back on v24 anyways so upgrading would be a hassle
You sure you need to add the port 3306 when setting up nextcloud? IIRC 3306 is default for mysql/mariadb, 5432 is pgsql, 1433 mssql, 1521 oracle, ...
how can you create a backup of all your nextcloud data on another server?
Please do the office addon. I would enjoy finding a way to self host the things I use from Google.
how can i use my external hard drive ? it dont work i think something with permissions but i did not manage to do it
everything seemed to work, but i dont have access to all the Apps you went through and more.
Hello Don, great video as usually. Could I ask you what is the maximum capacity of storage for NextCloud and what is maximum number of HDD? (i.e. If I have a USB HUB(10 disks) with own power i.e. I-TEC or Orico and disks with own power and I connect 6 HDD with kapacity 6TB/per one HDD (36TB toegether) i.e. Western Digital Desktop 6TB - Will be NextCloud OK with this setup?) I ask because I tried OMV 5.0(Open media vault) and I connected there 4 HDD with capacity 6TB, 5TB, 3TB and 2TB and in OMV I saw all four HDD but via network i did not see last one (2TB HDD) ... Thank you very much for your answer.
There's no maximum storage capacity for Nextcloud - of course, if you put in 10 billion files and 100Petabyte of data you want CPU, database and ram resources to match 🙈
Quick Question: Once Next Cloud is installed on the Pi can the program run with no Internet connection, just a local network connection? Or does it need the Internet... Great Video!
Depending on how you install it, Nextcloud can run fully in your own local network, absolutely!
great! have you got stl to print faceplate please ?
Hey Sir, is there a way I can grab the compose file??
Hello, any idea of how to add a external drive to all this? Thank you.
I followed 10 different tutorials and i just can't add an external drive. It's mounted, but i can't add it via Portainer. If anyone can help us?
Where is your link for pi 4 nextcloud build? Can you post it here or in description? 0:19
Why did you use Raspberry Pi Lite instead of Unbuntu Server 22.04?
Which Linux you are using?
The funny thing about these kind of videos is that no one explains the next part about fixing all the issues with nextcloud from it's dashboard and it's really infuriating.
ha, true, there's often a ton of little things you have to configure. A tip: use the AIO docker container. It really takes care of 99% of that for you, and we keep adding things there going forward to keep the maintenance efforts to a minimum. But you're 100% right, even with the AIO - running your own server can be frustrating.
@@Nextcloud I had nextcloud installed only for storing Joplin notes lol and it was kind of annoying to maintain. I have heard a lot about AIO but I stopped hosting nextcloud. Maybe some time in near future when I have a proper server. (:
Btw I would like to shout out to nerd on the street for actually showing how to fix those issues which you get after installing nextcloud.
I would have suggested to use dietpi instead of raspberry pi os lite
Does the Pi 5 requires to setup USB boot like the Pi 4 did or it finds the system off the USB drive on it's own?
find the system on it's own, if your pi 4 doesn't do this, you will need to update your firmware
Hi, I get Error
Error while trying to create admin user: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [1130] Host 'nextcloud.nextcloud_default' is not allowed to connect to this MariaDB server while creating the user with the correct credentials
I have been thinking about installing nextcloud at home. The question that I have is can I access the nextcloud outside my network. Example if I am on vacation will I be able to save my photos to nextcloud without jumping through hoops. Something about how easy it is to view my plex server?
Easy. In the same way you opened a port on your router for Plex, you can do the same for Nextcloud.
It's saying "access through untrusted domain" when i tried log in from my phone.
It’s 0.99c a month for 50GB of iCloud storage. How long would it take to offset the cost for buying the hardware if spare parts aren’t available? It’s nice to have alternatives but iCloud storage is not expensive taking in consideration your hardware and power costs. I have over 15 thousand pictures and I’m not even using 50% of my storage…
I'm waiting for a DeskPi Lite for the Raspberry Pi 5...
planning to install on top of windows 11 server.. not sure, how good it will be............. i was fan of nextcloudpi... it is not working now...
The only reason I haven't converted to nextcloud is because pictures with large file sizes were not available as a preview. Just curious if you have that issue?
you need to download a app called preview generator and run in it CLI, that's how i over came this issue
@@NovaspiritTech Thanks! I'll give it a try
Thank you, I had the same issue and stopped using nextcloud. I may revist nextcloud then 🤔
Doh. I'm a newb and have never had to modify a cron job in linux.
I like the music player app on next c
really? i never tested it... i prob should now
@@NovaspiritTech by Pauli Järvinen
I've always had a problem with the CONFIG file for making it web facing.... there doesn't seem to have alot of instructions with examples out there... I have yet to get it to work from inside, to outside
i'll work on putting something together, there was a few hurdles i had to figure out in my own network too cause of loopback issues
@@NovaspiritTech wow thanks, no rush, but that would be a good video, I'm sure tons of people are stuck there... I use cloudshare(d) to expose... I'm not as good as you building things but I sure try !!... or maybe you make it look easy with the power of editing :)..
for me the connection to the Maria DB doesn't work, I recreated all the Containers with the template but everytime im in nextcloud an want to create the Admin user for Nexcloud and want to connect to the DB, this error appears.
Error while trying to create admin user: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [1130] Host 'nextcloud.nextcloud_default' is not allowed to connect to this MariaDB server
I'm getting the same thing and have been fooling with it looking for answers since last night, did you ever get it figured out?
Very good video, but the problem is the same as other videos.. this is a storege and for this reason you need a backup, when you will do a video on how backup in easy way all the data on nextcloud?
A tip: with the AIO docker container (easiest way to install Nextcloud) we include Borg Backup making it SUPER easy to do a regular backup. Just point it to a folder and tell it to do, say, daily incremental backups. If that folder is a NAS you mounted in, for example, you are done! We also have the Nextcloud Backup app which allows you to backup to another nextcloud instance. Say, put one at a friend's place, and you and your friend can backup to each other's instance!
Hope it helps.
Do you think using Docker (not FOSS) is better than using Podman (FOSS) for SOHO usage?
And would you do a PODMAN video, and benchmark one vs other?
Hi! thank you so much for this video, I followed all the steps but when I try to install a new application appear this error: this app cannot be enabled because it makes the server unstable nextcloud, does anyone know what is happening? thanks in advance
Me too I have this issue it's very annoying
One thing you have not mentioned is the redundancy and backup.
If your drive fails I believe all is gone, right? You can't access anything and even if you have a backup somewhere, you can't do anything with your backup files until you have replaced your drive and restored the data on it.
With other paid platform such as Google, Microsoft, etc, you don't have to worry about redundancy. Backing up, yes, as this is your own responsibility, but your data will always be available.
So you need to set up your multiple drives storage with redundancy RAID or ZFS, preferably during the initial steps as it might be a nightmare to do after a year of use...
Your wife will not be happy if your drive crashes and she can't have access to her photos... But as a good IT guy (and hubby!), you do have all the backups, right? hahaha
Yup backing up is one of the most important things, this might not be the ideal setup since it's only 1 drive but all the data is backed up to another nas and cold storage. I value my life too much to not back up her photos. 🤣
How update Nexcloud on Docker-Portainer ?
ahah i'm working on that video now, but if you want a quick start you can press the "recreate" button from portainer from nextcloud container
I love you lol just kidding, thank youuuu
❤👍
I can’t get to the url mininextcloud. Could I be on a different port?
its your raspberry's host name "mininextcloud" is what his raspberry was called. if you open terminal its after the @
Ok this is local, how can I host this on dynamic ip and also I am getting https not secure issue so how can we overcome this issue?
i will be making a deep dive video into hosing from a dynamic network. but for the mean time to answer your question your can either make a self signed cert or use letsencrypt
@@NovaspiritTech ok and how to apply that signed encrypt cert on this local nextcloud server?
I'd like to see how it works when it has a lot of files. I moved my Synology NAS to TrueNAS + NextCloud and it works like shit. It's so slow....
are you running on sqlite?
What is the problem? Why is it so slow?
@@NovaspiritTech I'm using the AiO container with PostgreSQL
@@electronicstv5884every page reload is slow. I've tested FileCloud and that's fast. If you compare them by speed than NextCloud is like shit.
@@AndrewSpec Hmmm, AiO should really be the fastest possible... We do have some big performance work coming in our next release (just a few more months, stay tuned) but the hardware might also be the issue. Nextcloud does a lot, and the Docker eats quite some ram - if you get low, it becomes slow. We do our absolute best to keep it light but it's difficult.
Love nextcloud pity the Android app is still a bit meh.
So glad I have 1TB on my Microsoft 365 account.
Does anybody else have the error message that they can't install apps because it would make the server unstable?
I really don't understand this PI hype, so many x86 full complete mini PCs for 120 to 150 USD why I should use a PI ?
12:30 one drive is cheaper than this..
A dollar for 50gb is reasonable