Skip to content

Monitoring and troubleshooting

Michael Yingbull edited this page Sep 28, 2026 · 7 revisions

Monitoring and troubleshooting

Home / Technical documentation / Running CARLOS

Start with what the person at the screen experienced. “The site is slow” and “the PDF did not open” lead to different checks, even if both happen on the same server. Note the time, account role, page, and visible error before searching logs. Those clues let you narrow the issue without asking anyone to share patient details.

Start with what the person saw

Ask which task failed, when it last worked, who is affected, and whether a message appeared. On the server, run sudo carlos-ctl check, then sudo carlos-ctl status and sudo carlos-ctl logs -n 200. Record the time before reading logs; remove patient data before sharing them.

Symptom First place to look
502 error just after restart Application journal; the webapp can take about two minutes to deploy.
Drug search empty carlos-ctl check and DrugRef service status.
eForm PDF fails journalctl -u carlos-emr-render-browser, then application logs.
A particular action vanishes sudo carlos-ctl waf tail; a blocked request may never reach application logs.
Slow charts or uploads Server memory, CPU, disk, database, and capacity guidance.
Outdated backup carlos-ctl backup status, scheduler and repository access.

SCREENSHOT NEEDED — OP-TROUBLESHOOT: Capture synthetic failed carlos-ctl check output and the relevant journal or WAF result. Show the same timestamp across the two views; redact addresses and record content.

Change one thing at a time, then repeat the task that failed and run check again. Tell the clinic what changed and keep the symptom, timing, and command output with the incident record; a green service check alone does not show that the original task works. If the clinic cannot work, see When CARLOS is unavailable. The package troubleshooting guide has release-specific causes and recovery steps.

Related pages

Help and support · Backups and recovery

Routine server maintenance · When CARLOS is unavailable

Performance and capacity · Administration commands

CARLOS documentation

All topics · Get help

Using CARLOS

Start here · Clinic workflows

Getting started and everyday reference
Office staff
Clinical staff and doctors
Clinic managers and administrators

Technical documentation

Technical overview · Reference

Running CARLOS

Install and configure
Maintain and troubleshoot

Developing CARLOS

Code, interfaces, and tests
Contribute and maintain releases

For everyone

Write and maintain the documentation

Clone this wiki locally