Rootprint stores its state in PostgreSQL, not SQLite. The bundled Docker Compose file runs a
db service (database rootprint, user rootprint). Adjust the commands below if you point
DATABASE_URL at an external Postgres instance.How the setup wizard is gated
The first-admin setup wizard at/auth/setup-admin is served only while the first_admin_claimed
row is absent from the app_settings table. Deleting your admin users alone is not enough. The
flag persists, so the wizard stays closed. You must remove both.
Docker Compose (default install)
Run the two statements against the bundleddb service. Deleting a user row cascades via foreign
keys to everything that user owns: sessions, linked accounts, API keys, saved views,
shares, and preferences.
user is a reserved word in PostgreSQL, so it must be double-quoted ("user").External PostgreSQL
IfDATABASE_URL points at a managed or external database, run the same two statements with any
psql client connected to that database:
Finish in the UI
Open http://localhost:8282 in your browser. Because the setup flag is gone, Rootprint redirects you to/auth/setup-admin. Enter your desired admin credentials and submit the
form.
The new admin account is active immediately. No restart is required. You can reuse the original
admin email, since the old user row was deleted in step 1.
