I am hosting more than 10 services currently but only Nextcloud sends me errors periodically and only Nextcloud is super extremely painfully slow. I quit this sh*t. No more troubleshooting and optimization.
There are mainly 4 services in Nextcloud I’m using:
Files
: as simple server for upload and download binariesCalendar
(with DAVx5): as sync server without web UINotes
: simple note-takingNetwork folder
: mounted on Linux dolphin
Could you recommend me the alternatives for these? All services are supposed to be exposed by HTTPS, so authentication like login is needed. And I’ve tried note-taking apps like Joplin or trillium but couldn’t like it.
Thanks in advance.
If you’re having issues with NextCloud being slow and having errors, it’s probably because the machine you are running it on is low on RAM and/or CPU.
I bring this up because what ever replacements you try would likely have the same issues.
My NextCloud instance was nearly unusable when I had it on a Raspberry PI 3, but when I moved it to a container on my faster machine (AMD Ryzen 7 4800U with 16GB of ram) it now works flawlessly.
I agree with this. It needs a good amount of CPU cycle and RAM. Raspi struggled for me too.
My NC instance runs on a 24GB RAM, 4 CPU Ampere A1 host(Oracle), and still struggles. YMMV.
And it struggles as a photo backup host an i5-7xxx and 16GB RAM at home.
It’s not absurdly slow, it’s just…irritating sometimes.
Yeah, Ive got this in my setup as well and its been pretty slow. I thought it was a network thing because I’m currently using Tmobile home internet but switching to a fiber optic network with 500Mbps up and down soon. Im really hoping that changes things
There are performance tuning tweaks you can do on NextCloud like memory caching etc.
Ooo Lovely! I’ll look into that!
Whta db are you using
Postgres.
Also using redis, did all the typical perf checks listed on NC site etc.
The backing database type and the storage it runs on are just as important too.
Experiencing the same, a good CPU and lots of RAM would resolve the issue
Even if you ran a basic sqlite nexcloud, if properly optimized, you can deal with millions of files like its nothing. And that is the issue, the bugs and lacking optimization…
4650g + 64GB ram + Mysql and it was file locking on just a 21k 10GB folder constantly.
I have written apps (in Go) that do similar and process data 100 times faster then nextcloud. Hell, my scrapers are faster then nextcloud in a local netwerk, and that is dealing with external data, over the internet.
Its BADLY designed software that puts the blame on the consumer to get bigger and better hardware, for what is essentially, early 2000 functionality.
Mysql and it was file locking on just a 21k 10GB folder constantly
It’ll definitely do that if you keep your database on a network share with spinning disks.
Spin up a container with sqlite in a ram disk and point it to your same data location. Most of the problems go away.
It’ll definitely do that if you keep your database on a network share with spinning disks.
Database and Nextcloud where on a 4TB NVME drive … in Mysql with plenty of cache/memory assigned to it. Not my first rodeo, …
I’m running on an SSD as a VM on 10yr old laptop and have had very few issues compared to running on Raspis in the last. It’s not my first rodeo either and found Debian with NexCloudPi setup script worked the best, then restore from backup. The WebUI is performing great as well as bookmarks, contacts, calendar, video chats and most things I’ve thrown at it. NVME may be overkill but the combination of solid CPU, RAM and Disk IO should alleviate any problems. My hunch is there are other resource constraints or bottlenecks at play, perhaps DDOS or other attacks (experienced that for sure and you can test by dropping your firewall ingress rules to confirm).
Also, this is FOSS and I find the features and usability are better than anything else out there, especially with Letsencrypt.
- Syncthing for files.
- Proton calendar (so not self hosted)
- Joplin, using file based sync with aforementioned syncthing. I saw you didn’t like it though.
- I occasionally use scp
For calendaring, I also went with the option of syncthing via DecSync. I can get my contacts and calendar on Android and Thunderbird, so I can avoid yet another unnecessary webapp.
This does look cool! But I notice that there’s really only one contributor (technically two, but the second only did one tiny commit) and they haven’t contributed any code in over a year. I don’t want to invest too much time migrating to a stale if not dead project.
Honestly, I think that the lack of commits is more due to the application being feature complete than “dead”. I’ve been using it for at least 3 years now and it works quite well.
That’s a fine point! You talked me in to checking it out. Thanks for the recommendation!
I have my issues with Nextcloud, but it’s still, by far, the best solution I’ve come across.
I was on the same boat when I was running NC on a container. I switched to VM, and most of my issues have been resolved, but collabora. I am currently using the built-in collabora server, which is slow.
Sorry to hear you’ve had a bad experience. I’ve been running the lsio Nextcloud docker container for 4 years without any issues at all.
What exactly have you tried to do to address your nextCloud problems?
Same and looking forward to the responses here. Nextcloud is too big and complicated. I deployed Immich to cover for the photo library. Still looking for a good solution for notes though.
I would have nothing but issues if I ran the docker app on unraid and used the sqlexpress built in. I switched over to CasaOS and use Mariasql and the nextcloud container on it and it has been solid.
Did you tried installing it with snap?
Its just snap install nextcloud and you are done. No config no manual updates and iam having a good time with it. It was a bit tricky to change the main storage folder to another hdd, but its possible.
That maybe fix your Performance issues too if there is something configured wrong, in the other hand snap is a bit slower then a normal install.
I don’t know why you’re getting downvoted. I’ve used NextCloud for the past 7-8 years and got tired of the admin tasks and troubleshooting after updates (it was always php causing problems). I switched the the snap package about a year and a half ago, and it’s been rock solid ever sense. It runs perfectly, is always up to date, and I don’t have to do a damn thing.
Did you try hosting it in a container? I’ve heard a lot of people had issues with dependencies, PHP, Apache until they moved to a container.
It doesn’t solve the optimization though. That’s still an issue for people I know who host nextcloud.
Complaints seem to come mostly from people trying to run it on ARM, maybe NC isn’t optimized for that architecture.
It runs equally awful on my x86 server as on my ARM server. The issues to me are more like “hacking” config.php to turn off auto-fetching ALL link previews and now that block doesn’t work anymore. It’s a serious privacy concern.
It’s about all them important fixes that we’ve been waiting for, all them “killer apps” that never works quite well and all them “new technology” features that gets lumped onto users who begs for at least a toggle to turn it off but no. The designers knows best, even if their implementation breaks NC’s own design rules.
And now we’re on the AI train. I doubt there will ever be a way to turn off the mail “prioritized” inbox that doesn’t work. I doubt we’ll get that E2EE that NC’s been touting for what feels like a decade. I big doubt we’ll see Nextcloud Social for the Fediverse. And so many other things officially presented by NC as core components.
It just gets worse and worse and if there were any reasonable alternative, I’d definitively consider switching.
I’m not entirely convinced that NC is optimised at all!
It’s not, it always runs like shit. And I say that lovingly
I moved Nextcloud from k8s to a well provisioned lxc container and ran a couple of performance boosting commands and it’s been working wonders since then
I’ve been a loyal owncloud and then nextcloud user but am growing disappointed in the nextcloud android app. It seems like support/development is quickly degrading. There’s a file upload conflict big that was introduced in an update in September? and they still haven’t rolled back or resolved the issue. https://github.com/nextcloud/android/issues/11974
Try Nextcloud-AIO and install the Preview Generator as well. (note that you will need to run it manually the first time). I did struggle as well, before I found the AIO. Now I’m happy. :-)
Synology Drive is rock solid. Not open source though if that’s important to you and technically requires Synology hardware.