Greetings,
Can anyone please point me to pre-complied orthanc-s3-storage plugin for either linux or Windows?
Greetings,
Can anyone please point me to pre-complied orthanc-s3-storage plugin for either linux or Windows?
I am not sure there are pre-compiled libraries on the web. The Orthanc Book has instructions: AWS S3 plugin, and the Docker Images from Osimis also have those: Pre-compiled
I have occasionally just grabbed one from a Docker Build if I did not want to compile from source.
could you help me out and extract it from the docker image? also do you have any experience compiling the plugin for Windows?
Hi,
Do you intend to use the extracted plugin from docker on your Linux orthanc?
Regards
Hi,
I’m not sure anyone has ever built this plugin for Windows.
You may try to extract the .so file from the Docker container but that probably won’t work since it has been built with specific libraries inside the container that you probably don’t have on your local system.
So, rebuilding it on your system is your best option.
Best regards,
Alain.
Dear all,
This was not an easy task, but I’ve setup an automatic build of the AWS build for Linux Standard Base on our continuous integration server.
As a consequence, you can access precompiled binaries of the AWS plugin that has no dependencies and that is portable across Linux distributions right from: Orthanc downloads
Only the mainline version is available for the time being. Versioned binaries will be available as new official releases of the AWS S3 plugin are issued.
If there are sufficient requests, I might consider building precompiled versions of the plugin for Microsoft Windows in the next few weeks/months.
HTH,
SĂ©bastien-
Precompiled versions of the plugin for Windows would be a godsend!!!
I confirm that the plugin for Windows is very necessary.
Hi.
Pls will this be helpful and how can i use this. I have my orthanc server already running on an aws ec2 instance behind a proxy server. But i want to configure orthanc to use s3 bucket for storage
I almost detest Windows, but a precompiled binary for Windows users would be great.
Dear all,
Compiling the Amazon SDK for Windows to statically link the S3 plugin proved to be an extremely complex task. Nevertheless, I seem to have succeeded.
You can find the precompiled binaries for Windows at the following addresses:
Would it be possible for someone to test these binaries? If they work, I may consider an official release.
Note that the initialization of the plugin can be accelerated by setting the environment variable AWS_EC2_METADATA_DISABLED
to true
, as explained here.
Kind Regards,
SĂ©bastien-
You sir are a legend.
Thank you very much for your help and work.
I’m still a novice engineer. Please tell me how to set up the configuration file for S3 correctly on Windows? I need to add the settings to the main “orthanc file.json”? or create a new configuration file separately?
We are talking about these settings:
“AwsS3Storage” : {
“BucketName”: “test-orthanc”,
“Region”: “fr-par”,
“AccessKey”: “XXX”,
“SecretKey”: “YYY”,
“Endpoint”: “s3.fr-par.scw.cloud”
}
Hello,
Please tell me how to set up the configuration file for S3 correctly on Windows?
Here is the link to the documentation in the Orthanc Book: Cloud Object Storage plugins — Orthanc Book documentation
Regards,
SĂ©bastien-
Thanks for the reply. I added precompiled binaries in my folder, made the settings in the configuration file, rebooted the service, but I get an message in the logs that the Aws S3 Storage section was not found. Maybe I missed something in the settings S3?
An example of my configuration file:
orthanc.json (42.2 KB)
Data from the log:
MAIN AWS S3 Storage:/StoragePlugin.cpp:581] AWS S3 Storage plugin is initializing
MAIN AWS S3 Storage:/StoragePlugin.cpp:591] AWS S3 Storage: no “AwsS3Storage” section found in configuration, plugin is disabled
I get an message in the logs that the Aws S3 Storage section was not found.
This presumably indicates that you have not modified the proper configuration file.
I found an error and made corrections. And I can now confirm that the download to S3 on Windows is working.
My settings that work successfully:
“AwsS3Storage” : {
“BucketName”: “test”,
“Region”: “ru-1”,
“AccessKey”: *****,
“SecretKey”: ******,
“Endpoint”: “https://s3.ru-1.storage.test.ru”,
“UseTransferManager”: false,
“HybridMode”: “Disabled”,
“EnableLegacyUnknownFiles”: true,
“VirtualAddressing” : false,
}
Thank you very much for the work done.
Dear all,
Thanks @OlegYuryev for your feedback. Given the absence of reported issues, I have decided to make an official release: AWS S3 plugin now in Windows installers
Regards,
SĂ©bastien-