Repository navigation
Releases
OMDM 1.4.0
Enforce OS updates, edit and re-push profiles, and a CLI that can do (almost) everything.
Highlights
- Enforced OS updates for iPhones/iPads (iOS 17+) and Macs (macOS 14+): pick a version and a deadline – as soon as possible, tonight, tomorrow morning or a date. The device downloads the update, reminds the user and installs it by itself, and OMDM shows the progress (downloading → ready → installing → installed, or failed with Apple's reason). Built on declarative device management – since OS 27 the only way Apple allows.
- Edit profiles – the form opens with the saved values, passwords stay hidden and are kept. Devices replace the profile instead of getting a second one.
- Re-push – remove and install a profile again, for every device that has it or per device.
- Remove several apps at once on the device page.
- Automatic inventory refresh 15 seconds after a device confirms a profile or app change.
omdmCLI 1.1 – Lost Mode, sound, location, OS updates, profiles (deploy / re-push / remove), uninstall apps, Wi-Fi, packages, App Store apps, approve, labels. Erase, unenroll and custom commands stay in the web interface behind 2FA.
Also new
- REST API: all of the above as device actions, plus
GET /api/v1/library,POST /api/v1/profiles/<id>/deploy|repush|remove,POST /api/v1/devices/<udid>/label - Device labels on the Deploy page and in its results
- Supervision hints point to the free Apple Configurator (no Apple Business Manager needed)
Fixes
- iPhones and iPads showed "Add to this Mac" and "Profiles on this Mac"
Upgrading
- Docker setup:
docker compose pull && docker compose up -d - install.sh setup:
git pull && docker compose pull && docker compose up -d(NanoMDM now getsNANOMDM_DM, already indocker-compose.yml) - Database changes are applied automatically on start.
Full list: CHANGELOG.md
OMDM 1.3.1
- Demo: Anna's iPhone is a supervised company phone, so the demo shows what supervised iPhones get
(Lost Mode, restart and shut down, Bluetooth, App Store apps); Marco's iPhone stays unsupervised for comparison
OMDM 1.3.0
omdmcommand-line tool (cli/omdm, Python 3.8+, no extra packages): list and filter devices, details with
recent commands, app inventory, refresh / lock / restart / shut down / Windows unlock and cancel- API tokens can be read-only or read + actions; new
POST /api/v1/devices/<udid>/actions/<action>
(erase and unenroll stay in the web interface with 2FA); device details include the last 20 commands - Connectivity switches: data roaming and Personal Hotspot on/off for iPhones/iPads with a SIM (current state
shown), Bluetooth on/off for Macs and supervised iPhones/iPads (Apple doesn't report Bluetooth, so OMDM shows what
it last set). On the device page, in the API and asomdm roaming|hotspot|bluetooth DEVICE on|off - Fix: the API reported Windows PCs with BitLocker as not encrypted
- Lost Mode for supervised iPhones/iPads: lock-screen message and phone number, play a sound, and show the
device's location on a map while it is in Lost Mode; the location is deleted when Lost Mode ends (#4, thanks @si458) - App Store page for supervised iPhones/iPads: install App Store apps with managed app settings – also per
device – sent with the install or on their own (#2, thanks @si458). Unsupervised devices are not offered:
Apple refuses the install there (ASDServerErrorDomain 9610 "NotSupported") - Custom MDM commands: admins can send any MDM command as a property list, each one with a fresh 2FA code (#2)
- Supervised-only actions (restart/shut down an iPhone, Lost Mode, Bluetooth, App Store apps) appear only on supervised devices,
and are marked "supervised only" while a device hasn't reported it yet - Fix: iPhones and iPads on iOS 16 refused the enrollment profile as invalid – they now get one without the
Mac-only settings; iPads that ask for the desktop site are recognised too (#3, thanks @si458)
OMDM 1.2.1
OMDM 1.2.1
- The admin interface now works on phones and tablets: ☰ menu, tables scroll inside their card, tighter layout on small screens. Desktop is unchanged. (#1 – thanks @ci7rix, our first contribution!)
- Dashboard: the demo no longer shows "NanoMDM running"; a missing push certificate now points to Admins.
Update: docker compose pull && docker compose up -d (Docker) or git pull && ./install.sh (install.sh setup)
OMDM 1.2.0
OMDM 1.2.0 – Demo mode and project website
🌐 Website: https://omdm.dammisiech.ch · 🧪 Live demo: https://demo.omdm.dammisiech.ch
New
- Demo mode (
MDM_DEMO=1): a public, read-only showcase with a made-up company (Macs, iPhones, an iPad and Windows PCs)- Opens with one click, no account needed
- Every change is refused with a friendly note; enrollment, check-in, setup and the API don't exist, so no real device can join
- The data rebuilds every 6 hours and follows Apple's and Microsoft's current OS versions
- For showcases only – never set it on a server with real devices (see INSTALL.md)
- Project website in
site/: a simple static page with real screenshots
Fixes
- Windows: Windows 11 PCs that no longer get updates are now told to "upgrade to a newer Windows 11 version" instead of "upgrade to Windows 11"
- Dashboard charts shorten long model names properly instead of cutting them off at the front
Update
docker compose pull && docker compose up -d # Docker setup
git pull && ./install.sh # install.sh setupOMDM 1.1.1
OMDM 1.1.1 – Docker-only setup
Deploy OMDM with Docker alone: no nginx, certbot or install script needed.
Deploy
You need a Linux server with Docker, a domain name pointing to it and ports 80 + 443 free.
mkdir omdm && cd omdm
curl -fsSLO https://raw.githubusercontent.com/Benicio-vonFelten/omdm/main/compose.yml
echo "MDM_HOST=mdm.example.org" > .env
docker compose up -d
docker compose logs app | grep "setup code"- Open
https://mdm.example.org/setupfrom your LAN and enter the setup code. - Create the first admin (password + 2FA app).
- Upload your Apple push certificate under Admins (free; see INSTALL.md). Windows PCs don't need one.
Update
docker compose pull && docker compose up -dYour data stays in Docker volumes, and database changes are applied automatically. compose.yml follows major version 1, so you get every 1.x release but never breaking changes. To pin a release, add OMDM_VERSION=1.1.1 to .env. Back up first, see INSTALL.md.
Already running OMDM 1.0 with install.sh? Just run git pull && ./install.sh.
New
- Fix: install.sh updates stopped with 'required variable MDM_HOST is missing'. The Docker-only compose.yml moved to deploy/. Docker users: no change needed.
- Prebuilt images on ghcr.io (
omdm-app,omdm-scep,omdm-nanomdm) for amd64 and arm64 compose.ymlwith Caddy for automatic HTTPS (Let's Encrypt), only for OMDM's own names- Setup wizard in the browser, protected by a one-time code from the logs
- Upload the Apple push certificate in the web interface
- Secrets and the device CA are generated automatically on first start
- The IP location database is downloaded and refreshed automatically
- An "Update available" note when a new release is out; the health page shows the version and the push certificate state
- A clear message during enrollment while no push certificate is set up
Also
install.shbehind your own nginx keeps working as before- Tests run in about 10 seconds instead of 14 minutes; CI actions updated to Node 24
OMDM 1.1.0
OMDM 1.1.0 – Docker-only setup
Deploy OMDM with Docker alone: no nginx, certbot or install script needed.
Deploy
You need a Linux server with Docker, a domain name pointing to it and ports 80 + 443 free.
mkdir omdm && cd omdm
curl -fsSLO https://raw.githubusercontent.com/Benicio-vonFelten/omdm/main/compose.yml
echo "MDM_HOST=mdm.example.org" > .env
docker compose up -d
docker compose logs app | grep "setup code"- Open
https://mdm.example.org/setupfrom your LAN and enter the setup code. - Create the first admin (password + 2FA app).
- Upload your Apple push certificate under Admins (free; see INSTALL.md). Windows PCs don't need one.
Update
docker compose pull && docker compose up -dYour data stays in Docker volumes, and database changes are applied automatically. compose.yml follows major version 1, so you get every 1.x release but never breaking changes. To pin a release, add OMDM_VERSION=1.1.0 to .env. Back up first, see INSTALL.md.
Already running OMDM 1.0 with install.sh? Just run git pull && ./install.sh.
New
- Prebuilt images on ghcr.io (
omdm-app,omdm-scep,omdm-nanomdm) for amd64 and arm64 compose.ymlwith Caddy for automatic HTTPS (Let's Encrypt), only for OMDM's own names- Setup wizard in the browser, protected by a one-time code from the logs
- Upload the Apple push certificate in the web interface
- Secrets and the device CA are generated automatically on first start
- The IP location database is downloaded and refreshed automatically
- An "Update available" note when a new release is out; the health page shows the version and the push certificate state
- A clear message during enrollment while no push certificate is set up
Also
install.shbehind your own nginx keeps working as before- Tests run in about 10 seconds instead of 14 minutes; CI actions updated to Node 24
OMDM 1.0.0
First public release of OMDM – Open Mobile Device Management: a free, self-hosted MDM for Macs, iPhones, iPads and Windows PCs.
Highlights
- Apple: enroll Macs, iPhones and iPads with a link (no Apple Business account needed). Inventory, lock, restart, shut down, erase,
.pkgdeployment, update status from Apple's feed - Windows 10/11 Pro/Enterprise/Education: enroll with a one-time code. Detailed inventory (security, Defender, hardware, network), lock, restart, wipe, update status from Microsoft's release health pages
- Profiles: passcode, all Apple restrictions, Wi-Fi (incl. Enterprise), certificates, VPN (IKEv2, WireGuard), mail, Exchange, web clips and more, plus the complete Windows Policy CSP / Group Policy list
- Overview: dashboard, compliance rules, app inventory, CSV export, audit log, health page, read-only API
- Security: admin interface only reachable from your LAN, passkeys, TOTP, roles (viewer / helpdesk / admin)
Install
git clone https://github.com/Benicio-vonFelten/omdm.git && cd omdm
MDM_HOST=mdm.example.org ./install.sh
You need a Linux server with Docker, nginx and certbot, a domain and a free Apple MDM push certificate.
Full guide: INSTALL.md · All changes: CHANGELOG.md
Known limits
- Without Apple Business Manager, Apple devices aren't supervised (no App Store installs or forced macOS updates)
- Windows Home can't be managed by any MDM. Windows has no native remote lock, so OMDM blocks sign-in and restarts instead
Feedback and issues are welcome. Security reports please privately via the Security tab.