, with that model in mind, i made to the point the s3 library is loaded (along with postgres) as i bring up docker container. However S3 is not being used. i noticed the following line in the log:
------------------
W0527 14:07:52.973045 main.cpp:864] Loading plugin(s) from: /usr/local/share/orthanc/plugins/libOrthancAwsS3Storage.so
W0527 14:07:53.076865 PluginsManager.cpp:269] Registering plugin 'AWS S3 Storage' (version mainline)
W0527 14:07:53.089193 PluginsManager.cpp:168] AWS S3 Storage plugin is initializing
W0527 14:07:55.129326 PluginsManager.cpp:168] AWS S3 Storage: client-side encryption is disabled
E0527 14:07:55.145958 PluginsManager.cpp:197] Exception while invoking plugin service 1016: Another plugin has already registered a custom storage area
W0527 14:07:55.146007 main.cpp:1610] Using a custom database from plugins
W0527 14:07:55.146016 main.cpp:1621] Using a custom storage area from plugins
------------------
As I DICOM send object, it stores and displays without storing anything to my designated s3 bucket. The cloud object doc seems to suggest that as long as you add a AWS s3 plugin section, it will be picked up as dicom storage location. But the log above tells me otherwise, and I'm confused that that "another plugin" is. Is it postgres?
Here's my config and I've confirmed the value of environment variables are correct.
I've also tried to remove the Postgres reference from config file, and I got an error:
orthweb | E0527 14:37:55.406836 PluginsManager.cpp:164] AWS S3 Storage: error while creating object f1ed636d-244d-4f22-8353-a05da6bdc1d2: error while writing file orth/f1ed636d-244d-4f22-8353-a05da6bdc1d2.dcm: curlCode: 1, Unsupported protocol
orthweb | E0527 14:37:55.407820 StoreScp.cpp:197] Exception while storing DICOM: Error in the plugin implementing a custom storage area