File Storage S3 : non-AWS S3 (Vult provider)

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • yuri
    replied
    It's not trivial to describe. It requires work to figure out how to do it. Maybe consider using config-internal for now and implement the itegration page later on.

    Leave a comment:


  • zkuun8
    replied
    Hi,

    Instead of writing these informations into config-intenal.php, I would like to store them somewhere else.
    Is it possible?​

    Code:
    'awsS3Storage' => [
    'bucketName' => 'erp-espocrm',
    'path' => 'test',
    'credentials' => [
    'key' => 'xxxxxxxxxx',
    'secret' => 'xxxxxxxx',
    ],
    'region' => 'ams1',
    'endpoint' => 'ams1.vultrobjects.com',
    ],



    I would like to store these informations into the UI like Administration > Integrations
    If so, I would like to create a new element on the left panel (under Outlook) , and a form (like on the right). Could you tell me how to do this please?Click image for larger version

Name:	image.png
Views:	134
Size:	39.3 KB
ID:	113571

    Leave a comment:


  • zkuun8
    replied
    thanks !
    I was able to make it works, so I can confirm it works !
    My issue was a server DNS issue. thanks for help !

    Leave a comment:


  • yuri
    replied
    I don't know about which endpoint should be used. Maybe you need to prepend https://

    Leave a comment:


  • zkuun8
    replied
    Hi yuri,

    This is the log :

    Code:
    [2025-01-04 14:17:18] CRITICAL: (0) Could not contact remote server. Could not resolve host: ams1.vultrobjects.com for "https://ams1.vultrobjects.com/erp-espocrm/test/677942e7ab9894d2e". :: POST /Attachment :: /var/www/html/vendor/async-aws/core/src/Response.php(161)
    Should I change the entrypoint like this : %(bucket)s.ams1.vultrobjects.com ?

    Leave a comment:


  • yuri
    replied
    I've never tried to connect other than AWS services. But I know people successfully did. Though I can't be sure it work with any.

    Leave a comment:


  • yuri
    replied
    What is in log file? Usually all errors are logged.

    Leave a comment:


  • zkuun8
    started a topic File Storage S3 : non-AWS S3 (Vult provider)

    File Storage S3 : non-AWS S3 (Vult provider)

    Hi,

    I'm having issues with setting up an external file storage.
    I follow this post :
    When I try to upload a file, I get error 500.

    So I wonder if I really can add S3 non-AWS by this way or is it only available for Amazon services?

    In the case it should works with Vult, this is what I tried:

    config-internal.php :
    Code:
    'awsS3Storage' => [
    'bucketName' => 'erp-espocrm',
    'path' => 'test',
    'credentials' => [
    'key' => 'xxxxxxxxxx',
    'secret' => 'xxxxxxxx',
    ],
    'region' => 'ams1',
    'endpoint' => 'ams1.vultrobjects.com',
    ],
    into config.php:
    Code:
    'defaultFileStorage' => 'AwsS3',
    'thumbImageCacheDisabled' => true,
    As you can see, this is the Bucket : erp-espocrm with the folder test
    Click image for larger version

Name:	image.png
Views:	139
Size:	39.2 KB
ID:	113547
    And there this is the Key/Secret information :

    Click image for larger version

Name:	image.png
Views:	82
Size:	62.5 KB
ID:	113548
Working...