Follow up question about implementing the HouseKeeper with an instance that did not have it before.
I enabled the housekeeper and added the recommended set of ExtraMainDicomTags and tried restarting. It looks like the Housekeeper by default uses the default location for the OrthancStorage:
/var/lib/orthanc/db:Z
On this page in the book: https://book.orthanc-server.com/users/docker-osimis.html#default-configuration
it mentions:
Orthanc and each plugin might have some default settings that might eventually be different from the defaults included in the Orthanc executable or the plugin library.
Orthanc non-standard defaults:
{
“StorageDirectory” : “/var/lib/orthanc/db”,
“RemoteAccessAllowed”: true,
“AuthenticationEnabled”: true,
“HttpsCACertificates” : “/etc/ssl/certs/ca-certificates.crt”,
“Plugins” : [“/usr/share/orthanc/plugins/”]
}
I actually had something different previously, so the Housekeeper failed to find the resources to reconstruct because it is apparently hard coded to look there and not in the location specified in the orthanc.json ?
I changed my docker compose and my configuration to map it to the default location in the Docker Container and I think it ‘works’ and I also no longer see that issue with the PDF’s not displaying in the Stone Viewer. I am presuming that one of those tags maybe fixes it ?
W0310 16:55:10.063446 PluginsManager.cpp:157] Starting Housekeeper worker thread
W0310 16:55:10.084835 PluginsManager.cpp:157] Housekeeper: your storage might still contain some dicom-as-json files → will perform housekeeping
W0310 16:55:10.085980 PluginsManager.cpp:157] Housekeeper: the DB configuration has changed since last run, will reprocess the whole DB !
W0310 16:55:10.156017 ServerToolbox.cpp:259] Reconstructing resource 11818585-0511df9d-a82b2632-c0956624-dc0f3e76
W0310 16:55:16.582057 ServerToolbox.cpp:259] Reconstructing resource 6e5a8118-f48298d2-397c6d1f-f8dd022f-5fb02d2d
W0310 16:55:21.820040 ServerToolbox.cpp:259] Reconstructing resource 3f01062a-4ca86d1a-24e6c4c2-4da48650-2f948c25
W0310 16:55:26.840274 ServerToolbox.cpp:259] Reconstructing resource a393b54b-8be40ca9-66790f82-a19697f9-eda8c6da
Although I am a little hesitant to deploy it just yet on a production version. Just wondering if there is a way to specify the location for the Storage Directory for the HouseKeeper, or does it require it to be the default location ? I didn’t really see source code for the Housekeeper Plug-in in the repo, like maybe an environment variable or mapping from the orthanc.json config ?
“ExtraMainDicomTags” : {
“Instance” : [
“Rows”,
“Columns”,
“ImageType”,
“SOPClassUID”,
“ContentDate”,
“ContentTime”,
“FrameOfReferenceUID”,
“PixelSpacing”,
“SpecificCharacterSet”,
“BitsAllocated”,
“BitsStored”
],
“Series” : [
“TimezoneOffsetFromUTC”,
“PerformedProcedureStepStartDate”,
“PerformedProcedureStepStartTime”
],
“Study”: [
“TimezoneOffsetFromUTC”
],
“Patient”: []
},
. . . .
. . . .
/sds