docs/en/faq.md
Download dist.zip from the release page, extract it, and move it to AstrBot/data. If it still doesn't work, try restarting your computer (based on community feedback).
On first startup, the WebUI account is astrbot by default, and the default password is randomly generated (it is not a fixed hardcoded value). Check the startup logs and log in with the random initial password shown there:
[00:27:40.590] [Core] [INFO] [dashboard.server:523]:
✨✨✨
AstrBot v4.24.3 WebUI is ready
➜ Local: http://localhost:6185
➜ Initial username: astrbot
➜ Initial password: UiYVpZxnW8k22IWqf0ru5pOy
➜ Change it after logging in
✨✨✨
Set dashboard.host in data/cmd_config.json to enable remote access.
The random initial password may be different each first startup, so please change it as soon as possible in WebUI settings after logging in.
If you forgot your AstrBot dashboard password, find the "dashboard" field in AstrBot/data/cmd_config.json, for example:
"dashboard": {
"enable": true,
"username": "astrbot",
"password": "81e0c3dxxxxxxxxxxx78862e78",
"pbkdf2_password": "pbkdf2_sha256$600000$1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"password_storage_upgraded": true,
"password_change_required": true,
"jwt_secret": "5e1b0280bcxxxxxxxxxxxxxxxxf4a",
"host": "127.0.0.1",
"port": 6185,
"disable_access_log": true,
"ssl": {
"enable": false,
"cert_file": "",
"key_file": "",
"ca_certs": ""
}
},
Delete the username, password, pbkdf2_password, password_storage_upgraded, password_change_required, and jwt_secret fields (with their values), then save.
The segment should look like:
"dashboard": {
"enable": true,
"host": "127.0.0.1",
"port": 6185,
"disable_access_log": true,
"ssl": {
"enable": false,
"cert_file": "",
"key_file": "",
"ca_certs": ""
}
},
After restart, AstrBot will automatically generate a random password with the fixed username astrbot; check the startup logs.
Config -> General Config, find Use Computer Capabilities, and select local for the runtime environment.Config -> Other Config, find Admin ID List, and add your user ID (you can get it through the /sid command).[!TIP] For security reasons, when runtime environment is set to
local, AstrBot only allows AstrBot administrators to use computer capabilities by default. You can selectsandboxfor the runtime environment, which allows all users to use computer capabilities (in an isolated sandbox). For more details, see AstrBot Sandbox Environment
/, for example: /hello./reset, /persona, /dashboard_update, /op, /deop, /wl, /dewl are the default admin commands. You can use the /sid command to get a user's ID, then add it to the admin ID list in Settings -> Other Settings.You can customize the font. See details -> #957
Recommended font: Maple Mono.
<empty content>This is because the provider's API returned empty text. Try the following steps:
No module named 'xxx' After Installing PluginThis is because the plugin's dependencies were not installed properly. Normally, AstrBot automatically installs plugin dependencies after installing the plugin, but installation may fail in the following situations:
requirements.txt fileSolution:
Based on the error message, refer to the plugin's README to manually install dependencies. You can install dependencies in the AstrBot WebUI under Console -> Install Pip Package.
If you find that the plugin author did not include a requirements.txt file, please submit an issue in the plugin repository to remind the author to add it.