Repository navigation
Upgrades and migration
Home / Technical documentation / Running CARLOS
An upgrade affects people who may be in the middle of care, even when the package change itself is short. Agree on a maintenance window and a way to tell staff when the system is available again. Before changing software or data, identify the exact build now installed and the exact build you intend to install.
Use Migrate from OSCAR19 to CARLOS when the old clinic's database backup, documents, and oscar.properties are already on the new CARLOS server. The walkthrough explains o19-preflight, import-o19 --dry-run, the real import, manual settings review, validation, cutover, cleanup, and recovery. It includes the explicit acknowledgement needed when those three backups have no source content-digest file.
The experimental importer requires a fresh, unused CARLOS target with the matching province and no demonstration data. Keep the target unused until import: the installation guide's first-sign-in steps come afterward for this migration. Rehearse with a protected copy and review archive-only data and access changes before clinical use.
Identify the installed exact version and the target release asset set. Read the target release notes, package guide, and database migration notes. Ask the clinic for a maintenance window and decide how staff will work during the interruption. Take a full backup, preserve credentials and configuration, and rehearse the change on a separate copy when the installation has important local customizations.
Download and verify the package set from the same exact CARLOS release page. The application and DrugRef versions match; from alpha16 onward the separate carlos-ctl package has its own version, supplied on that release page. Install the selected files in one sudo apt install --no-remove ./<package>.deb ... command, using the package guide for the exact filenames and upgrade exceptions, including removal of the old renderer package when upgrading from alpha13 or earlier. The application and database schema move together. Do not substitute a WAR alone for a package upgrade or assume the old schema can serve a newer application. Finish and clean up an OSCAR19 import before upgrading its packages.
After apt finishes, run sudo carlos-ctl check. Verify sign-in, a chart, a saved form or PDF, a drug lookup if used, and each local connection with the clinic. Record the new version and any outstanding issue. If the upgrade fails, use the installed point-in-time restore procedure and the backup taken before the change; reversing packages alone may leave a newer database schema behind.
SCREENSHOT NEEDED — OP-UPGRADE-VERSIONS: Show the exact build identity on the fictional site’s About page before and after the upgrade as two labelled images. Hide staff details.
SCREENSHOT NEEDED — OP-UPGRADE-CHECK: Show a redacted final
carlos-ctl checkresult for the upgraded synthetic site.
A data migration also needs a reconciliation of people, encounters, documents, and open work; a successful package upgrade check does not cover transferred records.
CARLOS documentation · Using CARLOS · Technical documentation
All topics · Get help · Improve this page
© 2026 CARLOS Contributors. Documentation licensed under CC BY-SA 4.0, except where otherwise noted.
Getting started and everyday reference
Office staff
Clinical staff and doctors
Clinic managers and administrators
Technical overview · Reference