Common issues

Troubleshooting

Fix enrollment failures, Play Protect blocks, legacy Novus devices, offline compliance, and agent version drift.

1

App blocked by Play Protect

During QR setup, Google Play Protect may block the sideloaded MDM agent before device owner is established.

  1. Factory reset the tablet.
  2. Enable USB debugging (if not in setup-only mode, enable after partial setup then reset again if needed).
  3. Connect USB and run the helper script from the repo:
Windows — from repo root
scripts\disable-play-protect-adb.bat

The script verifies adb devices shows one authorized device, then applies shell settings to reduce Play Protect interference and allow provisioning installs.

Factory reset again if required, then scan the enrollment QR from Admin → Enrollment.

Alternative: use ADB provisioning after running the script.

2

Novus → Capnis rebrand

Legacy devices enrolled with com.novusedtech.mdm cannot be migrated in place. The old DPC holds device owner until removed.

3

Device owner / DPM errors

dpm set-device-owner fails when:

4

Offline / compliance

Devices missing heartbeats beyond HEARTBEAT_TIMEOUT_MINUTES (default 30) show offline. Extended offline beyond COMPLIANCE_OFFLINE_HOURS (default 24) may flag non-compliant in fleet views.

5

Upgrade agent from Admin

Ensure storage/app/mdm/mdm-agent.apk on the server is the desired build (3.0.1 / code 23). From Devices → device detail, use agent upgrade action. Verify new version after next heartbeat.

Direct download for manual sideload: /api/public/mdm-agent.apk

6

Enrollment profile inactive

QR codes from deactivated profiles or expired tokens are rejected. Create a new profile or reactivate in Enrollment.