Page 1 of 1

Amazon S3 - select bucket

PostPosted:Mon Jul 24, 2017 5:56 am
by iphone
The docs mentions this being experimental
Does it support using bucket names?

Re: Amazon S3 - select bucket

PostPosted:Mon Jul 24, 2017 9:06 am
by jllort
After reading about S3 bucket names ( http://docs.rightscale.com/faq/clouds/a ... names.html ) seems it complish because we use document UUID what are like "a2a73375-9732-471e-8a0a-4b7d1f960e8e"

About the "experimental feature", take as is, if you are outside Amazon, we do not recommend use S3 storage due the bandwidth is needed to get running for getting an acceptable performance.

Re: Amazon S3 - select bucket

PostPosted:Mon Jul 24, 2017 9:29 pm
by iphone
But how can I be sure that it's working?
Its an Ubuntu 16.04 image using Amazon's AWS EC2

I added the credentials to OpenKm, but uploaded files don't appear at S3 at all, the path in any file is still
Code: Select all
/okm:root
Ideally after adding the credentials openKM should show the available buckets and allow the user to pick one

And what does
Code: Select all
Must be configured to export repository content to Amazon S3.
this mean?

Re: Amazon S3 - select bucket

PostPosted:Tue Jul 25, 2017 7:22 am
by jllort
This mean is an experimental feature, what seems only we have done some tests with repository export. If you want to play with it, review the class named FSDataStore and from there with few changes you also will be able to point the datastore to the S3. There are two variables "fs" -> file system and "db" -> database you should create a new one "s3" and apply few changes.

You are welcome to share the code at https://github.com/openkm/document-management-system and create a merge request to the 6.3-dev branch