Osimis viewer not working

Hi , i have run test for orthancteam/orthanc:24.9.1

i already enable in the environment

image: orthancteam/orthanc:24.9.1
ports: [“8220:8042”]
container_name: test
restart: unless-stopped
volumes: [“./orthanc5:/etc/orthanc”]
environment:
ORTHANC__DICOM_SERVER_ENABLED: “true”
ORTHANC__DICOM_MODALITIES_IN_DATABASE: “true”
ORTHANC__ORTHANC_PEERS_IN_DATABASE: “true”
DICOM_WEB_PLUGIN_ENABLED: “true”
OSIMIS_WEB_VIEWER1_PLUGIN_ENABLED: “true”
PYTHON_PLUGIN_ENABLED: “true”
TRANSFERS_PLUGIN_ENABLED: “true”
WORKLISTS_PLUGIN_ENABLED: “true”
AUTHORIZATION_PLUGIN_ENABLE: “false”
ORTHANC__AUTHENTICATION_ENABLE: “false”

this is the log

padipacs2-padidemo5.1.0 | W1025 04:10:21.189642 MAIN main.cpp:2059] Orthanc version: 1.12.4
padipacs2-padidemo5.1.0 | W1025 04:10:21.189878 MAIN OrthancConfiguration.cpp:58] Reading the configuration from: “/tmp/orthanc.json”
padipacs2-padidemo5.1.0 | W1025 04:10:21.220486 MAIN main.cpp:917] Loading plugin(s) from: /run/orthanc/plugins
padipacs2-padidemo5.1.0 | E1025 04:10:21.220521 MAIN PluginsManager.cpp:247] Inexistent path to plugins: /run/orthanc/plugins
padipacs2-padidemo5.1.0 | W1025 04:10:21.220526 MAIN main.cpp:917] Loading plugin(s) from: /usr/share/orthanc/plugins
padipacs2-padidemo5.1.0 | W1025 04:10:21.221121 MAIN PluginsManager.cpp:274] Registering plugin ‘orthanc-explorer-2’ (version 1.6.2)
padipacs2-padidemo5.1.0 | W1025 04:10:21.221500 MAIN PluginsManager.cpp:158] Root URI to the Orthanc-Explorer 2 application: /ui/
padipacs2-padidemo5.1.0 | E1025 04:10:21.221738 MAIN SharedLibrary.cpp:99] dlopen(/usr/share/orthanc/plugins/libOsimisWebViewer.so) failed: Error /usr/share/orthanc/plugins/libOsimisWebViewer.so: cannot open shared object file: No such file or directory
padipacs2-padidemo5.1.0 | W1025 04:10:21.221956 MAIN PluginsManager.cpp:224] Unregistering plugin ‘orthanc-explorer-2’ (version 1.6.2)
padipacs2-padidemo5.1.0 | E1025 04:10:21.222036 MAIN main.cpp:2116] Uncaught exception, stopping now: [Error while using a shared library (plugin)] (code 25)
padipacs2-padidemo5.1.0 | W1025 04:10:21.222065 MAIN main.cpp:2147] Orthanc has stopped
orthanc-padidemo5.1.0 | T1025 04:10:44.035382 WEBDAV-UPLOAD OrthancWebDav.cpp:1246] Cleaning up the empty WebDAV upload folders
orthanc-padidemo5.1.0 | T1025 04:11:15.019473 WEBDAV-UPLOAD OrthancWebDav.cpp:1246] Cleaning up the empty WebDAV upload folders
padipacs2-padidemo5.1.0 | Startup command: exec “Orthanc /tmp/orthanc.json”
padipacs2-padidemo5.1.0 | W1025 04:11:21.531823 MAIN main.cpp:2059] Orthanc version: 1.12.4
padipacs2-padidemo5.1.0 | W1025 04:11:21.532044 MAIN OrthancConfiguration.cpp:58] Reading the configuration from: “/tmp/orthanc.json”
padipacs2-padidemo5.1.0 | W1025 04:11:21.561228 MAIN main.cpp:917] Loading plugin(s) from: /run/orthanc/plugins
padipacs2-padidemo5.1.0 | E1025 04:11:21.561258 MAIN PluginsManager.cpp:247] Inexistent path to plugins: /run/orthanc/plugins
padipacs2-padidemo5.1.0 | W1025 04:11:21.561262 MAIN main.cpp:917] Loading plugin(s) from: /usr/share/orthanc/plugins
padipacs2-padidemo5.1.0 | W1025 04:11:21.561803 MAIN PluginsManager.cpp:274] Registering plugin ‘orthanc-explorer-2’ (version 1.6.2)
padipacs2-padidemo5.1.0 | W1025 04:11:21.562168 MAIN PluginsManager.cpp:158] Root URI to the Orthanc-Explorer 2 application: /ui/
padipacs2-padidemo5.1.0 | E1025 04:11:21.562371 MAIN SharedLibrary.cpp:99] dlopen(/usr/share/orthanc/plugins/libOsimisWebViewer.so) failed: Error /usr/share/orthanc/plugins/libOsimisWebViewer.so: cannot open shared object file: No such file or directory
padipacs2-padidemo5.1.0 | W1025 04:11:21.562598 MAIN PluginsManager.cpp:224] Unregistering plugin ‘orthanc-explorer-2’ (version 1.6.2)
padipacs2-padidemo5.1.0 | E1025 04:11:21.562687 MAIN main.cpp:2116] Uncaught exception, stopping now: [Error while using a shared library (plugin)] (code 25)
padipacs2-padidemo5.1.0 | W1025 04:11:21.562720 MAIN main.cpp:2147] Orthanc has stopped

it show issue with osimis plug in

Thank you in advanced

Hi,

You should set the env var "VERBOSE_STARTUP": "true" to debug this kind of issues. You probably have a "Plugins" entry in a configuration file that you should remove since this entry is handled by the startup script of the orthancteam/orthanc docker image.

HTH,

Alain

Thanks Alain,

OSIMIS_WEB_VIEWER1_PLUGIN_ENABLED: “true”

is this correct to enable osimis viewer?

yes