# Ghost blog with static site, no media, nginx issue?

**URL:** <https://forum.ghost.org/t/ghost-blog-with-static-site-no-media-nginx-issue/9034>\
**Category:** Developer help\
**Created:** [September 11, 2019, 6:24pm UTC](https://forum.ghost.org/t/ghost-blog-with-static-site-no-media-nginx-issue/9034 "2019-09-11T18:24:50Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![mtabz](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mtabz/32/4508_2.png) [@mtabz](https://forum.ghost.org/u/mtabz)\
**Post date:** [September 16, 2019, 4:54pm UTC](https://forum.ghost.org/t/ghost-blog-with-static-site-no-media-nginx-issue/9034/11 "2019-09-16T16:54:57Z")

</div>

After several attempts to debug the upload issue, it seemed that there is a chance that the problem could also be with the nodejs server.

I know nothing about nodejs, so at that point I threw in the towel and decided to just bite the bullet and completely reinstall my Ghost setup from scratch on the blog/ sub-directory… After taking suitable backups of course! (Even with backups I found that I still had to re-upload the images.)

For those who attempt the same thing, I found that I had to completely delete the MySQL DB as even after the ghost uninstall the DB still had the records from the previous installation. To do that I followed the steps [here](https://forum.ghost.org/t/upgrading-to-2-0-error-unexpected-end-of-json-input/2568/4).

The site is now finally working as I want it.

Conclusion? If you are thinking of changing your existing ghost site to a sub-directory, be warned: thar be dragons! 👹

---

_[View the full topic](https://forum.ghost.org/t/ghost-blog-with-static-site-no-media-nginx-issue/9034)._
