-
Notifications
You must be signed in to change notification settings - Fork 101
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
Images lost after pushing to Heroku #16
Comments
I have the same issue: the uploaded images are stores in public/uploads. Any plans from the main contributors? |
This issue can be a duplicate of: #12 |
Hi, I have the same problem. May I ask if you found a solution ? Thanks ! |
Set |
I set storage: :file to storage: :aws. Can't get it to work. |
@jfacoustic can you post your Gemfile? |
|
Try adding these lines:
|
I've starting using Lines, and it works very well locally. Unfortunately, after I push my app to Heroku, I am noticing that uploaded images in the LinesPicture table initially work until I push a second subsequent branch to Heroku (so basically, it seems like any new push resets the asset pipeline and messes things up).
In my production.rb file, I have made some updates including:
Additionally, based on Heroku's documentation, I made sure to have
gem 'rails_12factor', group: :production
installed as well.The problem persists. I have run
heroku run rails console
and checked theLinesPicture
table, and the photos remain in the table. Has anyone experienced / found a solution when deploying?The text was updated successfully, but these errors were encountered: