Troubleshooting
Publishing to Ghost failed
On this page
- Check the basics first
- Ghost refused the key
- Something in front of Ghost blocked the upload
- Your server answered with another error
- The theme is too large for your server
- Ghost rejected the theme
- The upload went through, but activation is unconfirmed
- The build stopped
- A publish is still running
- Contact support
When a publish fails, "Publish failed" appears with the reason under it. The Publish menu, which opens from Publish at the top of the editor's right sidebar, keeps showing the last failure until a publish works. A theme download that fails shows "Download failed" with its reason. Your site keeps the theme it had before, and your project in Fantasma keeps all your edits.
When Ghost or something in front of it refuses the publish, you can often still download the theme and upload it in Ghost yourself while you fix the cause.
Check the basics first
Ghost refused the key
"Ghost rejected the Admin API key or Staff access token. Copy it again from Ghost." or "Ghost connection isn't valid. Check your site URL and Admin API key or Staff access token."
The key was regenerated or its integration was deleted in Ghost after you connected. Copy a fresh key in Ghost Admin, or add a new custom integration if you deleted the old one, as Connect your Ghost site shows. Then in Project settings › Ghost, click Replace under Access, paste the key, and click Save and verify.
Something in front of Ghost blocked the upload
"Your Ghost site refused the theme upload (HTTP 403) without a Ghost error message. A CDN, firewall, or security rule in front of /ghost/api/admin/ usually causes this."
Allow requests to
/ghost/api/admin/in your CDN or firewall, or ask your host to, as Fantasma can't connect to my Ghost site describes.Your server answered with another error
When the message names another number after HTTP, such as 502, the server in front of Ghost had a problem of its own. Wait a few minutes and publish again. If it repeats, send the message to your host.
The theme is too large for your server
"Your Ghost site answered the theme upload with HTTP 413 and no Ghost error message, so something in front of Ghost replied instead of Ghost."
HTTP 413 means the web server in front of Ghost limits the size of an upload, and the theme is bigger. This happens on self-hosted sites. Ask whoever runs the server to raise the limit, such as
client_max_body_sizein Nginx. Images you uploaded and fonts in the theme make it larger. Delete unused images in the media library, as Add images and photos shows, and remove fonts you do not use in the Manage fonts dialog under Styles › Typography.Ghost rejected the theme
"Ghost rejected the theme upload:" followed by Ghost's own reason.
Ghost checks every theme before it installs it. The theme needs Ghost 6 or later. If your site runs an older Ghost, update Ghost first, or ask your host to. Your host or Ghost Admin's about screen tells you the version. For any other reason Ghost gives, contact us with the full message.
The upload went through, but activation is unconfirmed
"Theme uploaded, activation unconfirmed"
In Ghost Admin, open Settings, then Design & branding, and click Change theme to see which theme is active. If it is not
fantasma-followed by your theme name, such asfantasma-ridgeway-dispatch, activate that theme. The theme name is under Project settings › General. Publishing again replaces the same theme, so no extra copies pile up in Ghost.The build stopped
These reasons come from Fantasma before anything reaches Ghost. The same reasons stop a download.
{slug}. The Tag and Author templates, in the same list, need different addresses.A publish is still running
"A publish is already in progress"
Another publish of this project, from this window or another one, has not finished. Wait a minute, then publish again. After about three minutes, an unfinished publish no longer blocks a new one.
When the reason says "Too many publish attempts.", you published more than 10 times in 5 minutes or 30 times in an hour, failed attempts included. Wait for the number of seconds shown in the message.
Contact support
If the reason is not here, or the fix did not help, contact us and send:
v2.0.0-3