Disk Usage calculation stuck
-
When I click the "Details" button under Server > Disk Usage it gets stuck at about 25%. The logs show it's hanging at the following line:
box:shell system: /usr/bin/sudo --non-interactive /home/yellowtent/box/src/scripts/du.sh /srv/[redacted]This
/srv/[redacted]directory is configured as a filesystem volume which contains various symlinks, of which:productspoints toproducts_s3fs(this symlink is here as an 'entry point' so i can quickly switch to another target when necessary)products_s3fspoints to/media/path_to_s3fs- a lot of symlinks within subdirectories which point to paths relative to
/app/data/public
I know s3fs isn't officially supported by Cloudron, but in theory
dushould simply skip/ignore these symlinks because they shouldn't resolve anywhere, as these paths only exist at app level. Maybe it gets stuck because of some recursion issue at the first symlink.Maybe the solution is to simply never follow symlinks during disk usage calculation.
Any ideas? Thanks!