Issue Summary
Ghost installed via docker and cannot import any template. What it could be the issue?
Steps to Reproduce
Tried to import new source template and tried to import third party template. Both same issue and both looks like passing GScan tests.
Ghost Version
5.117
Node.js Version
v18.20.8
How did you install Ghost?
Docker complement
Database type
MySQL 8
Browser & OS version
No response
Relevant log / error output
Theme "dawn" is not compatible or contains errors.
Details:
checkedVersion: 5.x
name: dawn
path: /tmp/6d0fff7c-5694-4e33-9eef-13dfd6c3afd/TryGhost-Dawn-0578c35
version: 1.0.0
errors:
-
fatal: true
level: error
rule: Templates must contain valid Handlebars
details: Oops! You seemed to have used invalid Handlebars syntax. This mostly happens when you use a helper that is not supported.<br>See the full list of available helpers <a href="https://ghost.org/docs/themes/helpers/" target=_blank>here</a>.
failures:
-
ref: author.hbs
message: Missing helper: "social_url"
code: GS005-TPL-ERR
warnings:
(empty array)
----------------------------------------
ThemeValidationError: Theme "dawn" is not compatible or contains errors.
at getThemeValidationError (/var/lib/ghost/versions/5.117.0/core/server/services/themes/validate.js:144:12)
at Object.checkSafe (/var/lib/ghost/versions/5.117.0/core/server/services/themes/validate.js:140:11)
at async setFromZip (/var/lib/ghost/versions/5.117.0/core/server/services/themes/storage.js:64:28)
at async Object.installFromGithub (/var/lib/ghost/versions/5.117.0/core/server/services/themes/installer.js:54:42)
at async Object.query (/var/lib/ghost/versions/5.117.0/core/server/api/endpoints/themes.js:92:50)
at async getResponse (/var/lib/ghost/versions/5.117.0/node_modules/@tryghost/api-framework/lib/pipeline.js:259:34)
at async ImplWrapper (/var/lib/ghost/versions/5.117.0/node_modules/@tryghost/api-framework/lib/pipeline.js:264:30)
at async Http (/var/lib/ghost/versions/5.117.0/node_modules/@tryghost/api-framework/lib/http.js:70:28)```