Disk usage module fail after update

NethServer Version: your_version 6.8
Module: your_module disk usage

upgrade 2 6.8 installs today,

Feb 11 14:34:57 server9b yum[2941]: Updated: duc-1.4.2-1.ns6.x86_64

disk usage only shows the spinning wheel, only log I can see;

Feb 11 15:07:20 server9b esmith::event[2934]: Event: nethserver-duc-save 
Feb 11 15:07:41 server9b esmith::event[2934]: Action: /etc/e-smith/events/nethserver-duc-save/S20nethserver-duc-index SUCCESS [21.303158]
Feb 11 15:07:41 server9b esmith::event[2934]: Event: nethserver-duc-save SUCCESS

maybe…

Feb 11 14:52:05 server9b smartd[2281]: smartd 5.43 2012-06-30 r3573 [x86_64-linux-2.6.32-642.13.1.el6.x86_64] (local build)
Feb 11 14:52:05 server9b smartd[2281]: Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net
Feb 11 14:52:05 server9b smartd[2281]: Opened configuration file /etc/smartd.conf
Feb 11 14:52:05 server9b smartd[2281]: Configuration file /etc/smartd.conf was parsed, found DEVICESCAN, scanning devices
Feb 11 14:52:05 server9b smartd[2281]: Device: /dev/sda, type changed from 'scsi' to 'sat'
Feb 11 14:52:05 server9b smartd[2281]: Device: /dev/sda [SAT], opened
Feb 11 14:52:05 server9b smartd[2281]: Device: /dev/sda [SAT], VBOX HARDDISK, S/N:VB90ac3a87-2173662e, FW:1.0, 25.7 GB
Feb 11 14:52:05 server9b smartd[2281]: Device: /dev/sda [SAT], not found in smartd database.
Feb 11 14:52:05 server9b smartd[2281]: Device: /dev/sda [SAT], lacks SMART capability
Feb 11 14:52:05 server9b smartd[2281]: Device: /dev/sda [SAT], to proceed anyway, use '-T permissive' Directive.
Feb 11 14:52:05 server9b smartd[2281]: Monitoring 0 ATA and 0 SCSI devices
Feb 11 14:52:05 server9b smartd[2283]: smartd has fork()ed into background mode. New PID=2283.

@edoardo_spadoni something to ask ?

something quite similar happened recently on NS7 -> https://github.com/NethServer/dev/issues/5214#issuecomment-278910129

I don’t think it’s the same problem: the action which does the index isn’t in a failed state.

By the way, you can try the package from testing repository (nethserver-duc-1.0.5-1.2.gcbdb762.ns6.noarch.rpm)
Also, check the content of /var/cache/duc/duc.json.

Eventually, you could try to wipe out the cache:

rm -f /var/cache/duc/*
signal-event  nethserver-duc-save 

Apparently, they just needed enough time to fully index.

1 Like