help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 20.0.5): 20.0.7
Operating system and version (eg, Ubuntu 20.04): Armbian 21.02.1 Buster
Apache or nginx version (eg, Apache 2.4.25): nginx/1.14.2
PHP version (eg, 7.4): 7.3.19-1~deb10u1
Just feeling the UI is laggier than I would expect, much more than the OMV UI.
Exploring the server tuning section in the docs, I’d just like to know 2 things.
A. Would it be better to store the Nextcloud database on the RAID5 array (7200rpm) along with the data? Or store it on the eMMC along with the system?
B. It looks like APCu is already enabled, but would it be advisable to use Redis for a small NAS like this (4GB Ram)? If so can anyone point me to a link describing installing and using Redis if both Nextcloud and Redis were in Docker containers? I have Redis installed and running in it’s own Docker via Portainer, but I cant seem to get them to communicate.
generally speaking speed of the hard disk should NOT become the limiting factor for small system (database). modern hard disks read/write at >50MB/sec even for sequential reads… this should be enough for SOHO usage (don’t forget 1GBit/s LAN network saturates at 70MB/sec).
If you have enough RAM most likely the DB will fit into cache completely - so all requests are server from memory. write access is way to aggressive in MariaDB by default - it tries to flush the data to disk once a second. Personally I prefer to relax this timeout to 5-15sec - data loss of such short period is acceptable in private environment. this are settings from my system - I’m almost happy with the performance of my Nextcloud docker instance running on Qnap NAS (Celeron CPU) with both data and database on RAID5 spinning disks. I don’t remember exactly what the settings mean - please review if the fit for you.