I am trying to have Nextcloud not access (wake) my disks during the night.
For this I monitored the data directory with
inotifywait and saw the user cache directory (<nc_data_dir>/<user_dir>/cache) is being accessed at somewhat random intervals.
Nothing is done inside the cache directory it is only opened, accessed and closed.
I’m running nextcloud inside docker and these are my cache settings:
'memcache.local' => '\\OC\\Memcache\\APCu', 'memcache.distributed' => '\\OC\\Memcache\\Redis', 'memcache.locking' => '\\OC\\Memcache\\Redis',
I verified that Redis is working correctly and I don’t have any other issues with my Nextcloud install.
Now my question is why is this directory beeing accessed and what could I do to stop it?
The only thing I can think of is bind mounting the directory off the disk, but this is far from ideal as I would have to do this for every user.