DRC INSIGHT

DRC INSIGHT Central Office Services (COS) Installation and Troubleshooting Ubuntu Linux


Audience: IT Administrators / MSP Engineers

Platform: Ubuntu 22.04 / 24.04 + Chromebook environments


Overview

DRC INSIGHT Central Office Services (COS) is a local content hosting system that allows testing devices to retrieve assessment content from a local server instead of the internet.

Key Concept:
COS is a service-based HTTP system, NOT a file share.
Devices do NOT access /opt/CentralOffice directly.

Architecture

Testing Devices
    ↓
DRC INSIGHT App
    ↓
COS Server
    ↓
Local Content (/opt/CentralOffice/content_fs)
    ↓
Fallback → DRC Cloud

Installation (Ubuntu)

1. Update System

sudo apt update && sudo apt upgrade -y

2. Install Required Dependencies

sudo apt install -y \
libxcb-xinerama0 \
libalt-getopt-complete-perl \
libxcb-icccm4 \
libxcb-image0 \
libxcb-keysyms1 \
libxcb-render-util0 \
libxcb-xkb1 \
libxkbcommon-x11-0
Critical: Missing dependencies will cause silent installer failures or services crashing.

3. Fix /tmp Permissions

sudo chmod 1777 /tmp
ls -ld /tmp

4. Clean Previous Install

sudo rm -rf /opt/CentralOffice
sudo rm -f /tmp/coinstaller*.lock

5. Run Installer

chmod +x silent-linux.sh
sudo ./silent-linux.sh

Registration (REQUIRED)

Important: You MUST open the setup URL generated during installation.

This step registers COS with DRC and enables services.

If skipped:


Validate Services

Check Running Services

sudo /opt/CentralOffice/node \
/opt/CentralOffice/setup/node_modules/forever/bin/forever -p /opt/CentralOffice list

Expected:

Check Ports

sudo ss -tulnp | grep node

Typical Ports:

Test Service

curl -I http://127.0.0.1:55223

HTTP 404 is normal and confirms the service is running.


DRC Portal Configuration

Content Management

Content Hosting

Shared content should only be used in multi-server environments.

Proxy


Chromebook Configuration

Install App

Register Device

Launch App → Assign Device to ORG Unit → Enter ORG ID

Required Settings


Network Requirements

Allowlist

*.drcedirect.com

Ports

Internal COS Ports

sudo ufw allow 55223/tcp
sudo ufw allow 55224/tcp
sudo ufw allow 55225/tcp

Content Validation

ls -lah /opt/CentralOffice/content_fs
sudo journalctl -u centralofficecontenthosting -f

Troubleshooting

Installer Fails

sudo chmod 1777 /tmp
sudo rm -rf /opt/CentralOffice
sudo ./silent-linux.sh

Only Proxy Running

Cause: COS not registered

Heartbeat Error

CO API - Heartbeat returned undefined

Fix:

Chromebooks Cannot Connect


Validation Checklist


Key Takeaways


End of SOP