Home / Reference

Migrating from 0.x to 1.0

1.0 reorganizes the portal, replaces the static dash with a new console, adds API tokens, the execution engine and CI/CD, and renames Portuguese identifiers to English. Your data is migrated automatically when the portal starts (Alembic).

Upgrade steps

pip install -U obskitpy
obskitpy portal enable        # updates the stack files; the portal migrates its database at startup
obskitpy dash update          # replaces the old dash with the new console (your old files are kept as *.bak)

Take a PostgreSQL backup first if the data matters (docker compose exec postgres pg_dump ...).

What changed

Area Before Now
Dash static HTML/JS Angular console (observability/dash/, config.json instead of config.js)
Incidents tickets, /api/v1/tickets, node action.ticket incidents, /api/v1/incidents, action.incident (stored flows are rewritten)
Message variables {{erro}} {{origem}} {{explicacao}} {{error}} {{origin}} {{explanation}} (stored templates are rewritten)
Automation events disparou, lembrete, normalizou, agendado, teste fired, reminder, resolved, scheduled, test (history rewritten)
Slack buttons tk_* inc_*; buttons of messages already posted keep working
Messages Portuguese API errors, CLI text and notification text are English; the console is translated (pt-BR / en)
Slack OAuth return /#integrations?... /#/integrations?...
Links #overview?service=X #/observability/overview?service=X

Things to review

New in 1.0

The console, robots, runs and agents, CI/CD, agents on Azure.

✎ Edit this page on GitHub