Skip to content

Server basics

Peter Hutten-Czapski edited this page Sep 28, 2026 · 6 revisions

Server basics

Home / Technical documentation / Running CARLOS

If you are new to looking after an application server, begin here. CARLOS has several moving parts, but you do not have to memorize them all before you can make a useful check. Learn which part accepts a browser request, where the application keeps records and documents, and which command gives you a first indication of trouble. The later guides build on these names and checks.

The parts you look after

A browser connects over HTTPS to nginx, which passes allowed requests to the CARLOS application running in a private Tomcat service. MariaDB stores structured clinical records; the document store keeps uploaded files. A separate drug reference supports prescribing, and a sandboxed browser renders saved eForms as PDFs. The operating system runs each service with its own account. Knowing which part failed helps you choose the right check.

A terminal is a text interface for commands. The prompt may be on your laptop or the server: use hostname before a server command if you are unsure. A path starting with /etc/ names a file on that machine; sudo asks for administrator privileges. Read a command's effect before pasting it into a live server. Use a separate test environment for a first attempt at changes.

First checks

On a Debian-package installation, sudo carlos-ctl check reports service, schema, TLS, drug-reference, and backup health. sudo carlos-ctl status shows services and timers; sudo carlos-ctl logs -n 200 shows recent application messages. Run these on the server in a terminal with an account allowed to use sudo. A clean check is a starting point; ask clinic staff to confirm their actual task works too.

allChecks-1024x672

When you take over an existing installation, ask where the clinic records its host details, support contacts, backup destination, and maintenance window. Those details make the commands in the next guides meaningful.

Related pages

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