nvreport -class "Media From DB"
Cannot load class default template
This occurs consistently across:
mediafromdbclidefault
However, this file:
Several other report classes follow the same pattern and may also fail if executed via CLI:
| Class | clidefault Template Exists? |
|---|---|
| jobhistoryfromdb | Yes |
| mediafromdb | No |
| backupselectionsfromdb | No |
| eventsfromdb | No |
| globalnotificationsfromdb | No |
| jobdefinitionsfromdb | No |
| logsfromdb | No |
| usernotificationsfromdb | No |
Any attempt to run these classes via nvreport CLI may result in the same error.
Our investigation has determined that this issue corresponds to a known defect, tracked as NV-5195.
A permanent fix is included in:
NetVault Core 14.2
mediaclidefault and jobhistoryfromdbclidefault), the template should follow the same format and content pattern as outlined below.%CLASS "Media From DB"
%NICENAME "Media From DB - cli default template"
%FORMAT "%LABEL %MEDIAGROUP %BARCODE %MEDIATYPE %SPACEUSED %SPACELEFT %LIBRARYNAME %ONLINE"
%SORT %MEDIAGROUP+ %LABEL+
%OUTPUTTYPE 0
%HEADERNAME "Default"
%FOOTERNAME "Default"