Question

Can't upload images to Ghost blog

  • Posted November 14, 2014

Started a Ghost blog using the preset application and when I attempt to upload an image it will fail. Just gives a ‘Something Wrong’.

Checked the nginx config file for upload size and the permissions to the uploads folder and all seem fine.

Any ideas?

Subscribe
Share

I can confirm similarly to aliilkertopcu - the problem was with permissions on the images directory. /content/images/… within your ghost instance. Make sure to change the ownership of that directory to ghost and group to ghost, so while running as root user:

chown ghost images chgrp ghost images

Greetings

I wrote some of my experience solving my problem

Short version of the text: chown -hR ghost:ghost /var/www/ghost/content/images/

PS: path of the images folder may differ on usage dont copy paste it blindly.

http://aliilkertopcu.com/cant-upload-images-using-default-ghost-interface/

Glad to hear the new instance is working as expected. Image uploads should be working out of the box on the Ghost one-click app. Let us know if you hit any other issues!

Changed it to 777, and that didn’t work. Ended up destroying and setting up a new instance and it seems to be working now.

Hey! Are you seeing anything in the error logs? Run tail /var/log/nginx/error.log And what are the permission on the images directory? ls -la /var/www/ghost/content/images/


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I have the same problem, can not upload images. It seems since i made the update (ghost 3.2) I checked the folder permissions /images and they are fine (user ghost). So the problem is not the permissions.

this seemed to happen after DigitalOcean sent out an email stating

Intel released a statement regarding Machine Check Error Avoidance on Page Size Change. 
We have rolled out mitigation efforts across our entire fleet and are writing to let you know 
that our platform is secure and your Droplets and data will not be impacted and you do not 
need to take any action. 

this just reared its ugly head again and has nothing to do with permissions… it is talked about in depth at the following link https://github.com/TryGhost/Ghost/issues/11129#issuecomment-559852184 does anyone know what we can do with this info to keep it running.

This comment has been deleted