Start with the symptom you see. Each table gives the likely cause and what to do. If a table does not solve it, collect the facts in the last section and contact support.
- Is the Console healthy?
curl -fsS http://<console>:8080/api/v2/health (see Health and logs).
- Is the runtime Online? Open Connectivity → Runtimes.
- Is the device Connected? Open Connectivity → Devices.
Error codes you may see
The Console returns errors as {"error":{"code":"MI-xxxx","class":"…","message":"…"}}. The full list is in Error codes. The ones you meet in operation:
| Code | HTTP | Meaning | Fix |
|---|
| MI-1009 | 500 | The database schema does not match this Console binary (the Console is older than the database) | Start the new Console version, or restore the old database. See Upgrade |
| MI-1010 | 400 | TLS configuration invalid: certificate or key missing, mismatched or unreadable | Check MI_CONSOLE_TLS_CERT_FILE and MI_CONSOLE_TLS_KEY_FILE |
| MI-1011 | 500 | The master key is missing, shorter than 32 characters, or cannot open stored secrets | Set MI_MASTER_KEY (at least 32 characters). After a restore, put back the original key |
| MI-1012 | 503 | The Windows runtime EXE is not installed on this Console | Provide the packages (MI_RUNTIME_PACKAGES_DIR) |
| MI-1013 | 413 | The request body is too large | Split large tag writes into batches |
| MI-1020 | 400 | An environment variable of the old 1.x naming is still set | Use the MI_* names |
| MI-2001 | 502 | Connection failed (to a device, uplink or control plane) | Check network and address |
| MI-2002 | 504 | An operation timed out | Check the link and the device |
| MI-2003 | 502 | TLS handshake failed | Check certificates and time |
| MI-3001 | 502 | The device answered with a protocol exception (for example a Modbus exception) | Check the address and the register map |
| MI-3003 | 400 | Device address invalid or outside the map | Correct the tag address |
| MI-3004 | 400 | The data type is not valid for this address | Change the data type |
| MI-4001 | 401 | Sign-in required: token missing or invalid | Sign in again |
| MI-4002 | 403 | Permission denied | Ask for a role with the permission. See Users and roles |
| MI-4003 | 429 | Too many attempts or requests | Wait, then retry. See Retry-After |
| MI-5001 | 422 | A licence limit would be exceeded | See Licensing |
| MI-5002 | 422 | The licence is missing, invalid or expired | Upload a valid licence |
| MI-5003 | 402 | The feature is not in your edition | Enterprise licence needed |
| MI-6001 | 500 | Internal error | Read the Console log |
| MI-6002 | 500 | The configuration store (PostgreSQL) is unavailable | Check the database. See below |
Console
| Symptom | Cause | Fix |
|---|
| The page does not load | The Console is not running, wrong port, or a firewall blocks it | Check the health URL from the server itself first. Then check the firewall (TCP 8080) |
| Browser shows "not secure" | The default is plain HTTP | Use a reverse proxy with TLS or set MI_CONSOLE_TLS_CERT_FILE and MI_CONSOLE_TLS_KEY_FILE |
| Console exits at start with MI-1011 | MI_MASTER_KEY missing or too short (not set in a container) | Set it. In the plant stack it is in the mii-secrets volume |
| Console exits at start with MI-1009 | The Console is older than the database | Use the newer image. See Upgrade |
Console exits with MI-6002, or /ready returns 503 | PostgreSQL is not reachable | Check MI_DB_URL, the mi-db container, or in Lite the postgres.log |
| Banner: "This Console is on standby and only reads." | This is the standby node of a high-availability pair | Make changes on the active Console |
| Banner: "This Console is not taking changes right now. It is starting, stopping or on standby." | The Console returned 503 for a change | Wait for it to finish starting |
| Banner: "The Console cannot be reached." / top bar "Console unreachable" | The browser lost the Console | Check the network and the service |
| UI is in Turkish | The default language is Turkish | Click the language button (TR/EN) in the top bar or set it in Settings → Profile |
| Slow pages with many machines | The Overview reads at most 80 machines, the graph at most 2000 nodes | Use filters and the plant graph focus |
| Behind a proxy all users show the proxy address | The Console does not trust forwarded headers | Set MI_TRUST_PROXY=true |
Sign-in
| Symptom | Cause | Fix |
|---|
| Do not know the admin password (Lite) | It is generated once on first start | Read FIRST-LOGIN.txt in the data folder (sudo cat /var/lib/makeintelligent/FIRST-LOGIN.txt or C:\ProgramData\MakeIntelligent\FIRST-LOGIN.txt) |
| Do not know the admin password (plant stack) | Generated into the secrets volume | docker compose -f compose.plant.yml exec mi-console cat /run/mii/secrets/admin_password |
| Changed the password but the file still shows the old one | The file is written once and never updated | Delete the file after the first login |
| Account locked | 5 failed sign-ins lock the account for 15 minutes | Wait 15 minutes, or ask another administrator |
| MI-4003 on sign-in | Too many attempts from one address (the limit is per client address) | Wait one minute. Behind a proxy set MI_TRUST_PROXY=true so each user is counted separately |
| New password refused | Passwords need at least 12 and at most 128 characters, and common passwords are rejected | Choose a longer, less common one |
| LDAP or SSO sign-in fails | Needs the platform.sso feature (Enterprise) and correct settings | See LDAP and SSO |
Device connection
First read the state of the device in Connectivity → Devices.
| Device shows | Meaning |
|---|
| Connected | The driver is connected and reads good values |
| Connecting… | The driver is trying. The reason shows, for example "Connecting to PLC". The Console probes again every 15 s ("Auto-recovering — probing every 15s") |
| Disconnected | The probe or the driver reported an error, or all tags report bad quality. The error text is shown |
| Suspended | You suspended the device. Polling is stopped. Click Resume |
| Symptom or message | Cause | Fix |
|---|
| "Edge runtime offline" | The runtime that hosts the device is offline | See Runtime offline below |
| "Waiting for edge driver" | The runtime has not started the driver yet | Wait a minute. Check the runtime is Online and the protocol is hosted by it |
| "Connecting to PLC" stays | The PLC is unreachable: wrong host or port, no route, a firewall, or the PLC allows only a limited number of connections | From the runtime computer test the port. Demo plant: host demo-sim, port 5020 (Modbus) and 4840 (OPC UA). Check the unit id and that no other client holds the only connection slot |
| "All tags reporting bad quality" | The connection works but every read fails | Check the addresses and data types. Modbus: unit ids 1 to 4 in the demo plant; address form 1!40002 |
| Test connection fails | Wrong parameters | Compare with the protocol page in Protocols |
| Serial device does not connect | The port is wrong, in use, or the runtime user cannot open it | On Linux the runtime user needs the dialout group. Check baud rate, parity and stop bits |
| Connection works but values are wrong | Wrong data type, byte or word order, or scaling | Change the data type, the endian option or the scale. Modbus Temperature is INT16 with scale 0.1 |
| Read works, write fails | The tag is not writable, writes are held, or safe write is on | See Writes and Approvals and safe write |
| OPC UA fails with a certificate error | The server certificate is not trusted | Trust it under Administration → Certificates. See Certificates |
| MI-3001 | The device returned a protocol exception | Wrong address or function for this device |
The plugin reports an error code per tag. The Console shows its text:
| Text | OT code | Meaning |
|---|
| read failure | 3000 | The device did not answer a read correctly |
| write failure | 3001 | A write failed |
| disconnected | 3002 | The link to the device is down |
| tag not readable | 3003 | The tag attribute does not allow reading |
| tag not writable | 3004 | The tag attribute does not allow writing |
| tag type mismatch | 3007 | The data type does not match the address or the value |
| protocol decode error | 3010 | The answer could not be decoded |
| plugin not running | 3011 | The protocol plugin of the device is not running |
| tag not ready | 3012 | The tag has no value yet (first poll not done) |
| timeout | 3014 | The device did not answer in time |
| invalid tag address | 2202 | The address text does not fit the protocol |
| OT error N | other | See the full table below |
No data in trends
Work from the device to the screen.
| Step | Check | If it fails |
|---|
| 1 | The device is Connected | See Device connection |
| 2 | The tag is in a group with a poll interval, and the group is enabled | Add the tag to a group. See Groups and tags |
| 3 | The tag shows a live value with quality good | See quality in Data types and quality |
| 4 | The tag is bound to equipment in the model | Bind it. See Plant browse |
| 5 | The runtime shows Samples/s above 0 and few Unknown tags | Unknown tags means data for tags the Console does not know. Check the tag configuration |
| 6 | The historian is on: Settings → Plant historian, "Store samples in the historian" | Switch it on and click Test connection |
| 7 | The selected runtime in the top bar is the one that holds the device | Select it. Trends shows only the selected runtime |
| 8 | The tag is numeric | Trends lists only numeric tags |
| 9 | No disk guard pause | The page shows "history is NOT being stored". Free disk space |
| 10 | Retention did not delete the range | Check How long history is kept |
| Symptom | Cause | Fix |
|---|
| Chart has gaps | Bad readings or no data | Fix the device or the address |
| Chart is dashed | Uncertain quality | Check the data type and scaling |
| History is delayed by minutes | The runtime sends a backlog, or the lag is high | Look at Lag and Buffer on the runtime page |
| Chart shows old data only | The runtime is offline and buffers locally | The buffer is delivered when it is back (the plant stack buffers 4 hours by default) |
| Values jump after a unit change | A unit or scaling change is marked with a dotted line | Values are not converted. See Trends |
Runtime offline or degraded
| Symptom | Cause | Fix |
|---|
| Offline, Lite | The service is stopped or a component is degraded | mii status, mii health, and the logs in the logs folder |
| Offline, plant stack | The mi-siterun container is stopped or cannot reach the Console | docker compose ps, then logs mi-siterun. It reaches the Console at http://mi-console:8080 |
| Offline, remote runtime | The service is stopped, there is no outbound HTTPS, or the clock is wrong | Windows: .\mii-runtime.exe status. Linux: systemctl status makeintelligent-runtime. Check the time on the host |
| Compose fails with "Create a runtime in Console and set MI_SITERUN_TOKEN" | The variable MI_SITERUN_TOKEN is not set | Create the runtime in the Console and set the token |
| Waiting for first contact | The runtime was created but never started, or the token was already used | Install and start it. Create a new token if needed |
| Wrong token on a direct runtime | 10 wrong attempts per minute per address are rate limited | Rotate the token and set it on the runtime |
| Degraded | See the ingest states below | |
Ingest states
Shown on the Runtimes page for remote runtimes.
| State (label) | Cause | Fix |
|---|
ok (Sending) | None | None |
catching_up (Catching up backlog) | The runtime delivers buffered data after an outage | Wait. Lag falls. The newest data goes first |
backpressure (Gateway is slowing it down) | mi-ingest or the historian is overloaded (429 or 503 with Retry-After) | Wait. If it stays, check the historian and the gateway load |
offline (Gateway unreachable, buffering) | No route to the gateway, DNS, proxy or firewall | Allow outbound HTTPS 443 to the ingest address. Check MI_INGEST_PUBLIC_URL |
cert_revoked (Certificate revoked) | The certificate was revoked in the Console | Create an enrollment token and run enroll --force on the host |
outbox_full (Buffer full, dropping oldest) | The disk buffer (default 10 GiB, or the free-space guard) is full | Restore the link, free disk space. Dropped data is counted in the Errors column |
| Gateway certificate not trusted | The gateway uses a certificate from a private CA | Provide the CA: MI_INGEST_SERVER_CA_FILE on the Console or MI_INGEST_SERVER_CA on the runtime |
| 409 on enrollment token | MI_INGEST_PUBLIC_URL is not set, or the runtime is a direct runtime that is online | Set the variable, or create a new runtime for the remote computer |
| Gateway answers 422 | A batch was rejected | Check the runtime version against the Console version, and the runtime logs |
Licence
| Symptom | Cause | Fix |
|---|
| Banner "Free mode — data, rules and configuration reset in HH:MM" | No .lic is installed. Free mode wipes configuration, rules, history, alarm history and proposals every 3 hours. The audit log is kept | Upload a licence in Settings → License. Uploading stops the wipe |
Licence state invalid after upgrade to 4.x | The licence was signed with the old development key (before 4.0) | Ask for a re-issued licence (same installation id and limits) |
invalid: "installationId does not match" | The licence belongs to another installation | Send the Installation ID of this Console (button Copy ID) to get a matching licence |
State expired | Past the end date and the grace days | Reads still work, changes are refused. Upload a renewed licence |
State grace | Past the end date, within the grace days | Changes are allowed. Renew soon |
| MI-5001 | A limit in the licence is reached (runtimes, devices or tags) | Remove items or upgrade the licence |
| MI-5003 | The feature is Enterprise only (edge.multi_runtime, sor.connectors, platform.sso, platform.ha, fleet.inventory, hitl.policies, if.a2a) | Get an Enterprise licence |
403 edition_lite when adding or deleting a runtime | mii Lite has exactly one built-in runtime | Use the Enterprise plant stack for more runtimes |
Lite service
| Symptom | Cause | Fix |
|---|
install fails | Not run as administrator or root | Windows: elevated PowerShell. Linux: sudo |
mii status shows unreachable in the first minute | The Console is still starting | Wait 1 to 2 minutes |
| Service starts and stops | A component crashed more than the limit and the launcher gave up | mii health; read the component log in logs\; fix the cause |
| Linux install fails about PostgreSQL | PostgreSQL 16 server binaries are not installed (they are not bundled on Linux) | sudo apt install postgresql-16 (the .deb depends on it). mii runs its own private cluster on 127.0.0.1:5433 and never uses the distribution cluster |
Linux: programs do not start, GLIBC error | The system library is too old (glibc 2.36 or newer is needed, Debian 12 baseline) | Use a newer distribution |
mii run refuses to run | Foreground run as root on Linux | Run as another user, or set MI_LITE_ALLOW_ROOT=1 |
| "refusing to start" | A restore was interrupted | Run the restore again. See Backup and restore |
| Start aborted before migration | The pre-upgrade backup failed | Free disk space in the data folder |
| Another copy is running | The lock file state/mii.lock is held by another mii of the same data folder | Stop the other one: mii stop |
| Disk is full, history stops | The disk guard paused storing history | Free space or shorten retention. See Historian |
| Windows: nothing in the Services list | Not installed, or installation failed | Run mii.exe install in an elevated prompt. The service is called MakeIntelligent |
| Windows: others cannot open the Console | The firewall rule only covers the standard port | The installer adds the rule "MakeIntelligent Lite (8080)". Check it exists and that the network profile matches |
| Cannot find the logs | Wrong folder | C:\ProgramData\MakeIntelligent\logs or /var/lib/makeintelligent/logs |
Ports in use
If another program uses a port, the start fails. Lite uses these ports. Only 8080 is reachable from other computers by default. All others listen on 127.0.0.1.
| Port | Use | Change with (mii.env) |
|---|
| TCP 8080 | Console, UI and API | MI_CONSOLE_LISTEN (default :8080) |
| TCP 5433 | Embedded PostgreSQL | MI_LITE_PG_PORT |
| TCP 8081 | Collector local API | MI_LITE_COLLECTOR_PORT |
| TCP 8083 | Observing | MI_LITE_OBSERVING_PORT |
| TCP 8084 | OT runtime | MI_LITE_OT_PORT |
| TCP 9081 | Rules engine | MI_LITE_STREAM_PORT |
| TCP 11884 | Internal MQTT broker | MI_LITE_MQTT_PORT |
| UDP 17001 | OT store to collector (Windows; Linux uses a unix socket unless set) | MI_LITE_STORE_PORT |
| TCP 1883 | Optional public read-only MQTT | MI_LITE_MQTT_PUBLIC_LISTEN (off by default outside Docker) |
Rules: a port outside 1 to 65535, or two settings on the same port, stop the start with an error. A public port that collides with one of the ports above also stops it. A runtime installed on the same computer uses other loopback ports (collector 18081, OT 18084, stream 19081, MQTT 11883, store UDP 17101), so both can run together.
Find what holds a port:
Get-NetTCPConnection -LocalPort 8080 | Select-Object OwningProcess, State
Get-Process -Id <pid>
sudo ss -ltnp | grep ':8080'
Change the port in config/mii.env (the file wins over the environment) and restart the service:
If you change the Console port, open the new port in your firewall yourself. In the plant stack the Console port is published with MI_CONSOLE_PORT (default 8080); the other services have no host ports.
OT error codes (Site Runtime plugin host)
These are the codes of the Site Runtime protocol engine. Most appear in the Console as the text shown in the Device connection section, or as OT error N for the rest. The word "node" in the code names means a device (connection profile).
General (1000 to 1009)
| Code | Name | Meaning |
|---|
| 1000 | EINTERNAL | Internal error of the OT runtime |
| 1001 | BODY_IS_WRONG | The request body is malformed |
| 1002 | PARAM_IS_WRONG | A parameter is invalid |
| 1003 | NEED_TOKEN | A token is required |
| 1004 | DECODE_TOKEN | The token could not be decoded |
| 1005 | EXPIRED_TOKEN | The token expired |
| 1006 | VALIDATE_TOKEN | The token could not be validated |
| 1007 | INVALID_TOKEN | The token is not valid |
| 1008 | INVALID_USER_OR_PASSWORD | Wrong user or password |
| 1009 | IS_BUSY | The runtime is busy. Try again |
Devices (2002 to 2015)
| Code | Name | Meaning |
|---|
| 2002 | NODE_EXIST | A device with this name exists |
| 2003 | NODE_NOT_EXIST | The device does not exist |
| 2004 | NODE_SETTING_INVALID | A connection setting is invalid |
| 2005 | NODE_SETTING_NOT_FOUND | A required setting is missing |
| 2006 | NODE_NOT_READY | The device is not ready |
| 2007 | NODE_IS_RUNNING | The device is running (the action needs it stopped) |
| 2008 | NODE_NOT_RUNNING | The device is not running |
| 2009 | NODE_IS_STOPED | The device is stopped |
| 2010 | NODE_NAME_TOO_LONG | The device name is too long |
| 2011 | NODE_NOT_ALLOW_DELETE | The device cannot be deleted now |
| 2012 | NODE_NOT_ALLOW_SUBSCRIBE | Not allowed to subscribe |
| 2013 | NODE_NOT_ALLOW_UPDATE | Not allowed to update |
| 2014 | NODE_NOT_ALLOW_MAP | Not allowed to map |
| 2015 | NODE_NAME_EMPTY | The device name is empty |
Groups (2101 to 2107)
| Code | Name | Meaning |
|---|
| 2101 | GROUP_ALREADY_SUBSCRIBED | The group is already subscribed |
| 2102 | GROUP_NOT_SUBSCRIBE | The group is not subscribed |
| 2103 | GROUP_NOT_ALLOW | The group action is not allowed |
| 2104 | GROUP_EXIST | A group with this name exists |
| 2105 | GROUP_PARAMETER_INVALID | A group parameter is invalid (for example the interval) |
| 2106 | GROUP_NOT_EXIST | The group does not exist |
| 2107 | GROUP_NAME_TOO_LONG | The group name is too long |
| Code | Name | Meaning |
|---|
| 2201 | TAG_NAME_DUPLICATE | The tag name is used twice |
| 2202 | TAG_ADDRESS_FORMAT_INVALID | The address does not fit the protocol. Shown as "invalid tag address" |
| 2203 | TAG_NAME_NOT_EXIST | The tag does not exist |
| 2204 | TAG_ATTRIBUTE_NOT_SUPPORT | The attribute (read, write, subscribe) is not supported for this tag |
| 2205 | TAG_TYPE_NOT_SUPPORT | The data type is not supported by the protocol |
| 2206 | TAG_NAME_TOO_LONG | The tag name is too long |
| 2207 | TAG_ADDRESS_TOO_LONG | The address is too long |
| 2208 | TAG_DESCRIPTION_TOO_LONG | The description is too long |
| 2209 | TAG_PRECISION_INVALID | The precision is invalid |
| 2210 | TAG_EXIST | The tag exists |
| 2211 | TAG_VALUE_INVALID | The value is invalid |
Plugins (2301 to 2403)
| Code | Name | Meaning |
|---|
| 2301 | LIBRARY_NOT_FOUND | The plugin library was not found |
| 2302 | LIBRARY_INFO_INVALID | The plugin information is invalid |
| 2303 | LIBRARY_NAME_CONFLICT | Two plugins have the same name |
| 2304 | LIBRARY_FAILED_TO_OPEN | The plugin library could not be loaded |
| 2305 | LIBRARY_MODULE_INVALID | The plugin module is invalid |
| 2306 | LIBRARY_SYSTEM_NOT_ALLOW_DEL | A built-in plugin cannot be deleted |
| 2307 | LIBRARY_NOT_ALLOW_CREATE_INSTANCE | A device of this plugin cannot be created |
| 2308 | LIBRARY_ARCH_NOT_SUPPORT | The plugin does not fit this CPU architecture |
| 2401 | PLUGIN_NAME_TOO_LONG | The plugin name is too long |
| 2402 | PLUGIN_NOT_FOUND | The plugin was not found |
| 2403 | PLUGIN_EXISTS | The plugin exists |
Device communication (3000 to 3030)
| Code | Name | Meaning | Fix |
|---|
| 3000 | PLUGIN_READ_FAILURE | A read failed | Check address and device |
| 3001 | PLUGIN_WRITE_FAILURE | A write failed | Check the tag is writable and the value fits |
| 3002 | PLUGIN_DISCONNECTED | The device is disconnected | Check network, power, host and port |
| 3003 | PLUGIN_TAG_NOT_ALLOW_READ | The tag cannot be read | Change the tag attribute |
| 3004 | PLUGIN_TAG_NOT_ALLOW_WRITE | The tag cannot be written | Set it writable, or use a writable tag |
| 3007 | PLUGIN_TAG_TYPE_MISMATCH | Data type mismatch | Use the type of the register |
| 3010 | PLUGIN_PROTOCOL_DECODE | The answer could not be decoded | Check protocol variant, byte order, device model |
| 3011 | PLUGIN_NOT_RUNNING | The plugin is not running | Start the device. Check the runtime log |
| 3012 | PLUGIN_TAG_NOT_READY | The tag has no value yet | Wait for the first poll |
| 3014 | PLUGIN_TIMEOUT | The device did not answer in time | Check the link; raise the timeout in the device settings |
| 3015 | PLUGIN_STATION_OFFLINE | The remote station or unit does not answer | Check the unit id, slave address or station |
| 3030 | PLUGIN_WRITE_CANCELLED | A write was cancelled because the requester left before its turn | Repeat the write |
| What | How |
|---|
| Version and edition | mii version, or GET /api/v2/version and /api/v2/edition |
| Health | mii status, mii health, GET /api/v2/health |
| Logs | The logs folder of the data directory (zip it), or docker logs |
| Runtime facts | The runtime detail page: State, Lag, Buffer, Errors, Recent errors |
| The exact error | The MI-xxxx code and the message, and the time it happened |
| Licence | Settings → License: Installation ID, status, expiry (never send the private files) |
Do not send secrets/, master.key, passwords or tokens.