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.
edit: totally didn’t forget to include a body
Cannot confirm this. For me nextcloud us very snappy and fast.
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.
…this is a new low for low-effort posts.
Wow.
haha sorry still getting the hang of lemmy and accidently submitted it with no body
Then, sorry - i thought this was a legitimate shtpost.
Have you tried integrating a caching mechanism? Or tried assigning more memory to PHP?
You know their tuning page? I did several of their suggestions and they helped me. https://docs.nextcloud.com/server/latest/admin_manual/installation/server_tuning.html
What Hardware are you using? My nextcloud takes at most a couple seconds and has only been getting faster these last few updates.
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)
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
You are using normal database like Postgres and it runs on a SSD?
using mariadb for my bare metal one that runs on a hdd but no clue what the docker one uses and that is on a SSD
The best is to run the database on an SSD, but move the data directory to a HDD for more storage.
I’m not running nextcloud myself, but have you checked that the database settings are scaled to match your server’s resources?
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
What CPU / RAM / DISK resources do you have allocated?
4 cores 8GB ram and 500GB i looked at a resource monitor and the cpu barely hits 10% when im trying to load ages and the server is running other things
Next thing that comes to mind is web server settings / threads / workers. But I’m afraid I can’t help you more since I’m not familiar with Nextcloud.
yeah i have increased them to the recommended settings and tried adding some but still cant get it to constantly load under a minute. i would put it down to the server being 100s of miles from me but even my server running in house is slow
Because it’s ✨ modern ✨ and ✨ enterprise ✨
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.
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