I have setup so many instances over the months on different servers and the web ui always takes 40s to a minute to load per page I have always used redis for caching and the best methods even the aio docker image(s) are really slow.
kind of just been living with it for the past month or so but its really annoying when others are saying theirs takes seconds to load.
I am with you as well. I’ve had my instance up for 3 years on 4 cores and 8GB ram and each page loads in seconds. I’m not running anything crazy on it either (stock + 3ish extras). Hard drives are 4x sas in raid10.
ah lucky i did sort of solve my problem using the nextcloud docker image for a community and it's fast that is stripped down on all the apps though so probably going to give the docker container a go on my server
Same here,it tried running it on a vps, i tried it as the only program running on a 32GB ram operton server, now i'm running it inside Docker with Redis and all the recommended optimizations, no apps installed . As slow as always.
Nextcloud is like Windows 98, when you install it it's fast, then as you add data to it it gets expotentially slower.
I'm moving most data to Syncthing, gave up on the Files part of Nextcloud.
Syncthing is what I use as well, it's very fast and I've been using it for over a year now with no issues.
I've actually had nextcloud nuke my data once before too, they had a bug that reset the created/mod time of every file to something like 01/01/1000 and completely broke everything, I had to restore from a backup.
Most new software not explicitly made for and by hobbyists will assume "just throw more hardware at it" to be a valid solution to inefficiency, and unfortunately Nextcloud (especially with any of the office extensions) seems to be heading that way.
Uhm, you will need to tell us more about your hardware or setup.
I wouldn't describe my Nextcloud as especially fast or optimized, but it is only around 20s from the login screen to being able to use it. And once you are logged in it is quite fast.
i have used all sort of hardware from a pi 4 to a vm on dell server with 2 vcpus and 8GB ram and now a vm on a custom server with 4 vcpus of a AMD Ryzen 9 5900X and 8GB ram using the docker aio I havent messed with it yet because i expected it to work
yeah i use mariadb with it and messed with the config but still nothing more than maybe 1 second same with enabling caching with redis and editing the php config i did get it down from 3-4 minutes though so thats something
Nextcloud does need some tuning by default, specifically the php, nginx/apache, and database settings so that they all make use of more resources and some stuff like cache headers or opcode caching.
If you haven't used it yet, I think the AIO installation of nextcloud includes a lot of config optimization by default. I don't have experience with it, but probably worth a try?
I'm pretty sure the database tuning is what made the biggest difference to me.
I'm using their apache docker and i don't see many speed issues.
I see issues instead with WordPress, my blog with 15000 pages but just 1000 visits a month takes 30 seconds to load a single page...... Could not manage to improve it, even with extensive caching, percona, redis, and so on...
One day I need to find the strength to migrate to Hugo (the automated tool makes a mess)
oh yeah i have a small community and setup an archive with the apache nextcloud docker container but then forgot about it then yesterday i was trying to install an alternative and noticed it so took a look at the nc container and it was so fast its crazy how the vm i made with 1vcpu and 1GB ram outperformed a vm running on way more powerful server with nextcloud.
oof yes wordpress its so slow I had tried everything and it would be so cool too, I see these wordpress site builders and websites running wordpress god knows how they are so fast but a +1 for hugo i use it for my blog which only has 2 blog posts with about 1 view that isn't a bot/scraper
If you only want online file storage and sync, you may want to try Seafile. It's a lot faster and has been rock solid since 10+ years for me.
Not viable if you need some of the many nextcloud exentions though
I have the same issues with Nextcloud as OP, regardless of the hardware it's running on or what kind of optimizations I've done, but I've always hesitated to use Seafile because it doesn't keep the files in tact. They are chunked/encrypted or something else, which I'm sure helps performance, but I really value having my files just be regular files with Nextcloud, so if I ever want to take them out of Nextcloud without the help of the application, I can just do that.
I wish Seafile had an option to maintain the file integrity. If it did, I would definitely give it another try.
Yeah the files are stored in blocks. It helps deduplicating and for syncing partial files/change.
If your concern is just with being able to copy the files away, there is seaf-fuse, which lets you mount it as a local filesystem: https://manual.seafile.com/extension/fuse/
I second this. If all you want is a Dropbox/Drive replacement Seafile is amazing.
Bonus: in addition to syncing files across devices you can also choose to access the shares as network drives (e.g. if some of your devices have limited storage.)
While 40-60s is definately not normal, Next loud is heavily bloated with a bunch of plugins and features many people don’t need. Go through the plugins page and see what you really need.
ha this is exactly what i did on the instance i setup for a community yesterday and its really fast so im probably going to clone that setup on my server just with the apps and thigns i use
cpu is low 0.2% but ram seems fine using 2GB and looking at the logs in the web ui the only one i have really gotten is
[PHP] Error: Doctrine\DBAL\Exception\DriverException: An exception occurred while executing a query: SQLSTATE[HY000]: General error: 7 FATAL: terminating connection due to administrator command
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request. at /var/www/html/3rdparty/doctrine/dbal/src/Driver/API/PostgreSQL/ExceptionConverter.php#91
PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json
from 192.168.200.200 by admin at 2023-06-24T15:08:05+00:00
well i guess someone proficient with that kind of stuff can do something with that^^ i am not but this sounds like it could be part (or root) of the problem
same not too sure about the docker version i just setup and with my bare metal install not that much nothing over 500 and the docker one is a fresh install
Even on my obscure setup (NetBSD nvmm virtual machine running on NetBSD host using zfs) I get decent performance with PostgreSQL, and minimal PHP opcache and redis tuning. One thing is not to use too many php-fpm processes. I host a small private server for family and friends, and usually limit the number of processes to 8. The VM has 8 GB of RAM and 10 CPU cores, but the cores are slow by today's standards.
Very long delays on otherwise decent hardware (i. e. anything newer than 10 years) always smell of DNS problems, if the symptom is a very long wait time with nothing happening, and then a reasonably fast page rendering / UI loading.
I'm quite happy with the performance, although some of the regular tasks seem to consume excessive amounts of "system" CPU time. But response time and preview rendering are all acceptable.
ah ill have to take a look at what i have set the php-fpm processes too might have set it to something stupidly high not knowing because high = better right? haha
it's not super fast, but I've never had any real issues with its speed for day to day use. you need to tune it for your hardware and use case, and also avoid loading up all the plug-ins you don't need, just start with a clean, stripped back installation and add only what you need.
It's hosted on a couple of cores of an old 6700k on good ol slow Unraid, averages under 300mb of ram usage, database is a separate mariaDB instance on SSD, files are on a standard slow unraid array but with an nvme write cache, it's going through a basic by the books nginx setup on a pretty limited 50mbit upload connection.