Home>

I am creating an application with ruby ​​on rails.
I've set up images to be stored in S3 both locally and on Heroku.
I saved it, so after that, I wrote additional code and
push to github
push to heroku
After that, I couldn't save to S3 and We're sorry was displayed.

We're sorry, but something went wrong.
If i am the application owner check the logs for more information.

### Corresponding source code

Enter the language name here
Source code
`` ```

What I tried

heroku pg: reset DATABASE
Tried
Erase images saved in S3

Supplementary information (FW/tool version, etc.)

Please provide more detailed information here.

  • Answer # 1

    git add.
    git commit -m "change"
    git push heroku master
     heroku run rails db: migrate


    I hit the command and it worked.