configuration howto

1,278 views
Skip to first unread message

smito...@gmail.com

unread,
Feb 12, 2014, 3:16:10 AM2/12/14
to orthan...@googlegroups.com
Hello,
Thank you for this great application. Unfortunately my knockledge in computing is very basic, but i succeeded in setting up a dcm4chee archive. I would like to test and use Orthanc. Installation, access and upload are so simple, thank for that!!!! But i am facing some problems:
1. -I can´t find how to change configuration file (although it is explained, but i have some problems understanding it), could you please give some details how to do it?
2.- During remote access orthanc security area pops up, but i don´t have or can´t set the credentials (see point 1)

Thank you for your help

A S

Sébastien Jodogne

unread,
Feb 12, 2014, 3:21:31 AM2/12/14
to orthan...@googlegroups.com, smito...@gmail.com
Hello,

Thank you for this great application. Unfortunately my knockledge in computing is very basic, but i succeeded in setting up a dcm4chee archive. I would like to test and use Orthanc. Installation, access and upload are so simple, thank for that!!!! But i am facing some problems:
1. -I can´t find how to change configuration file (although it is explained, but i have some problems understanding it), could you please give some details how to do it?

This is explained on the following page:

In a nutshell, you have to:
  1. Generate a sample configuration file: # Orthanc --config=Configuration.json
  2. Edit the generated file "Configuration.json" with a text editor (e.g. Notepad if you are under Windows).
  3. Launch Orthanc using the modified configuration:  # Orthanc Configuration.json
 
2.- During remote access orthanc security area pops up, but i don´t have or can´t set the credentials (see point 1)

In the generated configuration file, you have to set the option "RemoteAccessAllowed" to "true". For security reasons, remote access is disallowed by default.

Cheers,
Sébastien-

smito...@gmail.com

unread,
Feb 13, 2014, 4:31:55 PM2/13/14
to orthan...@googlegroups.com, smito...@gmail.com
On Wednesday, February 12, 2014 9:21:31 AM UTC+1, Sébastien Jodogne wrote:
> Hello,
>
> Thank you for this great application. Unfortunately my knockledge in computing is very basic, but i succeeded in setting up a dcm4chee archive. I would like to test and use Orthanc. Installation, access and upload are so simple, thank for that!!!! But i am facing some problems:
>
> 1. -I can´t find how to change configuration file (although it is explained, but i have some problems understanding it), could you please give some details how to do it?
>
>
>
>
> This is explained on the following page:
> https://code.google.com/p/orthanc/wiki/OrthancConfiguration
>
>
>
> In a nutshell, you have to:
> Generate a sample configuration file: # Orthanc --config=Configuration.jsonEdit the generated file "Configuration.json" with a text editor (e.g. Notepad if you are under Windows).Launch Orthanc using the modified configuration:  # Orthanc Configuration.json
>  
> 2.- During remote access orthanc security area pops up, but i don´t have or can´t set the credentials (see point 1)
>
>
>
>
> In the generated configuration file, you have to set the option "RemoteAccessAllowed" to "true". For security reasons, remote access is disallowed by default.
>
>
> Cheers,
> Sébastien-

Thank for the quick help. Works perfectly. This seems very promising.

Sébastien Jodogne

unread,
Feb 14, 2014, 3:02:55 AM2/14/14
to orthan...@googlegroups.com, smito...@gmail.com
Thank for the quick help. Works perfectly. This seems very promising.

Fine!

Sébastien-
 

Charles Short

unread,
Feb 19, 2014, 4:30:00 PM2/19/14
to orthan...@googlegroups.com, smito...@gmail.com
sudo Orthanc ./Configuration.json              
W0219 16:22:24.624114 18265 OrthancInitialization.cpp:62] Using the configuration from: ./Configuration.json
W0219 16:22:24.627171 18265 main.cpp:327] Storage directory: "./OrthancStorage"
W0219 16:22:24.627264 18265 main.cpp:328] Index directory: "./OrthancStorage"
W0219 16:22:24.627293 18265 ServerContext.cpp:76] Disk compression is disabled
W0219 16:22:24.627310 18265 ServerIndex.cpp:1034] No limit on the number of stored patients
W0219 16:22:24.627341 18265 ServerIndex.cpp:1051] No limit on the size of the storage area
W0219 16:22:24.627411 18265 main.cpp:400] DICOM server listening on port: 4242
W0219 16:22:24.627429 18265 main.cpp:401] HTTP server listening on port: 8042
W0219 16:22:24.629299 18280 DicomServer.cpp:86] Loading the external DICOM dictionary "/usr/share/libdcmtk2/dicom.dic"
E: DcmDataDictionary: Cannot open file: /usr/share/libdcmtk2/dicom.dic
terminate called after throwing an instance of 'Orthanc::OrthancException'


----
I'm confused here.

Sébastien Jodogne

unread,
Feb 20, 2014, 6:26:47 AM2/20/14
to orthan...@googlegroups.com, smito...@gmail.com
Hello,

Which Linux distribution are you running? Have you compiled the package by yourself? If so, have you used the build instructions for your Linux distribution, as detailed in the following file:

Looks like the "DCMTK_DICTIONARY_DIR" variable has not been set properly when invoking CMake.

Sébastien-

Charles Short

unread,
Feb 20, 2014, 8:00:11 AM2/20/14
to orthan...@googlegroups.com, smito...@gmail.com
Cool thanks;

I am running Wheezy; and used apt-get; I'll try cmake as noted and report back.

Sébastien Jodogne

unread,
Feb 20, 2014, 8:37:08 AM2/20/14
to orthan...@googlegroups.com, smito...@gmail.com
This is strange: There is currently no official backport of Orthanc to Wheezy. Your "apt-get" invocation should thus have failed...

Maybe you have introduced the Debian Jessie/Sid repositories into your apt sources? If this is the case, pay attention to the fact that this approach is doomed to fail.

Charles Short

unread,
Feb 20, 2014, 8:41:41 AM2/20/14
to orthan...@googlegroups.com, smito...@gmail.com
Had to reinstall sources but got it running thanks!
Reply all
Reply to author
Forward
0 new messages