Developing Custom Ghost Themes with the Ghost CLI and Handlebars
Learn how to build and test custom Ghost themes locally using the Ghost CLI, Handlebars templates, and a Gulp asset pipeline to avoid production downtime.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to build and test custom Ghost themes locally using the Ghost CLI, Handlebars templates, and a Gulp asset pipeline to avoid production downtime.
ACME Challenge Failures in Ghost CLI The ghost setup ssl command automates the acquisition of Let's Encrypt certificates and the corresponding Nginx configuration. This process relies on the ACME protocol, which requires the server to be publicly reachable via port 80 and 443 to validate domain ownership through DNS A-records. When the validation process fai
Compatibility constraint mismatch Ghost 5.x declares engines.node set to ^18.17.0 || ^20.0.0 in its package manifest. The Ghost CLI reads this constraint at install and startup time and aborts with an engine incompatibility message when the active Node.js runtime falls outside the declared range. Self-hosted operators must therefore align the runtime before
Migration transaction boundaries Ghost CLI upgrade applies database migrations per file in a transaction. If a later migration in the same upgrade run fails, earlier migrations in that batch remain applied. The migrations table records name, batch number and timestamp only, with no checksum or rollback SQL. Recovery gap ghost doctor can flag inconsistent mig