-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Issue] Amazon S3 plugin (Attachments in S3) #214
Comments
Search is your best friend. See our docs on how to install and configure the plugin: Cheers. |
Hello @JediKev I have already followed the given link above. But the page didn't provide information. And I previously followed the "Attachments on the File System" plugin - followed the same steps mentioned in the help docs. But for the S3 plugin, I followed the steps as mentioned in the docs but didn't worked well. Please provide any alternate solution. Thank you |
Well, judging by your error of It'd be worth going through Amazon's S3 docs and ensure you have everything properly configured there. Once you have S3 configured properly then you should be able to pop in the credentials to osTicket and everything should work. Cheers. |
I was able to successfully communicate the S3 buckets in the terminal, but I don't understand what's wrong in the entered config to the OsTicket S3 plugin. Do you have any example config details for the S3 plugin ? Because in the help docs, there is no example config information. For example: If I try to save with s3://test_bucket config, the plugin page crashes and raises status 500 exception. |
S3 Bucket is just the literal bucket name. So if the bucket is called Cheers. |
Hello @JediKev, Sorry for the late reply. After seeing your response, I found the exact issue. Actually we are using a custom domain. For eg: <<bucket_name>>.<<region_zone>>.custom_domain_name.com So what happens is, when I give the bucket name Eg: <<bucket_name>>.s3.amazonus.com It gives the error exception. Now I'm looking into the Amazon docs and the S3 plugin codes for the customization. Thank you so much for your help. |
Hello @JediKev I found that this S3 plugin uses a legacy AWS library (V2). When the plugin will be updated to the latest version to Version 3 (AWS SDK - V3). Please let me know. Thank you. |
Thank you for the feedback. We will add this to our bug sheet. We do not have an expected date/time of when we will get to this. Cheers. |
Hello,
I have an issue with the Amazon S3 plugin (attachments).
There is no proper information or how to configure the plugin options ?
For example, the S3 Bucket field - in this field we need to enter only the bucket name like
S3 Bucket (field): - bucket-name
(or)
s3://<<bucket-name >>.url_name
If I try to enter only the bucket-name ,
I get an exception of
User does not have access to this bucket: Aws\S3\Exception\AccessDeniedException: AWS Error Code: AccessDenied, Status Code: 403, AWS Request ID: XXXXXXXXXX, AWS Error Type: client, AWS Error Message: 403 Forbidden (Request-ID: XXXXXXXXXX), User-Agent: aws-sdk-php2/2.8.31 Guzzle/3.9.3 curl/7.78.0 PHP/7.2.34
(and)
I tried with s3://<<bucket-name >>.url_name
I get an error of status 500 exception.
Also, I checked in the logs - there is no error information.
Please provide the solution to resolve it.
Thank you.
The text was updated successfully, but these errors were encountered: