Skip to main content

The Doctor

The Overleaf Toolkit comes with a handy doctor script to help with debugging. Run bin/doctor and the script will print information about your host environment, your configuration, and the dependencies the Toolkit needs. This output can also help the us diagnose issues for your Ayakaleaf Pro installations.
Users of the Overleaf Pro can open an issue on GitHub.it is a good idea to include the output of the bin/doctor script in your message.

Consulting with the Doctor

Run the doctor script:
Run doctor
You will see output similar to the example below.

Host Information

The Host Information section contains information about the machine running the Toolkit (for example, Linux distribution and release).

Dependencies

The Dependencies section lists tools required for the Toolkit to work. If a tool is present it will be listed as status: present with version info. If missing it will be listed as status: MISSING! and a warning will be added to the bottom of the doctor output.
If any dependencies are missing, the Toolkit will almost certainly not work.

Configuration

The Configuration section contains information about files in the config/ directory. For config/overleaf.rc, the doctor prints some key values. Missing files will be listed as status: MISSING! and a warning will be added to the bottom of the doctor output.
Notes from the example above:
  • OVERLEAF_DATA_PATH set to /tmp/overleaf may not be a safe location for important data.
  • MONGO_ENABLED: false means the Toolkit will not provision its own MongoDB; ensure MONGO_URL points to an externally managed MongoDB if needed.
  • config/variables.env is missing in the example.

Warnings

The Warnings section summarizes problems discovered by the doctor script. If there are no problems, this section will indicate that.
Last modified on October 4, 2026