Can't find .pfb

Open
#552 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
docker, dockerfile, python

Research direction

Start by reproducing the Odoo 18 Docker deployment and reviewing the reported startup log, especially the missing Courier .pfb warning and the attempted apt installation. Inspect the Docker image setup to identify how the required font files should be provided; done means the deployment starts without the warning and reports the expected font availability.

Written by the indexing model from the issue text.

Description

When I deploy odoo:18 with docker, I get an error with missing fonts.

`Warn:

Can't find .pfb

for face 'Courier'`

I tried using the apt command and it didn't work.


2025-07-24 12:55:48,576 17 INFO ? odoo.service.server: Worker WorkerHTTP (17) alive 
2025-07-24 12:55:48,582 18 INFO ? odoo.service.server: Worker WorkerHTTP (18) alive 
2025-07-24 12:55:48,584 19 INFO ? odoo.service.server: Worker WorkerHTTP (19) alive 
2025-07-24 12:55:48,590 22 INFO ? odoo.service.server: Worker WorkerCron (22) alive 
2025-07-24 12:55:49,385 21 INFO ? odoo: Odoo version 18.0-20250710 
2025-07-24 12:55:49,385 21 INFO ? odoo: Using configuration file at /etc/odoo/odoo.conf 
2025-07-24 12:55:49,385 21 INFO ? odoo: addons paths: ['/usr/lib/python3/dist-packages/odoo/addons', '/var/lib/odoo/addons/18.0', '/mnt/extra-addons'] 
2025-07-24 12:55:49,385 21 INFO ? odoo: database: odoo@postgresql:5432 
Warn: Can't find .pfb for face 'Courier'
2025-07-24 12:55:49,620 21 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf 
2025-07-24 12:55:49,634 21 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltoimage binary at /usr/local/bin/wkhtmltoimage 
2025-07-24 12:55:49,870 21 INFO ? odoo.service.server: Evented Service (longpolling) running on 0.0.0.0:8072 ```
Dominant language
Dockerfile
Stars
1.2k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from odoo/docker

All issues in odoo/docker

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.