Question: S3 Storage Not Working

S3 Storage Not Working

Hello I created s3 bucket with the following AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_DEFAULT_REGION=us-east-1 AWS_BUCKET= AWS_URL= AWS_USE_PATH_STYLE_ENDPOINT=false I inputed the acce...

AA

Ayoade Adeyemi

Asked
Hello
I created s3 bucket with the following
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_URL=
AWS_USE_PATH_STYLE_ENDPOINT=false

I inputed the access key, access key id bucket name and publi url

I went ahead to test by uploading images directly from the forum and went back to my bucket to check if it was uploaded , also note i have changed the settings fromlocal storage to AWS S3 and compatible from admin

Please kinldy look into this urgently
  • MS

    Mian Saleem

    Answered
    Hello,

    Are the images showing on the forum?

    Is there any error message logged to the latest file in `storage/logs/` folder?
  • AA

    Ayoade Adeyemi

    Answered
    Yes the images are showing on the forum but i checked the buckets on amazon but cannot find the stored images
  • MS

    Mian Saleem

    Answered
    Hello,

    I will check this before next update.

    Thank you
  • MS

    Mian Saleem

    Answered
    Hello,

    I have found the issue, please add `ATTACHMENT_DISK=s3` in the `.env` file for now. I will fix this in the next update.

    Thank you
  • AA

    Ayoade Adeyemi

    Answered
    I have updated that
    will check and revert
  • AA

    Ayoade Adeyemi

    Answered
    I did further test and when i tried it with AWS_USE_PATH_STYLE_ENDPOINT=https://s3.us-east-1.amazonaws.com i got server error and i reverted back to AWS_USE_PATH_STYLE_ENDPOINT=false and further did try to upload iages again on it went through but the pictures did not appear
    what could be the problem
  • MS

    Mian Saleem

    Answered
    Hello,

    You can leave the `AWS_USE_PATH_STYLE_ENDPOINT=` blank. I will check before this before next update.

    Thank you
  • AA

    Ayoade Adeyemi

    Answered
    I left it blank like this AWS_USE_PATH_STYLE_ENDPOINT=
    I got server error
  • AA

    Ayoade Adeyemi

    Answered
    Please look ino the issue of s3
  • AA

    Ayoade Adeyemi

    Answered
    Any solution to this ?
  • Login to Reply