cobyism / ghost-on-heroku

One-button Heroku deploy for the Ghost blogging platform.
MIT License
743 stars 686 forks source link

Image Upload Error ghost-s3 Not Configured #83

Closed EnFlight closed 8 years ago

EnFlight commented 8 years ago

Is anyone else receiving ERROR: ghost-s3 is not configured when trying to add an image?

I copied the repo and pushed it to heroku. Everything else seems to work except for S3 uploads.

Should storage/ghost-s3 be updated to storage/ghost-s3-storage-adapter to reflect the new dependency in package.json?

holic commented 8 years ago

This should already be happening: https://github.com/cobyism/ghost-on-heroku/blob/master/content/storage/ghost-s3/index.js

EnFlight commented 8 years ago

Hi @holic thank you for the response.

I have that set up correctly https://github.com/EnFlight/enflight.design/blob/master/content/storage/ghost-s3/index.js

I did not change anything when I downloaded the files and pushed to heroku. Is there a step I might've missed that affects how images are uploaded to S3?

I keep getting ERROR: ghost-s3 when I check heroku logs and the image before when I try to upload on editor.

screen shot 2016-11-02 at 1 57 06 pm

EnFlight commented 8 years ago

I figured out the issue.

I had to add S3_BUCKET_REGION to my config variables on heroku. It wasn't necessary on the older version of ghost I was running, but is on 0.11.

It's a lesson for me to read the readme...

Thank you for the help.