I am working on orthanc for the past few months now and I really liked the recent update regarding minimizing files for orthanc storage. I was kind of doing an experiment with that. What I did was I added google drive as a drive in my file explorer on windows and made that as orthanc storage while installing. So that instead of using my local storage orthanc will use cloud storage which is 2TB. But doing that I encountered a problem. Orthanc was not starting. I am attaching logs and screenshots. Can you please guide me on how can I do that?
I am unable to attch log file so i am just pasting as a text here.
W0305 09:23:37.077617 main.cpp:1846] Orthanc version: 1.9.1
W0305 09:23:37.080560 OrthancConfiguration.cpp:116] Scanning folder “Configuration” for configuration files
W0305 09:23:37.081765 OrthancConfiguration.cpp:65] Reading the configuration from: “Configuration\dicomweb.json”
W0305 09:23:37.102311 OrthancConfiguration.cpp:65] Reading the configuration from: “Configuration\mysql.json”
W0305 09:23:37.116090 OrthancConfiguration.cpp:65] Reading the configuration from: “Configuration\orthanc.json”
W0305 09:23:37.117115 OrthancConfiguration.cpp:65] Reading the configuration from: “Configuration\postgresql.json”
W0305 09:23:37.129843 OrthancConfiguration.cpp:65] Reading the configuration from: “Configuration\serve-folders.json”
W0305 09:23:37.140854 OrthancConfiguration.cpp:65] Reading the configuration from: “Configuration\stone-webviewer.json”
W0305 09:23:37.162713 OrthancConfiguration.cpp:65] Reading the configuration from: “Configuration\transfers.json”
W0305 09:23:37.171726 OrthancConfiguration.cpp:65] Reading the configuration from: “Configuration\webviewer.json”
W0305 09:23:37.182409 OrthancConfiguration.cpp:65] Reading the configuration from: “Configuration\worklists.json”
W0305 09:23:37.681394 main.cpp:815] Loading plugin(s) from: C:\Program Files\Orthanc Server\Plugins
W0305 09:23:37.730162 PluginsManager.cpp:269] Registering plugin ‘connectivity-checks’ (version 1.9.1)
W0305 09:23:37.770690 PluginsManager.cpp:269] Registering plugin ‘stone-webviewer’ (version 1.0)
W0305 09:23:37.813610 PluginsManager.cpp:269] Registering plugin ‘worklists’ (version 1.9.1)
W0305 09:23:37.814603 PluginsManager.cpp:168] Sample worklist plugin is initializing
W0305 09:23:37.816570 PluginsManager.cpp:168] Worklist server is disabled by the configuration file
W0305 09:23:37.891474 PluginsManager.cpp:269] Registering plugin ‘authorization’ (version 0.2.4)
W0305 09:23:37.891474 PluginsManager.cpp:168] Initializing the authorization plugin
W0305 09:23:37.894057 PluginsManager.cpp:168] No section “Authorization” in the configuration file, the authorization plugin is disabled
W0305 09:23:38.088008 PluginsManager.cpp:269] Registering plugin ‘dicom-web’ (version 1.5)
W0305 09:23:38.091016 PluginsManager.cpp:168] URI to the DICOMweb REST API: /dicom-web/
W0305 09:23:38.093910 PluginsManager.cpp:168] URI to the WADO-URI API: /wado
W0305 09:23:38.436370 PluginsManager.cpp:269] Registering plugin ‘gdcm’ (version 1.2)
W0305 09:23:38.438360 PluginsManager.cpp:168] Version of GDCM: 3.0.8
W0305 09:23:38.438360 PluginsManager.cpp:168] GDCM throttling is disabled
W0305 09:23:38.576197 PluginsManager.cpp:269] Registering plugin ‘mysql-index’ (version 3.0)
W0305 09:23:38.592154 PluginsManager.cpp:168] The MySQL index is currently disabled, set “EnableIndex” to “true” in the “MySQL” section of the configuration file of Orthanc
W0305 09:23:38.728818 PluginsManager.cpp:269] Registering plugin ‘mysql-storage’ (version 3.0)
W0305 09:23:38.744803 PluginsManager.cpp:168] The MySQL storage area is currently disabled, set “EnableStorage” to “true” in the “MySQL” section of the configuration file of Orthanc
W0305 09:23:38.848963 PluginsManager.cpp:269] Registering plugin ‘osimis-cloud’ (version 0.3)
W0305 09:23:38.985369 PluginsManager.cpp:269] Registering plugin ‘postgresql-index’ (version 3.3)
W0305 09:23:38.988362 PluginsManager.cpp:168] The PostgreSQL index is currently disabled, set “EnableIndex” to “true” in the “PostgreSQL” section of the configuration file of Orthanc
W0305 09:23:39.101429 PluginsManager.cpp:269] Registering plugin ‘postgresql-storage’ (version 3.3)
W0305 09:23:39.103650 PluginsManager.cpp:168] The PostgreSQL storage area is currently disabled, set “EnableStorage” to “true” in the “PostgreSQL” section of the configuration file of Orthanc
W0305 09:23:39.150729 PluginsManager.cpp:269] Registering plugin ‘transfers’ (version 1.0)
W0305 09:23:39.239402 PluginsManager.cpp:269] Registering plugin ‘web-viewer’ (version 2.7)
W0305 09:23:39.240378 PluginsManager.cpp:168] Initializing the Web viewer
W0305 09:23:39.244413 PluginsManager.cpp:168] Web viewer using 2 threads for the decoding of the DICOM images
W0305 09:23:39.244413 PluginsManager.cpp:168] Storing the cache of the Web viewer in folder: G:\My Drive\Orthanc\WebViewerCache
E0305 09:23:39.247120 PluginsManager.cpp:164] boost::filesystem::status: Access is denied: “G:\My Drive\Orthanc\WebViewerCache”
E0305 09:23:39.247120 PluginsManager.cpp:102] Error while initializing plugin C:\Program Files\Orthanc Server\Plugins\OrthancWebViewer.dll (code -1)
W0305 09:23:39.251387 PluginsManager.cpp:219] Unregistering plugin ‘authorization’ (version 0.2.4)
W0305 09:23:39.251387 PluginsManager.cpp:219] Unregistering plugin ‘connectivity-checks’ (version 1.9.1)
W0305 09:23:39.251387 PluginsManager.cpp:219] Unregistering plugin ‘dicom-web’ (version 1.5)
W0305 09:23:39.252131 PluginsManager.cpp:219] Unregistering plugin ‘gdcm’ (version 1.2)
W0305 09:23:39.256151 PluginsManager.cpp:219] Unregistering plugin ‘mysql-index’ (version 3.0)
W0305 09:23:39.256151 PluginsManager.cpp:168] MySQL index is finalizing
W0305 09:23:39.257106 PluginsManager.cpp:219] Unregistering plugin ‘mysql-storage’ (version 3.0)
W0305 09:23:39.257106 PluginsManager.cpp:168] MySQL storage area is finalizing
W0305 09:23:39.258531 PluginsManager.cpp:219] Unregistering plugin ‘osimis-cloud’ (version 0.3)
W0305 09:23:39.259219 PluginsManager.cpp:219] Unregistering plugin ‘postgresql-index’ (version 3.3)
W0305 09:23:39.259219 PluginsManager.cpp:168] PostgreSQL index is finalizing
W0305 09:23:39.259684 PluginsManager.cpp:219] Unregistering plugin ‘postgresql-storage’ (version 3.3)
W0305 09:23:39.259684 PluginsManager.cpp:168] PostgreSQL storage area is finalizing
W0305 09:23:39.263705 PluginsManager.cpp:219] Unregistering plugin ‘stone-webviewer’ (version 1.0)
W0305 09:23:39.267849 PluginsManager.cpp:219] Unregistering plugin ‘transfers’ (version 1.0)
W0305 09:23:39.267849 PluginsManager.cpp:168] Transfers accelerator plugin is finalizing
W0305 09:23:39.267849 PluginsManager.cpp:219] Unregistering plugin ‘worklists’ (version 1.9.1)
W0305 09:23:39.267849 PluginsManager.cpp:168] Sample worklist plugin is finalizing
E0305 09:23:39.267849 main.cpp:1903] Uncaught exception, stopping now: [Error while using a shared library (plugin)] (code 25)
W0305 09:23:39.267849 main.cpp:1934] Orthanc has stopped
Hello,
The error is explained in your log:
W0305 09:23:39.244413 PluginsManager.cpp:168] Storing the cache of the Web viewer in folder: G:\My Drive\Orthanc\WebViewerCache
E0305 09:23:39.247120 PluginsManager.cpp:164] boost::filesystem::status: Access is denied: “G:\My Drive\Orthanc\WebViewerCache”
E0305 09:23:39.247120 PluginsManager.cpp:102] Error while initializing plugin C:\Program Files\Orthanc Server\Plugins\OrthancWebViewer.dll (code -1)
This error indicates that the user that runs the Orthanc service (presumably the Windows user “Administrator”) has no access to your personal Google Drive folder. You have either to give read-write access to "G:\My Drive" to the “Administrator” user, or to run Orthanc as your personal user (stop using the Windows service, and start Orthanc from the command line).
This is really a Windows system administration problem, for which I cannot provide further support, as I’m exclusively working with free and open-source software.
Regards,
Sébastien-
Hello,
Actually, can you guide me on how can I run Orthanc on windows in administrator mode? I have checked the permission to the folder, it has given read-write access but then also this access is denied problem is coming.
As written in my previous answer: “This is really a Windows system administration problem, for which I cannot provide further support, as I’m exclusively working with free and open-source software.”