HynesJeff Posted May 9, 2023 Share Posted May 9, 2023 One of my drives keeps spinning up and i cant tell what is causing it. Any advice? Quote Link to comment
apandey Posted May 9, 2023 Share Posted May 9, 2023 It can be some open files - open files plugin can help to identify It can be some file access - file activity plugin can help to identify It can be something trying to list directories - this is a harder one, usually have to try and stop all docker / vm / share clients etc and start one by one to identify. If this is the cause, folder caching plugin can help to solve Quote Link to comment
HynesJeff Posted May 9, 2023 Author Share Posted May 9, 2023 looks like nextcloud.log may be causing it... why is this written to the array and not appdata Quote Link to comment
Solution apandey Posted May 10, 2023 Solution Share Posted May 10, 2023 8 hours ago, HynesJeff said: looks like nextcloud.log may be causing it... why is this written to the array and not appdata Seems like that is nextcloud default, it logs under data directory. Odd choice If you want, you can change the log location in config.php, I believe it is under appconfig/www/nextcloud/config Quote Link to comment
HynesJeff Posted May 10, 2023 Author Share Posted May 10, 2023 (edited) Thanks, I fixed it by moving it to /var/log/nextcloud and mapping that to another dir inside .../appdata/nexcloud However, now it looks like that data directory contains another file that is being opened; /data/files_external/rootcerts.crt and I can't figure out how to move this. For this i raised a bug: https://github.com/linuxserver/docker-nextcloud/issues/309 Edited May 10, 2023 by HynesJeff Quote Link to comment
mgabor Posted July 23 Share Posted July 23 I had the same problem, except I'm running nextcloud-aio so I'm not able to mount additional folders inside the ncdata folder. After trying many things, the solution that seems to work is preventing the mover from moving this file to the disks from the cache. I'm using the Mover Tuning plugin to achieve this. Steps: Stop all NextCloud containers Delete the rootcert.crt file (make a backup, just in case) Start nextcloud containers again. This will recreate the rootcert.crt file on the cache (SSD). Install and configure the Mover Tuning plugin to ignore this file when moving and leave it permanently on the cache. I used this guide to do this. Hope this helps. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.