I hear people say that about Nextcloud often, which is part of why I haven’t bothered setting it up yet.
Is there a technical reason why it’s slow and clunky? Any problematic choices with how it was built?
Likely because it’s mainly written in PHP and the default database is SQLite, which is not great for large deployments.
But I use Nextcloud daily on a low end machine and I don’t think it’s that bad.
It needs some tweaks to be snappy. The defaults are really bad.
- change database from SQLite to a proper database like MySQL or Postgres, and configure the database server to use your memory fully
- increase the PHP memory limit from the default (128M on many distros) to >1G, the more the better
- install APCu in-memory cache for PHP
- add Redis as additional cache
- turn off the antivirus extension, if installed (ClamAV is useless)
- use http/2 on Apache/nginx to increase performance with multiple connections
Thank you for these suggestions. But I have a few questions.
How can I do the 2nd and 3rd point if I am using docker/podman containers?
Why is ClamAV useless?
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:
Fewer Letters More Letters Git Popular version control system, primarily for code HTTP Hypertext Transfer Protocol, the Web NVMe Non-Volatile Memory Express interface for mass storage SSD Solid State Drive mass storage SSO Single Sign-On VPN Virtual Private Network nginx Popular HTTP server
6 acronyms in this thread; the most compressed thread commented on today has 4 acronyms.
[Thread #580 for this sub, first seen 7th Mar 2024, 12:55] [FAQ] [Full list] [Contact] [Source code]
What I dont get is why so many years later, their android app still won’t auto sync
You need to configure it
Nothing to configure…you specify folders, but they won’t auto upload or download
Because that is not its intended function. If you want that just use Easy Sync with Nextcloud or another WebDAV server.
Your both crazy. My shit syncs just fine.
Android actually pushes to folders on server without manually initiating?
Settings -> auto upload. Set your options and folder mapping to the cloud. If you want it to work all the time turn off battery optimization of the next cloud app. It’s been working for myself and my wife since at least 2018.
Does it auto download then too? I swear I looked all through that app. Couldn’t get KeePass or obsidian to sync automatically
I used to do keepass through it. So yes. But I haven’t done that in a hot minute. I do still have a master sync folder for some stuff… but I have tried to open any of those items on my phone in a long time.
Last I checked it worked. I haven’t needed that in a long time though so that might have changed. But it’s not that hard to just grab the file in the nextcloud app too.
I like to update both and keep it all synced. What do you use now? I’m probably going to do syncthing