CtrlK
BlogDocsLog inGet started
Tessl Logo

reset-netalertx-database

Wipe and regenerate the NetAlertX database and config. Use this when asked to reset database, wipe db, fresh database, clean slate, or start fresh.

76

Quality

93%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Medium

Suggest reviewing before use

SKILL.md
Quality
Evals
Security

Database Reset

Completely wipes devcontainer database and config, then regenerates from scratch.

Command

killall 'python3' || true
sleep 1
rm -rf /data/db/* /data/config/*
bash /entrypoint.d/15-first-run-config.sh
bash /entrypoint.d/20-first-run-db.sh

What This Does

  1. Kills backend to release database locks
  2. Deletes all files in /data/db/ and /data/config/
  3. Runs first-run config provisioning
  4. Runs first-run database initialization

After Reset

Run the startup script to restart services:

/workspaces/NetAlertX/.devcontainer/scripts/setup.sh

Database Location

  • Runtime: /data/db/app.db (SQLite)
  • Config: /data/config/app.conf
Repository
netalertx/NetAlertX
Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.