Docs
/
Updates
/

Migrating to v1.0.0

Migrating to v1.0.0

This guide covers the breaking changes and required steps when upgrading from any v0.10.x release to v1.0.0.

Breaking Changes

New koios_secrets Volume

Koios v1.0.0 moves runtime credentials out of the Docker image and onto a dedicated volume. This affects how the container is started.

ChangeDetails
New volumekoios_secrets stores database passwords, the application secret key, and the time-series database token
Automatic migrationOn first boot with an existing database, Koios writes the legacy credential values to the new volume automatically — no manual credential changes needed
Service file update requiredYour systemd service file or docker run command must include the new volume mount

Update the Service File

Open your service file:

sudo nano /etc/systemd/system/docker.koios.service

Add the koios_secrets volume mount to the ExecStart line, after the koios_license mount:

--mount source=koios_secrets,target=/var/www/koios/secrets \

Your ExecStart should now include seven --mount lines. See Running Koios as a Service for the complete service file.

Then reload and restart:

sudo systemctl daemon-reload
sudo systemctl restart docker.koios.service

Update a Manual Docker Run Command

If you use docker run directly, add the same mount flag. See Manually Starting Koios for the complete command.

Database Migrations

v1.0.0 includes database migrations that run automatically on first startup. These migrations:

  • Add tables for components, scan groups, expression tags, dashboards, roles, and API clients
  • Add new fields to existing device, tag, and model tables
  • Create the koios_schema_meta table for version compatibility tracking

All migrations are forward-compatible — your existing devices, tags, models, and configuration are preserved without modification.

New Features

For a complete list of what's new in v1.0.0, see the v1.0.0 Release Notes.

Verification

After upgrading, confirm the new version is running:

  1. Open the Koios web interface
  2. Navigate to System > Overview
  3. Verify the version shows 1.0.0

If the container fails to start, check the logs:

# Systemd service
journalctl -u docker.koios.service -f

# Manual run
docker logs koios

Common issues:

  • "Schema version incompatible" — you're running a version older than what the database expects. Restore from backup and try again with the correct image.
  • Services failing to authenticate — the koios_secrets volume mount is missing. Add it and restart.