Home Assistant, Nextcloud and paperless ngx on a Pi 4
Hi Guys.
Currently, my Raspberry Pi 4 is only running Home Assistant OS, which works quite well.
In the last few weeks, I have grown more and more interested in paperless ngx and Nextcloud. Do you think my pi would be able to handle home automation and some light document management simultaneously?
If so, should I install a fresh version of Raspbian or let HA-OS handle the Docker containers?
Thanks for your answers, and have a wonderful day :)
It's probably going to be ok to scope them out and experiment a bit, but I doubt you'll get enough performance and stability to run it as production. Paperless' OCR is quite heavy on the CPU - iirc you can disable it but then you lose half of what makes it useful, and Nextcloud also does some processing to files that are uploaded to it. Since you are not running pi-hole or other latency-sensitive services it will probably be fine, it will just get sluggish while it processes uploads.
While paperless processing is indeed quite intensive, it's not like this is a latency-sensitive task. If it takes 5m to OCR a scan, so be it. That doesn't make it unusably slow.
What I meant is that overloading the CPU on a Raspberry running pi-hole will make the whole network misbehave and timeout, until DNS requests are able to be serviced again. But since they're not doing that it should be fine :)
Sure it is... especially when you start to have tons of JavaScript erros in your browser console :D Now seriously, have a look at this: https://lemmy.world/comment/346174
Ive been running HA (in docker container) and NextCloud on rpi4 4gb and it was working fine, but after server upgrade (diy pc) nextcloud became much more snappy (wasnt my reason to upgrade). Not sure about paperless, but I had many more lightweight services along with HA and NC.
Im also not heavy HA or NC user, just my 0.02
Same here. My old Pi 4, was running HA, Nextcloud, Ghost blog, websites, Jellyfin and a couple of other small things. It did it fine, but when I upgraded to the Odroid H3 it all became so much faster and snappier.
I would, but you have to decide on your own. I dont know can you afford HA downtime, how much experience you have and how much time you want to burn. I found docker frustrating to learn but super rewarding. Keep in mind Im still new.
Its best to backup and/or get spare SD card to learn how to setup everything. Be prepared for begginer mistakes, but once you get familiar a bit it will be much easier.
If you can manage docker containers in HAOS just try it. I have 0 experience with HAOS so cant help much, but I saw Portainer is available as HA addon. You should be able to manage all docker containers with simple Portainer GUI.
I had dietpi or raspbian OS with docker, docker-compose and Portainer installed. Then I started many containers (including HA) using Portainer. If you go this path you will lose HA addons. I believe most addons can be replaced with docker containers from hub.docker.com, but Im not sure about that. Ive just seen some HAOS vs Docker posts