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.
The backing database type and the storage it runs on are just as important too.
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.
Whta db are you using
Postgres.
Also using redis, did all the typical perf checks listed on NC site etc.
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!
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.
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.
- 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!
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?
I have my issues with Nextcloud, but it’s still, by far, the best solution I’ve come across.
This is where I am right now as well. The main thing (or really the only thing in fact) I use nextcloud for now is file storage, because when it works, it works damn well. I only really need something that can upload and download files easily, which I guess there are alternative for that, but I also need to be able to share the files via link and share links where other people can upload files for me, which so far Nextcloud does the best of the bunch I’ve tried… So I’m kinda stuck on the decision to switch for now…
I used NC with postgresql, apps works fine and pretty smooth in everything. Compared to mysql it definitely feel faster.
But now I have no use for NC, I installed File Browser for file exploring. Super simple web file browser.
Focalboard, for kanban.
Obsidian with sync.
I love the idea of nextcloud but it really seems pretty hostile towards hosters I would suggest looking at something like Cryptpad which is at least an upgrade to your personal security.
i dont understand how some people have lots of issue with NC and some people say its all good
i have tried many times to switch to NC, It always slow (given that it running locally next to me, i expect it to be snappy) and throws me some error after somedays. I really wanted to use NC, so many things in one package
Owncloud.
I personally never caught the Nextcloud hype, and stuck with the original. So far I’ve heard (and seen, having tried it twoce) nothing but trouble from Nextcloud while my Owncloud install continues to be rock solid for going on 10 years (regularly updated, of course!).
I always recommend OwnCloud. It even has a raw photo viewer plugin and if you know anything about RAW 24 megapixel photos, they are tough to load. But with owncloud a folder full of 30 pictures loads within 10-15 seconds
I personally never caught the Nextcloud hype
The “hype” being simply Nextcloud not being OwnCloud which turned proprietary, no?
Owncloud is not proprietary (it’s AGPLv3) and I’m really not sure where people get that idea.
The original Nextcloud/Owncloud fork was due to disagreements in development direction, not (say) like Jellyfin/Emby where there was actually a license change. Nextcloud wanted to “move fast”, Owncloud wanted stability. There was potential concern around the time of the fork that, perhaps, hypothetically, some day, Owncloud might “go proprietary”, but going on close to 10 years that has not happened.
Same. I ran OwnCloud and Nextcloud in parallel for a while until a Nextcloud update nuked it and my wife lost some of her college work.
After that I’ve appreciated the slower more deliberate pace of OwnCloud
Dunno, running my nextcloud for a long time now, even updating the lazy way over the web UI and not the suggested CLI, not even once had a problem that was Nextclouds fault.
I use linuxserver.io’s nextcloud docker image. While I’ve seen people struggle to setup Nextcloud properly to the point of just giving and installing the snap version of it, I can count the number of times I’ve needed to do manual interventions for nextcloud with LSIO’s nextcloud image. It works like a charm.
Second this. Running on portsinet with the images. Absolutely breeze with 8gb ram and 2tb ssd
lSIO is amazing, my first stop for container browsing! Followed in second place by hotio.dev
I just installed it baremetal, works like a charm.
Did you switch Nextcloud from SQLite to another database?
Other than that, chances are, whatever makes your Nextcloud install slow will also affect Seafile or whatever else you replace it with.
I spent some time with top and iotop debugging my server performance problems. I found an issue that was completely unrelated to Nextcloud. Since I fixed it my Nextcloud instance has been completely reliable.
I looked into Seafile as well but disliked that it stores my files in some weird block format.
This
If you are willing to consider commercial products, I can recommend Synology DiskStations (at least the plus series). Samba shares are quite easy to setup, you can use Synology Drive to sync a folder between workstations and Android phones which I use for Obsidian for note taking. They also have calendar options, but I use a hosted account at posteo for that.
If you want to stick to nextcloud but don’t want to host it, you could consider Hetzner Storage Share. It’s fully managed and worked great for me so far. But I only use it to share photos with others, so not all features.
Sorge Hetzner Storage Share is what I now use as a “rock solid” Nextcloud. It’s slow as fuck since I activated like all plugins but - hypothetically they let you run those small llms for a Local AI integration meaning you could do a lot for those few bucks.
However, long term, I having setup Nextcloud AIO and so far I did one upgrade without any issues. This Nextcloud could be fast - but is not slow running on 150gb RAM and 6 vCPUs. It would take more RAM if I give it more…but I have a full stack NC with Talk,ClamAV, Talk Record, …
I like the look of filerun - but it’s not free in the community edition anymore. So what I am looking into for a time but could not figure to setup is Pydio.
Perhaps you need something to trigger the webcron so things don’t slow down to a crawl. I use uptime Kuma to trigger the webcron every five minutes and have never had any issues.