Skip to main content
Version: Next

First-Run Setup

QUBIQ ships with no default account. There is no admin/admin to forget to change: the first super administrator is created by you, once, through the setup wizard.

Creating the super administrator

Open http://localhost:8182. Because no super admin exists yet, QUBIQ shows the setup wizard instead of the login screen.

Fill in:

FieldRules
UsernameRequired. This is the login name.
EmailRequired, must be a valid address. Used for account recovery and audit attribution.
Password8–128 characters.
Confirm passwordMust match.

Submit, and QUBIQ creates the account, signs you in and lands you in the Platform.

One-time window

The wizard is reachable only until it has been used, and that is now recorded permanently: a completion mark is written both to the configuration database and to a file in the data directory, and either one alone refuses a second setup. Emptying the user table does not reopen it.

Changed in 1.0.4

If the machine is network-reachable during installation, complete this step immediately.

What the super administrator can do

The first account holds every permission, including the ones that are deliberately super-admin-only:

  • Manage permissions — change which role may call which endpoint
  • Manage the audit journal — configure the tamper-evident audit journal
  • Manage backups — export and restore configuration backups
  • Manage LiveView sign-in — bind projects to runtime identity sources

Create narrower accounts for day-to-day work rather than sharing this one. → Users and roles

Work through these in order — each is a prerequisite for the next.

1. Create additional accounts

Settings → Users. Give engineers a role that can design but not administer, and reserve the super admin for permission and audit changes. → Users and roles

2. Configure history storage

The historian needs a QuestDB connection, and exactly one connection is designated as the historian. Without it, live values work and nothing is retained. → Historian configuration

3. Configure the audit journal

The security audit journal writes to an external SQL database (Postgres, MySQL or SQL Server) — never the app's own database, so that a compromise of QUBIQ cannot rewrite its own history. → Audit journal

4. Take a baseline backup

Export a configuration backup now, while the system is clean, so you have a known-good restore point. → Backup & restore

Scripting needs no setup

The Python runtime is bundled by the installer and already wired up. Add extra modules later from Settings → Script Sandbox if your scripts need them. → The script sandbox

Recovering a lost super administrator

There is no back door and no vendor master password. What there is, is a console command — run on the server, by somebody who can read its data directory:

qubiq admin list-admins
qubiq admin reset-password --user jhalloran

It prints a temporary password once, requires that account to choose a new one at next sign-in, ends every session it had, and records the reset three ways — the system log, the audit journal, and a security notice administrators can see for a week. New in 1.0.4

Console recovery for the full procedure, including the confirmation step and what the reset leaves behind.

The other two paths still work and are worth knowing:

  1. Restore a backup into a fresh installation — the backup carries the user table.
  2. Start over — install fresh against an empty data directory, and the wizard reappears. (This does not buy a fresh trial: the licence records a consumed trial outside the data directory as well as inside it.)
Do not try to reopen the wizard by deleting users

It used to work, and it was a hole rather than a feature: anyone who could write to the configuration database could empty the user table and mint themselves a super admin through a public, unauthenticated endpoint, leaving no trace. Setup is now one-shot, and the reset command above is what replaces it.

Next

Quick start