UniFi networking

UniFi · Self-hosting

Move a self-hosted UniFi controller to UniFi OS Server before Network Server ends

First published 27 October 2026 · Updated on 27 October 2026 · Verified against Ubiquiti Help Center documentation (links at each step)

Merroway Editorial · Verified against governing standards and vendor documentation.

The fast answer

Do not install UniFi OS Server over a running Network Server. The migration is three steps in order: (1) take a backup from Network Server, (2) close Network Server, then (3) install UniFi OS Server. On Windows and macOS the installer auto-detects an existing Network Server in the default location and offers to migrate it; on Linux (or if auto-migration does not happen) you migrate manually with the Site Export tool. And note the port change before you finish: captive portals move from port 8843 to port 8444.

Advertisements

What you are looking at, in plain words

UniFi OS Server is Ubiquiti’s new standard for self-hosting: the full UniFi OS experience — including Organisations, identity-provider integration, and Site Magic SD-WAN — on your own hardware, with the same management experience as CloudKeys, Cloud Gateways, and official hosting, and full Site Manager compatibility. The old Network Server provided basic hosting only, without those OS features. Migrating therefore gains you features as well as a future upgrade path — but it is a host migration, not an in-place update, and the path differs by operating system.

Step 0 — Prove whether you may migrate this host at all

  1. Check what the host manages. If the “site” is a Cloud Gateway, stop: Cloud Gateways cannot be managed by an external UniFi OS Server, because they already run the Network application. A UniFi OS Server site needs an independent (UXG-series) gateway. Migrating the controller will not fix a Cloud Gateway site, and it is not supposed to.
  2. Check the Windows Service requirement. If this host must run UniFi as a Windows Service, do not migrate it yet: UniFi OS Server cannot currently run as a Windows Service. Keep that host on Network Server until Ubiquiti changes this.
  3. Check host requirements. For Linux: Ubuntu 24.04 or later, Debian 13 or later (or another modern distribution meeting the requirements: systemd, libc 2.31+, podman 4.9.3+ with pasta networking, slirp4netns 1.2+). For Windows: Windows 10 or later, or Windows Server 2022 (WSL 2 is installed during setup; Hyper-V guest VMs are not currently supported). For macOS: Catalina 13.1.0 or later. Hardware floor: x86-64 CPU, minimum 2 GB RAM, 100 Mbps wired Ethernet, at least 10 GB free storage. A host below those floors is a migration risk, not a migration candidate.
  4. Check ports and placement. The host needs the UniFi ports open (including TCP 8080 and UDP 3478 among others), devices and application on the same network (or remote adoption where they are not), and no antivirus blocking the Network application. UniFi OS Server must keep running at all times to manage devices — devices keep running their last configuration if it goes offline, but you lose management until it returns.

The fixes, in order

  1. Back up Network Server first. Take a backup from your existing Network Server using Ubiquiti’s backup instructions, and store it off the host. Every later step assumes this backup exists; without it, a failed migration is a rebuild, not a retry.
  2. Close Network Server before installing. Ubiquiti repeats this instruction for every path, because running both servers on one host conflicts. Close Network Server completely, then install UniFi OS Server — do not install alongside it and sort it out afterwards.
  3. Install on Windows or macOS (auto-migration path). Download the latest UniFi OS Server installer from Ubiquiti’s releases or download page, launch it, and follow setup. If Network Server is installed in the default location, the installer automatically detects it and offers to migrate your existing setup. Accept the migration offer, then complete setup.
  4. Install on Linux (Site Export path). Install the prerequisites (sudo apt-get update && sudo apt-get install podman slirp4netns), obtain the UniFi OS Server download link from Ubiquiti’s releases or download page, download it with curl or wget, make it executable (chmod +x), and run it with sudo. Then migrate manually: install UniFi OS Server and use the Site Export tool to bring your sites across, following Ubiquiti’s backups-and-migration instructions. Manage the service with sudo systemctl start/stop/enable/disable uosserver.
  5. Fix the captive-portal port change. Captive portals are served on port 8444 under UniFi OS Server, changed from port 8843 on Network Server. Update any bookmarks, firewall rules, documentation, and guest instructions that reference 8843, and test a guest portal login after migration — a portal that “stopped working” after migration is very often just the old port.
  6. Re-enable remote management and re-adopt if needed. Optionally, create or sign in with a UI Account to enable remote management through Site Manager. Review device adoption for your APs, switches, and gateways, and confirm each site’s devices report to the new server — not to a leftover Network Server process.

Do not fix the wrong thing first: do not clone the VM to “copy” the server. Ubiquiti warns explicitly against cloning VMs except for high-availability or failover installations: cloned VMs share the same remote-access tokens for Site Manager and Fabrics, causing unexpected behaviour. Create a fresh installation per host, and migrate by backup/export — never by cloning.

Prove it worked

Confirm four things: UniFi OS Server is running (and set to start at boot, if that is your design), every site and device appears under the new server with devices connected, a captive-portal login works on port 8444, and Site Manager shows the server for remote management (if you enabled it). Then run one normal change — for example, a Wi-Fi setting — and confirm a device provisions it. Only then decommission the old Network Server host, and keep its backup until the next successful backup cycle on the new server.

Still not working? Work this ladder in order

  1. Installer does not offer migration (Windows/macOS). Network Server is probably not in the default location. Use the manual path: install UniFi OS Server, then migrate with the Site Export tool, exactly as on Linux.
  2. Devices do not appear after migration. Check the host firewall and ports, confirm devices and server share a network (or use remote adoption), and confirm the old Network Server is actually closed — two servers answering adoption will split your estate.
  3. Guest portal fails after migration. Port 8843 → 8444. Update the reference and re-test; also check the certificate configured in Console settings, which is what port 8444 serves.
  4. Remote management missing. Sign in with a UI Account on the new server and enable remote management; a local-only server will never appear in Site Manager, however healthy it is locally.
  5. Site cannot upgrade to Network 11 after migrating. Confirm you are actually on UniFi OS Server (not a leftover Network Server) and on UniFi OS 6.0 or newer — Network 11 requires both. See the companion guide: Upgrading to UniFi Network 11: what breaks.
  6. None of these steps fixes it. Take the results of Step 0 and the failing step above to Ubiquiti Support via the Ubiquiti Help Center (the official documentation linked in Sources above) — that is the next step, not a different vendor's forum thread.

Mistakes that make it worse

  • Installing UniFi OS Server while Network Server is still running.
  • Cloning the VM instead of migrating by backup/export.
  • Forgetting the 8843 → 8444 captive-portal change.
  • Trying to manage a Cloud Gateway from UniFi OS Server.
  • Trying to run UniFi OS Server in Docker, or as a Windows Service, against Ubiquiti’s stated limits.
  • Deleting the old server before the new server has completed a backup cycle.
Advertisements

FAQ — UniFi OS Server migration, answered

Can I run UniFi OS Server in Docker?

No. Ubiquiti states UniFi OS Server is a complete solution that requires certain services on the host for device discovery, adoption, and automatic updates, and it is not offered as a standalone Docker or Podman container. Install it on a supported host operating system instead.

Can UniFi OS Server manage my Cloud Gateway?

No. Cloud Gateways already include the Network application, so they cannot be managed by an external UniFi OS Server. If you want a site managed by UniFi OS Server, pair it with an independent gateway from the UXG series, which is designed without a built-in controller.

Can I run UniFi OS Server as a Windows Service?

Not currently. Ubiquiti states UniFi OS Server cannot be run as a Windows Service for the time being, and directs Windows Service users to continue using the Network Server following its instructions. If a Windows Service is a hard requirement for you, do not migrate that host yet.

Sources

Ubiquiti Help Center — Self-Hosting UniFi (OS Server as the new standard; migration steps; Windows/macOS auto-migration; Linux Site Export; 8843 → 8444; Windows Service limit; Cloud Gateway / UXG distinction; VM-cloning warning; host requirements; ports; service commands) · Companion guide: Upgrading to UniFi Network 11: what breaks.

Verification note: every migration step, requirement, and limit on this page was checked against the Ubiquiti Help Center Self-Hosting article above on 27 October 2026. The “10.6 is the last Network Server line” framing follows Ubiquiti’s Network 11.0.83 release notes (Network Server support removed); a specific 10.6.x build number is deliberately not pinned here.