Rescue CLI
Overviewβ
Rescue CLI is a built-in command-line tool that provides a set of maintenance and recovery commands for your Remnawave instance.

Usageβ
To access Rescue CLI, use the following command:
docker exec -it remnawave cli
Commandsβ
Reset superadminβ
Fully resets the superadmin account, removing it from the database. After running this command, open the panel in a browser β you will be prompted to create a new superadmin account from scratch.
Enable password authenticationβ
Enables password-based authentication for the panel. This is useful if you have accidentally disabled password login via OAuth settings and can no longer access the panel.
Reset certsβ
Do not use this command if you are not sure what you are doing.
Resets the internal certificates used by Remnawave.
Get SECRET_KEY for a Remnawave Nodeβ
Displays the SECRET_KEY required to connect a Remnawave Node to the panel.
Fix Collationβ
Fixes database collation issues.
Clean up HWID Devicesβ
Removes all stored HWID device records from the database. This is useful if you want to reset HWID devices for all users, allowing them to re-register their devices.
Clean up SRH Tableβ
Clears the SRH (Subscription Request History) table. This command removes all subscription request logs, which can help reduce database size if the table has grown significantly over time.
Exitβ
Exits the Rescue CLI and returns to the shell.
Remnawave Node Rescue CLIβ
There is also a Rescue CLI for Remnawave Node. Currently, it provides a single feature: retrieving the cold Xray configuration.
To access the Rescue CLI for Remnawave Node, use the following command:
docker exec -it remnanode cli
Commandsβ
Get cold configβ
Retrieves the cold config for Xray.
docker exec -it remnanode cli --dump-config