Skip to content

Fix MikroTik Adoption Errors

Summary This guide lists the 5 most common errors that prevent MikroTik devices from being adopted into MKController and explains how to diagnose and fix each one. Issues covered: outdated RouterOS version, Device Mode blocking fetch, missing PPP package, no internet or DNS on the device, and insufficient disk space. Each issue includes exact RouterOS commands for diagnosis and resolution.

What Are the Most Common MikroTik Adoption Errors?

MikroTik adoption in MKController fails for a small set of predictable reasons. The table below maps each error to its cause and the section where you will find the fix.

Error symptomRoot causeFix
Adoption stalls at “creating VPN” for several minutesRouterOS version too old or incompatibleSection 1
failure: not allowed by device-modeDevice Mode does not permit fetchSection 2
expected end of command (line 6 column 33)PPP package not installedSection 3
could not resolve host name or status: failed / reason: timeoutNo internet access or DNS failureSection 4
fetch fails with a storage errorLess than 2 MB free disk spaceSection 5

1. Check RouterOS Version

Symptom

Adoption does not complete. The process stalls for several minutes at the “creating VPN” stage.

Diagnosis

The device may be running a RouterOS version that is incompatible with MKController’s required functions. Check the supported RouterOS versions list first.

Steps to Resolve

  1. Check the installed version and the latest available in the configured update channel:

    Terminal window
    /system package update check-for-updates

    The output will resemble:

    installed-version: 6.49.10
    latest-version: 6.49.12
    status: New version is available
  2. If an update is available and is on the supported list, install it:

    Terminal window
    /system package update install
  3. Reboot the device:

    Terminal window
    /system reboot
  4. After reboot, retry the adoption process.


2. Device Mode Advanced Disabled

Symptom

Running the adoption script via Winbox returns:

executing script script1 from winbox failed, please check it manually
failure: not allowed by device-mode (/tool/fetch line 1)

Running via terminal returns:

failure: not allowed by device-mode

Device Mode terminal error during MikroTik adoption

Diagnosis

MikroTik’s Device Mode is blocking the fetch, hotspot, and scheduler functions. This affects some models running RouterOS 7.17 and later.

Steps to Resolve

  1. Check the current Device Mode configuration. If fetch shows no, it is blocked:

    Terminal window
    /system device-mode print
    Device Mode output showing fetch as disabled on MikroTik
  2. Enable Device Mode Advanced:

    Terminal window
    /system device-mode update mode=advanced
  3. Perform a hard reboot — physically unplug the MikroTik from power for a moment. A standard software reboot is not sufficient; the Device Mode change only applies after a full power cycle.

  4. After the hard reboot, verify the change:

    Terminal window
    /system device-mode print

    Confirm that fetch now shows yes, then retry adoption.


3. Missing PPP Package

Symptom

Running the adoption script returns:

expected end of command (line 6 column 33)

Diagnosis

The PPP package is not installed on the device. MKController’s adoption script requires PPP to create the VPN tunnel.

PPP package missing error on MikroTik

Steps to Resolve

  1. Go to the MikroTik archive download page and download the Extra Packages .zip for the RouterOS version and device architecture (mipsbe, arm, smips, etc.) matching your device.

  2. Extract the .zip and locate ppp.npk.

  3. Upload ppp.npk to the router:

    • In Winbox → Files tab, or
    • Via FTP or SCP
  4. Reboot the router:

    Terminal window
    /system reboot
  5. After reboot, the PPP menu should appear in WebFig and Winbox. Retry the adoption script.


4. Issues When Running the Script

Symptoms

  • failure: could not resolve host name
  • status: failed / reason: timeout

Diagnosis

The MikroTik device has no internet access or cannot resolve DNS. Both are required for the device to reach MKController servers.

Steps to Resolve

  1. Test basic internet connectivity:

    Terminal window
    ping 8.8.8.8

    If there is no response, investigate:

    • Missing default route: /ip route print
    • NAT or firewall rules blocking outbound traffic
    • Physical connection to the upstream provider
  2. Once ping 8.8.8.8 succeeds, test DNS resolution:

    Ping 8.8.8.8 working — test DNS next

    Terminal window
    ping app.mkcontroller.com

    If it fails, set reliable DNS servers:

    DNS resolution failure — set DNS servers

    Terminal window
    /ip dns set servers=8.8.8.8,1.1.1.1
  3. Reboot:

    Terminal window
    /system reboot
  4. Retry the adoption script.


5. Insufficient Disk Space

Symptom

Errors when running fetch or installing packages, indicating a storage problem.

Diagnosis

MikroTik requires at least 2 MB of free disk space to run the adoption script and download the VPN package.

Steps to Resolve

  1. Check available disk space:

    Terminal window
    /system resource print
  2. If free-hdd-space is less than 2 MB, list files currently stored on the device:

    Terminal window
    /file print
  3. Remove unnecessary files or old backup files:

    Terminal window
    /file remove <id>
  1. Retry the adoption process after freeing sufficient space.

Still Experiencing Issues?

Following these five steps resolves the majority of MikroTik adoption failures in MKController.

If the problem persists after working through all sections, contact our support team on WhatsApp. We can review adoption logs, inspect the script execution, and help diagnose edge cases specific to your RouterOS version or hardware model.