Announcement

Collapse
No announcement yet.

Cannot upload documents after switching to AwsS3

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cannot upload documents after switching to AwsS3

    Hello guys,

    today I default file storage of our CRM to AwsS3. I followed all the instructions on https://docs.espocrm.com/administration/file-storage/

    However, I am now getting an error when I am trying to create some document.
    Code:
    [2023-08-06 16:03:50] ERROR: (0) Could not contact remote server.; POST /Attachment; line: 141, file: /data/0/f/0f6e82d6-07b5-42f8-803a-fad2758ce077/CRM_URL/web/vendor/async-aws/core/src/Response.php [] []
    Do you know what could be causing this? Could it be that after I moved all the attachments to the S3 bucket(180k files) it is now loading so slowly that it's not fast enough?

    I have no idea, credentials should be correct.

    I used this:
    Code:
      'awsS3Storage' => [
        'bucketName' => 'uploadcrm',
        'path' => '',
        'credentials' => [
          'key' => 'my_key',
          'secret' => 'my_secret_key',
        ],
        'region' => 'EU (Frankfurt) eu-central-1'
      ]​
    Thanks a lot for the help!
    Last edited by Jakub Grufik; 08-06-2023, 04:17 PM.

  • #2
    Could it be happening because I have public access block turned on on my bucket?
    Attached Files

    Comment


    • #3
      Anyone has experience with setting AwsS3 as the default file storage for EspoCRM, please? I am not able to ake it work on my own

      Comment


      • #4
        Hello guys,

        we are getting out of available space for file storage on our webhosting. I would love to change default file storage to AwsS3 but I am still getting some errors and I am not able to make it work.

        Is there by any chance anyone who has experience with setting AwsS3 as a default file storage?

        Thanks a lot in advance!


        Hello guys, today I default file storage of our CRM to AwsS3. I followed all the instructions on https://docs.espocrm.com/administration/file-storage/ However, I am now getting an error when I am trying to create some document. [2023-08-06 16:03:50] ERROR: (0) Could not contact remote server.; POST /Attachment; line: 141,
        Last edited by yuri; 08-28-2023, 10:11 AM.

        Comment

        Working...
        X