Hi guys, how its going?
i cant make work orthanc with my json.
What i need is orthanc read mnt/pacs from my truenas SCALE. permissons are free.
my json file is
{
“Name”: “Pacs Antiguo Sanatorio Bernal”,
“StorageDirectory”: “/mnt/Datos/Resguardo/orthanc/cache”,
“IndexDirectory”: “/mnt/Datos/Resguardo/orthanc/db”,
“StorageCompression”: true,
“MaximumStorageSize”: 10,
“MaximumPatientCount”: 10,
“LuaScripts”: ,
“Plugins”: [
“/mnt/Datos/Resguardo/orthanc/libAdvancedStorage.so”,
“/mnt/Datos/Resguardo/orthanc/libConnectivityChecks.so”,
“/mnt/Datos/Resguardo/orthanc/libDelayedDeletion.so”,
“/mnt/Datos/Resguardo/orthanc/libHousekeeper.so”,
“/mnt/Datos/Resguardo/orthanc/libModalityWorklists.so”,
“/mnt/Datos/Resguardo/orthanc/libMultitenantDicom.so”,
“/mnt/Datos/Resguardo/orthanc/libServeFolders.so”,
],
“ConcurrentJobs”: 1,
“HttpServerEnabled”: true,
“HttpPort”: 8042,
“HttpDescribeErrors”: true,
“HttpCompressionEnabled”: true,
“WebDavEnabled”: true,
“WebDavDeleteAllowed”: false,
“WebDavUploadAllowed”: true,
“DicomServerEnabled”: true,
“DicomAet”: “ORTHANC”,
“DicomCheckCalledAet”: false,
“DicomPort”: 4242,
“DefaultEncoding”: “Latin1”,
“DeflatedTransferSyntaxAccepted”: true,
“JpegTransferSyntaxAccepted”: true,
“Jpeg2000TransferSyntaxAccepted”: true,
“JpegLosslessTransferSyntaxAccepted”: true,
“JpipTransferSyntaxAccepted”: true,
“Mpeg2TransferSyntaxAccepted”: true,
“RleTransferSyntaxAccepted”: true,
“Mpeg4TransferSyntaxAccepted”: true,
“UnknownSopClassAccepted”: false,
“DicomScpTimeout”: 30,
“RemoteAccessAllowed”: true,
“SslEnabled”: false,
“SslCertificate”: “certificate.pem”,
“SslVerifyPeers”: false,
“SslTrustedClientCertificates”: “trustedClientCertificates.pem”,
“AuthenticationEnabled”: true,
“RegisteredUsers”: {
“administrator”: “d0m1n10”
},
“DicomModalities”: {},
“DicomModalitiesInDatabase”: true,
“DicomAlwaysAllowEcho”: true,
“DicomAlwaysAllowStore”: true,
“DicomCheckModalityHost”: false,
“DicomScuTimeout”: 10,
“OrthancPeers”: {},
“OrthancPeersInDatabase”: false,
“HttpProxy”: “”,
“HttpVerbose”: false,
“HttpTimeout”: 60,
“HttpsVerifyPeers”: true,
“HttpsCACertificates”: “/etc/ssl/certs/ca-certificates.crt”,
“UserMetadata”: {},
“UserContentType”: {},
“StableAge”: 60,
“StrictAetComparison”: false,
“StoreMD5ForAttachments”: true,
“LimitFindResults”: 0,
“LimitFindInstances”: 0,
“LimitJobs”: 10,
“LogExportedResources”: false,
“KeepAlive”: true,
“TcpNoDelay”: true,
“HttpThreadsCount”: 50,
“StoreDicom”: true,
“DicomAssociationCloseDelay”: 5,
“QueryRetrieveSize”: 100,
“CaseSensitivePN”: false,
“LoadPrivateDictionary”: true,
“Dictionary”: {},
“SynchronousCMove”: true,
“JobsHistorySize”: 10,
“SaveJobs”: true,
“OverwriteInstances”: false,
“MediaArchiveSize”: 1,
“StorageAccessOnFind”: “Always”,
“MetricsEnabled”: true,
“ExecuteLuaEnabled”: false,
“HttpRequestTimeout”: 30,
“DefaultPrivateCreator”: “”,
“StorageCommitmentReportsSize”: 100,
“TranscodeDicomProtocol”: true,
“BuiltinDecoderTranscoderOrder”: “After”,
“DicomLossyTranscodingQuality”: 90,
“SyncStorageArea”: true
}
and the run error
2025-04-21 09:46:51.453614-07:00Generating random hostid in /etc/hostid: 8357ca51
2025-04-21 09:46:51.644285-07:00Traceback (most recent call last):
2025-04-21 09:46:51.644323-07:00File “/startup/generateConfiguration.py”, line 48, in
2025-04-21 09:46:51.644373-07:00ERROR: Unable to parse Json file ‘/etc/orthanc/orthanc.json’; check syntax
2025-04-21 09:46:51.644448-07:00configurator.mergeConfigFromFile(configFromFile, filePath)
2025-04-21 09:46:51.644473-07:00^^^^^^^^^^^^^^
2025-04-21 09:46:51.644522-07:00NameError: name ‘configFromFile’ is not defined
someone know what its going?
thanks