Getting help
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 Overleaf support team diagnose issues for Server Pro installations.
Consulting with the Doctor
Run the doctor script:
bin/doctorYou 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_PATHset to/tmp/overleafmay not be a safe location for important data.MONGO_ENABLED: falsemeans the Toolkit will not provision its own MongoDB; ensureMONGO_URLpoints to an externally managed MongoDB if needed.config/variables.envis 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 updated
Was this helpful?