Docs
/
Troubleshoot
/

Collecting Diagnostics for Support

Collecting Diagnostics for Support

When you open a support case, the fastest resolutions come from tickets that already include the version, the logs, and the exact error. This page is the checklist to run through before you reach out. Other troubleshooting pages link here instead of re-describing how to set Debug or dump logs.

1. Koios version

Support needs to know exactly which build you are running. Find the version in the interface under System, or read it from the container:

docker exec koios cat /var/www/koios/VERSION

If you recently upgraded, note the version you upgraded from as well — many issues trace back to the upgrade step.

2. Container status

Confirm whether the koios container is healthy or restart-looping. On the machine running Koios (or over SSH):

docker ps

Find the koios container. A healthy server shows a status like Up 2 minutes (healthy). A status that keeps resetting to Restarting, or shows (unhealthy), means the server is failing to start — capture that too. If Koios runs as a service, check it directly:

sudo systemctl status docker.koios

3. Logs

Logs are where the failure actually reports itself. There are two useful sources.

Set Debug and capture the affected service

Before reproducing the problem, raise the log level of the relevant service to Debug for maximum detail, reproduce the issue, then stream or download the log. This is all done from the interface — see Logs for selecting a service, setting the level, streaming live output, and downloading archived log files. Return the service to Info or Warning afterward to reduce noise.

Dump the container logs to a file

For startup problems or when the interface isn't reachable, write the container's log stream straight to a file you can attach:

docker logs --tail 500 koios > koios-diagnostics.log

To read a specific service's log file from inside the container instead:

docker exec koios tail -n 200 /var/www/koios/logs/services/django.log

When reading through a dump, scroll to the end and read upward to the first error or traceback — the last error before a restart is almost always the real cause.

4. The error Code, Message, and Detail

Every failing entity surfaces three diagnostic fields — a numeric Code, a short Message, and a longer Detail. Copy all three verbatim from the affected device, tag, model, binding, or scan group. The code alone tells support which layer failed and which service log to read.

For what each field means, the full status and quality legend, the auto-clear behavior, and the master code lookup, see Reading Status, Quality & Errors. A few of the most common codes to have on hand when you write the ticket:

EntityCodeMeaning
Device1 — Failed To ConnectThe device could not reach the industrial endpoint
Tag104 — Bad: Configuration ErrorThe tag has a bad address, type, or settings
Tag105 — Bad: No ValueNo value was returned for the tag
Binding1 — Not Enough Historical DepthThe bound tag lacks enough history for the model's lookback
Model3 — Failed To Parse FileThe model file is invalid or corrupt
Scan group1 — OverscanExecution could not keep up with the configured scan rate
Any999 — UnlicensedThe entity is not covered by a valid license

Include the entity's name and status alongside the three fields so support can locate it.

5. A recent backup

If the issue may require restoring or inspecting configuration and data, take a backup before you make any changes, and note whether one already exists from before the problem started. See Backup & Restore for how to create and download one.

Diagnostics checklist

ItemWhere to get it
Koios version (and prior version if upgraded)System page, or docker exec koios cat /var/www/koios/VERSION
Container statusdocker ps / systemctl status docker.koios
Service log at Debug for the failing serviceLogs
Container log dump (koios-diagnostics.log)docker logs --tail 500 koios > koios-diagnostics.log
Error Code, Message, and Detail from the affected entityThe entity's detail panel — see Reading Status, Quality & Errors
A recent backupBackup & Restore

What's Next