# Internal server error -- uploading post images

**URL:** <https://forum.ghost.org/t/internal-server-error-uploading-post-images/16747>\
**Category:** Developer help\
**Created:** [August 26, 2020, 11:49pm UTC](https://forum.ghost.org/t/internal-server-error-uploading-post-images/16747 "2020-08-26T23:49:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cbtree](https://avatars.discourse-cdn.com/v4/letter/c/ecb155/32.png) [@Cbtree](https://forum.ghost.org/u/Cbtree)\
**Post date:** [August 26, 2020, 11:49pm UTC](https://forum.ghost.org/t/internal-server-error-uploading-post-images/16747/1 "2020-08-26T23:49:59Z")

</div>

I get an internal server error while trying to upload images. The images are 15KBs and 500x500.

**EDIT**

For some reason I have of mix of user and group called “ghost” and my own Ubuntu user “cbtree” for folder permissions and whatnot? Is this normal?

---

<div class="post-metadata">

**Author:** ![ahmadajmi](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ahmadajmi/32/23173_2.png) [@ahmadajmi](https://forum.ghost.org/u/ahmadajmi)\
**Post date:** [August 27, 2020, 7:46am UTC](https://forum.ghost.org/t/internal-server-error-uploading-post-images/16747/2 "2020-08-27T07:46:33Z")

</div>

What about running this command inside the Ghost installation dir?

`sudo chown -R ghost:ghost ./content`

---

<div class="post-metadata">

**Author:** ![Hannah](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/hannah/32/22_2.png) [@Hannah](https://forum.ghost.org/u/Hannah)\
**Post date:** [August 27, 2020, 2:46pm UTC](https://forum.ghost.org/t/internal-server-error-uploading-post-images/16747/3 "2020-08-27T14:46:45Z")

</div>

You should use `ghost doctor` to check your permissions, and it will tell you which commands to run to fix them.
