user26
September 2, 2021, 11:13am
1
My system is centos7.6 and I see that the Linux installation support in the source compilation installation package does not have my system support. I cannot build a complete dicom with a common line installation, and I find that many plug-ins on Windows are not available on the source installation. Please help me. A worker in the medical industry.
Configuration.json (37.3 KB)
Yesterday I managed to build Orthanc v.1.9.7 from sources, on CentOS 7, static building, using the supplied documentation and cmake3
Cheers
Mike
Hi,
I would not recommend building from source just for fun There are plenty of ways to get the compiled binaries.
In your case, I would clearly recommend downloading the LSB binaries that should work on 99% of Linux distributions or to use Docker: https://book.orthanc-server.com/users/debian-packages.html .
HTH
Alain
user26
September 7, 2021, 5:39am
4
version: ‘3.1’ # Secrets are only available since this version of Docker Compose
services:
orthanc:
image: jodogne/orthanc-plugins:1.9.7
command: /run/secrets/ --verbose # Path to the configuration files (stored as secrets)
ports:
4242:4242
8042:8042
secrets:
orthanc.json
environment:
ORTHANC_NAME=HelloWorld
secrets:
orthanc.json:
file: orthanc.json
jodogne
September 7, 2021, 5:48am
5
Have you tried the following address?
http://:8042/dicom-web/studies
Check out the simplified reference of the DICOMweb standard:
https://www.dicomstandard.org/dicomweb
user26
September 7, 2021, 6:09am
6
Docker-compose up does not work, and there is nothing similar during startup: dicomWeb is being loaded
[root@localhost orthanc-docker]# docker-compose up
Starting orthanc-docker_orthanc_1 … done
Attaching to orthanc-docker_orthanc_1
orthanc_1 | W0907 06:05:22.294876 main.cpp:1956] Orthanc version: 1.9.7
orthanc_1 | I0907 06:05:22.295273 main.cpp:1988] Architecture: 64-bit, little endian
orthanc_1 | W0907 06:05:22.295430 OrthancConfiguration.cpp:117] Scanning folder “/run/secrets/” for configuration files
orthanc_1 | W0907 06:05:22.295885 OrthancConfiguration.cpp:66] Reading the configuration from: “/run/secrets/orthanc.json”
orthanc_1 | I0907 06:05:22.296673 Toolbox.cpp:1488] Setting up the ICU common data
orthanc_1 | I0907 06:05:22.625461 Toolbox.cpp:1467] Using locale: “en_US.UTF-8” for case-insensitive comparison of strings
orthanc_1 | I0907 06:05:22.625836 Toolbox.cpp:1759] OpenSSL version: OpenSSL 1.1.1k 25 Mar 2021
orthanc_1 | I0907 06:05:22.626451 FromDcmtkBridge.cpp:291] (dicom) Using DCTMK version: 366
orthanc_1 | I0907 06:05:22.626527 FromDcmtkBridge.cpp:299] (dicom) Loading the embedded dictionaries
orthanc_1 | I0907 06:05:22.643201 FromDcmtkBridge.cpp:311] (dicom) Loading the embedded dictionary of private tags
orthanc_1 | I0907 06:05:22.653105 FromDcmtkBridge.cpp:2293] (dicom) Registering JPEG Lossless codecs in DCMTK
orthanc_1 | I0907 06:05:22.653138 FromDcmtkBridge.cpp:2301] (dicom) Registering JPEG codecs in DCMTK
orthanc_1 | I0907 06:05:22.653164 FromDcmtkBridge.cpp:2308] (dicom) Registering RLE codecs in DCMTK
orthanc_1 | I0907 06:05:22.653190 Enumerations.cpp:2315] Default encoding for DICOM was changed to: Latin1
orthanc_1 | W0907 06:05:22.661996 OrthancInitialization.cpp:358] SQLite index directory: “/run/secrets/OrthancStorage”
orthanc_1 | W0907 06:05:22.662362 OrthancInitialization.cpp:457] Storage directory: “/run/secrets/OrthancStorage”
orthanc_1 | I0907 06:05:22.663352 SQLiteDatabaseWrapper.cpp:1345] Version of the Orthanc database: 6
orthanc_1 | W0907 06:05:22.663396 HttpClient.cpp:1176] HTTPS will use the CA certificates from this file: /run/secrets/
orthanc_1 | I0907 06:05:22.663411 HttpClient.cpp:498] (http) Setting the default timeout for HTTP client connections: 0 seconds
orthanc_1 | I0907 06:05:22.663429 HttpClient.cpp:482] (http) Setting the default proxy for HTTP client connections:
orthanc_1 | I0907 06:05:22.663441 DicomAssociationParameters.cpp:375] (dicom) Default timeout for DICOM connections if Orthanc acts as SCU (client): 10 seconds (0 = no timeout)
orthanc_1 | I0907 06:05:22.664624 ServerIndex.cpp:438] Starting the monitor for stable resources (stable age = 60)
orthanc_1 | I0907 06:05:22.664651 ServerIndex.cpp:300] Starting the database flushing thread (sleep = 10 seconds)
orthanc_1 | I0907 06:05:22.664857 LuaJobManager.cpp:79] (lua) Lua: DICOM associations will be closed after 5 seconds of inactivity
orthanc_1 | I0907 06:05:22.664891 LuaScripting.cpp:782] Initializing Lua for the event handler
orthanc_1 | W0907 06:05:22.665081 LuaContext.cpp:93] Lua says: Lua toolbox installed
orthanc_1 | I0907 06:05:22.665194 LuaJobManager.cpp:79] (lua) Lua: DICOM associations will be closed after 5 seconds of inactivity
orthanc_1 | I0907 06:05:22.665214 LuaScripting.cpp:782] Initializing Lua for the event handler
orthanc_1 | W0907 06:05:22.665332 LuaContext.cpp:93] Lua says: Lua toolbox installed
orthanc_1 | I0907 06:05:22.665376 ServerContext.cpp:373] Automated transcoding of incoming DICOM instances is disabled
orthanc_1 | I0907 06:05:22.665391 ServerContext.cpp:380] (dicom) Deidentification of log contents (notably for DIMSE queries) is enabled
orthanc_1 | I0907 06:05:22.665402 ServerContext.cpp:384] (dicom) Version of DICOM standard used for deidentification is 2021b
orthanc_1 | I0907 06:05:22.665520 ServerContext.cpp:403] (dicom) Preferred transfer syntax for Orthanc C-STORE SCU: 1.2.840.10008.1.2.1
orthanc_1 | I0907 06:05:22.665594 DcmtkTranscoder.cpp:75] Quality for lossy transcoding using DCMTK is set to: 90
orthanc_1 | W0907 06:05:22.665613 ServerContext.cpp:478] Disk compression is disabled
orthanc_1 | I0907 06:05:22.665622 ServerContext.cpp:1155] Storing MD5 for attachments: yes
orthanc_1 | W0907 06:05:22.665635 ServerIndex.cpp:391] No limit on the number of stored patients
orthanc_1 | W0907 06:05:22.665644 ServerIndex.cpp:411] No limit on the size of the storage area
orthanc_1 | W0907 06:05:22.666118 ServerContext.cpp:220] Reloading the jobs from the last execution of Orthanc
orthanc_1 | W0907 06:05:22.666831 JobsEngine.cpp:271] The jobs engine has started with 2 threads
orthanc_1 | I0907 06:05:22.666845 JobsEngine.cpp:125] (jobs) Worker thread 0 has started
orthanc_1 | I0907 06:05:22.666923 DicomServer.cpp:132] (dicom) Setting timeout for DICOM connections if Orthanc acts as SCP (server): 30 seconds (0 = no timeout)
orthanc_1 | I0907 06:05:22.666922 JobsEngine.cpp:125] (jobs) Worker thread 1 has started
orthanc_1 | I0907 06:05:22.667836 DicomServer.cpp:420] (dicom) Orthanc SCP will not use DICOM TLS
orthanc_1 | W0907 06:05:22.668042 main.cpp:1263] DICOM server listening with AET ORTHANC on port: 4242
orthanc_1 | I0907 06:05:22.668083 HttpServer.cpp:1579] (http) This Orthanc server uses CivetWeb as its embedded HTTP server
orthanc_1 | I0907 06:05:22.668100 HttpServer.cpp:2068] (http) The embedded HTTP server will use 50 threads
orthanc_1 | I0907 06:05:22.668091 DicomServer.cpp:63] (dicom) DICOM server started
orthanc_1 | I0907 06:05:22.668121 HttpServer.cpp:1928] (http) HTTP keep alive is enabled
orthanc_1 | W0907 06:05:22.668173 HttpServer.cpp:1992] HTTP compression is enabled
orthanc_1 | I0907 06:05:22.668184 HttpServer.cpp:2081] (http) TCP_NODELAY for the HTTP sockets is set to true
orthanc_1 | I0907 06:05:22.668195 HttpServer.cpp:2101] (http) Request timeout in the HTTP server is set to 30 seconds
orthanc_1 | W0907 06:05:22.668208 main.cpp:1014] ====> Remote access is enabled while user authentication is explicitly disabled, your setup is POSSIBLY INSECURE <====
orthanc_1 | I0907 06:05:22.668228 main.cpp:1127] Version of Lua: Lua 5.3
orthanc_1 | W0907 06:05:22.668243 main.cpp:1138] Remote LUA script execution is disabled
orthanc_1 | I0907 06:05:22.668269 HttpServer.cpp:2148] (http) Branching WebDAV bucket at: /webdav
orthanc_1 | I0907 06:05:22.668284 HttpServer.cpp:1624] (http) Starting embedded Web server using Civetweb
orthanc_1 | I0907 06:05:22.670507 OrthancWebDav.cpp:1705] Starting the WebDAV upload thread
orthanc_1 | W0907 06:05:22.670563 HttpServer.cpp:1769] HTTP server listening on port: 8042 (HTTPS encryption is disabled, remote access is allowed)
orthanc_1 | W0907 06:05:22.670583 main.cpp:890] Orthanc has started
orthanc_1 | I0907 06:05:22.670597 LuaScripting.cpp:841] Starting the Lua engine
orthanc_1 | I0907 06:05:52.845298 HttpServer.cpp:1238] (http) GET /dicom-web/studies
orthanc_1 | I0907 06:05:52.863448 HttpServer.cpp:1238] (http) GET /app/images/favicon.ico
orthanc_1 | I0907 06:05:52.863523 SystemToolbox.cpp:819] Unknown MIME type for extension “.ico”
orthanc_1 | I0907 06:05:59.712572 HttpServer.cpp:1238] (http) GET /dicom-web/studies
orthanc_1 | I0907 06:05:59.732201 HttpServer.cpp:1238] (http) GET /app/images/favicon.ico
orthanc_1 | I0907 06:05:59.732267 SystemToolbox.cpp:819] Unknown MIME type for extension “.ico”
orthanc_1 | I0907 06:06:27.788411 HttpServer.cpp:1238] (http) GET /dicom-web/studies
orthanc_1 | I0907 06:06:27.810192 HttpServer.cpp:1238] (http) GET /app/images/favicon.ico
orthanc_1 | I0907 06:06:27.810259 SystemToolbox.cpp:819] Unknown MIME type for extension “.ico”
在2021年9月7日星期二 UTC+8 下午1:48:52s.jo...@gmail.com 写道:
jodogne
September 7, 2021, 6:34am
7
As written in my answer from another of your questions, the DICOMweb plugin is not loaded, so you cannot use DICOMweb:
https://groups.google.com/g/orthanc-users/c/npQsWmhC8As/m/NVYr7wK1AQAJ?utm_medium=email&utm_source=footer
user26
September 7, 2021, 7:46am
8
How is docker-compose supposed to work with plugins that I’m running like include
在2021年9月7日星期二 UTC+8 下午2:34:35s.jo...@gmail.com 写道:
jodogne
September 7, 2021, 8:01am
9
user26
September 7, 2021, 8:16am
10
my yml files like this
version: ‘3.1’ # Secrets are only available since this version of Docker Compose
services:
orthanc:
image: jodogne/orthanc-plugins:1.9.7
command: /run/secrets/ --verbose # Path to the configuration files (stored as secrets)
ports:
4242:4242
8042:8042
secrets:
orthanc.json
environment:
ORTHANC_NAME=HelloWorld
secrets:
orthanc.json:
file: orthanc.json
my orthanc.json like this
{
// “Name”: “Orthanc A”,
“Name” : “${ORTHANC_NAME} in Docker Compose”,
“RemoteAccessAllowed”: true,
“AuthenticationEnabled”: false,
“RegisteredUsers”: {
“demo”: “demo”
},
“DicomWeb” : {
“Enable” : true, // 是否启用 DICOMweb 支持
“Root” : “/dicom-web/”, // DICOMweb API 的根 URI(对于 QIDO-RS、STOW-RS 和 WADO-RS)
“EnableWado” : true, // 是否启用 WADO-URI(以前称为 WADO)支持
“WadoRoot” : “/wado”, // WADO-URI (aka. WADO) API 的根 URI
“ssl” : false, //
I’m sorry, Sir. Since I’m a novice and I can’t understand the words translated through the translator, I have been struggling with this problem for a long time. Maybe I can’t understand the instructions
在2021年9月7日星期二 UTC+8 下午4:01:40s.jo...@gmail.com 写道:
FYI, here’s a full functional docker-compose sample setup that shows how to configure dicom-web.
https://bitbucket.org/osimis/orthanc-setup-samples/src/master/docker/dicom-web/
HTH
Alain.
user26
September 7, 2021, 8:51am
12
Hello, Mr. Alain, I have seen this example, but it is just like what you said, I can only refer to it. I feel it cannot help me to continue the investigation. Could you please help me to look at my configuration file? I’m afraid I can’t go on
在2021年9月7日星期二 UTC+8 下午4:20:20alain...@osimis.io 写道:
I think you’re not adding the plugin in the Plugins configuration (https://hg.orthanc-server.com/orthanc/file/tip/OrthancServer/Resources/Configuration.json#l55 ).
In the orthanc-setup sample with the osimis/orthanc image, this is done automatically.