Forums

Resolved
0 votes
Hello,

How can i force an update of the disk usage app? Seems not working automagic anymore.
I did a re-install already.
Friday, January 28 2022, 07:02 AM
Share this post:

Accepted Answer

Friday, January 28 2022, 10:57 AM - #Permalink
Resolved
0 votes
There has not been an update to the program for years and it looks like you've found the cron job. It is trying to write a file /var/clearos/disk_usage/duc.db.tmp. Does the folder exist? The file does not have to as it is recreated each time it is run then renamed to duc.db, so it should not exist. You should be able to delete or rename /var/clearos/disk_usage/duc.db as well and it will successfully run.

Are you by any chance low on disk space ("df -h")?
The reply is currently minimized Show
Responses (4)
  • Accepted Answer

    Friday, January 28 2022, 09:45 AM - #Permalink
    Resolved
    0 votes
    It runs with a daily cron job. Have a look at /etc/cron.d/app-disk-usage and run the command manually, perhaps without the ">/dev/null 2>&1" so, if it is failing, you'll be able to see it.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, January 28 2022, 10:19 AM - #Permalink
    Resolved
    0 votes
    Hi Nick,

    On all servers the cronjob seems to be lost. A bug in update?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, January 28 2022, 10:28 AM - #Permalink
    Resolved
    0 votes
    /usr/sbin/duc-updatedb
    Error statting 108835: No such file or directory
    Error statting 108836: No such file or directory
    /usr/sbin/duc-updatedb: line 16: 108953 Segmentation fault duc index --data base=$DB_FILE.temp --exclude /proc --exclude /sys /
    [root@server ~]#
    The reply is currently minimized Show
  • Accepted Answer

    Friday, January 28 2022, 11:54 AM - #Permalink
    Resolved
    0 votes
    Hi Nich,

    I deleted the /var/clearos/disk_usage/duc.db file and it seems it running now, it was stuck since 05-2021. Since that time i mounted a NAS on my filesystem (over NFS4), the NAS has encryption and i can remember after an update i forgot to unlock the NAS disk. Maybe thats the reason it got stuck?

    I have still about 2.5TB of local free space so thats ok, but i noticed that some large dirs were still there and the were deleted.
    Thanks for solving the problem!

    Cheers!
    The reply is currently minimized Show
Your Reply