Bizzare issue with uploading image to Post Settings

Ghost-CLI version: 1.9.6
Ghost version: 2.2.3 (at /var/www/ghost)

I’ve followed the instructions at Hosting a Ghost blog on AWS S3 as a static website to allow me to develop my wife’s ghost blog locally while hosting it as a static site up at AWS S3. Essentially, I create a static mirror of the site from the local copy and upload that to S3.

All is fine and I’ve got an experimental page up on the site.

To ensure that I get all the right URLs in the site, I updated the config.production.json file to have the line “url”: “”, instead of the locally defined one “url”: “”.

Again, that works fine and the links are all correct in the remote site.

However, I’ve come across what appears to be a very strange issue.

When I try to upload an image in the Post Settings side-bar of a post, the upload fails. If I drag & drop an image it appears briefly and then a broken image link appears.

This appears to be directly related to the “url” item. If its the IP then it works fine, if its the remote site it fails.

Is this a bug or am I doing something wrong (which is a strong possibility).

Many Thanks


Hi @Dave_MacRae :wave:

This issue might be related to a bug that was found in 2.2.3 relating to uri handling. Could you update to the latest release (2.2.4) and give it another try? You might have to remove and re-upload any images you’ve already uploaded to fix URIs.

Ghost cli should take care of the update: Ghost-CLI - A fully loaded tool for installation and configuration

Please note: is undergoing some major reimplementation. You might want to view it in a desktop browser.

Let me know if you still have problems.



1 Like

Hi Tim,

Looks like I spoke too soon. Unfortunately the upgrade didn’t resolve the issue.

Are there any log settings I can turn on to help diagnose the issue?



Hi Dave,

Perhaps you can provide some more information such as anything that the developer tools show in Chrome.

Check the Javascript console and the Network activity timeline (Tip: tick the “Preserve log” checkbox to gather network events over multiple pages). Screenshots or a recording would be useful if you find anything or just to demonstrate the behaviour :slight_smile:

Any logs from ghost itself will be on the terminal where you are running npm start if you’re following the guide you linked to. If not, you could try configuring logging differently: Configuration - Adapt your publication to suit your needs but I’d recommend looking at the Chrome developer tools first.



Just a thought, what url are you using to go to your ghost site in your browser?

If you’re going to the IP address ( this might be part of the problem if image urls are being created as

You might need to add a hosts entry for to point at Because you’ll probably want to move between the local version and the remote version you could use a Chrome extension to help with this, a simple one is " Virtual Hosts" which would allow you to enable and disable the override at will.



This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.