TryGhost / TryGhost/docker-library-ghost

Fontconfig error on Ghost:6 and Ghost:6-Alpine

Open
#453 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
796
Forks
319
Avg merge
7h 42m
Merged PRs (30d)
6

Description

Getting this error, at random moments, when users are loading the site and then the docker instance crashes.
"Fontconfig error: Cannot load default config file: No such file: (null)"

Running the installs for fonts fixes it, but not sure why I am getting this error, on a new deployment.

apk add --no-cache
fontconfig
ttf-dejavu
ttf-droid
ttf-liberation
ttf-freefont

Everything is pretty standard and all works, running 5 other Ghost CMS sites, 1 using docker and 4 using CLI.
Neither of those sites have any issues, so I am bit stomped by this.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the random crash on the Ghost:6 and Ghost:6-Alpine deployments, then compare their fontconfig setup with the listed apk font installation. Check when the default configuration becomes unavailable during site loading. Done means the cause is identified and a deployment no longer produces the error or crashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.